rails_apps_composer 2.2.9 → 2.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/recipes/controllers.rb +2 -2
- data/recipes/email.rb +2 -2
- data/recipes/extras.rb +16 -4
- data/recipes/frontend.rb +2 -2
- data/recipes/gems.rb +37 -23
- data/recipes/git.rb +2 -2
- data/recipes/init.rb +2 -2
- data/recipes/models.rb +3 -2
- data/recipes/prelaunch.rb +4 -4
- data/recipes/readme.rb +2 -2
- data/recipes/routes.rb +2 -2
- data/recipes/setup.rb +1 -1
- data/recipes/testing.rb +10 -14
- data/recipes/views.rb +2 -2
- data/version.rb +1 -1
- metadata +4 -4
data/recipes/controllers.rb
CHANGED
@@ -47,8 +47,8 @@ RUBY
|
|
47
47
|
### PROFILES_CONTROLLER ###
|
48
48
|
copy_from_repo 'app/controllers/profiles_controller.rb', :repo => 'https://raw.github.com/RailsApps/rails3-subdomains/master/' if prefer :starter_app, 'subdomains_app'
|
49
49
|
### GIT ###
|
50
|
-
git :add => '
|
51
|
-
git :commit => "-
|
50
|
+
git :add => '-A' if prefer :git, true
|
51
|
+
git :commit => "-qm 'rails_apps_composer: controllers'" if prefer :git, true
|
52
52
|
end # after_bundler
|
53
53
|
|
54
54
|
__END__
|
data/recipes/email.rb
CHANGED
@@ -87,8 +87,8 @@ TEXT
|
|
87
87
|
inject_into_file 'config/environments/production.rb', mandrill_configuration_text, :after => 'config.action_mailer.default :charset => "utf-8"'
|
88
88
|
end
|
89
89
|
### GIT
|
90
|
-
git :add => '
|
91
|
-
git :commit => "-
|
90
|
+
git :add => '-A' if prefer :git, true
|
91
|
+
git :commit => "-qm 'rails_apps_composer: set email accounts'" if prefer :git, true
|
92
92
|
end # after_bundler
|
93
93
|
|
94
94
|
__END__
|
data/recipes/extras.rb
CHANGED
@@ -49,10 +49,22 @@ if prefs[:rvmrc]
|
|
49
49
|
RVM.gemset_create app_name
|
50
50
|
run "rvm rvmrc trust"
|
51
51
|
say_wizard "switching to gemset '#{app_name}'"
|
52
|
+
# RVM.gemset_use! requires rvm version 1.11.3.5 or newer
|
53
|
+
rvm_spec =
|
54
|
+
if Gem::Specification.respond_to?(:find_by_name)
|
55
|
+
Gem::Specification.find_by_name("rvm")
|
56
|
+
else
|
57
|
+
Gem.source_index.find_name("rvm").last
|
58
|
+
end
|
59
|
+
unless rvm_spec.version > Gem::Version.create('1.11.3.4')
|
60
|
+
say_wizard "rvm gem version: #{rvm_spec.version}"
|
61
|
+
raise "Please update rvm gem to 1.11.3.5 or newer"
|
62
|
+
end
|
52
63
|
begin
|
53
64
|
RVM.gemset_use! app_name
|
54
|
-
rescue
|
55
|
-
|
65
|
+
rescue => e
|
66
|
+
say_wizard "rvm failure: unable to use gemset #{app_name}, reason: #{e}"
|
67
|
+
raise
|
56
68
|
end
|
57
69
|
run "rvm gemset list"
|
58
70
|
copy_from_repo '.rvmrc'
|
@@ -74,8 +86,8 @@ after_everything do
|
|
74
86
|
gsub_file 'config/routes.rb', / #.*\n/, "\n"
|
75
87
|
gsub_file 'config/routes.rb', /\n^\s*\n/, "\n"
|
76
88
|
# GIT
|
77
|
-
git :add => '
|
78
|
-
git :commit => "-
|
89
|
+
git :add => '-A' if prefer :git, true
|
90
|
+
git :commit => "-qm 'rails_apps_composer: extras'" if prefer :git, true
|
79
91
|
end
|
80
92
|
|
81
93
|
## GITHUB
|
data/recipes/frontend.rb
CHANGED
@@ -51,8 +51,8 @@ RUBY
|
|
51
51
|
end
|
52
52
|
remove_file 'app/assets/stylesheets/application.css'
|
53
53
|
### GIT ###
|
54
|
-
git :add => '
|
55
|
-
git :commit => "-
|
54
|
+
git :add => '-A' if prefer :git, true
|
55
|
+
git :commit => "-qm 'rails_apps_composer: front-end framework'" if prefer :git, true
|
56
56
|
end # after_bundler
|
57
57
|
|
58
58
|
__END__
|
data/recipes/gems.rb
CHANGED
@@ -8,21 +8,21 @@ insert_into_file 'Gemfile', "ruby '1.9.3'\n", :before => "gem 'rails', '3.2.6'"
|
|
8
8
|
|
9
9
|
## Web Server
|
10
10
|
if (prefs[:dev_webserver] == prefs[:prod_webserver])
|
11
|
-
gem 'thin', '>= 1.
|
11
|
+
gem 'thin', '>= 1.5.0' if prefer :dev_webserver, 'thin'
|
12
12
|
gem 'unicorn', '>= 4.3.1' if prefer :dev_webserver, 'unicorn'
|
13
13
|
gem 'puma', '>= 1.6.3' if prefer :dev_webserver, 'puma'
|
14
14
|
else
|
15
|
-
gem 'thin', '>= 1.
|
15
|
+
gem 'thin', '>= 1.5.0', :group => [:development, :test] if prefer :dev_webserver, 'thin'
|
16
16
|
gem 'unicorn', '>= 4.3.1', :group => [:development, :test] if prefer :dev_webserver, 'unicorn'
|
17
17
|
gem 'puma', '>= 1.6.3', :group => [:development, :test] if prefer :dev_webserver, 'puma'
|
18
|
-
gem 'thin', '>= 1.
|
18
|
+
gem 'thin', '>= 1.5.0', :group => :production if prefer :prod_webserver, 'thin'
|
19
19
|
gem 'unicorn', '>= 4.3.1', :group => :production if prefer :prod_webserver, 'unicorn'
|
20
20
|
gem 'puma', '>= 1.6.3', :group => :production if prefer :prod_webserver, 'puma'
|
21
21
|
end
|
22
22
|
|
23
23
|
## Database Adapter
|
24
24
|
gsub_file 'Gemfile', /gem 'sqlite3'\n/, '' unless prefer :database, 'sqlite'
|
25
|
-
gem 'mongoid', '>= 3.0.
|
25
|
+
gem 'mongoid', '>= 3.0.6' if prefer :orm, 'mongoid'
|
26
26
|
gem 'pg', '>= 0.14.1' if prefer :database, 'postgresql'
|
27
27
|
gem 'mysql2', '>= 0.3.11' if prefer :database, 'mysql'
|
28
28
|
|
@@ -35,7 +35,7 @@ if prefer :templates, 'haml'
|
|
35
35
|
gem 'ruby_parser', '>= 2.3.1', :group => :development
|
36
36
|
end
|
37
37
|
if prefer :templates, 'slim'
|
38
|
-
gem 'slim', '>= 1.3.
|
38
|
+
gem 'slim', '>= 1.3.2'
|
39
39
|
gem 'haml2slim', '>= 0.4.6', :group => :development
|
40
40
|
# Haml is needed for conversion of HTML to Slim
|
41
41
|
gem 'haml', '>= 3.1.6', :group => :development
|
@@ -54,7 +54,7 @@ if prefer :unit_test, 'rspec'
|
|
54
54
|
# include RSpec matchers from the mongoid-rspec gem
|
55
55
|
gem 'mongoid-rspec', '>= 1.4.6', :group => :test
|
56
56
|
end
|
57
|
-
gem 'email_spec', '>= 1.2.1', :group => :test
|
57
|
+
gem 'email_spec', '>= 1.2.1', :group => :test
|
58
58
|
end
|
59
59
|
if prefer :integration, 'cucumber'
|
60
60
|
gem 'cucumber-rails', '>= 1.3.0', :group => :test, :require => false
|
@@ -62,13 +62,13 @@ if prefer :integration, 'cucumber'
|
|
62
62
|
gem 'launchy', '>= 2.1.2', :group => :test
|
63
63
|
end
|
64
64
|
gem 'turnip', '>= 1.0.0', :group => :test if prefer :integration, 'turnip'
|
65
|
-
gem 'factory_girl_rails', '>= 4.
|
65
|
+
gem 'factory_girl_rails', '>= 4.1.0', :group => [:development, :test] if prefer :fixtures, 'factory_girl'
|
66
66
|
gem 'machinist', '>= 2.0', :group => :test if prefer :fixtures, 'machinist'
|
67
67
|
|
68
68
|
## Front-end Framework
|
69
69
|
gem 'bootstrap-sass', '>= 2.1.0.0' if prefer :bootstrap, 'sass'
|
70
70
|
gem 'compass-rails', '>= 1.0.3', :group => :assets if prefer :frontend, 'foundation'
|
71
|
-
gem 'zurb-foundation', '>= 3.
|
71
|
+
gem 'zurb-foundation', '>= 3.1.1', :group => :assets if prefer :frontend, 'foundation'
|
72
72
|
if prefer :bootstrap, 'less'
|
73
73
|
gem 'twitter-bootstrap-rails', '>= 2.1.3', :group => :assets
|
74
74
|
# install gem 'therubyracer' to use Less
|
@@ -89,7 +89,7 @@ gem 'omniauth-twitter' if prefer :omniauth_provider, 'twitter'
|
|
89
89
|
gem 'omniauth-facebook' if prefer :omniauth_provider, 'facebook'
|
90
90
|
gem 'omniauth-github' if prefer :omniauth_provider, 'github'
|
91
91
|
gem 'omniauth-linkedin' if prefer :omniauth_provider, 'linkedin'
|
92
|
-
gem 'omniauth-google-oauth2' if prefer :omniauth_provider, '
|
92
|
+
gem 'omniauth-google-oauth2' if prefer :omniauth_provider, 'google_oauth2'
|
93
93
|
gem 'omniauth-tumblr' if prefer :omniauth_provider, 'tumblr'
|
94
94
|
|
95
95
|
## Authorization
|
@@ -99,12 +99,12 @@ if prefer :authorization, 'cancan'
|
|
99
99
|
end
|
100
100
|
|
101
101
|
## Form Builder
|
102
|
-
gem 'simple_form', '>= 2.0.
|
102
|
+
gem 'simple_form', '>= 2.0.3' if prefer :form_builder, 'simple_form'
|
103
103
|
|
104
104
|
## Signup App
|
105
105
|
if prefer :railsapps, 'rails-prelaunch-signup'
|
106
106
|
gem 'google_visualr', '>= 2.1.2'
|
107
|
-
gem 'jquery-datatables-rails', '>= 1.11.
|
107
|
+
gem 'jquery-datatables-rails', '>= 1.11.1'
|
108
108
|
end
|
109
109
|
|
110
110
|
## Gems from a defaults file or added interactively
|
@@ -113,8 +113,8 @@ gems.each do |g|
|
|
113
113
|
end
|
114
114
|
|
115
115
|
## Git
|
116
|
-
git :add => '
|
117
|
-
git :commit => "-
|
116
|
+
git :add => '-A' if prefer :git, true
|
117
|
+
git :commit => "-qm 'rails_apps_composer: Gemfile'" if prefer :git, true
|
118
118
|
|
119
119
|
### CREATE DATABASE ###
|
120
120
|
after_bundler do
|
@@ -124,17 +124,31 @@ after_bundler do
|
|
124
124
|
remove_file 'config/database.yml' if prefer :orm, 'mongoid'
|
125
125
|
if prefer :database, 'postgresql'
|
126
126
|
begin
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
127
|
+
pg_username = ask_wizard("Username for PostgreSQL? (leave blank to use the app name)")
|
128
|
+
if pg_username.blank?
|
129
|
+
say_wizard "Creating a user named '#{app_name}' for PostgreSQL"
|
130
|
+
run "createuser #{app_name}" if prefer :database, 'postgresql'
|
131
|
+
gsub_file "config/database.yml", /username: .*/, "username: #{app_name}"
|
132
|
+
else
|
133
|
+
gsub_file "config/database.yml", /username: .*/, "username: #{pg_username}"
|
134
|
+
pg_password = ask_wizard("Password for PostgreSQL user #{pg_username}?")
|
135
|
+
gsub_file "config/database.yml", /password:/, "password: #{pg_password}"
|
136
|
+
say_wizard "set config/database.yml for username/password #{pg_username}/#{pg_password}"
|
137
|
+
end
|
133
138
|
rescue StandardError => e
|
134
139
|
raise "unable to create a user for PostgreSQL, reason: #{e}"
|
135
140
|
end
|
136
141
|
end
|
137
142
|
if prefer :database, 'mysql'
|
143
|
+
mysql_username = ask_wizard("Username for MySQL? (leave blank to use the app name)")
|
144
|
+
if mysql_username.blank?
|
145
|
+
gsub_file "config/database.yml", /username: .*/, "username: #{app_name}"
|
146
|
+
else
|
147
|
+
gsub_file "config/database.yml", /username: .*/, "username: #{mysql_username}"
|
148
|
+
mysql_password = ask_wizard("Password for MySQL user #{mysql_username}?")
|
149
|
+
gsub_file "config/database.yml", /password:/, "password: #{mysql_password}"
|
150
|
+
say_wizard "set config/database.yml for username/password #{mysql_username}/#{mysql_password}"
|
151
|
+
end
|
138
152
|
gsub_file "config/database.yml", /database: myapp_development/, "database: #{app_name}_development"
|
139
153
|
gsub_file "config/database.yml", /database: myapp_test/, "database: #{app_name}_test"
|
140
154
|
gsub_file "config/database.yml", /database: myapp_production/, "database: #{app_name}_production"
|
@@ -151,8 +165,8 @@ after_bundler do
|
|
151
165
|
run 'bundle exec rake db:create:all' unless prefer :orm, 'mongoid'
|
152
166
|
run 'bundle exec rake db:create' if prefer :orm, 'mongoid'
|
153
167
|
## Git
|
154
|
-
git :add => '
|
155
|
-
git :commit => "-
|
168
|
+
git :add => '-A' if prefer :git, true
|
169
|
+
git :commit => "-qm 'rails_apps_composer: create database'" if prefer :git, true
|
156
170
|
end # after_bundler
|
157
171
|
|
158
172
|
### GENERATORS ###
|
@@ -170,8 +184,8 @@ after_bundler do
|
|
170
184
|
end
|
171
185
|
end
|
172
186
|
## Git
|
173
|
-
git :add => '
|
174
|
-
git :commit => "-
|
187
|
+
git :add => '-A' if prefer :git, true
|
188
|
+
git :commit => "-qm 'rails_apps_composer: generators'" if prefer :git, true
|
175
189
|
end # after_bundler
|
176
190
|
|
177
191
|
__END__
|
data/recipes/git.rb
CHANGED
@@ -7,8 +7,8 @@ prefs[:git] = true unless prefs.has_key? :git
|
|
7
7
|
if prefer :git, true
|
8
8
|
copy_from 'https://raw.github.com/RailsApps/rails-composer/master/files/gitignore.txt', '.gitignore'
|
9
9
|
git :init
|
10
|
-
git :add => '
|
11
|
-
git :commit => "-
|
10
|
+
git :add => '-A'
|
11
|
+
git :commit => "-qm 'rails_apps_composer: initial commit'"
|
12
12
|
end
|
13
13
|
|
14
14
|
__END__
|
data/recipes/init.rb
CHANGED
@@ -58,8 +58,8 @@ FILE
|
|
58
58
|
end
|
59
59
|
run 'bundle exec rake db:seed'
|
60
60
|
### GIT ###
|
61
|
-
git :add => '
|
62
|
-
git :commit => "-
|
61
|
+
git :add => '-A' if prefer :git, true
|
62
|
+
git :commit => "-qm 'rails_apps_composer: set up database'" if prefer :git, true
|
63
63
|
end # after_everything
|
64
64
|
|
65
65
|
__END__
|
data/recipes/models.rb
CHANGED
@@ -54,6 +54,7 @@ RUBY
|
|
54
54
|
if prefer :authentication, 'omniauth'
|
55
55
|
repo = 'https://raw.github.com/RailsApps/rails3-mongoid-omniauth/master/'
|
56
56
|
copy_from_repo 'config/initializers/omniauth.rb', :repo => repo
|
57
|
+
gsub_file 'config/initializers/omniauth.rb', /twitter/, prefs[:omniauth_provider] unless prefer :omniauth_provider, 'twitter'
|
57
58
|
generate 'model User name:string email:string provider:string uid:string' unless prefer :orm, 'mongoid'
|
58
59
|
run 'bundle exec rake db:migrate' unless prefer :orm, 'mongoid'
|
59
60
|
copy_from_repo 'app/models/user.rb', :repo => repo # copy the User model (Mongoid version)
|
@@ -88,8 +89,8 @@ RUBY
|
|
88
89
|
end
|
89
90
|
end
|
90
91
|
### GIT ###
|
91
|
-
git :add => '
|
92
|
-
git :commit => "-
|
92
|
+
git :add => '-A' if prefer :git, true
|
93
|
+
git :commit => "-qm 'rails_apps_composer: models'" if prefer :git, true
|
93
94
|
end # after_bundler
|
94
95
|
|
95
96
|
__END__
|
data/recipes/prelaunch.rb
CHANGED
@@ -21,8 +21,8 @@ if prefer :railsapps, 'rails-prelaunch-signup'
|
|
21
21
|
gsub_file 'config/routes.rb', / #.*\n/, "\n"
|
22
22
|
gsub_file 'config/routes.rb', /\n^\s*\n/, "\n"
|
23
23
|
# GIT
|
24
|
-
git :add => '
|
25
|
-
git :commit => "-
|
24
|
+
git :add => '-A' if prefer :git, true
|
25
|
+
git :commit => "-qm 'rails_apps_composer: clean up starter app'" if prefer :git, true
|
26
26
|
|
27
27
|
# >-------------------------------[ Create a git branch ]--------------------------------<
|
28
28
|
if prefer :git, true
|
@@ -104,8 +104,8 @@ if prefer :railsapps, 'rails-prelaunch-signup'
|
|
104
104
|
copy_from_repo 'app/assets/stylesheets/application.css.scss', :repo => repo
|
105
105
|
|
106
106
|
### GIT ###
|
107
|
-
git :add => '
|
108
|
-
git :commit => "-
|
107
|
+
git :add => '-A' if prefer :git, true
|
108
|
+
git :commit => "-qm 'rails_apps_composer: prelaunch app'" if prefer :git, true
|
109
109
|
end # after_bundler
|
110
110
|
end # rails-prelaunch-signup
|
111
111
|
|
data/recipes/readme.rb
CHANGED
@@ -71,8 +71,8 @@ after_everything do
|
|
71
71
|
gsub_file "README.textile", /Authentication: None/, "Authentication: OmniAuth" if prefer :authentication, 'omniauth'
|
72
72
|
gsub_file "README.textile", /Authorization: None/, "Authorization: CanCan" if prefer :authorization, 'cancan'
|
73
73
|
|
74
|
-
git :add => '
|
75
|
-
git :commit => "-
|
74
|
+
git :add => '-A' if prefer :git, true
|
75
|
+
git :commit => "-qm 'rails_apps_composer: add README files'" if prefer :git, true
|
76
76
|
|
77
77
|
end # after_everything
|
78
78
|
|
data/recipes/routes.rb
CHANGED
@@ -21,8 +21,8 @@ after_bundler do
|
|
21
21
|
### CORRECT APPLICATION NAME ###
|
22
22
|
gsub_file 'config/routes.rb', /^.*.routes.draw do/, "#{app_const}.routes.draw do"
|
23
23
|
### GIT ###
|
24
|
-
git :add => '
|
25
|
-
git :commit => "-
|
24
|
+
git :add => '-A' if prefer :git, true
|
25
|
+
git :commit => "-qm 'rails_apps_composer: routes'" if prefer :git, true
|
26
26
|
end # after_bundler
|
27
27
|
|
28
28
|
__END__
|
data/recipes/setup.rb
CHANGED
@@ -95,7 +95,7 @@ if recipes.include? 'models'
|
|
95
95
|
end
|
96
96
|
when 'omniauth'
|
97
97
|
prefs[:omniauth_provider] = multiple_choice "OmniAuth provider?", [["Facebook", "facebook"], ["Twitter", "twitter"], ["GitHub", "github"],
|
98
|
-
["LinkedIn", "linkedin"], ["Google-Oauth-2", "
|
98
|
+
["LinkedIn", "linkedin"], ["Google-Oauth-2", "google_oauth2"], ["Tumblr", "tumblr"]] unless prefs.has_key? :omniauth_provider
|
99
99
|
end
|
100
100
|
prefs[:authorization] = multiple_choice "Authorization?", [["None", "none"], ["CanCan with Rolify", "cancan"]] unless prefs.has_key? :authorization
|
101
101
|
end
|
data/recipes/testing.rb
CHANGED
@@ -8,14 +8,12 @@ after_bundler do
|
|
8
8
|
say_wizard "recipe installing RSpec"
|
9
9
|
generate 'rspec:install'
|
10
10
|
copy_from_repo 'spec/spec_helper.rb', :repo => 'https://raw.github.com/RailsApps/rails3-devise-rspec-cucumber/master/'
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
inject_into_file 'spec/spec_helper.rb', :after => "RSpec.configure do |config|\n" do <<-RUBY
|
11
|
+
generate 'email_spec:steps'
|
12
|
+
inject_into_file 'spec/spec_helper.rb', "require 'email_spec'\n", :after => "require 'rspec/rails'\n"
|
13
|
+
inject_into_file 'spec/spec_helper.rb', :after => "RSpec.configure do |config|\n" do <<-RUBY
|
15
14
|
config.include(EmailSpec::Helpers)
|
16
15
|
config.include(EmailSpec::Matchers)
|
17
16
|
RUBY
|
18
|
-
end
|
19
17
|
end
|
20
18
|
run 'rm -rf test/' # Removing test folder (not needed for RSpec)
|
21
19
|
inject_into_file 'config/application.rb', :after => "Rails::Application\n" do <<-RUBY
|
@@ -64,11 +62,9 @@ RUBY
|
|
64
62
|
generate "cucumber:install --capybara#{' --rspec' if prefer :unit_test, 'rspec'}#{' -D' if prefer :orm, 'mongoid'}"
|
65
63
|
# make it easy to run Cucumber for single features without adding "--require features" to the command line
|
66
64
|
gsub_file 'config/cucumber.yml', /std_opts = "/, 'std_opts = "-r features/support/ -r features/step_definitions '
|
67
|
-
|
68
|
-
create_file 'features/support/email_spec.rb' do <<-RUBY
|
65
|
+
create_file 'features/support/email_spec.rb' do <<-RUBY
|
69
66
|
require 'email_spec/cucumber'
|
70
67
|
RUBY
|
71
|
-
end
|
72
68
|
end
|
73
69
|
## CUCUMBER AND MONGOID
|
74
70
|
if prefer :orm, 'mongoid'
|
@@ -90,8 +86,8 @@ RUBY
|
|
90
86
|
generate 'machinist:install'
|
91
87
|
end
|
92
88
|
### GIT ###
|
93
|
-
git :add => '
|
94
|
-
git :commit => "-
|
89
|
+
git :add => '-A' if prefer :git, true
|
90
|
+
git :commit => "-qm 'rails_apps_composer: testing framework'" if prefer :git, true
|
95
91
|
end # after_bundler
|
96
92
|
|
97
93
|
after_everything do
|
@@ -148,8 +144,8 @@ after_everything do
|
|
148
144
|
copy_from_repo 'spec/models/user_spec.rb', :repo => repo
|
149
145
|
end
|
150
146
|
## GIT
|
151
|
-
git :add => '
|
152
|
-
git :commit => "-
|
147
|
+
git :add => '-A' if prefer :git, true
|
148
|
+
git :commit => "-qm 'rails_apps_composer: rspec files'" if prefer :git, true
|
153
149
|
end
|
154
150
|
### CUCUMBER ###
|
155
151
|
if prefer :integration, 'cucumber'
|
@@ -218,8 +214,8 @@ RUBY
|
|
218
214
|
copy_from_repo 'features/support/paths.rb', :repo => repo
|
219
215
|
end
|
220
216
|
## GIT
|
221
|
-
git :add => '
|
222
|
-
git :commit => "-
|
217
|
+
git :add => '-A' if prefer :git, true
|
218
|
+
git :commit => "-qm 'rails_apps_composer: cucumber files'" if prefer :git, true
|
223
219
|
end
|
224
220
|
end # after_everything
|
225
221
|
|
data/recipes/views.rb
CHANGED
@@ -24,8 +24,8 @@ after_bundler do
|
|
24
24
|
### PROFILES ###
|
25
25
|
copy_from_repo 'app/views/profiles/show-subdomains_app.html.erb', :prefs => 'subdomains_app'
|
26
26
|
### GIT ###
|
27
|
-
git :add => '
|
28
|
-
git :commit => "-
|
27
|
+
git :add => '-A' if prefer :git, true
|
28
|
+
git :commit => "-qm 'rails_apps_composer: views'" if prefer :git, true
|
29
29
|
end # after_bundler
|
30
30
|
|
31
31
|
__END__
|
data/version.rb
CHANGED
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.
|
4
|
+
version: 2.2.10
|
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: 2012-
|
12
|
+
date: 2012-10-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
@@ -201,7 +201,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
201
201
|
version: '0'
|
202
202
|
segments:
|
203
203
|
- 0
|
204
|
-
hash:
|
204
|
+
hash: -1318389471776458398
|
205
205
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
206
206
|
none: false
|
207
207
|
requirements:
|
@@ -210,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
210
210
|
version: '0'
|
211
211
|
segments:
|
212
212
|
- 0
|
213
|
-
hash:
|
213
|
+
hash: -1318389471776458398
|
214
214
|
requirements: []
|
215
215
|
rubyforge_project: rails_apps_composer
|
216
216
|
rubygems_version: 1.8.24
|