manage 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +7 -10
  3. data/app/assets/javascripts/manage/application.js +1 -2
  4. data/app/assets/stylesheets/manage/application.css.scss +1 -1
  5. data/app/controllers/manage/admin_users_controller.rb +12 -0
  6. data/app/controllers/manage/application_controller.rb +4 -10
  7. data/app/controllers/manage/resource_controller.rb +74 -0
  8. data/app/controllers/manage/sessions_controller.rb +8 -3
  9. data/app/helpers/manage/form_helper.rb +1 -1
  10. data/app/helpers/manage/resource_helper.rb +56 -0
  11. data/app/models/admin_user.rb +4 -0
  12. data/app/views/layouts/manage/_main_menu.html.slim +1 -5
  13. data/app/views/layouts/manage/sign_in.html.slim +13 -13
  14. data/app/views/manage/resource/_form.html.slim +3 -3
  15. data/app/views/manage/resource/index/_count.html.slim +6 -0
  16. data/app/views/manage/resource/index/_filters.html.slim +18 -7
  17. data/app/views/manage/resource/index/_table.html.slim +7 -5
  18. data/app/views/manage/resource/index.html.slim +3 -2
  19. data/app/views/{sessions → manage/sessions}/new.html.slim +2 -3
  20. data/config/initializers/devise.rb +247 -0
  21. data/config/initializers/session_store.rb +3 -0
  22. data/config/initializers/simple_form_foundation.rb +2 -0
  23. data/config/locales/devise.en.yml +59 -0
  24. data/config/routes.rb +6 -4
  25. data/db/migrate/20131204142720_create_admin_users.rb +24 -0
  26. data/lib/manage/engine.rb +16 -5
  27. data/lib/manage/fields/reader.rb +57 -0
  28. data/lib/manage/fields/searcher.rb +48 -0
  29. data/lib/manage/fields.rb +6 -0
  30. data/lib/manage/version.rb +1 -1
  31. data/lib/manage.rb +2 -0
  32. data/lib/tasks/manage_tasks.rake +11 -0
  33. data/lib/templates/erb/scaffold/_form.html.erb +1 -1
  34. data/spec/controllers/manage/resource_controller_spec.rb +29 -0
  35. data/spec/dummy/app/controllers/manage/posts_controller.rb +4 -0
  36. data/spec/dummy/app/models/post.rb +3 -0
  37. data/spec/dummy/app/models/user.rb +5 -0
  38. data/{test → spec}/dummy/config/application.rb +1 -0
  39. data/{test → spec}/dummy/config/database.yml +1 -1
  40. data/spec/dummy/config/routes.rb +10 -0
  41. data/spec/dummy/db/migrate/20130716083410_init_migration.rb +21 -0
  42. data/spec/dummy/db/schema.rb +53 -0
  43. data/spec/fields/reader_spec.rb +79 -0
  44. data/spec/spec_helper.rb +24 -0
  45. metadata +163 -104
  46. data/test/controllers/manage/resource_controller_test.rb +0 -9
  47. data/test/dummy/config/routes.rb +0 -4
  48. data/test/helpers/manage/resource_helper_test.rb +0 -6
  49. data/test/integration/navigation_test.rb +0 -10
  50. data/test/manage_test.rb +0 -7
  51. data/test/test_helper.rb +0 -15
  52. /data/{test → spec}/dummy/README.rdoc +0 -0
  53. /data/{test → spec}/dummy/Rakefile +0 -0
  54. /data/{test → spec}/dummy/app/assets/javascripts/application.js +0 -0
  55. /data/{test → spec}/dummy/app/assets/stylesheets/application.css +0 -0
  56. /data/{test → spec}/dummy/app/controllers/application_controller.rb +0 -0
  57. /data/{test → spec}/dummy/app/helpers/application_helper.rb +0 -0
  58. /data/{test → spec}/dummy/app/views/layouts/application.html.erb +0 -0
  59. /data/{test → spec}/dummy/bin/bundle +0 -0
  60. /data/{test → spec}/dummy/bin/rails +0 -0
  61. /data/{test → spec}/dummy/bin/rake +0 -0
  62. /data/{test → spec}/dummy/config/boot.rb +0 -0
  63. /data/{test → spec}/dummy/config/environment.rb +0 -0
  64. /data/{test → spec}/dummy/config/environments/development.rb +0 -0
  65. /data/{test → spec}/dummy/config/environments/production.rb +0 -0
  66. /data/{test → spec}/dummy/config/environments/test.rb +0 -0
  67. /data/{test → spec}/dummy/config/initializers/backtrace_silencers.rb +0 -0
  68. /data/{test → spec}/dummy/config/initializers/filter_parameter_logging.rb +0 -0
  69. /data/{test → spec}/dummy/config/initializers/inflections.rb +0 -0
  70. /data/{test → spec}/dummy/config/initializers/mime_types.rb +0 -0
  71. /data/{test → spec}/dummy/config/initializers/secret_token.rb +0 -0
  72. /data/{test → spec}/dummy/config/initializers/session_store.rb +0 -0
  73. /data/{test → spec}/dummy/config/initializers/wrap_parameters.rb +0 -0
  74. /data/{test → spec}/dummy/config/locales/en.yml +0 -0
  75. /data/{test → spec}/dummy/config.ru +0 -0
  76. /data/{test → spec}/dummy/public/404.html +0 -0
  77. /data/{test → spec}/dummy/public/422.html +0 -0
  78. /data/{test → spec}/dummy/public/500.html +0 -0
  79. /data/{test → spec}/dummy/public/favicon.ico +0 -0
