rails_apps_composer 2.2.34 → 2.2.35

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 55f0a88c288bcf7489e5c995afba28ccd35f3ba4
4
+ data.tar.gz: fb5c24e14c69e20d51a3b5b164d532ad2822417f
5
+ SHA512:
6
+ metadata.gz: e60fcf219e2985e31f10a4f2389874ce85e2f8c5dec5ce983920c980aaa29a4a5c5d8b685770f89d7b0fbd771f91fb9e8388361139fbba9a01c3a01443c02036
7
+ data.tar.gz: c374f60afac8a6ab79d734f674526102ddf72e7cab7a38cf360b5e8d21c160a588ac0f142b5ec8e5acf52c49a5b7e86073ac6b587fafdbce3dcafd79c9d6d8e5
data/README.textile CHANGED
@@ -1,4 +1,4 @@
1
- h1. !http://railsapps.github.com/images/rails-36x36.jpg(Rails Apps Composer Gem)! Rails Apps Composer 2.1
1
+ h1. !http://railsapps.github.com/images/rails-36x36.jpg(Rails Apps Composer Gem)! Rails Apps Composer
2
2
 
3
3
  The Rails Apps Composer gem installs a command line tool to assemble a Rails application from a collection of "recipes."
4
4
 
@@ -24,6 +24,10 @@ The "Guide to the Rails Apps Composer Gem":http://railsapps.github.com/tutorial-
24
24
 
25
25
  Any issues? Please create a "GitHub issue":http://github.com/RailsApps/rails_apps_composer/issues.
26
26
 
27
+ h3. From the RailsApps Project
28
+
29
+ The "RailsApps project":http://railsapps.github.com/ provides example applications that developers use as starter apps. Hundreds of developers use the apps, report problems as they arise, and propose solutions. Rails changes frequently; each application is known to work and serves as your personal "reference implementation" so you can stay up to date. Each is accompanied by a tutorial so there is no mystery code. Maintenance and development of the RailsApps applications is supported by subscriptions to the "RailsApps tutorials":https://tutorials.railsapps.org.
30
+
27
31
  h2. !http://twitter-badges.s3.amazonaws.com/t_logo-a.png(Follow on Twitter)!:http://www.twitter.com/rails_apps Follow on Twitter
28
32
 
29
33
  Follow the project on Twitter: "@rails_apps":http://twitter.com/rails_apps. Tweet some praise if you like what you've found.
@@ -48,8 +52,8 @@ h2. Dependencies
48
52
 
49
53
  Before using the rails_apps_composer gem, you will need:
50
54
 
51
- * The Ruby language (version 1.9.3)
52
- * Rails 3.2 or newer
55
+ * The Ruby language (version 1.9.3 or 2.0.0)
56
+ * Rails 3.2 (Rails 4.0 is not yet supported)
53
57
 
54
58
  The rails_apps_composer program uses the version of Rails that is currently installed when you launch the program. If you want to use the newest Rails version, upgrade before running rails_apps_composer.
55
59
 
@@ -59,15 +63,27 @@ h4. Database
59
63
 
60
64
  Unless you use SQLite, which runs by default on Mac OS X, you'll need to have a database server running before you run rails_apps_composer. This is true if you want to use PostgreSQL, MySQL, or MongoDB. I recommend using SQLite if you don't want to set up a database server.
61
65
 
62
- h2. Installation
66
+ h2. Installation and Usage
67
+
68
+ I recommend installing and using RVM, the "Ruby Version Manager":https://rvm.io/, to create a new gemset for rails_apps_composer. Using an RVM gemset will make it easier to identify and isolate incompatibilities among gems. RVM will install Ruby and set up a global gemset with a minimal set of gems.
69
+
70
+ Here's how to generate a new Rails application using the Rails Composer tool and RVM:
71
+
72
+ <pre>
73
+ $ mkdir myapp
74
+ $ cd myapp
75
+ $ rvm use ruby-2.0.0@myapp --rvmrc --create
76
+ $ gem install rails_apps_composer
77
+ $ rails_apps_composer new . -r core
78
+ </pre>
63
79
 
64
- I recommend installing and using rvm, the "Ruby Version Manager":https://rvm.io/, to create a new gemset for rails_apps_composer. Using an rvm gemset will make it easier to identify and isolate incompatibilities among gems.
80
+ You'll avoid conflicts with outdated gem versions by creating a new folder for your application, then creating a new RVM gemset, installing rails_apps_composer, and then using rails_apps_composer to create a new application.
65
81
 
66
- Installation is simple:
82
+ h3. Troubleshooting
67
83
 
