Skip to content

Commit 054bdae

Browse files
committed
Add gem files
1 parent fe35925 commit 054bdae

File tree

6 files changed

+33
-0
lines changed

6 files changed

+33
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
bower_components
2+
Gemfile.lock
23
node_modules
4+
pkg

gem/Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source 'https://rubygems.org'
2+
3+
gemspec

gem/Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require 'bundler/gem_tasks'

gem/angular-semver-sort-rails.gemspec

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# coding: utf-8
2+
lib = File.expand_path('../lib', __FILE__)
3+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4+
5+
Gem::Specification.new do |spec|
6+
# We don’t use rails-assets.org gems within the Rails Assets app.
7+
# This is the only reason why this asset gem was created.
8+
9+
spec.name = 'angular-semver-sort-rails'
10+
spec.version = '0.0.0'
11+
spec.authors = ['Dominik Porada']
12+
spec.email = ['dominik@porada.co']
13+
spec.summary = 'angular-semver-sort packaged for Rails assets pipeline'
14+
spec.homepage = 'https://github.com/monterail/angular-semver-sort'
15+
spec.license = 'BSD'
16+
spec.files = `git ls-files`.split($/)
17+
spec.require_paths = ['lib']
18+
19+
spec.add_development_dependency 'bundler', '~> 1.5'
20+
spec.add_development_dependency 'rake'
21+
end

gem/lib/angular-semver-sort-rails.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module AngularSemverSortRails
2+
if defined?(Rails)
3+
class Engine < ::Rails::Engine; end
4+
end
5+
end
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../angular-semver-sort.js

0 commit comments

Comments
 (0)