Skip to content

Commit

Permalink
Add gem files
Browse files Browse the repository at this point in the history
  • Loading branch information
porada committed Jan 12, 2014
1 parent fe35925 commit 054bdae
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
bower_components
Gemfile.lock
node_modules
pkg
3 changes: 3 additions & 0 deletions gem/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source 'https://rubygems.org'

gemspec
1 change: 1 addition & 0 deletions gem/Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require 'bundler/gem_tasks'
21 changes: 21 additions & 0 deletions gem/angular-semver-sort-rails.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

Gem::Specification.new do |spec|
# We don’t use rails-assets.org gems within the Rails Assets app.
# This is the only reason why this asset gem was created.

spec.name = 'angular-semver-sort-rails'
spec.version = '0.0.0'
spec.authors = ['Dominik Porada']
spec.email = ['[email protected]']
spec.summary = 'angular-semver-sort packaged for Rails assets pipeline'
spec.homepage = 'https://github.com/monterail/angular-semver-sort'
spec.license = 'BSD'
spec.files = `git ls-files`.split($/)
spec.require_paths = ['lib']

spec.add_development_dependency 'bundler', '~> 1.5'
spec.add_development_dependency 'rake'
end
5 changes: 5 additions & 0 deletions gem/lib/angular-semver-sort-rails.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module AngularSemverSortRails
if defined?(Rails)
class Engine < ::Rails::Engine; end
end
end
1 change: 1 addition & 0 deletions gem/vendor/assets/javascripts/angular-semver-sort.js

0 comments on commit 054bdae

Please sign in to comment.