@@ -0,0 +1,53 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20131204142720) do
15
+
16
+ create_table "admin_users", force: true do |t|
17
+ t.string "email", default: "", null: false
18
+ t.string "encrypted_password", default: "", null: false
19
+ t.string "reset_password_token"
20
+ t.datetime "reset_password_sent_at"
21
+ t.datetime "remember_created_at"
22
+ t.integer "sign_in_count", default: 0
23
+ t.datetime "current_sign_in_at"
24
+ t.datetime "last_sign_in_at"
25
+ t.string "current_sign_in_ip"
26
+ t.string "last_sign_in_ip"
27
+ t.integer "failed_attempts", default: 0
28
+ t.string "unlock_token"
29
+ t.datetime "locked_at"
30
+ t.datetime "created_at"
31
+ t.datetime "updated_at"
32
+ end
33
+
34
+ add_index "admin_users", ["email"], name: "index_admin_users_on_email", unique: true
35
+ add_index "admin_users", ["reset_password_token"], name: "index_admin_users_on_reset_password_token", unique: true
36
+
37
+ create_table "posts", force: true do |t|
38
+ t.text "content"
39
+ t.datetime "created_at"
40
+ t.datetime "updated_at"
41
+ t.integer "user_id"
42
+ end
43
+
44
+ add_index "posts", ["user_id"], name: "index_posts_on_user_id"
45
+
46
+ create_table "users", force: true do |t|
47
+ t.string "username"
48
+ t.string "email", null: false
49
+ t.datetime "created_at"
50
+ t.datetime "updated_at"
51
+ end
52
+
53
+ end
@@ -0,0 +1,79 @@
1
+ require 'spec_helper'
2
+
3
+ module Manage
4
+ module Fields
5
+ describe Reader do
6
+
7
+ it 'gets the right field value by using the field name represented as symbol' do
8
+ test_object = Object.new
9
+
10
+ mock_value = 'I am here!!!'
11
+ test_object.stub(:me) {mock_value}
12
+
13
+ value = Reader.field_value(test_object, :me)
14
+ value.should eq(mock_value)
15
+ end
16
+
17
+ it 'gets the right field value by using the field name represented as string' do
18
+ test_object = Object.new
19
+
20
+ mock_value = 'I am you and you are me'
21
+ test_object.stub(:me) {mock_value}
22
+
23
+ value = Reader.field_value(test_object, 'me')
24
+ value.should eq(mock_value)
25
+ end
26
+
27
+ it 'gets the right field value by using the composite field of the type "a.b.c"' do
28
+ test_object = Object.new
29
+
30
+ mock_value = 'Deep hidden stuff!'
31
+ test_object.stub(:me) do
32
+ test_object_level_two = Object.new
33
+ test_object_level_two.stub(:you) do
34
+ test_object_level_three = Object.new
35
+ test_object_level_three.stub(:we) {mock_value}
36
+ test_object_level_three
37
+ end
38
+
39
+ test_object_level_two
40
+ end
41
+
42
+ value = Reader.field_value(test_object, 'me.you.we')
43
+ value.should eq(mock_value)
44
+ end
45
+
46
+ it 'can work with relations one level deep' do
47
+ Reader.stub(:'_is_field_relation?') {true}
48
+
49
+ test_object = Object.new
50
+ test_object.stub(:list) {[Struct.new(:id).new(5), Struct.new(:id).new(6)]}
51
+
52
+ value = Reader.field_value(test_object, 'list')
53
+ value.should_not be_nil
54
+ value.should be_a(String)
55
+ value.should include('5', '6')
56
+ end
57
+
58
+ it 'displays relation values in custom format' do
59
+ Reader.stub(:'_is_field_relation?') {true}
60
+
61
+ test_object = Object.new
62
+ test_object.stub(:list) {[
63
+ Struct.new(:id, :name).new(5, 'meddle'),
64
+ Struct.new(:id, :name).new(6, 'nickolay')
65
+ ]}
66
+
67
+ field_data = {'list' => {
68
+ format: ->(obj) { obj.name }
69
+ }}
70
+
71
+ value = Reader.field_value(test_object, field_data)
72
+ value.should_not be_nil
73
+ value.should be_a(String)
74
+ value.should include('meddle', 'nickolay')
75
+ end
76
+
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,24 @@
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+
3
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
4
+ load_schema = lambda {
5
+ load "#{Rails.root.to_s}/db/schema.rb" # use db agnostic schema by default
6
+ }
7
+ silence_stream(STDOUT, &load_schema)
8
+
9
+
10
+ require 'rspec/rails'
11
+ require 'rspec/autorun'
12
+
13
+ Rails.backtrace_cleaner.remove_silencers!
14
+
15
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
16
+
17
+ RSpec.configure do |config|
18
+ config.mock_with :rspec
19
+ config.use_transactional_fixtures = true
20
+ config.infer_base_class_for_anonymous_controllers = false
21
+ config.order = "random"
22
+ config.include Devise::TestHelpers, :type => :controller
23
+ config.include Manage::Engine.routes.url_helpers
24
+ end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
5
- prerelease:
4
+ version: 1.3.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Empower United
@@ -10,12 +9,11 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-08-28 00:00:00.000000000 Z
12
+ date: 2013-12-06 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rails
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
18
  - - ~>
