Permalink
Browse files

Use newer Bundler conventions for gemspec

  • Loading branch information...
1 parent d94c7b4 commit 0074902535d0dd54b573235add6419d5533da56d @devinus devinus committed Mar 30, 2012
Showing with 31 additions and 35 deletions.
  1. +1 −2 Gemfile
  2. +17 −20 ember.gemspec
  3. +13 −13 lib/ember/templates/app/Gemfile
View
@@ -1,4 +1,3 @@
-source "http://rubygems.org"
+source :rubygems
-# Specify your gem's dependencies in ember.gemspec
gemspec
View
@@ -1,26 +1,23 @@
# -*- encoding: utf-8 -*-
-$:.push File.expand_path("../lib", __FILE__)
-require "ember/version"
+require File.expand_path('../lib/ember/version', __FILE__)
-Gem::Specification.new do |s|
- s.name = "ember"
- s.version = Ember::VERSION
- s.authors = ["Dudley Flanders", "Devin Torres"]
- s.email = ["dudley@steambone.org"]
- s.homepage = ""
- s.summary = %q{Development tools for Ember.js}
- s.description = %q{Development tools for Ember.js}
+Gem::Specification.new do |gem|
+ gem.authors = ["Dudley Flanders", "Devin Torres"]
+ gem.email = ["dudley@steambone.org", "devin@devintorr.es"]
+ gem.description = %q{Development tools for Ember.js}
+ gem.summary = %q{Development tools for Ember.js}
+ gem.homepage = "http://emberjgem.com/"
- s.rubyforge_project = "ember"
+ gem.files = `git ls-files`.split($\)
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
+ gem.name = "ember"
+ gem.require_paths = ["lib"]
+ gem.version = Ember::VERSION
- s.files = `git ls-files`.split("\n")
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
- s.require_paths = ["lib"]
+ gem.add_dependency 'thor'
- s.add_dependency 'thor'
-
- s.add_development_dependency 'rake'
- s.add_development_dependency 'rspec'
- s.add_development_dependency 'pry'
+ gem.add_development_dependency 'rake'
+ gem.add_development_dependency 'rspec'
+ gem.add_development_dependency 'pry'
end
@@ -1,19 +1,19 @@
-source "http://rubygems.org"
+source :rubygems
-gem "colored"
+gem 'colored'
-gem "guard"
-gem "guard-rake"
+gem 'guard'
+gem 'guard-rake'
-gem "rack"
-gem "rack-rewrite"
-# gem "rack-streaming-proxy"
+gem 'rack'
+gem 'rack-rewrite'
+# gem 'rack-streaming-proxy'
-gem "sass"
-gem "compass"
+gem 'sass'
+gem 'compass'
-gem "uglifier"
-gem "yui-compressor"
+gem 'uglifier'
+gem 'yui-compressor'
-gem "rake-pipeline", :git => "https://github.com/livingsocial/rake-pipeline.git"
-gem "rake-pipeline-web-filters", :git => "https://github.com/wycats/rake-pipeline-web-filters.git"
+gem 'rake-pipeline', :git => 'https://github.com/livingsocial/rake-pipeline.git'
+gem 'rake-pipeline-web-filters', :git => 'https://github.com/wycats/rake-pipeline-web-filters.git'

0 comments on commit 0074902

Please sign in to comment.