restful_controller 0.1.5 → 0.2.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.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/lib/restful/base.rb +6 -3
  3. data/lib/restful/version.rb +1 -1
  4. data/test/alternates_controller_test.rb +1 -1
  5. data/test/base_controller_test.rb +1 -1
  6. data/test/blocks_controller_test.rb +4 -4
  7. data/test/custom_notices_controller_test.rb +2 -2
  8. data/test/dummy/app/controllers/blocks_controller.rb +1 -1
  9. data/test/dummy/bin/rails +1 -1
  10. data/test/dummy/bin/setup +34 -0
  11. data/test/dummy/bin/update +29 -0
  12. data/test/dummy/config/application.rb +5 -17
  13. data/test/dummy/config/boot.rb +2 -4
  14. data/test/dummy/config/cable.yml +9 -0
  15. data/test/dummy/config/environment.rb +2 -2
  16. data/test/dummy/config/environments/development.rb +30 -5
  17. data/test/dummy/config/environments/production.rb +37 -31
  18. data/test/dummy/config/environments/test.rb +10 -4
  19. data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
  20. data/test/dummy/config/initializers/assets.rb +11 -0
  21. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  22. data/test/dummy/config/initializers/mime_types.rb +0 -1
  23. data/test/dummy/config/initializers/new_framework_defaults.rb +23 -0
  24. data/test/dummy/config/initializers/session_store.rb +1 -1
  25. data/test/dummy/config/initializers/wrap_parameters.rb +2 -2
  26. data/test/dummy/config/puma.rb +47 -0
  27. data/test/dummy/config/secrets.yml +22 -0
  28. data/test/dummy/config/spring.rb +6 -0
  29. data/test/dummy/db/test.sqlite3 +0 -0
  30. data/test/dummy/log/development.log +0 -11
  31. data/test/dummy/log/test.log +9623 -105196
  32. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0Q/0QppU-9EhYT7x4BnYZD_titkxF30LmbOn7NEVZk8Yo4.cache +0 -0
  33. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7E/7ENv2BQvPsGd83J_e6ddH5FrgCnDX6iBxy2WDFc7xWI.cache +1 -0
  34. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8M/8McQnwxVQ-W4VBf4Lg-RKBLEsOSnTBeMLwxwGwU6Mr0.cache +0 -0
  35. data/test/dummy/tmp/cache/assets/sprockets/v3.0/99/99RXuREqkVrlX_fspL_j2Mzxc3E9GKBSfahbI-Wouro.cache +1 -0
  36. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9r/9ryO-j4fsAK10KK2WOeTMoSpBDI8QFF0X-AOBKK4sCg.cache +1 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v3.0/EU/EUoN0mqGWGDaRelMCH25zmw4ckyxbrY9l5e_pXBL0XE.cache +1 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Fb/Fba9qfpGSWE4JxgH5gqjKXNCd_llg-AmZI2oFXb5wVw.cache +0 -0
  39. data/test/dummy/tmp/cache/assets/sprockets/v3.0/HG/HGyLsbSq14FKLTeV3N2F7B7Zrxl_OvloSlV2wtkVUl0.cache +0 -0
  40. data/test/dummy/tmp/cache/assets/sprockets/v3.0/QH/QHonD6yuQdHuTnML3LDGymUooGQj_APHbaX3Kzno-KI.cache +0 -0
  41. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qm/QmgbH9wFqeM2N4ET4GLEFzCNJp5-jM0YLOx9jPoKnTw.cache +1 -0
  42. data/test/dummy/tmp/cache/assets/sprockets/v3.0/V7/V7XDDUN0LzPu2IADecQJYYu1Um0RBqyWchERlECdPZc.cache +0 -0
  43. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZG/ZGSFoIVIr1KBkHxxWDz1bBtkz0KadfweIFjWqeTty9k.cache +0 -0
  44. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_6/_6ClsWjX8jjRbPAU8R0QXQMqb98DMAWN3h7VaZYU_zs.cache +0 -0
  45. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ak/akSvUGUaxnoVGDWdSTnvrgDQRtEiEipDI3gbMG9ORr4.cache +1 -0
  46. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gW/gWP-FIIzxpctJPRtn79MYxNJ9rMsX0bnEtFKDqsx1Pc.cache +0 -0
  47. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +0 -0
  48. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jE/jETDB5GxGzfVBEJ_-U0TVAzA24QtG8pRXXf5yaoMBnU.cache +0 -0
  49. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lm/lmPl08zo5wLyVwMJjvMqEdjT2q9x4xn0hcnN8ycXA5Q.cache +0 -0
  50. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nU/nUlbBaGaCfa72Mj9xnbOCnkKHHOt-JQVqufhpYYdvns.cache +1 -0
  51. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +0 -0
  52. data/test/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache +0 -0
  53. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sH/sHrKkHl6SYOhHWH6F-guhFIo6QPeiF_lJXwhFpUHYjE.cache +1 -0
  54. data/test/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache +0 -0
  55. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zz/zzMAmHN5Sf7GBPaZG3P3axOLofCau19RjhhsipNigfs.cache +1 -0
  56. data/test/prefix_controller_test.rb +7 -7
  57. data/test/support/base_actions.rb +15 -26
  58. data/test/test_helper.rb +0 -9
  59. metadata +96 -42
  60. data/test/dummy/db/development.sqlite3 +0 -0
  61. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  62. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  63. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  64. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  65. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  66. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=f732655e9b4d19d8c03f7fbf23df406daec21c24156cce6de143f763ec36c2f1:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=bd19cacd3d6f1c05f40604d79463851bfcd67b40bf463d0eeb7721acd69a43b8:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=73cda1d24cafe33738f01ab767a653e06017d5582ebca6192f67c110fe85307d:ET
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=0acefdeb764589f7ba4e6ee1af37598c07a40f1d637d27a713f1ec2a359b20b3:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=4b1ac3f00c91382264cd9674060f82f87fc422a252a089d5d414072d488342fc:ET
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=5f3b9b82cd12c2b3319064ec7b6016508f4b627c77c341484822410fa2bf9d61:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=554cf52659b3076fa7da8f0a14be03cd28158fb4885cc936869f858f24c76113:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=16e592f60f74e4d30457de3ea5382e9124c48ac2717d9a2b50ccf90994723ef6:ET
@@ -0,0 +1 @@
1
+ "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -6,7 +6,7 @@ describe 'Route prefixes' do
6
6
  subject {
7
7
  controller = Admin::PrefixController.new
8
8
 
9
- request = ActionController::TestRequest.new
9
+ request = ActionController::TestRequest.create
10
10
  request.host = "www.example.org"
11
11
  controller.request = request
12
12
  controller
@@ -15,27 +15,27 @@ describe 'Route prefixes' do
15
15
  let(:model) { Document.new.tap{|document| document.id = 1} }
16
16
 
17
17
  it 'respond to edit path helper' do
18
- subject.edit_resource_path(model).must_match /^\/admin\//
18
+ subject.edit_resource_path(model).must_match(/^\/admin\//)
19
19
  end
20
20
 
21
21
  it 'respond to edit url helper' do
22
- subject.edit_resource_url(model).must_match /\.org\/admin\//
22
+ subject.edit_resource_url(model).must_match(/\.org\/admin\//)
23
23
  end
24
24
 
25
25
  it 'respond to new path helper' do
26
- subject.new_resource_path.must_match /^\/admin\//
26
+ subject.new_resource_path.must_match(/^\/admin\//)
27
27
  end
28
28
 
29
29
  it 'respond to new url helper' do
30
- subject.new_resource_url.must_match /\.org\/admin\//
30
+ subject.new_resource_url.must_match(/\.org\/admin\//)
31
31
  end
32
32
 
33
33
  it 'respond to collection path helper' do
34
- subject.collection_path.must_match /^\/admin/
34
+ subject.collection_path.must_match(/^\/admin/)
35
35
  end
36
36
 
37
37
  it 'respond to collection url helper' do
38
- subject.collection_url.must_match /\.org\/admin/
38
+ subject.collection_url.must_match(/\.org\/admin/)
39
39
  end
40
40
  end
41
41
 
@@ -2,8 +2,9 @@
2
2
  # This module allow to add common tests for a REST controller,
3
3
  # allowing to eliminate test repetitions
4
4
  module BaseActions
5
- def test_base_actions(model: nil, with_id: nil, for_params: {}) # rubocop:disable MethodLength, LineLength
5
+ def test_base_actions(base_url: nil, model: nil, with_id: nil, for_params: {}) # rubocop:disable MethodLength, LineLength
6
6
  self.class_eval do
7
+ let(:base_url) { base_url }
7
8
  let(:resource) { model }
8
9
  let(:resources) { model.to_s.pluralize.to_sym }
9
10
  let(:id) { with_id }
@@ -12,52 +13,44 @@ module BaseActions
12
13
  context 'base actions' do
13
14
  context 'index' do
14
15
  it 'render list' do
15
- get :index
16
+ get base_url
16
17
 
17
18
  must_respond_with :success
18
- must_render_template :index
19
- assigns[resources].wont_be_nil
20
19
  end
21
20
  end
22
21
 
23
22
  context 'new' do
24
23
  it 'render form' do
25
- get :new
24
+ get "#{base_url}/new"
26
25
 
27
26
  must_respond_with :success
28
- must_render_template :new
29
- assigns[resource].wont_be_nil
30
27
  end
31
28
  end
32
29
 
33
30
  context 'create' do
34
31
  it 'redirects' do
35
- post :create, valid_params
32
+ post "#{base_url}", params: valid_params
36
33
 
37
34
  must_redirect_to documents_path
38
35
  end
39
36
 
40
37
  it 'display errors' do
41
38
  invalid_params = generate_invalid_params
42
- post :create, invalid_params
39
+ post "#{base_url}", params: invalid_params
43
40
 
44
41
  must_respond_with :success
45
- must_render_template :new
46
- assigns[resource].wont_be_nil
47
42
  end
48
43
  end
49
44
 
50
45
  context 'edit' do
51
46
  it 'render form' do
52
- get :edit, id: id
47
+ get "#{base_url}/#{id}/edit"
53
48
 
54
49
  must_respond_with :success
55
- must_render_template :edit
56
- assigns[resource].wont_be_nil
57
50
  end
58
51
 
59
52
  it 'raise exception on not found' do
60
- proc { get :edit, id: 1 }
53
+ proc { get "#{base_url}/1/edit" }
61
54
  .must_raise ActiveRecord::RecordNotFound
62
55
  end
63
56
  end
@@ -65,7 +58,7 @@ module BaseActions
65
58
  context 'update' do
66
59
  it 'redirects' do
67
60
  params = valid_params.merge id: id
68
- put :update, params
61
+ put "#{base_url}/#{id}", params: params
69
62
 
70
63
  must_redirect_to documents_path
71
64
  end
@@ -73,43 +66,39 @@ module BaseActions
73
66
  it 'display errors' do
74
67
  invalid_params = generate_invalid_params
75
68
  invalid_params.merge! id: id
76
- put :update, invalid_params
69
+ put "#{base_url}/#{id}", params: invalid_params
77
70
 
78
71
  must_respond_with :success
79
- must_render_template :edit
80
- assigns[resource].wont_be_nil
81
72
  end
82
73
 
83
74
  it 'raise exception on not found' do
84
- proc { put :update, id: 1 }
75
+ proc { put "#{base_url}/1" }
85
76
  .must_raise ActiveRecord::RecordNotFound
86
77
  end
87
78
  end
88
79
 
89
80
  context 'show' do
90
81
  it 'render view' do
91
- get :show, id: id
82
+ get "#{base_url}/#{id}"
92
83
 
93
84
  must_respond_with :success
94
- must_render_template :show
95
- assigns[resource].wont_be_nil
96
85
  end
97
86
 
98
87
  it 'raise exception on not found' do
99
- proc { get :show, id: 1 }
88
+ proc { get "#{base_url}/1" }
100
89
  .must_raise ActiveRecord::RecordNotFound
101
90
  end
102
91
  end
103
92
 
104
93
  context 'destroy' do
105
94
  it 'redirects' do
106
- delete :destroy, id: id
95
+ delete "#{base_url}/#{id}"
107
96
 
108
97
  must_redirect_to documents_path
109
98
  end
110
99
 
111
100
  it 'raise exception on not found' do
112
- proc { delete :destroy, id: 1 }
101
+ proc { delete "#{base_url}/1" }
113
102
  .must_raise ActiveRecord::RecordNotFound
114
103
  end
115
104
  end
data/test/test_helper.rb CHANGED
@@ -10,15 +10,6 @@ Rails.backtrace_cleaner.remove_silencers!
10
10
  # Load support files
11
11
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
12
12
 
13
- ##
14
- # Minitest module to redefine expectations, use it to
15
- # fine tune your modules
16
- module MiniTest::Expectations
17
- infect_an_assertion :assert_redirected_to, :must_redirect_to
18
- infect_an_assertion :assert_template, :must_render_template
19
- infect_an_assertion :assert_response, :must_respond_with
20
- end
21
-
22
13
  # Load fixtures from the engine
23
14
  if ActiveSupport::TestCase.method_defined?(:fixture_path=)
24
15
  ActiveSupport::TestCase.fixture_path =
metadata CHANGED
@@ -1,99 +1,99 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restful_controller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario Alberto Chavez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-30 00:00:00.000000000 Z
11
+ date: 2017-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.0
19
+ version: 5.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 4.0.0
26
+ version: 5.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sqlite3
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: flog
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: flay
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: minitest-rails
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 0.9.0
89
+ version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: 0.9.0
96
+ version: '0'
97
97
  description: Restful helps you to remove duplicated code from controllers were their
98
98
  REST actions are pretty standard and repetitive.
99
99
  email:
@@ -102,20 +102,22 @@ executables: []
102
102
  extensions: []
103
103
  extra_rdoc_files: []
104
104
  files:
105
+ - MIT-LICENSE
106
+ - README.rdoc
107
+ - Rakefile
108
+ - lib/restful.rb
105
109
  - lib/restful/actions.rb
106
110
  - lib/restful/base.rb
107
111
  - lib/restful/dummy_responder.rb
108
112
  - lib/restful/version.rb
109
- - lib/restful.rb
110
113
  - lib/tasks/resourceful_tasks.rake
111
- - MIT-LICENSE
112
- - Rakefile
113
- - README.rdoc
114
114
  - test/actions_definition_test.rb
115
115
  - test/alternates_controller_test.rb
116
116
  - test/base_controller_test.rb
117
117
  - test/blocks_controller_test.rb
118
118
  - test/custom_notices_controller_test.rb
119
+ - test/dummy/README.rdoc
120
+ - test/dummy/Rakefile
119
121
  - test/dummy/app/assets/javascripts/application.js
120
122
  - test/dummy/app/assets/stylesheets/application.css
121
123
  - test/dummy/app/controllers/admin/prefix_controller.rb
@@ -136,25 +138,34 @@ files:
136
138
  - test/dummy/bin/bundle
137
139
  - test/dummy/bin/rails
138
140
  - test/dummy/bin/rake
141
+ - test/dummy/bin/setup
142
+ - test/dummy/bin/update
143
+ - test/dummy/config.ru
139
144
  - test/dummy/config/application.rb
140
145
  - test/dummy/config/boot.rb
146
+ - test/dummy/config/cable.yml
141
147
  - test/dummy/config/database.yml
142
148
  - test/dummy/config/environment.rb
143
149
  - test/dummy/config/environments/development.rb
144
150
  - test/dummy/config/environments/production.rb
145
151
  - test/dummy/config/environments/test.rb
152
+ - test/dummy/config/initializers/application_controller_renderer.rb
153
+ - test/dummy/config/initializers/assets.rb
146
154
  - test/dummy/config/initializers/backtrace_silencers.rb
155
+ - test/dummy/config/initializers/cookies_serializer.rb
147
156
  - test/dummy/config/initializers/filter_parameter_logging.rb
148
157
  - test/dummy/config/initializers/generators.rb
149
158
  - test/dummy/config/initializers/inflections.rb
150
159
  - test/dummy/config/initializers/mime_types.rb
160
+ - test/dummy/config/initializers/new_framework_defaults.rb
151
161
  - test/dummy/config/initializers/secret_token.rb
152
162
  - test/dummy/config/initializers/session_store.rb
153
163
  - test/dummy/config/initializers/wrap_parameters.rb
154
164
  - test/dummy/config/locales/en.yml
165
+ - test/dummy/config/puma.rb
155
166
  - test/dummy/config/routes.rb
156
- - test/dummy/config.ru
157
- - test/dummy/db/development.sqlite3
167
+ - test/dummy/config/secrets.yml
168
+ - test/dummy/config/spring.rb
158
169
  - test/dummy/db/migrate/20130703024719_create_documents.rb
159
170
  - test/dummy/db/schema.rb
160
171
  - test/dummy/db/test.sqlite3
@@ -164,16 +175,32 @@ files:
164
175
  - test/dummy/public/422.html
165
176
  - test/dummy/public/500.html
166
177
  - test/dummy/public/favicon.ico
167
- - test/dummy/Rakefile
168
- - test/dummy/README.rdoc
169
178
  - test/dummy/test/fixtures/documents.yml
170
179
  - test/dummy/test/models/document_test.rb
171
- - test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
172
- - test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
173
- - test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
174
- - test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
175
- - test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
176
- - test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
180
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/0Q/0QppU-9EhYT7x4BnYZD_titkxF30LmbOn7NEVZk8Yo4.cache
181
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/7E/7ENv2BQvPsGd83J_e6ddH5FrgCnDX6iBxy2WDFc7xWI.cache
182
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/8M/8McQnwxVQ-W4VBf4Lg-RKBLEsOSnTBeMLwxwGwU6Mr0.cache
183
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/99/99RXuREqkVrlX_fspL_j2Mzxc3E9GKBSfahbI-Wouro.cache
184
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/9r/9ryO-j4fsAK10KK2WOeTMoSpBDI8QFF0X-AOBKK4sCg.cache
185
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/EU/EUoN0mqGWGDaRelMCH25zmw4ckyxbrY9l5e_pXBL0XE.cache
186
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Fb/Fba9qfpGSWE4JxgH5gqjKXNCd_llg-AmZI2oFXb5wVw.cache
187
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/HG/HGyLsbSq14FKLTeV3N2F7B7Zrxl_OvloSlV2wtkVUl0.cache
188
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/QH/QHonD6yuQdHuTnML3LDGymUooGQj_APHbaX3Kzno-KI.cache
189
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Qm/QmgbH9wFqeM2N4ET4GLEFzCNJp5-jM0YLOx9jPoKnTw.cache
190
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/V7/V7XDDUN0LzPu2IADecQJYYu1Um0RBqyWchERlECdPZc.cache
191
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ZG/ZGSFoIVIr1KBkHxxWDz1bBtkz0KadfweIFjWqeTty9k.cache
192
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/_6/_6ClsWjX8jjRbPAU8R0QXQMqb98DMAWN3h7VaZYU_zs.cache
193
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ak/akSvUGUaxnoVGDWdSTnvrgDQRtEiEipDI3gbMG9ORr4.cache
194
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/gW/gWP-FIIzxpctJPRtn79MYxNJ9rMsX0bnEtFKDqsx1Pc.cache
195
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache
196
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/jE/jETDB5GxGzfVBEJ_-U0TVAzA24QtG8pRXXf5yaoMBnU.cache
197
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/lm/lmPl08zo5wLyVwMJjvMqEdjT2q9x4xn0hcnN8ycXA5Q.cache
198
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/nU/nUlbBaGaCfa72Mj9xnbOCnkKHHOt-JQVqufhpYYdvns.cache
199
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache
200
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache
201
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/sH/sHrKkHl6SYOhHWH6F-guhFIo6QPeiF_lJXwhFpUHYjE.cache
202
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
203
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/zz/zzMAmHN5Sf7GBPaZG3P3axOLofCau19RjhhsipNigfs.cache
177
204
  - test/prefix_controller_test.rb
178
205
  - test/resourceful_test.rb
179
206
  - test/support/base_actions.rb
@@ -188,17 +215,17 @@ require_paths:
188
215
  - lib
189
216
  required_ruby_version: !ruby/object:Gem::Requirement
190
217
  requirements:
191
- - - '>='
218
+ - - ">="
192
219
  - !ruby/object:Gem::Version
193
220
  version: '0'
194
221
  required_rubygems_version: !ruby/object:Gem::Requirement
195
222
  requirements:
196
- - - '>='
223
+ - - ">="
197
224
  - !ruby/object:Gem::Version
198
225
  version: '0'
199
226
  requirements: []
200
227
  rubyforge_project:
201
- rubygems_version: 2.0.2
228
+ rubygems_version: 2.5.1
202
229
  signing_key:
203
230
  specification_version: 4
204
231
  summary: Restful helps to keep Controllers DRY, removing repetitive code from basic
@@ -229,25 +256,34 @@ test_files:
229
256
  - test/dummy/bin/bundle
230
257
  - test/dummy/bin/rails
231
258
  - test/dummy/bin/rake
259
+ - test/dummy/bin/setup
260
+ - test/dummy/bin/update
232
261
  - test/dummy/config/application.rb
233
262
  - test/dummy/config/boot.rb
263
+ - test/dummy/config/cable.yml
234
264
  - test/dummy/config/database.yml
235
265
  - test/dummy/config/environment.rb
236
266
  - test/dummy/config/environments/development.rb
237
267
  - test/dummy/config/environments/production.rb
238
268
  - test/dummy/config/environments/test.rb
269
+ - test/dummy/config/initializers/application_controller_renderer.rb
270
+ - test/dummy/config/initializers/assets.rb
239
271
  - test/dummy/config/initializers/backtrace_silencers.rb
272
+ - test/dummy/config/initializers/cookies_serializer.rb
240
273
  - test/dummy/config/initializers/filter_parameter_logging.rb
241
274
  - test/dummy/config/initializers/generators.rb
242
275
  - test/dummy/config/initializers/inflections.rb
243
276
  - test/dummy/config/initializers/mime_types.rb
277
+ - test/dummy/config/initializers/new_framework_defaults.rb
244
278
  - test/dummy/config/initializers/secret_token.rb
245
279
  - test/dummy/config/initializers/session_store.rb
246
280
  - test/dummy/config/initializers/wrap_parameters.rb
247
281
  - test/dummy/config/locales/en.yml
282
+ - test/dummy/config/puma.rb
248
283
  - test/dummy/config/routes.rb
284
+ - test/dummy/config/secrets.yml
285
+ - test/dummy/config/spring.rb
249
286
  - test/dummy/config.ru
250
- - test/dummy/db/development.sqlite3
251
287
  - test/dummy/db/migrate/20130703024719_create_documents.rb
252
288
  - test/dummy/db/schema.rb
253
289
  - test/dummy/db/test.sqlite3
@@ -261,12 +297,30 @@ test_files:
261
297
  - test/dummy/README.rdoc
262
298
  - test/dummy/test/fixtures/documents.yml
263
299
  - test/dummy/test/models/document_test.rb
264
- - test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
265
- - test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
266
- - test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
267
- - test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
268
- - test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
269
- - test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
300
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/0Q/0QppU-9EhYT7x4BnYZD_titkxF30LmbOn7NEVZk8Yo4.cache
301
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/7E/7ENv2BQvPsGd83J_e6ddH5FrgCnDX6iBxy2WDFc7xWI.cache
302
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/8M/8McQnwxVQ-W4VBf4Lg-RKBLEsOSnTBeMLwxwGwU6Mr0.cache
303
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/99/99RXuREqkVrlX_fspL_j2Mzxc3E9GKBSfahbI-Wouro.cache
304
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/9r/9ryO-j4fsAK10KK2WOeTMoSpBDI8QFF0X-AOBKK4sCg.cache
305
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/_6/_6ClsWjX8jjRbPAU8R0QXQMqb98DMAWN3h7VaZYU_zs.cache
306
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ak/akSvUGUaxnoVGDWdSTnvrgDQRtEiEipDI3gbMG9ORr4.cache
307
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/EU/EUoN0mqGWGDaRelMCH25zmw4ckyxbrY9l5e_pXBL0XE.cache
308
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Fb/Fba9qfpGSWE4JxgH5gqjKXNCd_llg-AmZI2oFXb5wVw.cache
309
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/gW/gWP-FIIzxpctJPRtn79MYxNJ9rMsX0bnEtFKDqsx1Pc.cache
310
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/HG/HGyLsbSq14FKLTeV3N2F7B7Zrxl_OvloSlV2wtkVUl0.cache
311
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache
312
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/jE/jETDB5GxGzfVBEJ_-U0TVAzA24QtG8pRXXf5yaoMBnU.cache
313
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/lm/lmPl08zo5wLyVwMJjvMqEdjT2q9x4xn0hcnN8ycXA5Q.cache
314
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/nU/nUlbBaGaCfa72Mj9xnbOCnkKHHOt-JQVqufhpYYdvns.cache
315
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache
316
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache
317
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/QH/QHonD6yuQdHuTnML3LDGymUooGQj_APHbaX3Kzno-KI.cache
318
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Qm/QmgbH9wFqeM2N4ET4GLEFzCNJp5-jM0YLOx9jPoKnTw.cache
319
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/sH/sHrKkHl6SYOhHWH6F-guhFIo6QPeiF_lJXwhFpUHYjE.cache
320
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/V7/V7XDDUN0LzPu2IADecQJYYu1Um0RBqyWchERlECdPZc.cache
321
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
322
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ZG/ZGSFoIVIr1KBkHxxWDz1bBtkz0KadfweIFjWqeTty9k.cache
323
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/zz/zzMAmHN5Sf7GBPaZG3P3axOLofCau19RjhhsipNigfs.cache
270
324
  - test/prefix_controller_test.rb
271
325
  - test/resourceful_test.rb
272
326
  - test/support/base_actions.rb