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.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/Gemfile +11 -2
  4. data/Gemfile.lock +183 -65
  5. data/README.md +5 -6
  6. data/Rakefile +3 -1
  7. data/VERSION +1 -1
  8. data/lib/generators/ultra_light_wizard/scaffold_generator.rb +13 -3
  9. data/lib/ultra_light_wizard.rb +2 -0
  10. data/spec/fixtures/ref_rails_app/.gitignore +17 -0
  11. data/spec/fixtures/ref_rails_app/Gemfile +51 -0
  12. data/spec/fixtures/ref_rails_app/Gemfile.lock +209 -0
  13. data/spec/fixtures/ref_rails_app/README.rdoc +28 -0
  14. data/spec/fixtures/ref_rails_app/Rakefile +6 -0
  15. data/spec/{ultra_light_wizard/ultra_light_wizard_spec.rb → fixtures/ref_rails_app/app/assets/images/.keep} +0 -0
  16. data/spec/fixtures/ref_rails_app/app/assets/javascripts/application.js +16 -0
  17. data/spec/fixtures/ref_rails_app/app/assets/stylesheets/application.css +15 -0
  18. data/spec/fixtures/ref_rails_app/app/controllers/application_controller.rb +5 -0
  19. data/spec/fixtures/ref_rails_app/app/controllers/concerns/.keep +0 -0
  20. data/spec/fixtures/ref_rails_app/app/helpers/application_helper.rb +2 -0
  21. data/spec/fixtures/ref_rails_app/app/mailers/.keep +0 -0
  22. data/spec/fixtures/ref_rails_app/app/models/.keep +0 -0
  23. data/spec/fixtures/ref_rails_app/app/models/concerns/.keep +0 -0
  24. data/spec/fixtures/ref_rails_app/app/views/layouts/application.html.erb +14 -0
  25. data/spec/fixtures/ref_rails_app/bin/bundle +3 -0
  26. data/spec/fixtures/ref_rails_app/bin/rails +9 -0
  27. data/spec/fixtures/ref_rails_app/bin/rake +9 -0
  28. data/spec/fixtures/ref_rails_app/bin/setup +29 -0
  29. data/spec/fixtures/ref_rails_app/bin/spring +17 -0
  30. data/spec/fixtures/ref_rails_app/config.ru +4 -0
  31. data/spec/fixtures/ref_rails_app/config/application.rb +26 -0
  32. data/spec/fixtures/ref_rails_app/config/boot.rb +3 -0
  33. data/spec/fixtures/ref_rails_app/config/database.yml +25 -0
  34. data/spec/fixtures/ref_rails_app/config/environment.rb +5 -0
  35. data/spec/fixtures/ref_rails_app/config/environments/development.rb +41 -0
  36. data/spec/fixtures/ref_rails_app/config/environments/production.rb +79 -0
  37. data/spec/fixtures/ref_rails_app/config/environments/test.rb +42 -0
  38. data/spec/fixtures/ref_rails_app/config/initializers/assets.rb +11 -0
  39. data/spec/fixtures/ref_rails_app/config/initializers/backtrace_silencers.rb +7 -0
  40. data/spec/fixtures/ref_rails_app/config/initializers/cookies_serializer.rb +3 -0
  41. data/spec/fixtures/ref_rails_app/config/initializers/filter_parameter_logging.rb +4 -0
  42. data/spec/fixtures/ref_rails_app/config/initializers/inflections.rb +16 -0
  43. data/spec/fixtures/ref_rails_app/config/initializers/mime_types.rb +4 -0
  44. data/spec/fixtures/ref_rails_app/config/initializers/session_store.rb +3 -0
  45. data/spec/fixtures/ref_rails_app/config/initializers/to_time_preserves_timezone.rb +10 -0
  46. data/spec/fixtures/ref_rails_app/config/initializers/wrap_parameters.rb +14 -0
  47. data/spec/fixtures/ref_rails_app/config/locales/en.yml +23 -0
  48. data/spec/fixtures/ref_rails_app/config/routes.rb +56 -0
  49. data/spec/fixtures/ref_rails_app/config/secrets.yml +22 -0
  50. data/spec/fixtures/ref_rails_app/db/schema.rb +16 -0
  51. data/spec/fixtures/ref_rails_app/db/seeds.rb +7 -0
  52. data/spec/fixtures/ref_rails_app/lib/assets/.keep +0 -0
  53. data/spec/fixtures/ref_rails_app/lib/tasks/.keep +0 -0
  54. data/spec/fixtures/ref_rails_app/log/.keep +0 -0
  55. data/spec/fixtures/ref_rails_app/public/404.html +67 -0
  56. data/spec/fixtures/ref_rails_app/public/422.html +67 -0
  57. data/spec/fixtures/ref_rails_app/public/500.html +66 -0
  58. data/spec/fixtures/ref_rails_app/public/favicon.ico +0 -0
  59. data/spec/fixtures/ref_rails_app/public/robots.txt +5 -0
  60. data/spec/fixtures/ref_rails_app/spec/features/ultra_light_wizard_spec.rb +74 -0
  61. data/spec/fixtures/ref_rails_app/spec/rails_helper.rb +58 -0
  62. data/spec/fixtures/ref_rails_app/spec/spec_helper.rb +96 -0
  63. data/spec/fixtures/ref_rails_app/vendor/assets/javascripts/.keep +0 -0
  64. data/spec/fixtures/ref_rails_app/vendor/assets/stylesheets/.keep +0 -0
  65. data/spec/lib/ultra_light_wizard/ultra_light_wizard_spec.rb +21 -0
  66. data/spec/spec_helper.rb +1 -0
  67. data/ultra_light_wizard.gemspec +78 -17
  68. metadata +89 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c64b8c0380c8a7e2db0f80033b48a48c97735d6
