rails_apps_composer 2.4.17 → 2.4.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 683d02017565729cc993b8ed0c332f8a4d9c2c3c
4
- data.tar.gz: e2f9ed6bd9c7acf3f1f156c2e42be1230902101a
3
+ metadata.gz: b511d58b33d67f613a79d7f9902056efb786c57c
4
+ data.tar.gz: df3e563a32e37ffc5d263b24793560d72ceb9a57
5
5
  SHA512:
6
- metadata.gz: 0abf49fa9605d7f3863a785bb57fb8a39c455664f85ec6e8bc98e812d0cc65284242bb6caef8eb250472c414698faab2820a109272497cc5cce51c771a598895
7
- data.tar.gz: e4d4f7bb3f55d36c59e494300c35fe4a277d3edc3c5e9c1422f6d61001e69c6fc97d52f5776580f0c054f3131ec1d5a33af7f56e2cdf2087288c3a72b7ed5918
6
+ metadata.gz: 37e1d6c41c055d7db93e76c38107085896ad446d5d278e1a76c8e860244f77acd6e947e71855958dff1ea40d98e5538d9699ab56a4854cb6d9ae17dc5326c2e3
7
+ data.tar.gz: 9eb7887cbd3adc013d8121f06bc817dca9190e8ab813c44a2ec22bac04f8357082df6d8d630a1da517db0622e37a959b36e4d8ddcf1180f072ee18a931599e03
data/recipes/email.rb CHANGED
@@ -88,7 +88,7 @@ TEXT
88
88
  :address => "smtp.mandrillapp.com",
89
89
  :port => 25,
90
90
  :user_name => ENV["MANDRILL_USERNAME"],
91
- :password => ENV["MANDRILL_API_KEY"]
91
+ :password => ENV["MANDRILL_APIKEY"]
92
92
  }
93
93
  TEXT
94
94
  inject_into_file 'config/environments/development.rb', mandrill_configuration_text, :after => "config.assets.debug = true"
data/recipes/gems.rb CHANGED
@@ -17,10 +17,12 @@ assets_group = rails_4? ? nil : :assets
17
17
  if (prefs[:dev_webserver] == prefs[:prod_webserver])
18
18
  add_gem 'thin' if prefer :dev_webserver, 'thin'
19
19
  add_gem 'unicorn' if prefer :dev_webserver, 'unicorn'
20
+ add_gem 'unicorn-rails' if prefer :dev_webserver, 'unicorn'
20
21
  add_gem 'puma' if prefer :dev_webserver, 'puma'
21
22
  else
22
23
  add_gem 'thin', :group => [:development, :test] if prefer :dev_webserver, 'thin'
23
24
  add_gem 'unicorn', :group => [:development, :test] if prefer :dev_webserver, 'unicorn'
25
+ add_gem 'unicorn-rails', :group => [:development, :test] if prefer :dev_webserver, 'unicorn'
24
26
  add_gem 'puma', :group => [:development, :test] if prefer :dev_webserver, 'puma'
25
27
  add_gem 'thin', :group => :production if prefer :prod_webserver, 'thin'
26
28
  add_gem 'unicorn', :group => :production if prefer :prod_webserver, 'unicorn'
@@ -37,7 +39,7 @@ unless prefer :database, 'default'
37
39
  gsub_file 'Gemfile', /gem 'sqlite3'\n/, '' unless prefer :database, 'sqlite'
38
40
  end
39
41
  if rails_4?
40
- add_gem 'mongoid', '~> 4', github: 'mongoid/mongoid' if prefer :orm, 'mongoid'
42
+ add_gem 'mongoid', github: 'mongoid/mongoid' if prefer :orm, 'mongoid'
41
43
  else
42
44
  add_gem 'mongoid' if prefer :orm, 'mongoid'
43
45
  end
@@ -180,7 +182,7 @@ after_bundler do
180
182
  pg_username = prefs[:pg_username] || ask_wizard("Username for PostgreSQL?(leave blank to use the app name)")
181
183
  if pg_username.blank?
182
184
  say_wizard "Creating a user named '#{app_name}' for PostgreSQL"
183
- run "createuser #{app_name}" if prefer :database, 'postgresql'
185
+ run "createuser --createdb #{app_name}" if prefer :database, 'postgresql'
184
186
  gsub_file "config/database.yml", /username: .*/, "username: #{app_name}"
185
187
  else
186
188
  gsub_file "config/database.yml", /username: .*/, "username: #{pg_username}"
