resources 0.2.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -10
  3. data/Rakefile +7 -0
  4. data/lib/resources/actions.rb +5 -5
  5. data/lib/resources/configuration.rb +8 -6
  6. data/lib/resources/manager.rb +14 -5
  7. data/lib/resources/rest_actions.rb +3 -1
  8. data/lib/resources/version.rb +1 -1
  9. data/test/dummy/app/assets/javascripts/admin/countries.js +2 -0
  10. data/test/dummy/app/assets/javascripts/countries.js +2 -0
  11. data/test/dummy/app/assets/stylesheets/admin/countries.css +4 -0
  12. data/test/dummy/app/assets/stylesheets/countries.css +4 -0
  13. data/test/dummy/app/controllers/admin/countries_controller.rb +9 -0
  14. data/test/dummy/app/controllers/countries_controller.rb +4 -0
  15. data/test/dummy/app/helpers/admin/countries_helper.rb +2 -0
  16. data/test/dummy/app/helpers/countries_helper.rb +2 -0
  17. data/test/dummy/app/models/country.rb +7 -0
  18. data/test/dummy/app/views/admin/countries/_form.html.haml +6 -0
  19. data/test/dummy/app/views/admin/countries/edit.html.haml +1 -0
  20. data/test/dummy/app/views/admin/countries/index.html.haml +19 -0
  21. data/test/dummy/app/views/admin/countries/new.html.haml +1 -0
  22. data/test/dummy/app/views/countries/_form.html.haml +6 -0
  23. data/test/dummy/app/views/countries/edit.html.haml +1 -0
  24. data/test/dummy/app/views/countries/index.html.haml +21 -0
  25. data/test/dummy/app/views/countries/new.html.haml +1 -0
  26. data/test/dummy/config/initializers/resources.rb +30 -0
  27. data/test/dummy/config/routes.rb +5 -1
  28. data/test/dummy/db/development.sqlite3 +0 -0
  29. data/test/dummy/db/migrate/20150430020948_create_countries.rb +10 -0
  30. data/test/dummy/db/schema.rb +24 -0
  31. data/test/dummy/log/development.log +3991 -0
  32. data/test/dummy/test/controllers/admin/countries_controller_test.rb +7 -0
  33. data/test/dummy/test/controllers/countries_controller_test.rb +9 -0
  34. data/test/dummy/test/fixtures/countries.yml +11 -0
  35. data/test/dummy/test/models/country_test.rb +7 -0
  36. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1tGo0eQ64h2qOcf_X7SJIdwXPT-H1Cdo5yia9oDXJN0.cache +1 -0
  37. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/41pS6qeEZuOGdyzk3yCjRfBsaXZAyI-DvH5kzsEcVdo.cache +0 -0
  38. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/50j9S0WZyrVC6LaUJuQUfyZBBLJIDj5Ypv7meS8jlw8.cache +1 -0
  39. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6i6iTzCeBLjwo1sXDwikDtlsQnjH_iyFliS9nFKAJr0.cache +0 -0
  40. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7Biz_daU6XCvv9DxooKaFh86aygxzay-GADCvIvgp1w.cache +0 -0
  41. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7ZK4CBk3GcsUKFsZNRJfseBsCcQIIJUzVEPZiEGcdJ4.cache +0 -0
  42. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7hMH9nrfn1Vwglgea7Z7WCy2tOYruZZUs0cz9Y-ORZI.cache +0 -0
  43. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9TXKkJm0BJgWCGnTIRy9DiZqg7Oj59oXWg5qjfZQltM.cache +2 -0
  44. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ai6fZz9qqciJx9S3VtKXDJPK3MbNbqanp4pgD7zXKY4.cache +0 -0
  45. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BSpUdmTgWoDsk5ptbZB_yOC8mO7SnhqBQgZJ1ImBrvU.cache +1 -0
  46. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Btih8XMeMPV8yluiUmEzYkWiuu6dXaSZD2X6uxrJ_5g.cache +1 -0
  47. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/COZvpgWNc6JZtDissknpybZiGE00lHRKKn8icNB5Lwo.cache +1 -0
  48. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EfgGH26sAfh6lfKVP7JAQtiWLGvUmiMeIAoDcDZURo4.cache +1 -0
  49. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FMLmcoKGYpE01mLCffVL8odyYzjTtdfOKiqChzUSKmQ.cache +0 -0
  50. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/G3sodj-ssqsbEWYKt4p0hE18yArx4HB1LUI3JWIY15Y.cache +2 -0
  51. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HQZDQmyz-AhFERwPsy-L_zLuAicKhl_NCbUMWTC6f7M.cache +1 -0
  52. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/L27c3SKV_oTWmkQerPe4t_FuDmpfUtOVazTbQL_jIxA.cache +1 -0
  53. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/P_SjMiqriLSTDxqbzxkLo_vazTBLa1iwhzIdpZEFMbA.cache +1 -0
  54. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/S3Y1r8Aft-fes9HTVwgfegJ-Gr5hn_hMHUNp1biPkaU.cache +0 -0
  55. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SAannjThfrziVPcKtMYfw2QDg7Wb2421TWo7w_gf2Z4.cache +1 -0
  56. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SWh2UnU8uBCft4qmukKkqjclr5DTwPCPZU00aXor5AY.cache +1 -0
  57. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ShSW8vHkoGxm9VYT7UiYtWmq-8WNrtFx2TMEOfjLKCU.cache +2 -0
  58. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ti8zu6KfE0P1JkyS0vVwq07BWrKkp-AEb7Nr8wRxszo.cache +0 -0
  59. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VaUYlQhdcrPpMnQKNPenoOC0cE2nFr-9rMItICQucAM.cache +1 -0
  60. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ve71zVIPs0jevC1C-1mVz3lhohAocoAotk77qnSZN6M.cache +1 -0
  61. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WUvByofu2uySF18SR5mghV5crmN95tI8EUHOx7mw1CQ.cache +0 -0
  62. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YptT2BoUJeIJqGYiwMy6_TuT0o6IbggKPHL_cXGCYLk.cache +0 -0
  63. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YtNa7YjoVwmac3O_YNQqkKL1mi9jZxl_OH7ugxEVpYw.cache +2 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZpYBokHdWAF0LFBx2so-OHnw-HDxaina9ERRlnO-x3g.cache +1 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_Zmr6SOcMk5Q5kPGfkI3zQOE4FT2Q4nCJY6a-Kaj6VM.cache +0 -0
  66. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_saiFFUSNkFue7QkNomiQBO_3ItwvaaObEFyiq6yS7Y.cache +0 -0
  67. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cDgT80YxTjJl6k43Re5Z5Fvk6gGl_IVZravzuTuz0jE.cache +1 -0
  68. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cswPZGIEebNA4P8PNRkCv-E5qoRf-kjV9zn22FmU3fY.cache +2 -0
  69. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dRu-VIyt9mG8SYLHOx77PLCgHpaI7zBJsrEgVjJ-RPM.cache +1 -0
  70. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hvyS1lhrrcPzGwAgOvnDmZllwK2LXdBEQO_p6R13Is8.cache +1 -0
  71. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i1SLS0Mz7cep78uvQ311O_wt6fgnEq4U5zkJb9Kbzsw.cache +0 -0
  72. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ixUkB64szPmY5WRrwBoPn0SPWK4bSRpF9Hr0qJ4pblM.cache +1 -0
  73. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lFei8srFEsDaTHznvaWYmtZ41F8G5OwUOL_sjSAKO9A.cache +1 -0
  74. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mGxA80kn3X_NEyYkwitC650YDP6HA3FPfdtXLict4FM.cache +0 -0
  75. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ohN58J6S6pO_zQz5OeWiLN5m21sCRh8BvzwxHBAS8qU.cache +2 -0
  76. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/q4e53O4aPv8OaxaB990eayNA1PVc4W_ZX4PJ-Jx5HZU.cache +0 -0
  77. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tCM0KKnd2WiAjdWEr6LbNvF0qyf45275nyBUJwpmeMQ.cache +1 -0
  78. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uVhuknH4mKck5LFVwZj9pmuaR7SE-0M45V52MkrBJPk.cache +1 -0
  79. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xa5H-1005wsDczOFgyc7KdSbQzU5n8neJtBcQS74ncg.cache +1 -0
  80. data/test/dummy/tmp/pids/server.pid +1 -0
  81. metadata +241 -6
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class Admin::CountriesControllerTest < ActionController::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ class CountriesControllerTest < ActionController::TestCase
4
+ test "should get index" do
5
+ get :index
6
+ assert_response :success
7
+ end
8
+
9
+ end
@@ -0,0 +1,11 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ # This model initially had no columns defined. If you add columns to the
4
+ # model remove the '{}' from the fixture names and add the columns immediately
5
+ # below each fixture, per the syntax in the comments below
6
+ #
7
+ one: {}
8
+ # column: value
9
+ #
10
+ two: {}
11
+ # column: value
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class CountryTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1 @@
1
+ "%Ѱč@�����6H�uZoX�Z�gbh0W��V
@@ -0,0 +1 @@
1
+ I"�file:///home/shared-data/projects/ruby/engines/resources/test/dummy/app/assets/javascripts/application.js?type=application/javascript&id=7dab736094f290f2ac6a40861a89d67abb3ab4126a551f0d66e67b9b3cdb5ff0:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"sfile-digest:///home/shared-data/projects/ruby/engines/resources/test/dummy/app/assets/javascripts/countries.js;TT
@@ -0,0 +1 @@
1
+ I"�file:///home/shared-data/projects/ruby/engines/resources/test/dummy/app/assets/stylesheets/countries.css?type=text/css&pipeline=self&id=9b72ee68eb22fa9072a6f72ab5ab257cff0d73b53391f999000dc2c05fc73905:ET
@@ -0,0 +1 @@
1
+ "%*z�[Ll\s�������dW���mx�C��O�
@@ -0,0 +1 @@
1
+ "%֧�NTZq�בH�L��#p3��Jg!��)
@@ -0,0 +1 @@
1
+ I"�file:///home/shared-data/projects/ruby/engines/resources/test/dummy/app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=ddd1aa845d18e6b0771e55a504cbfa665bc15ed1933f84c94dba2a7d0a249968:ET
@@ -0,0 +1,2 @@
1
+ "%����͹mm�
2
+ a�l�|a56���v�6}��(&5
@@ -0,0 +1 @@
1
+ I"�file:///home/shared-data/projects/ruby/engines/resources/test/dummy/app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=750eed15aebb0b4c715a3c093c8ec76f867f366f587e9c428bea07357f6c4411:ET
@@ -0,0 +1 @@
1
+ "%�FÏ�J���Va���|^�3�]�JᝰT�~��
@@ -0,0 +1 @@
1
+ I"�file:///home/shared-data/projects/ruby/engines/resources/test/dummy/app/assets/javascripts/application.js?type=application/javascript&id=4d90fb9b38ab1c2786c1db74f6de9b35641f4176f1ca996805fd15aefbd5a564:ET
@@ -0,0 +1 @@
1
+ I"�file:///home/shared-data/projects/ruby/engines/resources/test/dummy/app/assets/stylesheets/admin/countries.css?type=text/css&pipeline=self&id=431cd4e961475ada8190c48bd5c70adc93d642b544aa400c8abbe0cb53c3f4a7:ET
@@ -0,0 +1 @@
1
+ I"�file:///home/shared-data/projects/ruby/engines/resources/test/dummy/app/assets/javascripts/admin/countries.js?type=application/javascript&pipeline=self&id=842a47a4dab1c20a8c4ba48dd85136c921e860658ca591e7bd8efe4142e218d9:ET
@@ -0,0 +1,2 @@
1
+ "%����͹mm�
2
+ a�l�|a56���v�6}��(&5
@@ -0,0 +1 @@
1
+ "%/�'=�,�����49O��܀��������r�
@@ -0,0 +1 @@
1
+ "%-����k�ŏ�5g�A��A]������pMt^7/�
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"tfile-digest:///home/shared-data/projects/ruby/engines/resources/test/dummy/app/assets/stylesheets/countries.css;TT
@@ -0,0 +1 @@
1
+ "%���ox�|��4>f?vi� �a��-��]
@@ -0,0 +1 @@
1
+ "%sלS��C�Ճ�X�ض� �&0��v٤��
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"yfile-digest:///home/shared-data/projects/ruby/engines/resources/test/dummy/app/assets/javascripts/admin/countries.js;TT
@@ -0,0 +1 @@
1
+ "%6�n 9��G#1�sl-����%�F��)��G
@@ -0,0 +1 @@
1
+ "%֧�NTZq�בH�L��#p3��Jg!��)
@@ -0,0 +1 @@
1
+ I"�file:///home/shared-data/projects/ruby/engines/resources/test/dummy/app/assets/stylesheets/application.css?type=text/css&id=cfe676ce24e3bc06e23c46a920dd28fdd841f08031de1d3f8233b4b6def9213f:ET
@@ -0,0 +1 @@
1
+ I"�file:///home/shared-data/projects/ruby/engines/resources/test/dummy/app/assets/javascripts/countries.js?type=application/javascript&pipeline=self&id=36443d21bc5a3f005237790ef9239f8b8fb6eb7f96b83a779133c9141646e27e:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"zfile-digest:///home/shared-data/projects/ruby/engines/resources/test/dummy/app/assets/stylesheets/admin/countries.css;TT
@@ -0,0 +1 @@
1
+ I"�file:///home/shared-data/projects/ruby/engines/resources/test/dummy/app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=8d03ace04199d458bccb524e45cb12387051c912a9328db453c242f3e0b972ad:ET
@@ -0,0 +1 @@
1
+ I"�file:///home/shared-data/projects/ruby/engines/resources/test/dummy/app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=331cae026a67ae9c5b014edd3249b74d26ce1f76ef82382523ad8d1070e2b77c:ET
@@ -0,0 +1 @@
1
+ I"�file:///home/shared-data/projects/ruby/engines/resources/test/dummy/app/assets/stylesheets/application.css?type=text/css&id=e39bace0f2c4a65ef97ac8ceb77f17b06f7b249fc25a3950bd8fad6bfdc99214:ET
@@ -0,0 +1 @@
1
+ 5189
metadata CHANGED
@@ -1,15 +1,109 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emilio Forrer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-30 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2015-04-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '3'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: '3.2'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '3'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '3.2'
33
+ - !ruby/object:Gem::Dependency
34
+ name: factory_girl
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '3'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '3'
47
+ - !ruby/object:Gem::Dependency
48
+ name: database_cleaner
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '1.4'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 1.4.1
57
+ type: :development
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '1.4'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 1.4.1
67
+ - !ruby/object:Gem::Dependency
68
+ name: faker
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '1.4'
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 1.4.3
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '1.4'
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: 1.4.3
87
+ - !ruby/object:Gem::Dependency
88
+ name: rspec
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - "~>"
92
+ - !ruby/object:Gem::Version
93
+ version: '3.2'
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 3.2.0
97
+ type: :development
98
+ prerelease: false
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.2'
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: 3.2.0
13
107
  description: It's a gem that help's you to create CRUD controllers for your models
14
108
  in a very fast and flexible way.
15
109
  email:
@@ -42,10 +136,27 @@ files:
42
136
  - lib/tasks/resources_tasks.rake
43
137
  - test/dummy/README.rdoc
44
138
  - test/dummy/Rakefile
139
+ - test/dummy/app/assets/javascripts/admin/countries.js
45
140
  - test/dummy/app/assets/javascripts/application.js
141
+ - test/dummy/app/assets/javascripts/countries.js
142
+ - test/dummy/app/assets/stylesheets/admin/countries.css
46
143
  - test/dummy/app/assets/stylesheets/application.css
144
+ - test/dummy/app/assets/stylesheets/countries.css
145
+ - test/dummy/app/controllers/admin/countries_controller.rb
47
146
  - test/dummy/app/controllers/application_controller.rb
147
+ - test/dummy/app/controllers/countries_controller.rb
148
+ - test/dummy/app/helpers/admin/countries_helper.rb
48
149
  - test/dummy/app/helpers/application_helper.rb
150
+ - test/dummy/app/helpers/countries_helper.rb
151
+ - test/dummy/app/models/country.rb
152
+ - test/dummy/app/views/admin/countries/_form.html.haml
153
+ - test/dummy/app/views/admin/countries/edit.html.haml
154
+ - test/dummy/app/views/admin/countries/index.html.haml
155
+ - test/dummy/app/views/admin/countries/new.html.haml
156
+ - test/dummy/app/views/countries/_form.html.haml
157
+ - test/dummy/app/views/countries/edit.html.haml
158
+ - test/dummy/app/views/countries/index.html.haml
159
+ - test/dummy/app/views/countries/new.html.haml
49
160
  - test/dummy/app/views/layouts/application.html.erb
50
161
  - test/dummy/bin/bundle
51
162
  - test/dummy/bin/rails
@@ -65,15 +176,69 @@ files:
65
176
  - test/dummy/config/initializers/filter_parameter_logging.rb
66
177
  - test/dummy/config/initializers/inflections.rb
67
178
  - test/dummy/config/initializers/mime_types.rb
179
+ - test/dummy/config/initializers/resources.rb
68
180
  - test/dummy/config/initializers/session_store.rb
69
181
  - test/dummy/config/initializers/wrap_parameters.rb
70
182
  - test/dummy/config/locales/en.yml
71
183
  - test/dummy/config/routes.rb
72
184
  - test/dummy/config/secrets.yml
185
+ - test/dummy/db/development.sqlite3
186
+ - test/dummy/db/migrate/20150430020948_create_countries.rb
187
+ - test/dummy/db/schema.rb
188
+ - test/dummy/log/development.log
73
189
  - test/dummy/public/404.html
74
190
  - test/dummy/public/422.html
75
191
  - test/dummy/public/500.html
76
192
  - test/dummy/public/favicon.ico
193
+ - test/dummy/test/controllers/admin/countries_controller_test.rb
194
+ - test/dummy/test/controllers/countries_controller_test.rb
195
+ - test/dummy/test/fixtures/countries.yml
196
+ - test/dummy/test/models/country_test.rb
197
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/1tGo0eQ64h2qOcf_X7SJIdwXPT-H1Cdo5yia9oDXJN0.cache
198
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/41pS6qeEZuOGdyzk3yCjRfBsaXZAyI-DvH5kzsEcVdo.cache
199
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/50j9S0WZyrVC6LaUJuQUfyZBBLJIDj5Ypv7meS8jlw8.cache
200
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/6i6iTzCeBLjwo1sXDwikDtlsQnjH_iyFliS9nFKAJr0.cache
201
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/7Biz_daU6XCvv9DxooKaFh86aygxzay-GADCvIvgp1w.cache
202
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/7ZK4CBk3GcsUKFsZNRJfseBsCcQIIJUzVEPZiEGcdJ4.cache
203
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/7hMH9nrfn1Vwglgea7Z7WCy2tOYruZZUs0cz9Y-ORZI.cache
204
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/9TXKkJm0BJgWCGnTIRy9DiZqg7Oj59oXWg5qjfZQltM.cache
205
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ai6fZz9qqciJx9S3VtKXDJPK3MbNbqanp4pgD7zXKY4.cache
206
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/BSpUdmTgWoDsk5ptbZB_yOC8mO7SnhqBQgZJ1ImBrvU.cache
207
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/Btih8XMeMPV8yluiUmEzYkWiuu6dXaSZD2X6uxrJ_5g.cache
208
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/COZvpgWNc6JZtDissknpybZiGE00lHRKKn8icNB5Lwo.cache
209
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/EfgGH26sAfh6lfKVP7JAQtiWLGvUmiMeIAoDcDZURo4.cache
210
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/FMLmcoKGYpE01mLCffVL8odyYzjTtdfOKiqChzUSKmQ.cache
211
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/G3sodj-ssqsbEWYKt4p0hE18yArx4HB1LUI3JWIY15Y.cache
212
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/HQZDQmyz-AhFERwPsy-L_zLuAicKhl_NCbUMWTC6f7M.cache
213
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/L27c3SKV_oTWmkQerPe4t_FuDmpfUtOVazTbQL_jIxA.cache
214
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/P_SjMiqriLSTDxqbzxkLo_vazTBLa1iwhzIdpZEFMbA.cache
215
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/S3Y1r8Aft-fes9HTVwgfegJ-Gr5hn_hMHUNp1biPkaU.cache
216
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/SAannjThfrziVPcKtMYfw2QDg7Wb2421TWo7w_gf2Z4.cache
217
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/SWh2UnU8uBCft4qmukKkqjclr5DTwPCPZU00aXor5AY.cache
218
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/ShSW8vHkoGxm9VYT7UiYtWmq-8WNrtFx2TMEOfjLKCU.cache
219
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ti8zu6KfE0P1JkyS0vVwq07BWrKkp-AEb7Nr8wRxszo.cache
220
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/VaUYlQhdcrPpMnQKNPenoOC0cE2nFr-9rMItICQucAM.cache
221
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ve71zVIPs0jevC1C-1mVz3lhohAocoAotk77qnSZN6M.cache
222
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/WUvByofu2uySF18SR5mghV5crmN95tI8EUHOx7mw1CQ.cache
223
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/YptT2BoUJeIJqGYiwMy6_TuT0o6IbggKPHL_cXGCYLk.cache
224
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/YtNa7YjoVwmac3O_YNQqkKL1mi9jZxl_OH7ugxEVpYw.cache
225
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZpYBokHdWAF0LFBx2so-OHnw-HDxaina9ERRlnO-x3g.cache
226
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/_Zmr6SOcMk5Q5kPGfkI3zQOE4FT2Q4nCJY6a-Kaj6VM.cache
227
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/_saiFFUSNkFue7QkNomiQBO_3ItwvaaObEFyiq6yS7Y.cache
228
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/cDgT80YxTjJl6k43Re5Z5Fvk6gGl_IVZravzuTuz0jE.cache
229
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/cswPZGIEebNA4P8PNRkCv-E5qoRf-kjV9zn22FmU3fY.cache
230
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/dRu-VIyt9mG8SYLHOx77PLCgHpaI7zBJsrEgVjJ-RPM.cache
231
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/hvyS1lhrrcPzGwAgOvnDmZllwK2LXdBEQO_p6R13Is8.cache
232
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/i1SLS0Mz7cep78uvQ311O_wt6fgnEq4U5zkJb9Kbzsw.cache
233
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/ixUkB64szPmY5WRrwBoPn0SPWK4bSRpF9Hr0qJ4pblM.cache
234
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/lFei8srFEsDaTHznvaWYmtZ41F8G5OwUOL_sjSAKO9A.cache
235
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/mGxA80kn3X_NEyYkwitC650YDP6HA3FPfdtXLict4FM.cache
236
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/ohN58J6S6pO_zQz5OeWiLN5m21sCRh8BvzwxHBAS8qU.cache
237
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/q4e53O4aPv8OaxaB990eayNA1PVc4W_ZX4PJ-Jx5HZU.cache
238
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/tCM0KKnd2WiAjdWEr6LbNvF0qyf45275nyBUJwpmeMQ.cache
239
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/uVhuknH4mKck5LFVwZj9pmuaR7SE-0M45V52MkrBJPk.cache
240
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/xa5H-1005wsDczOFgyc7KdSbQzU5n8neJtBcQS74ncg.cache
241
+ - test/dummy/tmp/pids/server.pid
77
242
  - test/resources_test.rb
78
243
  - test/test_helper.rb
79
244
  homepage: https://github.com/emilioforrer/resources
@@ -99,10 +264,11 @@ rubyforge_project:
99
264
  rubygems_version: 2.4.5
100
265
  signing_key:
101
266
  specification_version: 4
102
- summary: It's a gem that help's you to create CRUD controllers for your models in
103
- a very fast and flexible way.
267
+ summary: Help's you to create CRUD controllers for your models in a very fast and
268
+ flexible way.
104
269
  test_files:
105
270
  - test/resources_test.rb
271
+ - test/dummy/log/development.log
106
272
  - test/dummy/public/404.html
107
273
  - test/dummy/public/500.html
108
274
  - test/dummy/public/422.html
@@ -114,6 +280,7 @@ test_files:
114
280
  - test/dummy/bin/rails
115
281
  - test/dummy/config/initializers/session_store.rb
116
282
  - test/dummy/config/initializers/assets.rb
283
+ - test/dummy/config/initializers/resources.rb
117
284
  - test/dummy/config/initializers/mime_types.rb
118
285
  - test/dummy/config/initializers/cookies_serializer.rb
119
286
  - test/dummy/config/initializers/filter_parameter_logging.rb
@@ -130,12 +297,80 @@ test_files:
130
297
  - test/dummy/config/environments/production.rb
131
298
  - test/dummy/config/database.yml
132
299
  - test/dummy/config/routes.rb
300
+ - test/dummy/tmp/pids/server.pid
301
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/41pS6qeEZuOGdyzk3yCjRfBsaXZAyI-DvH5kzsEcVdo.cache
302
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/7ZK4CBk3GcsUKFsZNRJfseBsCcQIIJUzVEPZiEGcdJ4.cache
303
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/G3sodj-ssqsbEWYKt4p0hE18yArx4HB1LUI3JWIY15Y.cache
304
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/HQZDQmyz-AhFERwPsy-L_zLuAicKhl_NCbUMWTC6f7M.cache
305
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ai6fZz9qqciJx9S3VtKXDJPK3MbNbqanp4pgD7zXKY4.cache
306
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/i1SLS0Mz7cep78uvQ311O_wt6fgnEq4U5zkJb9Kbzsw.cache
307
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/VaUYlQhdcrPpMnQKNPenoOC0cE2nFr-9rMItICQucAM.cache
308
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/Btih8XMeMPV8yluiUmEzYkWiuu6dXaSZD2X6uxrJ_5g.cache
309
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/50j9S0WZyrVC6LaUJuQUfyZBBLJIDj5Ypv7meS8jlw8.cache
310
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/_Zmr6SOcMk5Q5kPGfkI3zQOE4FT2Q4nCJY6a-Kaj6VM.cache
311
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/tCM0KKnd2WiAjdWEr6LbNvF0qyf45275nyBUJwpmeMQ.cache
312
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/q4e53O4aPv8OaxaB990eayNA1PVc4W_ZX4PJ-Jx5HZU.cache
313
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/ixUkB64szPmY5WRrwBoPn0SPWK4bSRpF9Hr0qJ4pblM.cache
314
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/dRu-VIyt9mG8SYLHOx77PLCgHpaI7zBJsrEgVjJ-RPM.cache
315
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/L27c3SKV_oTWmkQerPe4t_FuDmpfUtOVazTbQL_jIxA.cache
316
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/cDgT80YxTjJl6k43Re5Z5Fvk6gGl_IVZravzuTuz0jE.cache
317
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/uVhuknH4mKck5LFVwZj9pmuaR7SE-0M45V52MkrBJPk.cache
318
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/ohN58J6S6pO_zQz5OeWiLN5m21sCRh8BvzwxHBAS8qU.cache
319
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/SWh2UnU8uBCft4qmukKkqjclr5DTwPCPZU00aXor5AY.cache
320
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ti8zu6KfE0P1JkyS0vVwq07BWrKkp-AEb7Nr8wRxszo.cache
321
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/S3Y1r8Aft-fes9HTVwgfegJ-Gr5hn_hMHUNp1biPkaU.cache
322
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/6i6iTzCeBLjwo1sXDwikDtlsQnjH_iyFliS9nFKAJr0.cache
323
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/P_SjMiqriLSTDxqbzxkLo_vazTBLa1iwhzIdpZEFMbA.cache
324
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/1tGo0eQ64h2qOcf_X7SJIdwXPT-H1Cdo5yia9oDXJN0.cache
325
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/hvyS1lhrrcPzGwAgOvnDmZllwK2LXdBEQO_p6R13Is8.cache
326
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/xa5H-1005wsDczOFgyc7KdSbQzU5n8neJtBcQS74ncg.cache
327
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/lFei8srFEsDaTHznvaWYmtZ41F8G5OwUOL_sjSAKO9A.cache
328
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/7Biz_daU6XCvv9DxooKaFh86aygxzay-GADCvIvgp1w.cache
329
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ve71zVIPs0jevC1C-1mVz3lhohAocoAotk77qnSZN6M.cache
330
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/BSpUdmTgWoDsk5ptbZB_yOC8mO7SnhqBQgZJ1ImBrvU.cache
331
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZpYBokHdWAF0LFBx2so-OHnw-HDxaina9ERRlnO-x3g.cache
332
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/_saiFFUSNkFue7QkNomiQBO_3ItwvaaObEFyiq6yS7Y.cache
333
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/COZvpgWNc6JZtDissknpybZiGE00lHRKKn8icNB5Lwo.cache
334
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/ShSW8vHkoGxm9VYT7UiYtWmq-8WNrtFx2TMEOfjLKCU.cache
335
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/EfgGH26sAfh6lfKVP7JAQtiWLGvUmiMeIAoDcDZURo4.cache
336
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/SAannjThfrziVPcKtMYfw2QDg7Wb2421TWo7w_gf2Z4.cache
337
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/mGxA80kn3X_NEyYkwitC650YDP6HA3FPfdtXLict4FM.cache
338
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/cswPZGIEebNA4P8PNRkCv-E5qoRf-kjV9zn22FmU3fY.cache
339
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/WUvByofu2uySF18SR5mghV5crmN95tI8EUHOx7mw1CQ.cache
340
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/7hMH9nrfn1Vwglgea7Z7WCy2tOYruZZUs0cz9Y-ORZI.cache
341
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/YtNa7YjoVwmac3O_YNQqkKL1mi9jZxl_OH7ugxEVpYw.cache
342
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/9TXKkJm0BJgWCGnTIRy9DiZqg7Oj59oXWg5qjfZQltM.cache
343
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/FMLmcoKGYpE01mLCffVL8odyYzjTtdfOKiqChzUSKmQ.cache
344
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/YptT2BoUJeIJqGYiwMy6_TuT0o6IbggKPHL_cXGCYLk.cache
133
345
  - test/dummy/config.ru
346
+ - test/dummy/app/views/countries/_form.html.haml
347
+ - test/dummy/app/views/countries/edit.html.haml
348
+ - test/dummy/app/views/countries/new.html.haml
349
+ - test/dummy/app/views/countries/index.html.haml
350
+ - test/dummy/app/views/admin/countries/_form.html.haml
351
+ - test/dummy/app/views/admin/countries/edit.html.haml
352
+ - test/dummy/app/views/admin/countries/new.html.haml
353
+ - test/dummy/app/views/admin/countries/index.html.haml
134
354
  - test/dummy/app/views/layouts/application.html.erb
135
355
  - test/dummy/app/assets/javascripts/application.js
356
+ - test/dummy/app/assets/javascripts/admin/countries.js
357
+ - test/dummy/app/assets/javascripts/countries.js
358
+ - test/dummy/app/assets/stylesheets/admin/countries.css
136
359
  - test/dummy/app/assets/stylesheets/application.css
360
+ - test/dummy/app/assets/stylesheets/countries.css
361
+ - test/dummy/app/controllers/admin/countries_controller.rb
362
+ - test/dummy/app/controllers/countries_controller.rb
137
363
  - test/dummy/app/controllers/application_controller.rb
364
+ - test/dummy/app/models/country.rb
138
365
  - test/dummy/app/helpers/application_helper.rb
366
+ - test/dummy/app/helpers/admin/countries_helper.rb
367
+ - test/dummy/app/helpers/countries_helper.rb
368
+ - test/dummy/db/development.sqlite3
369
+ - test/dummy/db/migrate/20150430020948_create_countries.rb
370
+ - test/dummy/db/schema.rb
139
371
  - test/dummy/README.rdoc
372
+ - test/dummy/test/fixtures/countries.yml
373
+ - test/dummy/test/controllers/admin/countries_controller_test.rb
374
+ - test/dummy/test/controllers/countries_controller_test.rb
375
+ - test/dummy/test/models/country_test.rb
140
376
  - test/test_helper.rb
141
- has_rdoc: