stationed 0.4.0 → 0.5.0
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.
- checksums.yaml +4 -4
- data/HISTORY.md +4 -0
- data/lib/stationed/generators/app_generator.rb +1 -1
- data/lib/stationed/generators/plugins/poltergeist.rb +21 -0
- data/lib/stationed/generators/plugins/stationed.rb +3 -1
- data/lib/stationed/generators/plugins/styles.rb +7 -5
- data/lib/stationed/generators/templates/_error_notification.scss +3 -0
- data/lib/stationed/generators/templates/_input_wrapper_default.scss +68 -0
- data/lib/stationed/generators/templates/application.scss +1 -1
- data/lib/stationed/generators/templates/database_cleaner.rb +1 -1
- data/lib/stationed/generators/templates/paginating_decorator.rb +1 -1
- data/lib/stationed/generators/templates/poltergeist.rb +2 -0
- data/lib/stationed/generators/templates/rubocop.rake +1 -1
- data/lib/stationed/version.rb +1 -1
- data/lib/templates/haml/scaffold/_form.html.haml +2 -2
- data/lib/templates/rails/scaffold_controller/controller.rb +1 -1
- data/lib/templates/rspec/scaffold/controller_spec.rb +15 -14
- data/lib/templates/rspec/scaffold/edit_spec.rb +1 -3
- data/lib/templates/rspec/scaffold/index_spec.rb +1 -3
- data/lib/templates/rspec/scaffold/new_spec.rb +1 -3
- data/lib/templates/rspec/scaffold/routing_spec.rb +1 -3
- data/lib/templates/rspec/scaffold/show_spec.rb +1 -3
- data/spec/dummy/log/test.log +0 -1742
- metadata +7 -9
- data/lib/stationed/generators/plugins/capybara_webkit.rb +0 -22
- data/lib/stationed/generators/templates/capybara_webkit.rb +0 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +0 -0
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stationed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arjan van der Gaag
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -82,7 +82,6 @@ files:
|
|
82
82
|
- lib/stationed/generators/app_generator.rb
|
83
83
|
- lib/stationed/generators/plugins.rb
|
84
84
|
- lib/stationed/generators/plugins/capybara.rb
|
85
|
-
- lib/stationed/generators/plugins/capybara_webkit.rb
|
86
85
|
- lib/stationed/generators/plugins/database_cleaner.rb
|
87
86
|
- lib/stationed/generators/plugins/devise.rb
|
88
87
|
- lib/stationed/generators/plugins/draper.rb
|
@@ -95,6 +94,7 @@ files:
|
|
95
94
|
- lib/stationed/generators/plugins/i18n_spec.rb
|
96
95
|
- lib/stationed/generators/plugins/kaminari.rb
|
97
96
|
- lib/stationed/generators/plugins/layout.rb
|
97
|
+
- lib/stationed/generators/plugins/poltergeist.rb
|
98
98
|
- lib/stationed/generators/plugins/pry.rb
|
99
99
|
- lib/stationed/generators/plugins/pundit.rb
|
100
100
|
- lib/stationed/generators/plugins/rack_deflater.rb
|
@@ -118,12 +118,13 @@ files:
|
|
118
118
|
- lib/stationed/generators/templates/Services.md
|
119
119
|
- lib/stationed/generators/templates/Setup.md
|
120
120
|
- lib/stationed/generators/templates/Testing.md
|
121
|
+
- lib/stationed/generators/templates/_error_notification.scss
|
122
|
+
- lib/stationed/generators/templates/_input_wrapper_default.scss
|
121
123
|
- lib/stationed/generators/templates/application.html.haml
|
122
124
|
- lib/stationed/generators/templates/application.scss
|
123
125
|
- lib/stationed/generators/templates/application_decorator.rb
|
124
126
|
- lib/stationed/generators/templates/application_responder.rb
|
125
127
|
- lib/stationed/generators/templates/authorization.rb
|
126
|
-
- lib/stationed/generators/templates/capybara_webkit.rb
|
127
128
|
- lib/stationed/generators/templates/database_cleaner.rb
|
128
129
|
- lib/stationed/generators/templates/devise.rb
|
129
130
|
- lib/stationed/generators/templates/env.erb
|
@@ -137,6 +138,7 @@ files:
|
|
137
138
|
- lib/stationed/generators/templates/layout.scss
|
138
139
|
- lib/stationed/generators/templates/normalize.css
|
139
140
|
- lib/stationed/generators/templates/paginating_decorator.rb
|
141
|
+
- lib/stationed/generators/templates/poltergeist.rb
|
140
142
|
- lib/stationed/generators/templates/pundit.rb
|
141
143
|
- lib/stationed/generators/templates/rubocop.rake
|
142
144
|
- lib/stationed/generators/templates/rubocop.yml
|
@@ -192,8 +194,6 @@ files:
|
|
192
194
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
193
195
|
- spec/dummy/config/locales/en.yml
|
194
196
|
- spec/dummy/config/routes.rb
|
195
|
-
- spec/dummy/db/test.sqlite3
|
196
|
-
- spec/dummy/log/development.log
|
197
197
|
- spec/dummy/log/test.log
|
198
198
|
- spec/dummy/public/404.html
|
199
199
|
- spec/dummy/public/422.html
|
@@ -222,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
222
|
version: '0'
|
223
223
|
requirements: []
|
224
224
|
rubyforge_project:
|
225
|
-
rubygems_version: 2.
|
225
|
+
rubygems_version: 2.4.1
|
226
226
|
signing_key:
|
227
227
|
specification_version: 4
|
228
228
|
summary: Rails application and scaffold generator.
|
@@ -252,8 +252,6 @@ test_files:
|
|
252
252
|
- spec/dummy/config/locales/en.yml
|
253
253
|
- spec/dummy/config/routes.rb
|
254
254
|
- spec/dummy/config.ru
|
255
|
-
- spec/dummy/db/test.sqlite3
|
256
|
-
- spec/dummy/log/development.log
|
257
255
|
- spec/dummy/log/test.log
|
258
256
|
- spec/dummy/public/404.html
|
259
257
|
- spec/dummy/public/422.html
|
@@ -1,22 +0,0 @@
|
|
1
|
-
module Stationed
|
2
|
-
module Generators
|
3
|
-
module Plugins
|
4
|
-
module CapybaraWebkit
|
5
|
-
def self.prepended(base)
|
6
|
-
base.class_option :capybara_webkit,
|
7
|
-
type: :boolean,
|
8
|
-
default: true,
|
9
|
-
desc: 'Include CapybaraWebkit for headless browser testing'
|
10
|
-
end
|
11
|
-
|
12
|
-
def finish_template
|
13
|
-
return super unless options[:capybara] && options[:capybara_webkit]
|
14
|
-
gem 'capybara-webkit', group: :test
|
15
|
-
copy_file 'capybara_webkit.rb', 'spec/support/capybara_webkit.rb'
|
16
|
-
super
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
Capybara.javascript_driver = :webkit
|
data/spec/dummy/db/test.sqlite3
DELETED
File without changes
|
File without changes
|