padrino-gen 0.7.5 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.5
1
+ 0.7.6
@@ -90,7 +90,7 @@ module Padrino
90
90
 
91
91
  # Adds all the specified gems into the Gemfile for bundler
92
92
  # require_dependencies 'active_record'
93
- # require_dependencies 'mocha', 'bacon', :group => :test
93
+ # require_dependencies 'mocha', 'bacon', :group => 'test'
94
94
  def require_dependencies(*gem_names)
95
95
  options = gem_names.extract_options!
96
96
  gem_names.reverse.each { |lib| insert_into_gemfile(lib, options) }
@@ -98,7 +98,7 @@ module Padrino
98
98
 
99
99
  # Inserts a required gem into the Gemfile to add the bundler dependency
100
100
  # insert_into_gemfile(name)
101
- # insert_into_gemfile(name, :group => :test, :require => 'foo')
101
+ # insert_into_gemfile(name, :group => 'test', :require => 'foo')
102
102
  def insert_into_gemfile(name, options={})
103
103
  after_pattern = options[:group] ? "#{options[:group].to_s.capitalize} requirements\n" : "Component requirements\n"
104
104
  gem_options = options.slice(:group, :require).collect { |k, v| "#{k.inspect} => #{v.inspect}" }.join(", ")
@@ -5,7 +5,7 @@ module Padrino
5
5
 
6
6
  module MochaGen
7
7
  def setup_mock
8
- require_dependencies 'mocha', :group => :test
8
+ require_dependencies 'mocha', :group => 'test'
9
9
  insert_mocking_include "Mocha::API", :path => "test/test_config.rb"
10
10
  end
11
11
  end
@@ -5,7 +5,7 @@ module Padrino
5
5
 
6
6
  module RrGen
7
7
  def setup_mock
8
- require_dependencies 'rr', :group => :test
8
+ require_dependencies 'rr', :group => 'test'
9
9
  insert_mocking_include "RR::Adapters::RRMethods", :path => "test/test_config.rb"
10
10
  end
11
11
  end
@@ -19,7 +19,7 @@ module Padrino
19
19
  # :password => '',
20
20
  # :host => 'localhost',
21
21
  # :socket => '/tmp/mysql.sock'
22
- # )
22
+ # }
23
23
  #
24
24
  ActiveRecord::Base.configurations[:development] = {
25
25
  :adapter => 'sqlite3',
@@ -16,7 +16,7 @@ module Padrino
16
16
 
17
17
  # Setup the testing configuration helper and dependencies
18
18
  def setup_test
19
- require_dependencies 'bacon', :group => :test
19
+ require_dependencies 'bacon', :group => 'test'
20
20
  insert_test_suite_setup BACON_SETUP
21
21
  end
22
22
 
@@ -15,7 +15,7 @@ module Padrino
15
15
  TEST
16
16
 
17
17
  def setup_test
18
- require_dependencies 'riot', :group => :test
18
+ require_dependencies 'riot', :group => 'test'
19
19
  insert_test_suite_setup RIOT_SETUP
20
20
  end
21
21
 
@@ -16,7 +16,7 @@ module Padrino
16
16
 
17
17
  # TODO move to spec directory to follow convention
18
18
  def setup_test
19
- require_dependencies 'rspec', :group => :test, :require => 'spec'
19
+ require_dependencies 'rspec', :group => 'test', :require => 'spec'
20
20
  insert_test_suite_setup RSPEC_SETUP
21
21
  end
22
22
 
@@ -15,7 +15,7 @@ module Padrino
15
15
  TEST
16
16
 
17
17
  def setup_test
18
- require_dependencies 'shoulda', :group => :test
18
+ require_dependencies 'shoulda', :group => 'test'
19
19
  insert_test_suite_setup SHOULDA_SETUP
20
20
  end
21
21
 
@@ -15,7 +15,7 @@ module Padrino
15
15
  TEST
16
16
 
17
17
  def setup_test
18
- require_dependencies 'test/spec', :group => :test
18
+ require_dependencies 'test/spec', :group => 'test'
19
19
  insert_test_suite_setup TESTSPEC_SETUP
20
20
  end
21
21
 
@@ -8,12 +8,12 @@ gem 'thin' # or mongrel
8
8
  # Component requirements
9
9
 
10
10
  # Test requirements
11
- gem 'rack-test', :require => 'rack/test', :group => :test
11
+ gem 'rack-test', :require => 'rack/test', :group => 'test'
12
12
 
13
13
  <%- if options.dev? -%>
14
14
  # Vendored Padrino
15
15
  %w(core gen helpers mailer admin).each do |gem|
16
- gem 'padrino-' + gem, :path => "<%= Padrino::Generators::DEV_PATH %>/padrino-" + gem
16
+ gem 'padrino-' + gem, :path => '<%= Padrino::Generators::DEV_PATH %>/padrino-' + gem
17
17
  end
18
18
  <%- else -%>
19
19
  # Padrino
data/padrino-gen.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{padrino-gen}
8
- s.version = "0.7.5"
8
+ s.version = "0.7.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Padrino Team", "Nathan Esquenazi", "Davide D'Agostino", "Arthur Chiu"]
12
- s.date = %q{2010-02-09}
12
+ s.date = %q{2010-02-10}
13
13
  s.default_executable = %q{padrino-gen}
