rails_apps_composer 2.2.29 → 2.2.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/recipes/gems.rb +4 -4
  2. data/recipes/init.rb +2 -0
  3. data/version.rb +1 -1
  4. metadata +4 -4
data/recipes/gems.rb CHANGED
@@ -22,7 +22,7 @@ end
22
22
 
23
23
  ## Database Adapter
24
24
  gsub_file 'Gemfile', /gem 'sqlite3'\n/, '' unless prefer :database, 'sqlite'
25
- gem 'mongoid', '>= 3.0.15' if prefer :orm, 'mongoid'
25
+ gem 'mongoid', '>= 3.0.18' if prefer :orm, 'mongoid'
26
26
  unless File.open('Gemfile').lines.any?{|line| line.include?('pg')}
27
27
  gem 'pg', '>= 0.14.1' if prefer :database, 'postgresql'
28
28
  end
@@ -51,7 +51,7 @@ end
51
51
  ## Testing Framework
52
52
  if prefer :unit_test, 'rspec'
53
53
  gem 'rspec-rails', '>= 2.12.2', :group => [:development, :test]
54
- gem 'capybara', '>= 2.0.1', :group => :test if prefer :integration, 'rspec-capybara'
54
+ gem 'capybara', '>= 2.0.2', :group => :test if prefer :integration, 'rspec-capybara'
55
55
  gem 'database_cleaner', '>= 0.9.1', :group => :test
56
56
  if prefer :orm, 'mongoid'
57
57
  gem 'mongoid-rspec', '>= 1.5.6', :group => :test
@@ -61,13 +61,13 @@ end
61
61
  if prefer :unit_test, 'minitest'
62
62
  gem 'minitest-spec-rails', '>= 4.3.6', :group => :test
63
63
  gem 'minitest-wscolor', '>= 0.0.3', :group => :test
64
- gem 'capybara', '>= 2.0.1', :group => :test if prefer :integration, 'minitest-capybara'
64
+ gem 'capybara', '>= 2.0.2', :group => :test if prefer :integration, 'minitest-capybara'
65
65
  end
66
66
  if prefer :integration, 'cucumber'
67
67
  gem 'cucumber-rails', '>= 1.3.0', :group => :test, :require => false
68
68
  gem 'database_cleaner', '>= 0.9.1', :group => :test unless prefer :unit_test, 'rspec'
69
69
  gem 'launchy', '>= 2.1.2', :group => :test
70
- gem 'capybara', '>= 2.0.1', :group => :test
70
+ gem 'capybara', '>= 2.0.2', :group => :test
71
71
  end
72
72
  gem 'turnip', '>= 1.1.0', :group => :test if prefer :integration, 'turnip'
73
73
  gem 'factory_girl_rails', '>= 4.1.0', :group => [:development, :test] if prefer :fixtures, 'factory_girl'
data/recipes/init.rb CHANGED
@@ -76,6 +76,8 @@ user = User.find_or_create_by_email :name => ENV['ADMIN_NAME'].dup, :email => EN
76
76
  puts 'user: ' << user.name
77
77
  FILE
78
78
  end
79
+ # Mongoid doesn't have a 'find_or_create_by' method
80
+ gsub_file 'db/seeds.rb', /find_or_create_by_email/, 'create!' if prefer :orm, 'mongoid'
79
81
  end
80
82
  ## DEVISE-CONFIRMABLE
81
83
  if (prefer :devise_modules, 'confirmable') || (prefer :devise_modules, 'invitable')
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "2.2.29"
2
+ VERSION = "2.2.30"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_apps_composer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.29
4
+ version: 2.2.30
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-20 00:00:00.000000000 Z
12
+ date: 2013-01-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
@@ -202,7 +202,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
202
202
  version: '0'
203
203
  segments:
204
204
  - 0
205
- hash: 4408213444238721620
205
+ hash: -423680646690332708
206
206
  required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  none: false
208
208
  requirements:
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
211
  version: '0'
212
212
  segments:
213
213
  - 0
214
- hash: 4408213444238721620
214
+ hash: -423680646690332708
215
215
  requirements: []
216
216
  rubyforge_project: rails_apps_composer
217
217
  rubygems_version: 1.8.24