21
19
  - !ruby/object:Gem::Version
@@ -23,7 +21,6 @@ dependencies:
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
25
  - - ~>
29
26
  - !ruby/object:Gem::Version
@@ -31,7 +28,6 @@ dependencies:
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: inherited_resources
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
32
  - - '>='
37
33
  - !ruby/object:Gem::Version
@@ -39,7 +35,6 @@ dependencies:
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
39
  - - '>='
45
40
  - !ruby/object:Gem::Version
@@ -47,7 +42,6 @@ dependencies:
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: kaminari
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
46
  - - '>='
53
47
  - !ruby/object:Gem::Version
@@ -55,7 +49,6 @@ dependencies:
55
49
  type: :runtime
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
53
  - - '>='
61
54
  - !ruby/object:Gem::Version
@@ -63,7 +56,6 @@ dependencies:
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: slim
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
60
  - - '>='
69
61
  - !ruby/object:Gem::Version
@@ -71,7 +63,6 @@ dependencies:
71
63
  type: :runtime
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
67
  - - '>='
77
68
  - !ruby/object:Gem::Version
@@ -79,7 +70,6 @@ dependencies:
79
70
  - !ruby/object:Gem::Dependency
80
71
  name: slim-rails
81
72
  requirement: !ruby/object:Gem::Requirement
82
- none: false
83
73
  requirements:
84
74
  - - '>='
85
75
  - !ruby/object:Gem::Version
@@ -87,7 +77,6 @@ dependencies:
87
77
  type: :runtime
88
78
  prerelease: false
89
79
  version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
80
  requirements:
92
81
  - - '>='
93
82
  - !ruby/object:Gem::Version
@@ -95,7 +84,6 @@ dependencies:
95
84
  - !ruby/object:Gem::Dependency
96
85
  name: responders
97
86
  requirement: !ruby/object:Gem::Requirement
98
- none: false
99
87
  requirements:
100
88
  - - '>='
101
89
  - !ruby/object:Gem::Version
@@ -103,7 +91,6 @@ dependencies:
103
91
  type: :runtime
104
92
  prerelease: false
105
93
  version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
94
  requirements:
108
95
  - - '>='
109
96
  - !ruby/object:Gem::Version
@@ -111,7 +98,6 @@ dependencies:
111
98
  - !ruby/object:Gem::Dependency