4
- data.tar.gz: 7a6ae221b27848282c03c2ef25920e658cba137e
3
+ metadata.gz: 358299ced1f1537212730373dea90378837e2559
4
+ data.tar.gz: 05f4d23560dc39711516f1bfbde5a533743d88cb
5
5
  SHA512:
6
- metadata.gz: 77dee7699ee96bb7996523dc280346d048d1831602eb1a67524ba7f7eaf609c36015603788aa577f26601de21d41928141f100a1217d681d19e65851cf7a7968
7
- data.tar.gz: ba0d001a3d4b715e5ead5711daa9a9c8734830ce7d77b5ad98f14a45b300e85e16d5f601d96c5e46b4c8d63608982e4c6a0dc3ac84030e1cdaf2008802cf511e
6
+ metadata.gz: bd0b5733d506b3809a3af1304061c5485749e76b4da16ce9c3291c35f77d00a49f08835b841b573fc921cbe9c24210d5d8cd95571e10e35df9a12506990a3036
7
+ data.tar.gz: 46325837f34d212df054f4e51ce7f4035e242e19db9d4ad8de9e19c80aabe64b8a6a2b5450d62d9d80aac350b1649b2d769cdb3ed99d0eb59f886e24950ce6d1
@@ -1 +1 @@
1
- ruby-2.2.3
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', '~> 1.8.8'
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
@@ -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
- addressable (2.3.5)
5
- builder (3.2.2)
6
- coveralls (0.7.0)
7
- multi_json (~> 1.3)
8
- rest-client
9
- simplecov (>= 0.7)
10
- term-ansicolor
11
- thor
12
- diff-lcs (1.2.5)
13
- docile (1.1.1)
14
- faraday (0.8.8)
15
- multipart-post (~> 1.2.0)
16
- git (1.2.6)
17
- github_api (0.10.1)
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
- faraday (~> 0.8.1)
20
- hashie (>= 1.2)
21
- multi_json (~> 1.4)
22
- nokogiri (~> 1.5.2)
23
- oauth2
24
- hashie (2.0.5)
25
- highline (1.6.20)
26
- httpauth (0.2.0)
27
- jeweler (1.8.8)
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 (~> 1.0)
83
+ bundler (>= 1)
30
84
  git (>= 1.2.5)
31
- github_api (= 0.10.1)
85
+ github_api (~> 0.16.0)
32
86
  highline (>= 1.6.15)
33
- nokogiri (= 1.5.10)
87
+ nokogiri (>= 1.5.10)
88
+ psych (~> 2.2)
34
89
  rake
35
90
  rdoc
36
- json (1.8.1)
37
- jwt (0.1.8)
38
- multi_json (>= 1.5)
39
- mime-types (2.0)
40
- multi_json (1.8.2)
41
- multi_xml (0.5.5)
42
- multipart-post (1.2.0)
43
- nokogiri (1.5.10)
44
- oauth2 (0.9.2)
45
- faraday (~> 0.8)
46
- httpauth (~> 0.2)
47
- jwt (~> 0.1.4)
48
- multi_json (~> 1.0)
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 (~> 1.2)
51
- rack (1.5.2)
52
- rake (10.1.0)
53
- rdoc (4.0.1)
54
- json (~> 1.4)
55
- rest-client (1.6.7)
56
- mime-types (>= 1.16)
57
- rspec (2.14.1)
58
- rspec-core (~> 2.14.0)
59
- rspec-expectations (~> 2.14.0)
60
- rspec-mocks (~> 2.14.0)
61
- rspec-core (2.14.7)
62
- rspec-expectations (2.14.4)
63
- diff-lcs (>= 1.1.3, < 2.0)
64
- rspec-mocks (2.14.4)
65
- simplecov (0.8.2)
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
- multi_json
68
- simplecov-html (~> 0.8.0)
69
- simplecov-html (0.8.0)
70
- term-ansicolor (1.2.2)
71
- tins (~> 0.8)
72
- thor (0.18.1)
73
- tins (0.13.1)
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 (~> 1.8.8)
81
- rspec
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.11.2
202
+ 1.15.3
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- Ultra Light Wizard v0.1.2 (beta)
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.2'
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] Write automated tests
213
- - [UPCOMING] Support for nested resources
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
@@ -27,7 +27,9 @@ Jeweler::RubygemsDotOrgTasks.new
27
27
 
28
28
  require 'rspec/core/rake_task'
29
29
 
30
- RSpec::Core::RakeTask.new(:spec)
30
+ RSpec::Core::RakeTask.new(:spec) do |spec|
31
+ spec.pattern = FileList['spec/lib/**/*_spec.rb']
32
+ end
31
33
 
32
34
  task :default => :spec
33
35
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
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}, only: [:create, :show] do
113
+ resources :#{plural_file_name} do
114
114
  resources :#{file_path}_#{step_alias.pluralize}, only: [:edit, :update]
115
115
  end
116
116
  CONTENT
117
- routes_content = File.new(Rails.root.join('config', 'routes.rb')).read
118
- route wizard_route_content unless routes_content.include?(wizard_route_content)
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
@@ -0,0 +1,2 @@
1
+ module UltraLightWizard
2
+ end
@@ -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