14
14
  s.description = %q{Generators for easily creating and building padrino applications from the console}
15
15
  s.email = %q{padrinorb@gmail.com}
@@ -99,7 +99,7 @@ Gem::Specification.new do |s|
99
99
 
100
100
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
101
101
  s.add_runtime_dependency(%q<sinatra>, [">= 0.9.2"])
102
- s.add_runtime_dependency(%q<padrino-core>, ["= 0.7.5"])
102
+ s.add_runtime_dependency(%q<padrino-core>, ["= 0.7.6"])
103
103
  s.add_runtime_dependency(%q<thor>, [">= 0.13.0"])
104
104
  s.add_runtime_dependency(%q<bundler>, [">= 0.9.3"])
105
105
  s.add_development_dependency(%q<haml>, [">= 2.2.1"])
@@ -110,7 +110,7 @@ Gem::Specification.new do |s|
110
110
  s.add_development_dependency(%q<fakeweb>, [">= 1.2.3"])
111
111
  else
112
112
  s.add_dependency(%q<sinatra>, [">= 0.9.2"])
113
- s.add_dependency(%q<padrino-core>, ["= 0.7.5"])
113
+ s.add_dependency(%q<padrino-core>, ["= 0.7.6"])
114
114
  s.add_dependency(%q<thor>, [">= 0.13.0"])
115
115
  s.add_dependency(%q<bundler>, [">= 0.9.3"])
116
116
  s.add_dependency(%q<haml>, [">= 2.2.1"])
@@ -122,7 +122,7 @@ Gem::Specification.new do |s|
122
122
  end
123
123
  else
124
124
  s.add_dependency(%q<sinatra>, [">= 0.9.2"])
125
- s.add_dependency(%q<padrino-core>, ["= 0.7.5"])
125
+ s.add_dependency(%q<padrino-core>, ["= 0.7.6"])
126
126
  s.add_dependency(%q<thor>, [">= 0.13.0"])
127
127
  s.add_dependency(%q<bundler>, [">= 0.9.3"])
128
128
  s.add_dependency(%q<haml>, [">= 2.2.1"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-gen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Padrino Team
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2010-02-09 00:00:00 +01:00
15
+ date: 2010-02-10 00:00:00 +01:00
16
16
  default_executable: padrino-gen
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
@@ -33,7 +33,7 @@ dependencies:
33
33
  requirements:
34
34
  - - "="
35
35
  - !ruby/object:Gem::Version
36
- version: 0.7.5
36
+ version: 0.7.6
37
37
  version:
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: thor