112
99
  name: sass-rails
113
100
  requirement: !ruby/object:Gem::Requirement
114
- none: false
115
101
  requirements:
116
102
  - - ~>
117
103
  - !ruby/object:Gem::Version
@@ -119,7 +105,6 @@ dependencies:
119
105
  type: :runtime
120
106
  prerelease: false
121
107
  version_requirements: !ruby/object:Gem::Requirement
122
- none: false
123
108
  requirements:
124
109
  - - ~>
125
110
  - !ruby/object:Gem::Version
@@ -127,7 +112,6 @@ dependencies:
127
112
  - !ruby/object:Gem::Dependency
128
113
  name: coffee-rails
129
114
  requirement: !ruby/object:Gem::Requirement
130
- none: false
131
115
  requirements:
132
116
  - - ~>
133
117
  - !ruby/object:Gem::Version
@@ -135,7 +119,6 @@ dependencies:
135
119
  type: :runtime
136
120
  prerelease: false
137
121
  version_requirements: !ruby/object:Gem::Requirement
138
- none: false
139
122
  requirements:
140
123
  - - ~>
141
124
  - !ruby/object:Gem::Version
@@ -143,7 +126,6 @@ dependencies:
143
126
  - !ruby/object:Gem::Dependency
144
127
  name: uglifier
145
128
  requirement: !ruby/object:Gem::Requirement
146
- none: false
147
129
  requirements:
148
130
  - - '>='
149
131
  - !ruby/object:Gem::Version
@@ -151,7 +133,6 @@ dependencies:
151
133
  type: :runtime
152
134
  prerelease: false
153
135
  version_requirements: !ruby/object:Gem::Requirement
154
- none: false
155
136
  requirements:
156
137
  - - '>='
157
138
  - !ruby/object:Gem::Version
@@ -159,7 +140,6 @@ dependencies:
159
140
  - !ruby/object:Gem::Dependency
160
141
  name: compass-rails
161
142
  requirement: !ruby/object:Gem::Requirement
162
- none: false
163
143
  requirements:
164
144
  - - '>='
165
145
  - !ruby/object:Gem::Version
@@ -167,7 +147,20 @@ dependencies:
167
147
  type: :runtime
168
148
  prerelease: false
169
149
  version_requirements: !ruby/object:Gem::Requirement
170
- none: false
150
+ requirements:
151
+ - - '>='
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ - !ruby/object:Gem::Dependency
155
+ name: jquery-rails
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - '>='
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ type: :runtime
162
+ prerelease: false
163
+ version_requirements: !ruby/object:Gem::Requirement
171
164
  requirements:
172
165
  - - '>='
173
166
  - !ruby/object:Gem::Version
@@ -175,7 +168,6 @@ dependencies:
175
168
  - !ruby/object:Gem::Dependency
176
169
  name: zurb-foundation
177
170
  requirement: !ruby/object:Gem::Requirement
178
- none: false
179
171
  requirements:
180
172
  - - ~>
181
173
  - !ruby/object:Gem::Version
@@ -183,15 +175,55 @@ dependencies:
183
175
  type: :runtime
184
176
  prerelease: false
185
177
  version_requirements: !ruby/object:Gem::Requirement
186
- none: false
187
178
  requirements:
188
179
  - - ~>
189
180
  - !ruby/object:Gem::Version
190
181
  version: 4.0.0
182
+ - !ruby/object:Gem::Dependency
183
+ name: devise
184
+ requirement: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ~>
187
+ - !ruby/object:Gem::Version
188
+ version: 3.1.0
189
+ type: :runtime
190
+ prerelease: false
191
+ version_requirements: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ~>
194
+ - !ruby/object:Gem::Version
195
+ version: 3.1.0
196
+ - !ruby/object:Gem::Dependency
197
+ name: simple_form
198
+ requirement: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - '>='
201
+ - !ruby/object:Gem::Version
202
+ version: 3.0.0
203
+ type: :runtime
204
+ prerelease: false
205
+ version_requirements: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - '>='
208
+ - !ruby/object:Gem::Version
209
+ version: 3.0.0
210
+ - !ruby/object:Gem::Dependency
211
+ name: search_object
212
+ requirement: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - '>='
215
+ - !ruby/object:Gem::Version
216
+ version: '0'
217
+ type: :runtime
218
+ prerelease: false
219
+ version_requirements: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - '>='
222
+ - !ruby/object:Gem::Version
223
+ version: '0'
191
224
  - !ruby/object:Gem::Dependency
