ultra_light_wizard 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/Gemfile +11 -2
- data/Gemfile.lock +183 -65
- data/README.md +5 -6
- data/Rakefile +3 -1
- data/VERSION +1 -1
- data/lib/generators/ultra_light_wizard/scaffold_generator.rb +13 -3
- data/lib/ultra_light_wizard.rb +2 -0
- data/spec/fixtures/ref_rails_app/.gitignore +17 -0
- data/spec/fixtures/ref_rails_app/Gemfile +51 -0
- data/spec/fixtures/ref_rails_app/Gemfile.lock +209 -0
- data/spec/fixtures/ref_rails_app/README.rdoc +28 -0
- data/spec/fixtures/ref_rails_app/Rakefile +6 -0
- data/spec/{ultra_light_wizard/ultra_light_wizard_spec.rb → fixtures/ref_rails_app/app/assets/images/.keep} +0 -0
- data/spec/fixtures/ref_rails_app/app/assets/javascripts/application.js +16 -0
- data/spec/fixtures/ref_rails_app/app/assets/stylesheets/application.css +15 -0
- data/spec/fixtures/ref_rails_app/app/controllers/application_controller.rb +5 -0
- data/spec/fixtures/ref_rails_app/app/controllers/concerns/.keep +0 -0
- data/spec/fixtures/ref_rails_app/app/helpers/application_helper.rb +2 -0
- data/spec/fixtures/ref_rails_app/app/mailers/.keep +0 -0
- data/spec/fixtures/ref_rails_app/app/models/.keep +0 -0
- data/spec/fixtures/ref_rails_app/app/models/concerns/.keep +0 -0
- data/spec/fixtures/ref_rails_app/app/views/layouts/application.html.erb +14 -0
- data/spec/fixtures/ref_rails_app/bin/bundle +3 -0
- data/spec/fixtures/ref_rails_app/bin/rails +9 -0
- data/spec/fixtures/ref_rails_app/bin/rake +9 -0
- data/spec/fixtures/ref_rails_app/bin/setup +29 -0
- data/spec/fixtures/ref_rails_app/bin/spring +17 -0
- data/spec/fixtures/ref_rails_app/config.ru +4 -0
- data/spec/fixtures/ref_rails_app/config/application.rb +26 -0
- data/spec/fixtures/ref_rails_app/config/boot.rb +3 -0
- data/spec/fixtures/ref_rails_app/config/database.yml +25 -0
- data/spec/fixtures/ref_rails_app/config/environment.rb +5 -0
- data/spec/fixtures/ref_rails_app/config/environments/development.rb +41 -0
- data/spec/fixtures/ref_rails_app/config/environments/production.rb +79 -0
- data/spec/fixtures/ref_rails_app/config/environments/test.rb +42 -0
- data/spec/fixtures/ref_rails_app/config/initializers/assets.rb +11 -0
- data/spec/fixtures/ref_rails_app/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/fixtures/ref_rails_app/config/initializers/cookies_serializer.rb +3 -0
- data/spec/fixtures/ref_rails_app/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/fixtures/ref_rails_app/config/initializers/inflections.rb +16 -0
- data/spec/fixtures/ref_rails_app/config/initializers/mime_types.rb +4 -0
- data/spec/fixtures/ref_rails_app/config/initializers/session_store.rb +3 -0
- data/spec/fixtures/ref_rails_app/config/initializers/to_time_preserves_timezone.rb +10 -0
- data/spec/fixtures/ref_rails_app/config/initializers/wrap_parameters.rb +14 -0
- data/spec/fixtures/ref_rails_app/config/locales/en.yml +23 -0
- data/spec/fixtures/ref_rails_app/config/routes.rb +56 -0
- data/spec/fixtures/ref_rails_app/config/secrets.yml +22 -0
- data/spec/fixtures/ref_rails_app/db/schema.rb +16 -0
- data/spec/fixtures/ref_rails_app/db/seeds.rb +7 -0
- data/spec/fixtures/ref_rails_app/lib/assets/.keep +0 -0
- data/spec/fixtures/ref_rails_app/lib/tasks/.keep +0 -0
- data/spec/fixtures/ref_rails_app/log/.keep +0 -0
- data/spec/fixtures/ref_rails_app/public/404.html +67 -0
- data/spec/fixtures/ref_rails_app/public/422.html +67 -0
- data/spec/fixtures/ref_rails_app/public/500.html +66 -0
- data/spec/fixtures/ref_rails_app/public/favicon.ico +0 -0
- data/spec/fixtures/ref_rails_app/public/robots.txt +5 -0
- data/spec/fixtures/ref_rails_app/spec/features/ultra_light_wizard_spec.rb +74 -0
- data/spec/fixtures/ref_rails_app/spec/rails_helper.rb +58 -0
- data/spec/fixtures/ref_rails_app/spec/spec_helper.rb +96 -0
- data/spec/fixtures/ref_rails_app/vendor/assets/javascripts/.keep +0 -0
- data/spec/fixtures/ref_rails_app/vendor/assets/stylesheets/.keep +0 -0
- data/spec/lib/ultra_light_wizard/ultra_light_wizard_spec.rb +21 -0
- data/spec/spec_helper.rb +1 -0
- data/ultra_light_wizard.gemspec +78 -17
- metadata +89 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 358299ced1f1537212730373dea90378837e2559
|
4
|
+
data.tar.gz: 05f4d23560dc39711516f1bfbde5a533743d88cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd0b5733d506b3809a3af1304061c5485749e76b4da16ce9c3291c35f77d00a49f08835b841b573fc921cbe9c24210d5d8cd95571e10e35df9a12506990a3036
|
7
|
+
data.tar.gz: 46325837f34d212df054f4e51ce7f4035e242e19db9d4ad8de9e19c80aabe64b8a6a2b5450d62d9d80aac350b1649b2d769cdb3ed99d0eb59f886e24950ce6d1
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-2.
|
1
|
+
ruby-2.4.1
|
data/Gemfile
CHANGED
@@ -1,10 +1,19 @@
|
|
1
1
|
source 'http://rubygems.org'
|
2
2
|
|
3
|
+
group :development, :test do
|
4
|
+
gem 'puts_debuggerer', '~> 0.7.1'
|
5
|
+
gem 'rails', '~> 4.2.9'
|
6
|
+
end
|
7
|
+
|
3
8
|
group :development do
|
4
|
-
gem 'jeweler', '~>
|
9
|
+
gem 'jeweler', '~> 2.3.7'
|
5
10
|
end
|
6
11
|
|
7
12
|
group :test do
|
8
|
-
gem 'rspec'
|
13
|
+
gem 'rspec-rails'
|
14
|
+
gem 'capybara'
|
9
15
|
gem 'coveralls'
|
16
|
+
gem 'ultra_light_wizard', path: '.' #used in specs
|
17
|
+
gem 'sqlite3'
|
18
|
+
gem 'launchy'
|
10
19
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,84 +1,202 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
ultra_light_wizard (0.1.3)
|
5
|
+
|
1
6
|
GEM
|
2
7
|
remote: http://rubygems.org/
|
3
8
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
9
|
+
actionmailer (4.2.9)
|
10
|
+
actionpack (= 4.2.9)
|
11
|
+
actionview (= 4.2.9)
|
12
|
+
activejob (= 4.2.9)
|
13
|
+
mail (~> 2.5, >= 2.5.4)
|
14
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
15
|
+
actionpack (4.2.9)
|
16
|
+
actionview (= 4.2.9)
|
17
|
+
activesupport (= 4.2.9)
|
18
|
+
rack (~> 1.6)
|
19
|
+
rack-test (~> 0.6.2)
|
20
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
21
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
22
|
+
actionview (4.2.9)
|
23
|
+
activesupport (= 4.2.9)
|
24
|
+
builder (~> 3.1)
|
25
|
+
erubis (~> 2.7.0)
|
26
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
27
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
28
|
+
activejob (4.2.9)
|
29
|
+
activesupport (= 4.2.9)
|
30
|
+
globalid (>= 0.3.0)
|
31
|
+
activemodel (4.2.9)
|
32
|
+
activesupport (= 4.2.9)
|
33
|
+
builder (~> 3.1)
|
34
|
+
activerecord (4.2.9)
|
35
|
+
activemodel (= 4.2.9)
|
36
|
+
activesupport (= 4.2.9)
|
37
|
+
arel (~> 6.0)
|
38
|
+
activesupport (4.2.9)
|
39
|
+
i18n (~> 0.7)
|
40
|
+
minitest (~> 5.1)
|
41
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
42
|
+
tzinfo (~> 1.1)
|
43
|
+
addressable (2.4.0)
|
44
|
+
arel (6.0.4)
|
45
|
+
awesome_print (1.8.0)
|
46
|
+
builder (3.2.3)
|
47
|
+
capybara (2.14.4)
|
18
48
|
addressable
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
49
|
+
mime-types (>= 1.16)
|
50
|
+
nokogiri (>= 1.3.3)
|
51
|
+
rack (>= 1.0.0)
|
52
|
+
rack-test (>= 0.5.4)
|
53
|
+
xpath (~> 2.0)
|
54
|
+
concurrent-ruby (1.0.5)
|
55
|
+
coveralls (0.8.21)
|
56
|
+
json (>= 1.8, < 3)
|
57
|
+
simplecov (~> 0.14.1)
|
58
|
+
term-ansicolor (~> 1.3)
|
59
|
+
thor (~> 0.19.4)
|
60
|
+
tins (~> 1.6)
|
61
|
+
descendants_tracker (0.0.4)
|
62
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
63
|
+
diff-lcs (1.3)
|
64
|
+
docile (1.1.5)
|
65
|
+
erubis (2.7.0)
|
66
|
+
faraday (0.9.2)
|
67
|
+
multipart-post (>= 1.2, < 3)
|
68
|
+
git (1.3.0)
|
69
|
+
github_api (0.16.0)
|
70
|
+
addressable (~> 2.4.0)
|
71
|
+
descendants_tracker (~> 0.0.4)
|
72
|
+
faraday (~> 0.8, < 0.10)
|
73
|
+
hashie (>= 3.4)
|
74
|
+
mime-types (>= 1.16, < 3.0)
|
75
|
+
oauth2 (~> 1.0)
|
76
|
+
globalid (0.4.0)
|
77
|
+
activesupport (>= 4.2.0)
|
78
|
+
hashie (3.5.6)
|
79
|
+
highline (1.7.8)
|
80
|
+
i18n (0.8.6)
|
81
|
+
jeweler (2.3.7)
|
28
82
|
builder
|
29
|
-
bundler (
|
83
|
+
bundler (>= 1)
|
30
84
|
git (>= 1.2.5)
|
31
|
-
github_api (
|
85
|
+
github_api (~> 0.16.0)
|
32
86
|
highline (>= 1.6.15)
|
33
|
-
nokogiri (
|
87
|
+
nokogiri (>= 1.5.10)
|
88
|
+
psych (~> 2.2)
|
34
89
|
rake
|
35
90
|
rdoc
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
91
|
+
semver2
|
92
|
+
json (2.1.0)
|
93
|
+
jwt (1.5.6)
|
94
|
+
launchy (2.4.3)
|
95
|
+
addressable (~> 2.3)
|
96
|
+
loofah (2.0.3)
|
97
|
+
nokogiri (>= 1.5.9)
|
98
|
+
mail (2.6.6)
|
99
|
+
mime-types (>= 1.16, < 4)
|
100
|
+
mime-types (2.99.3)
|
101
|
+
mini_portile2 (2.2.0)
|
102
|
+
minitest (5.10.3)
|
103
|
+
multi_json (1.12.1)
|
104
|
+
multi_xml (0.6.0)
|
105
|
+
multipart-post (2.0.0)
|
106
|
+
nokogiri (1.8.0)
|
107
|
+
mini_portile2 (~> 2.2.0)
|
108
|
+
oauth2 (1.4.0)
|
109
|
+
faraday (>= 0.8, < 0.13)
|
110
|
+
jwt (~> 1.0)
|
111
|
+
multi_json (~> 1.3)
|
49
112
|
multi_xml (~> 0.5)
|
50
|
-
rack (
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
113
|
+
rack (>= 1.2, < 3)
|
114
|
+
psych (2.2.4)
|
115
|
+
puts_debuggerer (0.7.1)
|
116
|
+
awesome_print (~> 1.8.0)
|
117
|
+
rack (1.6.8)
|
118
|
+
rack-test (0.6.3)
|
119
|
+
rack (>= 1.0)
|
120
|
+
rails (4.2.9)
|
121
|
+
actionmailer (= 4.2.9)
|
122
|
+
actionpack (= 4.2.9)
|
123
|
+
actionview (= 4.2.9)
|
124
|
+
activejob (= 4.2.9)
|
125
|
+
activemodel (= 4.2.9)
|
126
|
+
activerecord (= 4.2.9)
|
127
|
+
activesupport (= 4.2.9)
|
128
|
+
bundler (>= 1.3.0, < 2.0)
|
129
|
+
railties (= 4.2.9)
|
130
|
+
sprockets-rails
|
131
|
+
rails-deprecated_sanitizer (1.0.3)
|
132
|
+
activesupport (>= 4.2.0.alpha)
|
133
|
+
rails-dom-testing (1.0.8)
|
134
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
135
|
+
nokogiri (~> 1.6)
|
136
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
137
|
+
rails-html-sanitizer (1.0.3)
|
138
|
+
loofah (~> 2.0)
|
139
|
+
railties (4.2.9)
|
140
|
+
actionpack (= 4.2.9)
|
141
|
+
activesupport (= 4.2.9)
|
142
|
+
rake (>= 0.8.7)
|
143
|
+
thor (>= 0.18.1, < 2.0)
|
144
|
+
rake (12.0.0)
|
145
|
+
rdoc (5.1.0)
|
146
|
+
rspec-core (3.6.0)
|
147
|
+
rspec-support (~> 3.6.0)
|
148
|
+
rspec-expectations (3.6.0)
|
149
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
150
|
+
rspec-support (~> 3.6.0)
|
151
|
+
rspec-mocks (3.6.0)
|
152
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
153
|
+
rspec-support (~> 3.6.0)
|
154
|
+
rspec-rails (3.6.0)
|
155
|
+
actionpack (>= 3.0)
|
156
|
+
activesupport (>= 3.0)
|
157
|
+
railties (>= 3.0)
|
158
|
+
rspec-core (~> 3.6.0)
|
159
|
+
rspec-expectations (~> 3.6.0)
|
160
|
+
rspec-mocks (~> 3.6.0)
|
161
|
+
rspec-support (~> 3.6.0)
|
162
|
+
rspec-support (3.6.0)
|
163
|
+
semver2 (3.4.2)
|
164
|
+
simplecov (0.14.1)
|
66
165
|
docile (~> 1.1.0)
|
67
|
-
|
68
|
-
simplecov-html (~> 0.
|
69
|
-
simplecov-html (0.
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
166
|
+
json (>= 1.8, < 3)
|
167
|
+
simplecov-html (~> 0.10.0)
|
168
|
+
simplecov-html (0.10.1)
|
169
|
+
sprockets (3.7.1)
|
170
|
+
concurrent-ruby (~> 1.0)
|
171
|
+
rack (> 1, < 3)
|
172
|
+
sprockets-rails (3.2.0)
|
173
|
+
actionpack (>= 4.0)
|
174
|
+
activesupport (>= 4.0)
|
175
|
+
sprockets (>= 3.0.0)
|
176
|
+
sqlite3 (1.3.13)
|
177
|
+
term-ansicolor (1.6.0)
|
178
|
+
tins (~> 1.0)
|
179
|
+
thor (0.19.4)
|
180
|
+
thread_safe (0.3.6)
|
181
|
+
tins (1.15.0)
|
182
|
+
tzinfo (1.2.3)
|
183
|
+
thread_safe (~> 0.1)
|
184
|
+
xpath (2.1.0)
|
185
|
+
nokogiri (~> 1.3)
|
74
186
|
|
75
187
|
PLATFORMS
|
76
188
|
ruby
|
77
189
|
|
78
190
|
DEPENDENCIES
|
191
|
+
capybara
|
79
192
|
coveralls
|
80
|
-
jeweler (~>
|
81
|
-
|
193
|
+
jeweler (~> 2.3.7)
|
194
|
+
launchy
|
195
|
+
puts_debuggerer (~> 0.7.1)
|
196
|
+
rails (~> 4.2.9)
|
197
|
+
rspec-rails
|
198
|
+
sqlite3
|
199
|
+
ultra_light_wizard!
|
82
200
|
|
83
201
|
BUNDLED WITH
|
84
|
-
1.
|
202
|
+
1.15.3
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Ultra Light Wizard v0.1.
|
1
|
+
Ultra Light Wizard v0.1.3 (beta)
|
2
2
|
================================
|
3
3
|
|
4
4
|
No time to manage a wizard state machine, session variables, or complicated controllers? Use Ultra Light Wizard!! A RESTful session-less validation-friendly simple wizard architectural pattern in Rails.
|
@@ -35,7 +35,7 @@ Instructions
|
|
35
35
|
Add the following to your Rails project ```Gemfile```:
|
36
36
|
|
37
37
|
```
|
38
|
-
gem 'ultra_light_wizard', '~> 0.1.
|
38
|
+
gem 'ultra_light_wizard', '~> 0.1.3'
|
39
39
|
```
|
40
40
|
|
41
41
|
Run the command:
|
@@ -209,10 +209,8 @@ Features
|
|
209
209
|
+ Support for attributes
|
210
210
|
+ Form fields
|
211
211
|
+ Custom name conventions
|
212
|
-
- [UPCOMING]
|
213
|
-
- [UPCOMING]
|
214
|
-
- [UPCOMING] Modularize (perhaps extracting sub-generators)
|
215
|
-
- [UPCOMING] Haml and Slim templates
|
212
|
+
- [UPCOMING] JS Ajax support
|
213
|
+
- [UPCOMING] Basic styling and easily stylable markup
|
216
214
|
|
217
215
|
Enhancements
|
218
216
|
============
|
@@ -222,6 +220,7 @@ If you are interested in having enhancements implemented, please report via a Gi
|
|
222
220
|
History
|
223
221
|
=======
|
224
222
|
|
223
|
+
v0.1.3 test coverage with feature specs / fixed issue 4 Generate routes in the right order
|
225
224
|
v0.1.2 ensure resource creation redirects to first step / include step helper in resource controller
|
226
225
|
v0.1.1 includes permitted params and edit/update actions
|
227
226
|
v0.1.0 initial implementation
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
@@ -110,12 +110,22 @@ class #{controller_class_name} < ApplicationController
|
|
110
110
|
template "app/views/wizard_step_view.html.erb", "app/views/#{file_path}_#{step_alias.pluralize}/#{step}.html.erb"
|
111
111
|
end
|
112
112
|
wizard_route_content = <<-CONTENT
|
113
|
-
resources :#{plural_file_name}
|
113
|
+
resources :#{plural_file_name} do
|
114
114
|
resources :#{file_path}_#{step_alias.pluralize}, only: [:edit, :update]
|
115
115
|
end
|
116
116
|
CONTENT
|
117
|
-
|
118
|
-
|
117
|
+
route_file = Rails.root.join('config', 'routes.rb')
|
118
|
+
routes_content = File.new(route_file).read
|
119
|
+
main_route = "resources :#{plural_file_name}\n"
|
120
|
+
if routes_content.include?(main_route)
|
121
|
+
# replace existing route
|
122
|
+
gsub_file "config/routes.rb",
|
123
|
+
main_route,
|
124
|
+
wizard_route_content
|
125
|
+
else
|
126
|
+
# avoid messing with existing route if already has a do end block open
|
127
|
+
route wizard_route_content
|
128
|
+
end
|
119
129
|
end
|
120
130
|
end
|
121
131
|
end
|
data/lib/ultra_light_wizard.rb
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
2
|
+
#
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
5
|
+
# git config --global core.excludesfile '~/.gitignore_global'
|
6
|
+
|
7
|
+
# Ignore bundler config.
|
8
|
+
/.bundle
|
9
|
+
|
10
|
+
# Ignore the default SQLite database.
|
11
|
+
/db/*.sqlite3
|
12
|
+
/db/*.sqlite3-journal
|
13
|
+
|
14
|
+
# Ignore all logfiles and tempfiles.
|
15
|
+
/log/*
|
16
|
+
!/log/.keep
|
17
|
+
/tmp
|
@@ -0,0 +1,51 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
|
4
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
5
|
+
gem 'rails', '4.2.9'
|
6
|
+
# Use sqlite3 as the database for Active Record
|
7
|
+
gem 'sqlite3'
|
8
|
+
# Use SCSS for stylesheets
|
9
|
+
gem 'sass-rails', '~> 5.0'
|
10
|
+
# Use Uglifier as compressor for JavaScript assets
|
11
|
+
gem 'uglifier', '>= 1.3.0'
|
12
|
+
# Use CoffeeScript for .coffee assets and views
|
13
|
+
gem 'coffee-rails', '~> 4.1.0'
|
14
|
+
# See https://github.com/rails/execjs#readme for more supported runtimes
|
15
|
+
# gem 'therubyracer', platforms: :ruby
|
16
|
+
|
17
|
+
# Use jquery as the JavaScript library
|
18
|
+
gem 'jquery-rails'
|
19
|
+
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
|
20
|
+
gem 'turbolinks'
|
21
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
22
|
+
gem 'jbuilder', '~> 2.0'
|
23
|
+
# bundle exec rake doc:rails generates the API under doc/api.
|
24
|
+
gem 'sdoc', '~> 0.4.0', group: :doc
|
25
|
+
|
26
|
+
gem 'ultra_light_wizard', path: '../../..' #used in specs
|
27
|
+
|
28
|
+
# Use ActiveModel has_secure_password
|
29
|
+
# gem 'bcrypt', '~> 3.1.7'
|
30
|
+
|
31
|
+
# Use Unicorn as the app server
|
32
|
+
# gem 'unicorn'
|
33
|
+
|
34
|
+
# Use Capistrano for deployment
|
35
|
+
# gem 'capistrano-rails', group: :development
|
36
|
+
|
37
|
+
group :development, :test do
|
38
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
39
|
+
gem 'byebug'
|
40
|
+
gem 'rspec-rails', '~> 3.6.0'
|
41
|
+
gem 'capybara'
|
42
|
+
gem 'launchy'
|
43
|
+
end
|
44
|
+
|
45
|
+
group :development do
|
46
|
+
# Access an IRB console on exception pages or by using <%= console %> in views
|
47
|
+
gem 'web-console', '~> 2.0'
|
48
|
+
|
49
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
50
|
+
gem 'spring'
|
51
|
+
end
|