68
- @$ gem install rails_apps_composer@
84
+ You may have trouble if you install the rails_apps_composer gem by including it in a Gemfile and running Bundler (reported in "issue 114":https://github.com/RailsApps/rails_apps_composer/issues/114).
69
85
 
70
- h2. Usage
86
+ h2. Usage Options
71
87
 
72
88
  These commands are summarized here for your reference. See the "Guide to the Rails Apps Composer Gem":http://railsapps.github.com/tutorial-rails-apps-composer.html for details.
73
89
 
@@ -355,7 +371,7 @@ Are you getting an error "OpenSSL certificate verify failed" when you try to gen
355
371
 
356
372
  h4. Problems with "Segmentation Fault"
357
373
 
358
- If you get a "segfault" when you try @rails new@, try removing and reinstalling rvm.
374
+ If you get a "segfault" when you try @rails new@, try removing and reinstalling RVM.
359
375
 
360
376
  h2. Application Template Default
361
377
 
@@ -390,13 +406,13 @@ h2. MIT License (with restriction)
390
406
 
391
407
  The rails_apps_composer program is licensed under the terms of the "MIT License":http://www.opensource.org/licenses/mit-license, except portions of the program authored by Daniel Kehoe may not be used to build a website that generates an application template that can be downloaded or used to generate a web application online (for such use, ask for permission).
392
408
 
393
- Copyright © 2012 Daniel Kehoe
409
+ Copyright © 2012-2013 Daniel Kehoe
394
410
 
395
411
  h2. Useful Links
396
412
 
397
413
  |_. Getting Started |_. Articles |_. Tutorials |
398
- | "Rails Tutorial":https://tutorials.railsapps.org/rails-tutorial (recommendations) | "Heroku and Rails":http://railsapps.github.com/rails-heroku-tutorial.html | "Devise with CanCan and Twitter Bootstrap":https://tutorials.railsapps.org/rails3-bootstrap-devise-cancan |
399
- | "Rails":http://railsapps.github.com/rails.html (resources)| "Twitter Bootstrap and Rails":http://railsapps.github.com/twitter-bootstrap-rails.html | "Rails Membership Site with Stripe":https://tutorials.railsapps.org/rails-stripe-membership-saas |
414
+ | "Rails Tutorial":https://tutorials.railsapps.org/rails-tutorial | "Heroku and Rails":http://railsapps.github.com/rails-heroku-tutorial.html | "Devise with CanCan and Twitter Bootstrap":https://tutorials.railsapps.org/rails3-bootstrap-devise-cancan |
415
+ | "Ruby and Rails":http://railsapps.github.com/ruby-and-rails.html | "Twitter Bootstrap and Rails":http://railsapps.github.com/twitter-bootstrap-rails.html | "Rails Membership Site with Stripe":https://tutorials.railsapps.org/rails-stripe-membership-saas |
400
416
  | "Installing Rails":http://railsapps.github.com/installing-rails.html | "JavaScript and Rails":http://railsapps.github.com/rails-javascript-include-external.html | "Rails Subscription Site with Recurly":https://tutorials.railsapps.org/rails-recurly-subscription-saas |
401
417
  | "Updating Rails":http://railsapps.github.com/updating-rails.html | "Rails Environment Variables":http://railsapps.github.com/rails-environment-variables.html | "Startup Prelaunch Signup Application":http://railsapps.github.com/tutorial-rails-prelaunch-signup.html |
402
418
  | "Rails Composer":http://railsapps.github.com/rails-composer/ | "Git and GitHub with Rails":http://railsapps.github.com/rails-git.html | "Devise with RSpec and Cucumber":http://railsapps.github.com/tutorial-rails-devise-rspec-cucumber.html |
data/recipes/extras.rb CHANGED
@@ -7,8 +7,8 @@ if File.exist?('.rvmrc')
7
7
  rvmrc_file = File.read('.rvmrc')
8
8
  rvmrc_detected = rvmrc_file.include? app_name
9
9
  end
10
- unless rvmrc_detected
11
- prefs[:rvmrc] = yes_wizard? "Create a project-specific rvm gemset and .rvmrc?"
10
+ unless rvmrc_detected || prefs[:rvmrc]
11
+ prefs[:rvmrc] = yes_wizard? "Use or create a project-specific rvm gemset and .rvmrc?"
12
12
  end
13
13
  if prefs[:rvmrc]
14
14
  if which("rvm")
@@ -60,7 +60,7 @@ if config['quiet_assets']
60
60
  end
61
61
  if prefs[:quiet_assets]
62
62
  say_wizard "recipe setting quiet_assets for reduced asset pipeline logging"
63
- gem 'quiet_assets', '>= 1.0.1', :group => :development
63
+ gem 'quiet_assets', '>= 1.0.2', :group => :development
64
64
  end
65
65
 
66
66
  ## LOCAL_ENV.YML FILE
@@ -69,7 +69,7 @@ if config['local_env_file']
69
69
  end
70
70
  if prefs[:local_env_file]
71
71
  say_wizard "recipe creating application.yml file for environment variables"
72
- gem 'figaro', '>= 0.5.3'
72
+ gem 'figaro', '>= 0.6.3'
73
73
  end
74
74
 
75
75
  ## BETTER ERRORS
@@ -78,7 +78,7 @@ if config['better_errors']
78
78
  end
79
79
  if prefs[:better_errors]
80
80
  say_wizard "recipe adding better_errors gem"
81
- gem 'better_errors', '>= 0.6.0', :group => :development
81
+ gem 'better_errors', '>= 0.7.2', :group => :development
82
82
  gem 'binding_of_caller', '>= 0.7.1', :group => :development, :platforms => [:mri_19, :rbx]
83
83
  end
84
84
 
data/recipes/gems.rb CHANGED
@@ -4,7 +4,7 @@
4
4
  ### GEMFILE ###
5
5
 
6
6
  ## Ruby on Rails
7
- insert_into_file('Gemfile', "ruby '1.9.3'\n", before: /^ *gem 'rails'/, force: false) if prefer :deploy, 'heroku'
7
+ insert_into_file('Gemfile', "ruby '#{RUBY_VERSION}'\n", :before => /^ *gem 'rails'/, force: false) if prefer :deploy, 'heroku'
8
8
 
9
9
  ## Web Server
10
10
  if (prefs[:dev_webserver] == prefs[:prod_webserver])
@@ -22,11 +22,11 @@ end
22
22
 
23
23
  ## Database Adapter
24
24
  gsub_file 'Gemfile', /gem 'sqlite3'\n/, '' unless prefer :database, 'sqlite'
25
- gem 'mongoid', '>= 3.1.1' if prefer :orm, 'mongoid'
26
- unless File.open('Gemfile').lines.any?{|line| line.include?('pg')}
25
+ gem 'mongoid', '>= 3.1.2' if prefer :orm, 'mongoid'
26
+ unless File.open('Gemfile').each {|line| line.include?('pg')}
27
27
  gem 'pg', '>= 0.14.1' if prefer :database, 'postgresql'
28
28
  end
29
- unless File.open('Gemfile').lines.any?{|line| line.include?('mysql2')}
29
+ unless File.open('Gemfile').each {|line| line.include?('mysql2')}
30
30
  gem 'mysql2', '>= 0.3.11' if prefer :database, 'mysql'
31
31
  end
32
32
 
@@ -47,9 +47,9 @@ end
47
47
  if prefer :unit_test, 'rspec'
48
48
  gem 'rspec-rails', '>= 2.12.2', :group => [:development, :test]
49
49
  gem 'capybara', '>= 2.0.2', :group => :test if prefer :integration, 'rspec-capybara'
50
- gem 'database_cleaner', '>= 0.9.1', :group => :test
50
+ gem 'database_cleaner', '>= 1.0.0.RC1', :group => :test
51
51
  if prefer :orm, 'mongoid'
52
- gem 'mongoid-rspec', '>= 1.6.0', :group => :test
52
+ gem 'mongoid-rspec', '>= 1.7.0', :group => :test
53
53
  end
54
54
  gem 'email_spec', '>= 1.4.0', :group => :test
55
55
  end
@@ -59,8 +59,8 @@ if prefer :unit_test, 'minitest'
59
59
  gem 'capybara', '>= 2.0.2', :group => :test if prefer :integration, 'minitest-capybara'
60
60
  end
61
61
  if prefer :integration, 'cucumber'
62
- gem 'cucumber-rails', '>= 1.3.0', :group => :test, :require => false
63
- gem 'database_cleaner', '>= 0.9.1', :group => :test unless prefer :unit_test, 'rspec'
62
+ gem 'cucumber-rails', '>= 1.3.1', :group => :test, :require => false
63
+ gem 'database_cleaner', '>= 1.0.0.RC1', :group => :test unless prefer :unit_test, 'rspec'
64
64
  gem 'launchy', '>= 2.2.0', :group => :test
65
65
  gem 'capybara', '>= 2.0.2', :group => :test
66
66
  end
@@ -72,7 +72,7 @@ gem 'machinist', '>= 2.0', :group => :test if prefer :fixtures, 'machinist'
72
72
  ## Front-end Framework
73
73
  gem 'bootstrap-sass', '>= 2.3.0.0' if prefer :bootstrap, 'sass'
74
74
  gem 'compass-rails', '>= 1.0.3', :group => :assets if prefer :frontend, 'foundation'
75
- gem 'zurb-foundation', '>= 3.2.5', :group => :assets if prefer :frontend, 'foundation'
75
+ gem 'zurb-foundation', '>= 4.0.8', :group => :assets if prefer :frontend, 'foundation'
76
76
  if prefer :bootstrap, 'less'
77
77
  gem 'less-rails', '>= 2.2.6', :group => :assets
78
78
  gem 'twitter-bootstrap-rails', '>= 2.2.4', :group => :assets
@@ -100,29 +100,29 @@ gem 'omniauth-tumblr' if prefer :omniauth_provider, 'tumblr'
100
100
 
101
101
  ## Authorization
102
102
  if prefer :authorization, 'cancan'
103
- gem 'cancan', '>= 1.6.8'
103
+ gem 'cancan', '>= 1.6.9'
104
104
  gem 'rolify', '>= 3.2.0'
105
105
  end
106
106
 
107
107
  ## Form Builder
108
- gem 'simple_form', '>= 2.0.4' if prefer :form_builder, 'simple_form'
108
+ gem 'simple_form', '>= 2.1.0' if prefer :form_builder, 'simple_form'
109
109
 
110
110
  ## Membership App
111
111
  if prefer :railsapps, 'rails-stripe-membership-saas'
112
- gem 'stripe', '>= 1.7.10'
112
+ gem 'stripe', '>= 1.7.11'
113
113
  gem 'stripe_event', '>= 0.4.0'
114
114
  end
115
115
  if prefer :railsapps, 'rails-recurly-subscription-saas'
116
116
  gem 'recurly', '>= 2.1.8'
117
117
  gem 'nokogiri', '>= 1.5.5'
118
- gem 'countries', '>= 0.8.4'
118
+ gem 'countries', '>= 0.9.2'
119
119
  gem 'httpi', '>= 1.1.1'
120
- gem 'httpclient', '>= 2.3.0.1'
120
+ gem 'httpclient', '>= 2.3.3'
121
121
  end
122
122
 
123
123
  ## Signup App
124
124
  if prefer :railsapps, 'rails-prelaunch-signup'
125
- gem 'google_visualr', '>= 2.1.2'
125
+ gem 'google_visualr', '>= 2.1.7'
126
126
  gem 'jquery-datatables-rails', '>= 1.11.2'
127
127
  end
128
128
 
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "2.2.34"
2
+ VERSION = "2.2.35"
3
3
  end
metadata CHANGED
@@ -1,142 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_apps_composer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.34
5
- prerelease:
4
+ version: 2.2.35
6
5
  platform: ruby
7
6
  authors:
8
7
  - Daniel Kehoe
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-20 00:00:00.000000000 Z
11
+ date: 2013-03-17 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: i18n
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
- name: activesupport
28
+ name: rails
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
- version: 3.0.0
33
+ version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
- version: 3.0.0
40
+ version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: thor
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rake
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: rspec
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
- version: 2.5.0
75
+ version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
- version: 2.5.0
82
+ version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: mg
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - '>='
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - '>='
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
- name: activesupport
98
+ name: rails
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - '>='
116
102
  - !ruby/object:Gem::Version
117
- version: 3.0.0
103
+ version: '0'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - '>='
124
109
  - !ruby/object:Gem::Version
125
- version: 3.0.0
110
+ version: '0'
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: i18n
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
- - - ! '>='
115
+ - - '>='
132
116
  - !ruby/object:Gem::Version
133
117
  version: '0'
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
- - - ! '>='
122
+ - - '>='
140
123
  - !ruby/object:Gem::Version
141
124
  version: '0'
142
125
  description: A gem with recipes to create Rails application templates you can use
@@ -190,33 +173,26 @@ files:
190
173
  - bin/rails_apps_composer
191
174
  homepage: http://github.com/RailsApps/rails_apps_composer
192
175
  licenses: []
176
+ metadata: {}
193
177
  post_install_message:
194
178
  rdoc_options: []
195
179
  require_paths:
196
180
  - lib
197
181
  required_ruby_version: !ruby/object:Gem::Requirement
198
- none: false
199
182
  requirements:
200
- - - ! '>='
183
+ - - '>='
201
184
  - !ruby/object:Gem::Version
202
185
  version: '0'
203
- segments:
204
- - 0
205
- hash: -161628024965057512
206
186
  required_rubygems_version: !ruby/object:Gem::Requirement
207
- none: false
208
187
  requirements:
209
- - - ! '>='
188
+ - - '>='
210
189
  - !ruby/object:Gem::Version
211
190
  version: '0'
212
- segments:
213
- - 0
214
- hash: -161628024965057512
215
191
  requirements: []
216
192
  rubyforge_project: rails_apps_composer
217
- rubygems_version: 1.8.25
193
+ rubygems_version: 2.0.3
218
194
  signing_key:
219
- specification_version: 3
195
+ specification_version: 4
220
196
  summary: A version of the RailsWizard gem with custom recipes for Rails starter apps.
221
197
  test_files:
222
198
  - spec/rails_wizard/config_spec.rb