192
225
  name: sqlite3
193
226
  requirement: !ruby/object:Gem::Requirement
194
- none: false
195
227
  requirements:
196
228
  - - '>='
197
229
  - !ruby/object:Gem::Version
@@ -199,7 +231,20 @@ dependencies:
199
231
  type: :development
200
232
  prerelease: false
201
233
  version_requirements: !ruby/object:Gem::Requirement
202
- none: false
234
+ requirements:
235
+ - - '>='
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
238
+ - !ruby/object:Gem::Dependency
239
+ name: rspec-rails
240
+ requirement: !ruby/object:Gem::Requirement
241
+ requirements:
242
+ - - '>='
243
+ - !ruby/object:Gem::Version
244
+ version: '0'
245
+ type: :development
246
+ prerelease: false
247
+ version_requirements: !ruby/object:Gem::Requirement
203
248
  requirements:
204
249
  - - '>='
205
250
  - !ruby/object:Gem::Version
@@ -214,16 +259,18 @@ files:
214
259
  - app/views/layouts/manage/_main_menu.html.slim
215
260
  - app/views/layouts/manage/application.html.slim
216
261
  - app/views/layouts/manage/sign_in.html.slim
217
- - app/views/sessions/new.html.slim
218
262
  - app/views/manage/resource/index.html.slim
219
263
  - app/views/manage/resource/_form.html.slim
220
264
  - app/views/manage/resource/show.html.slim
265
+ - app/views/manage/resource/index/_count.html.slim
221
266
  - app/views/manage/resource/index/_table.html.slim
222
267
  - app/views/manage/resource/index/_filters.html.slim
223
268
  - app/views/manage/resource/index/_scopes.html.slim
224
269
  - app/views/manage/resource/new.html.slim
225
270
  - app/views/manage/resource/edit.html.slim
271
+ - app/views/manage/sessions/new.html.slim
226
272
  - app/views/manage/admin_users/_form.html.slim
273
+ - app/models/admin_user.rb
227
274
  - app/assets/javascripts/manage/application.js
228
275
  - app/assets/javascripts/manage/init.js.coffee
229
276
  - app/assets/stylesheets/manage/application.css.scss
@@ -239,113 +286,125 @@ files:
239
286
  - app/helpers/manage/application_helper.rb
240
287
  - config/routes.rb
241
288
  - config/locales/bg.yml
289
+ - config/locales/devise.en.yml
242
290
  - config/locales/simple_form.en.yml
243
291
  - config/locales/en.yml
292
+ - config/initializers/devise.rb
293
+ - config/initializers/session_store.rb
244
294
  - config/initializers/simple_form_foundation.rb
245
295
  - config/initializers/simple_form.rb
296
+ - db/migrate/20131204142720_create_admin_users.rb
246
297
  - lib/manage/version.rb
298
+ - lib/manage/fields.rb
247
299
  - lib/manage/engine.rb
300
+ - lib/manage/fields/searcher.rb
301
+ - lib/manage/fields/reader.rb
248
302
  - lib/manage.rb
249
303
  - lib/tasks/manage_tasks.rake
250
304
  - lib/templates/erb/scaffold/_form.html.erb
251
305
  - MIT-LICENSE
252
306
  - Rakefile
253
307
  - README.rdoc