data/recipes/init.rb CHANGED
@@ -15,7 +15,7 @@ after_everything do
15
15
  when 'sendgrid'
16
16
  credentials = "SENDGRID_USERNAME: Your_Username\nSENDGRID_PASSWORD: Your_Password\n"
17
17
  when 'mandrill'
18
- credentials = "MANDRILL_USERNAME: Your_Username\nMANDRILL_API_KEY: Your_API_Key\n"
18
+ credentials = "MANDRILL_USERNAME: Your_Username\nMANDRILL_APIKEY: Your_API_Key\n"
19
19
  end
20
20
  append_file 'config/application.yml', credentials if prefs[:local_env_file]
21
21
  if prefs[:local_env_file]
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "2.4.17"
2
+ VERSION = "2.4.18"
3
3
  end
metadata CHANGED
@@ -1,127 +1,105 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_apps_composer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.17
4
+ version: 2.4.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Kehoe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-16 00:00:00.000000000 Z
11
+ date: 2013-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '0.6'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '0.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '4.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '4.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: thor
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '0.18'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '0.18'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '10.1'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '10.1'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '2.14'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '2.14'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: mg
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - '>='
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: activesupport
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - '>='
89
+ version: '0.0'
90
+ - - ">="
102
91
  - !ruby/object:Gem::Version
103
- version: '0'
92
+ version: 0.0.8
104
93
  type: :development
105
94
  prerelease: false
106
95
  version_requirements: !ruby/object:Gem::Requirement
107
96
  requirements:
108
- - - '>='
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: i18n
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - '>='
97
+ - - "~>"
116
98
  - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - '>='
99
+ version: '0.0'
100
+ - - ">="
123
101
  - !ruby/object:Gem::Version
124
- version: '0'
102
+ version: 0.0.8
125
103
  description: A gem with recipes to create Rails application templates you can use
126
104
  to generate Rails starter apps.
127
105
  email:
@@ -131,13 +109,15 @@ executables:
131
109
  extensions: []
132
110
  extra_rdoc_files: []
133
111
  files:
112
+ - README.textile
113
+ - bin/rails_apps_composer
114
+ - lib/rails_wizard.rb
134
115
  - lib/rails_wizard/command.rb
135
116
  - lib/rails_wizard/config.rb
136
117
  - lib/rails_wizard/diagnostics.rb
137
118
  - lib/rails_wizard/recipe.rb
138
119
  - lib/rails_wizard/recipes.rb
139
120
  - lib/rails_wizard/template.rb
140
- - lib/rails_wizard.rb
141
121
  - recipes/apps4.rb
142
122
  - recipes/controllers.rb
143
123
  - recipes/core.rb
@@ -157,11 +137,6 @@ files:
157
137
  - recipes/setup.rb
158
138
  - recipes/testing.rb
159
139
  - recipes/views.rb
160
- - README.textile
161
- - version.rb
162
- - templates/helpers.erb
163
- - templates/layout.erb
164
- - templates/recipe.erb
165
140
  - spec/rails_wizard/config_spec.rb
166
141
  - spec/rails_wizard/recipe_spec.rb
167
142
  - spec/rails_wizard/recipes/sanity_spec.rb
@@ -171,7 +146,10 @@ files:
171
146
  - spec/support/rails_directory.rb
172
147
  - spec/support/template_runner.rb
173
148
  - spec/test_recipes/test_recipe_in_file.rb
174
- - bin/rails_apps_composer
149
+ - templates/helpers.erb
150
+ - templates/layout.erb
151
+ - templates/recipe.erb
152
+ - version.rb
175
153
  homepage: http://github.com/RailsApps/rails_apps_composer
176
154
  licenses:
177
155
  - MIT
@@ -182,17 +160,17 @@ require_paths:
182
160
  - lib
183
161
  required_ruby_version: !ruby/object:Gem::Requirement
184
162
  requirements:
185
- - - '>='
163
+ - - ">="
186
164
  - !ruby/object:Gem::Version
187
165
  version: '0'
188
166
  required_rubygems_version: !ruby/object:Gem::Requirement
189
167
  requirements:
190
- - - '>='
168
+ - - ">="
191
169
  - !ruby/object:Gem::Version
192
170
  version: '0'
193
171
  requirements: []
194
172
  rubyforge_project: rails_apps_composer
195
- rubygems_version: 2.1.10
173
+ rubygems_version: 2.2.0
196
174
  signing_key:
197
175
  specification_version: 4
198
176
  summary: A version of the RailsWizard gem with custom recipes for Rails starter apps.