254
- - test/integration/navigation_test.rb
255
- - test/dummy/Rakefile
256
- - test/dummy/README.rdoc
257
- - test/dummy/bin/rails
258
- - test/dummy/bin/rake
259
- - test/dummy/bin/bundle
260
- - test/dummy/config/boot.rb
261
- - test/dummy/config/routes.rb
262
- - test/dummy/config/environment.rb
263
- - test/dummy/config/database.yml
264
- - test/dummy/config/locales/en.yml
265
- - test/dummy/config/initializers/inflections.rb
266
- - test/dummy/config/initializers/session_store.rb
267
- - test/dummy/config/initializers/mime_types.rb
268
- - test/dummy/config/initializers/backtrace_silencers.rb
269
- - test/dummy/config/initializers/wrap_parameters.rb
270
- - test/dummy/config/initializers/filter_parameter_logging.rb
271
- - test/dummy/config/initializers/secret_token.rb
272
- - test/dummy/config/environments/development.rb
273
- - test/dummy/config/environments/test.rb
274
- - test/dummy/config/environments/production.rb
275
- - test/dummy/config/application.rb
276
- - test/dummy/public/422.html
277
- - test/dummy/public/favicon.ico
278
- - test/dummy/public/500.html
279
- - test/dummy/public/404.html
280
- - test/dummy/config.ru
281
- - test/dummy/app/views/layouts/application.html.erb
282
- - test/dummy/app/assets/javascripts/application.js
283
- - test/dummy/app/assets/stylesheets/application.css
284
- - test/dummy/app/controllers/application_controller.rb
285
- - test/dummy/app/helpers/application_helper.rb
286
- - test/test_helper.rb
287
- - test/manage_test.rb
288
- - test/controllers/manage/resource_controller_test.rb
289
- - test/helpers/manage/resource_helper_test.rb
308
+ - spec/fields/reader_spec.rb
309
+ - spec/dummy/Rakefile
310
+ - spec/dummy/README.rdoc
311
+ - spec/dummy/bin/rails
312
+ - spec/dummy/bin/rake
313
+ - spec/dummy/bin/bundle
314
+ - spec/dummy/config/boot.rb
315
+ - spec/dummy/config/routes.rb
316
+ - spec/dummy/config/environment.rb
317
+ - spec/dummy/config/database.yml
318
+ - spec/dummy/config/locales/en.yml
319
+ - spec/dummy/config/initializers/inflections.rb
320
+ - spec/dummy/config/initializers/session_store.rb
321
+ - spec/dummy/config/initializers/mime_types.rb
322
+ - spec/dummy/config/initializers/backtrace_silencers.rb
323
+ - spec/dummy/config/initializers/wrap_parameters.rb
324
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
325
+ - spec/dummy/config/initializers/secret_token.rb
326
+ - spec/dummy/config/environments/development.rb
327
+ - spec/dummy/config/environments/test.rb
328
+ - spec/dummy/config/environments/production.rb
329
+ - spec/dummy/config/application.rb
330
+ - spec/dummy/public/422.html
331
+ - spec/dummy/public/favicon.ico
332
+ - spec/dummy/public/500.html
333
+ - spec/dummy/public/404.html
334
+ - spec/dummy/db/schema.rb
335
+ - spec/dummy/db/migrate/20130716083410_init_migration.rb
336
+ - spec/dummy/config.ru
337
+ - spec/dummy/app/views/layouts/application.html.erb
338
+ - spec/dummy/app/models/post.rb
339
+ - spec/dummy/app/models/user.rb
340
+ - spec/dummy/app/assets/javascripts/application.js
341
+ - spec/dummy/app/assets/stylesheets/application.css
342
+ - spec/dummy/app/controllers/manage/posts_controller.rb
343
+ - spec/dummy/app/controllers/application_controller.rb
344
+ - spec/dummy/app/helpers/application_helper.rb
345
+ - spec/controllers/manage/resource_controller_spec.rb
346
+ - spec/spec_helper.rb
290
347
  homepage: https://github.com/empowerunited/manage
291
348
  licenses:
292
349
  - MIT
350
+ metadata: {}
293
351
  post_install_message:
294
352
  rdoc_options: []
295
353
  require_paths:
296
354
  - lib
297
355
  required_ruby_version: !ruby/object:Gem::Requirement
298
- none: false
299
356
  requirements:
300
357
  - - '>='
301
358
  - !ruby/object:Gem::Version
302
359
  version: '0'
303
360
  required_rubygems_version: !ruby/object:Gem::Requirement
304
- none: false
305
361
  requirements:
306
362
  - - '>='
307
363
  - !ruby/object:Gem::Version
308
364
  version: '0'
309
365
  requirements: []
310
366
  rubyforge_project:
311
- rubygems_version: 1.8.25
367
+ rubygems_version: 2.1.11
312
368
  signing_key:
313
- specification_version: 3
369
+ specification_version: 4
314
370
  summary: Empower Unitited Manage Backend
315
371
  test_files:
316
- - test/integration/navigation_test.rb
317
- - test/dummy/Rakefile
318
- - test/dummy/README.rdoc
319
- - test/dummy/bin/rails
320
- - test/dummy/bin/rake
321
- - test/dummy/bin/bundle
322
- - test/dummy/config/boot.rb
323
- - test/dummy/config/routes.rb
324
- - test/dummy/config/environment.rb
325
- - test/dummy/config/database.yml
326
- - test/dummy/config/locales/en.yml
327
- - test/dummy/config/initializers/inflections.rb
328
- - test/dummy/config/initializers/session_store.rb
329
- - test/dummy/config/initializers/mime_types.rb
330
- - test/dummy/config/initializers/backtrace_silencers.rb
331
- - test/dummy/config/initializers/wrap_parameters.rb
332
- - test/dummy/config/initializers/filter_parameter_logging.rb
333
- - test/dummy/config/initializers/secret_token.rb
334
- - test/dummy/config/environments/development.rb
335
- - test/dummy/config/environments/test.rb
336
- - test/dummy/config/environments/production.rb
337
- - test/dummy/config/application.rb
338
- - test/dummy/public/422.html
339
- - test/dummy/public/favicon.ico
340
- - test/dummy/public/500.html
341
- - test/dummy/public/404.html
342
- - test/dummy/config.ru
343
- - test/dummy/app/views/layouts/application.html.erb
344
- - test/dummy/app/assets/javascripts/application.js
345
- - test/dummy/app/assets/stylesheets/application.css
346
- - test/dummy/app/controllers/application_controller.rb
347
- - test/dummy/app/helpers/application_helper.rb
348
- - test/test_helper.rb
349
- - test/manage_test.rb
350
- - test/controllers/manage/resource_controller_test.rb
351
- - test/helpers/manage/resource_helper_test.rb
372
+ - spec/fields/reader_spec.rb
373
+ - spec/dummy/Rakefile
374
+ - spec/dummy/README.rdoc
375
+ - spec/dummy/bin/rails
376
+ - spec/dummy/bin/rake
377
+ - spec/dummy/bin/bundle
378
+ - spec/dummy/config/boot.rb
379
+ - spec/dummy/config/routes.rb
380
+ - spec/dummy/config/environment.rb
381
+ - spec/dummy/config/database.yml
382
+ - spec/dummy/config/locales/en.yml
383
+ - spec/dummy/config/initializers/inflections.rb
384
+ - spec/dummy/config/initializers/session_store.rb
385
+ - spec/dummy/config/initializers/mime_types.rb
386
+ - spec/dummy/config/initializers/backtrace_silencers.rb
387
+ - spec/dummy/config/initializers/wrap_parameters.rb
388
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
389
+ - spec/dummy/config/initializers/secret_token.rb
390
+ - spec/dummy/config/environments/development.rb
391
+ - spec/dummy/config/environments/test.rb
392
+ - spec/dummy/config/environments/production.rb
393
+ - spec/dummy/config/application.rb
394
+ - spec/dummy/public/422.html
395
+ - spec/dummy/public/favicon.ico
396
+ - spec/dummy/public/500.html
397
+ - spec/dummy/public/404.html
398
+ - spec/dummy/db/schema.rb
399
+ - spec/dummy/db/migrate/20130716083410_init_migration.rb
400
+ - spec/dummy/config.ru
401
+ - spec/dummy/app/views/layouts/application.html.erb
402
+ - spec/dummy/app/models/post.rb
403
+ - spec/dummy/app/models/user.rb
404
+ - spec/dummy/app/assets/javascripts/application.js
405
+ - spec/dummy/app/assets/stylesheets/application.css
406
+ - spec/dummy/app/controllers/manage/posts_controller.rb
407
+ - spec/dummy/app/controllers/application_controller.rb
408
+ - spec/dummy/app/helpers/application_helper.rb
409
+ - spec/controllers/manage/resource_controller_spec.rb
410
+ - spec/spec_helper.rb
@@ -1,9 +0,0 @@
1
- require 'test_helper'
2
-
3
- module Manage
4
- class ResourceControllerTest < ActionController::TestCase
5
- # test "the truth" do
6
- # assert true
7
- # end
8
- end
9
- end
@@ -1,4 +0,0 @@
1
- Rails.application.routes.draw do
2
-
3
- mount Manage::Engine => "/manage"
4
- end
@@ -1,6 +0,0 @@
1
- require 'test_helper'
2
-
3
- module Manage
4
- class ResourceHelperTest < ActionView::TestCase
5
- end
6
- end
@@ -1,10 +0,0 @@
1
- require 'test_helper'
2
-
3
- class NavigationTest < ActionDispatch::IntegrationTest
4
- fixtures :all
5
-
6
- # test "the truth" do
7
- # assert true
8
- # end
9
- end
10
-