introspective_admin 0.0.8 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +5 -5
  2. data/.DS_Store +0 -0
  3. data/.ruby-version +1 -0
  4. data/.travis.yml +16 -9
  5. data/CHANGELOG.md +28 -15
  6. data/Gemfile +6 -6
  7. data/Gemfile.lock +264 -247
  8. data/Gemfile.lock.rails4 +256 -0
  9. data/introspective_admin.gemspec +44 -41
  10. data/lib/introspective_admin/base.rb +200 -200
  11. data/lib/introspective_admin/version.rb +3 -3
  12. data/spec/admin/company_admin_spec.rb +72 -72
  13. data/spec/admin/job_admin_spec.rb +61 -61
  14. data/spec/admin/location_admin_spec.rb +66 -66
  15. data/spec/admin/location_beacon_admin_spec.rb +73 -73
  16. data/spec/admin/project__admin_spec.rb +71 -71
  17. data/spec/admin/user_admin_spec.rb +64 -64
  18. data/spec/dummy/README.rdoc +28 -28
  19. data/spec/dummy/Rakefile +6 -6
  20. data/spec/dummy/app/admin/company_admin.rb +4 -4
  21. data/spec/dummy/app/admin/job_admin.rb +4 -4
  22. data/spec/dummy/app/admin/location_admin.rb +4 -4
  23. data/spec/dummy/app/admin/location_beacon_admin.rb +6 -6
  24. data/spec/dummy/app/admin/project_admin.rb +6 -6
  25. data/spec/dummy/app/admin/role_admin.rb +5 -5
  26. data/spec/dummy/app/admin/user_admin.rb +13 -13
  27. data/spec/dummy/app/assets/javascripts/application.js +13 -13
  28. data/spec/dummy/app/assets/stylesheets/application.css +15 -15
  29. data/spec/dummy/app/controllers/application_controller.rb +8 -5
  30. data/spec/dummy/app/helpers/application_helper.rb +3 -2
  31. data/spec/dummy/app/models/abstract_adapter.rb +12 -12
  32. data/spec/dummy/app/models/admin_user.rb +6 -6
  33. data/spec/dummy/app/models/company.rb +12 -12
  34. data/spec/dummy/app/models/job.rb +10 -10
  35. data/spec/dummy/app/models/locatable.rb +6 -6
  36. data/spec/dummy/app/models/location.rb +26 -26
  37. data/spec/dummy/app/models/location_beacon.rb +19 -19
  38. data/spec/dummy/app/models/location_gps.rb +11 -11
  39. data/spec/dummy/app/models/project.rb +20 -20
  40. data/spec/dummy/app/models/project_job.rb +7 -7
  41. data/spec/dummy/app/models/role.rb +25 -25
  42. data/spec/dummy/app/models/team.rb +9 -9
  43. data/spec/dummy/app/models/team_user.rb +13 -13
  44. data/spec/dummy/app/models/user.rb +68 -68
  45. data/spec/dummy/app/models/user_location.rb +28 -28
  46. data/spec/dummy/app/models/user_project_job.rb +16 -16
  47. data/spec/dummy/app/views/layouts/application.html.erb +13 -13
  48. data/spec/dummy/bin/bundle +3 -3
  49. data/spec/dummy/bin/rails +4 -4
  50. data/spec/dummy/bin/rake +4 -4
  51. data/spec/dummy/bin/setup +29 -29
  52. data/spec/dummy/config/application.rb +34 -32
  53. data/spec/dummy/config/boot.rb +5 -5
  54. data/spec/dummy/config/database.yml +22 -22
  55. data/spec/dummy/config/environment.rb +11 -11
  56. data/spec/dummy/config/environments/development.rb +45 -41
  57. data/spec/dummy/config/environments/production.rb +82 -79
  58. data/spec/dummy/config/environments/test.rb +50 -43
  59. data/spec/dummy/config/initializers/active_admin.rb +7 -7
  60. data/spec/dummy/config/initializers/assets.rb +13 -11
  61. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -7
  62. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -3
  63. data/spec/dummy/config/initializers/devise.rb +263 -263
  64. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -4
  65. data/spec/dummy/config/initializers/inflections.rb +16 -16
  66. data/spec/dummy/config/initializers/mime_types.rb +4 -4
  67. data/spec/dummy/config/initializers/session_store.rb +3 -3
  68. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -14
  69. data/spec/dummy/config/locales/devise.en.yml +60 -60
  70. data/spec/dummy/config/locales/en.yml +23 -23
  71. data/spec/dummy/config/routes.rb +9 -9
  72. data/spec/dummy/config/secrets.yml +20 -20
  73. data/spec/dummy/config.ru +4 -4
  74. data/spec/dummy/db/development.sqlite3 +0 -0
  75. data/spec/dummy/db/migrate/20141002205024_devise_create_users.rb +42 -42
  76. data/spec/dummy/db/migrate/20141002211055_devise_create_admin_users.rb +48 -48
  77. data/spec/dummy/db/migrate/20141002211057_create_active_admin_comments.rb +19 -19
  78. data/spec/dummy/db/migrate/20141002220722_add_lockable_to_users.rb +8 -8
  79. data/spec/dummy/db/migrate/20150406213646_create_companies.rb +11 -11
  80. data/spec/dummy/db/migrate/20150414213154_add_user_authentication_token.rb +11 -11
  81. data/spec/dummy/db/migrate/20150415222005_create_roles.rb +12 -12
  82. data/spec/dummy/db/migrate/20150505181635_create_chats.rb +9 -9
  83. data/spec/dummy/db/migrate/20150505181636_create_chat_users.rb +11 -11
  84. data/spec/dummy/db/migrate/20150505181640_create_chat_messages.rb +11 -11
  85. data/spec/dummy/db/migrate/20150507191529_create_chat_message_users.rb +11 -11
  86. data/spec/dummy/db/migrate/20150601200526_create_locations.rb +13 -13
  87. data/spec/dummy/db/migrate/20150601200533_create_locatables.rb +10 -10
  88. data/spec/dummy/db/migrate/20150601212924_create_location_beacons.rb +16 -16
  89. data/spec/dummy/db/migrate/20150601213542_create_location_gps.rb +12 -12
  90. data/spec/dummy/db/migrate/20150609201823_create_user_locations.rb +14 -14
  91. data/spec/dummy/db/migrate/20150617232519_create_projects.rb +10 -10
  92. data/spec/dummy/db/migrate/20150617232521_create_jobs.rb +9 -9
  93. data/spec/dummy/db/migrate/20150617232522_create_project_jobs.rb +11 -11
  94. data/spec/dummy/db/migrate/20150623170133_create_user_project_jobs.rb +12 -12
  95. data/spec/dummy/db/migrate/20150701234929_create_teams.rb +11 -11
  96. data/spec/dummy/db/migrate/20150701234930_create_team_users.rb +11 -11
  97. data/spec/dummy/db/migrate/20150727214950_add_confirmable_to_devise.rb +11 -11
  98. data/spec/dummy/db/migrate/20150820190524_add_user_names.rb +6 -6
  99. data/spec/dummy/db/migrate/20150909225019_add_password_to_project.rb +5 -5
  100. data/spec/dummy/db/schema.rb +264 -264
  101. data/spec/dummy/public/404.html +67 -67
  102. data/spec/dummy/public/422.html +67 -67
  103. data/spec/dummy/public/500.html +66 -66
  104. data/spec/rails_helper.rb +27 -24
  105. metadata +84 -12
@@ -0,0 +1,256 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ introspective_admin (0.0.8)
5
+ activeadmin (~> 1.0)
6
+ rails
7
+ sass-rails
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actionmailer (4.2.11.1)
13
+ actionpack (= 4.2.11.1)
14
+ actionview (= 4.2.11.1)
15
+ activejob (= 4.2.11.1)
16
+ mail (~> 2.5, >= 2.5.4)
17
+ rails-dom-testing (~> 1.0, >= 1.0.5)
18
+ actionpack (4.2.11.1)
19
+ actionview (= 4.2.11.1)
20
+ activesupport (= 4.2.11.1)
21
+ rack (~> 1.6)
22
+ rack-test (~> 0.6.2)
23
+ rails-dom-testing (~> 1.0, >= 1.0.5)
24
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
+ actionview (4.2.11.1)
26
+ activesupport (= 4.2.11.1)
27
+ builder (~> 3.1)
28
+ erubis (~> 2.7.0)
29
+ rails-dom-testing (~> 1.0, >= 1.0.5)
30
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
31
+ activeadmin (1.4.3)
32
+ arbre (>= 1.1.1)
33
+ coffee-rails
34
+ formtastic (~> 3.1)
35
+ formtastic_i18n
36
+ inherited_resources (>= 1.9.0)
37
+ jquery-rails (>= 4.2.0)
38
+ kaminari (>= 0.15)
39
+ railties (>= 4.2, < 5.3)
40
+ ransack (>= 1.8.7)
41
+ sass (~> 3.1)
42
+ sprockets (< 4.1)
43
+ activejob (4.2.11.1)
44
+ activesupport (= 4.2.11.1)
45
+ globalid (>= 0.3.0)
46
+ activemodel (4.2.11.1)
47
+ activesupport (= 4.2.11.1)
48
+ builder (~> 3.1)
49
+ activerecord (4.2.11.1)
50
+ activemodel (= 4.2.11.1)
51
+ activesupport (= 4.2.11.1)
52
+ arel (~> 6.0)
53
+ activesupport (4.2.11.1)
54
+ i18n (~> 0.7)
55
+ minitest (~> 5.1)
56
+ thread_safe (~> 0.3, >= 0.3.4)
57
+ tzinfo (~> 1.1)
58
+ arbre (1.1.1)
59
+ activesupport (>= 3.0.0)
60
+ arel (6.0.4)
61
+ bcrypt (3.1.12)
62
+ builder (3.2.3)
63
+ coffee-rails (4.2.2)
64
+ coffee-script (>= 2.2.0)
65
+ railties (>= 4.0.0)
66
+ coffee-script (2.4.1)
67
+ coffee-script-source
68
+ execjs
69
+ coffee-script-source (1.12.2)
70
+ concurrent-ruby (1.1.5)
71
+ coveralls (0.8.9)
72
+ json (~> 1.8)
73
+ rest-client (>= 1.6.8, < 2)
74
+ simplecov (~> 0.10.0)
75
+ term-ansicolor (~> 1.3)
76
+ thor (~> 0.19.1)
77
+ tins (~> 1.6.0)
78
+ crass (1.0.4)
79
+ devise (4.6.2)
80
+ bcrypt (~> 3.0)
81
+ orm_adapter (~> 0.1)
82
+ railties (>= 4.1.0, < 6.0)
83
+ responders
84
+ warden (~> 1.2.3)
85
+ devise-async (0.7.0)
86
+ devise (>= 2.2)
87
+ diff-lcs (1.2.5)
88
+ docile (1.1.5)
89
+ domain_name (0.5.20160310)
90
+ unf (>= 0.0.5, < 1.0.0)
91
+ erubis (2.7.0)
92
+ execjs (2.7.0)
93
+ ffi (1.10.0)
94
+ formtastic (3.1.5)
95
+ actionpack (>= 3.2.13)
96
+ formtastic_i18n (0.6.0)
97
+ globalid (0.4.2)
98
+ activesupport (>= 4.2.0)
99
+ has_scope (0.7.2)
100
+ actionpack (>= 4.1)
101
+ activesupport (>= 4.1)
102
+ http-cookie (1.0.2)
103
+ domain_name (~> 0.5)
104
+ i18n (0.9.5)
105
+ concurrent-ruby (~> 1.0)
106
+ inherited_resources (1.9.0)
107
+ actionpack (>= 4.2, < 5.3)
108
+ has_scope (~> 0.6)
109
+ railties (>= 4.2, < 5.3)
110
+ responders
111
+ jquery-rails (4.3.3)
112
+ rails-dom-testing (>= 1, < 3)
113
+ railties (>= 4.2.0)
114
+ thor (>= 0.14, < 2.0)
115
+ json (1.8.6)
116
+ kaminari (1.1.1)
117
+ activesupport (>= 4.1.0)
118
+ kaminari-actionview (= 1.1.1)
119
+ kaminari-activerecord (= 1.1.1)
120
+ kaminari-core (= 1.1.1)
121
+ kaminari-actionview (1.1.1)
122
+ actionview
123
+ kaminari-core (= 1.1.1)
124
+ kaminari-activerecord (1.1.1)
125
+ activerecord
126
+ kaminari-core (= 1.1.1)
127
+ kaminari-core (1.1.1)
128
+ loofah (2.2.3)
129
+ crass (~> 1.0.2)
130
+ nokogiri (>= 1.5.9)
131
+ machinist (2.0)
132
+ mail (2.7.1)
133
+ mini_mime (>= 0.1.1)
134
+ mime-types (2.99.3)
135
+ mini_mime (1.0.1)
136
+ mini_portile2 (2.4.0)
137
+ minitest (5.11.3)
138
+ netrc (0.11.0)
139
+ nokogiri (1.10.2)
140
+ mini_portile2 (~> 2.4.0)
141
+ orm_adapter (0.5.0)
142
+ rack (1.6.11)
143
+ rack-test (0.6.3)
144
+ rack (>= 1.0)
145
+ rails (4.2.11.1)
146
+ actionmailer (= 4.2.11.1)
147
+ actionpack (= 4.2.11.1)
148
+ actionview (= 4.2.11.1)
149
+ activejob (= 4.2.11.1)
150
+ activemodel (= 4.2.11.1)
151
+ activerecord (= 4.2.11.1)
152
+ activesupport (= 4.2.11.1)
153
+ bundler (>= 1.3.0, < 2.0)
154
+ railties (= 4.2.11.1)
155
+ sprockets-rails
156
+ rails-deprecated_sanitizer (1.0.3)
157
+ activesupport (>= 4.2.0.alpha)
158
+ rails-dom-testing (1.0.9)
159
+ activesupport (>= 4.2.0, < 5.0)
160
+ nokogiri (~> 1.6)
161
+ rails-deprecated_sanitizer (>= 1.0.1)
162
+ rails-html-sanitizer (1.0.4)
163
+ loofah (~> 2.2, >= 2.2.2)
164
+ railties (4.2.11.1)
165
+ actionpack (= 4.2.11.1)
166
+ activesupport (= 4.2.11.1)
167
+ rake (>= 0.8.7)
168
+ thor (>= 0.18.1, < 2.0)
169
+ rake (12.3.2)
170
+ ransack (1.8.10)
171
+ actionpack (>= 3.0, < 5.2)
172
+ activerecord (>= 3.0, < 5.2)
173
+ activesupport (>= 3.0, < 5.2)
174
+ i18n
175
+ rb-fsevent (0.10.3)
176
+ rb-inotify (0.10.0)
177
+ ffi (~> 1.0)
178
+ responders (2.4.1)
179
+ actionpack (>= 4.2.0, < 6.0)
180
+ railties (>= 4.2.0, < 6.0)
181
+ rest-client (1.8.0)
182
+ http-cookie (>= 1.0.2, < 2.0)
183
+ mime-types (>= 1.16, < 3.0)
184
+ netrc (~> 0.7)
185
+ rspec-core (3.3.2)
186
+ rspec-support (~> 3.3.0)
187
+ rspec-expectations (3.3.1)
188
+ diff-lcs (>= 1.2.0, < 2.0)
189
+ rspec-support (~> 3.3.0)
190
+ rspec-mocks (3.3.2)
191
+ diff-lcs (>= 1.2.0, < 2.0)
192
+ rspec-support (~> 3.3.0)
193
+ rspec-rails (3.3.3)
194
+ actionpack (>= 3.0, < 4.3)
195
+ activesupport (>= 3.0, < 4.3)
196
+ railties (>= 3.0, < 4.3)
197
+ rspec-core (~> 3.3.0)
198
+ rspec-expectations (~> 3.3.0)
199
+ rspec-mocks (~> 3.3.0)
200
+ rspec-support (~> 3.3.0)
201
+ rspec-support (3.3.0)
202
+ rufus-mnemo (1.2.3)
203
+ sass (3.7.3)
204
+ sass-listen (~> 4.0.0)
205
+ sass-listen (4.0.0)
206
+ rb-fsevent (~> 0.9, >= 0.9.4)
207
+ rb-inotify (~> 0.9, >= 0.9.7)
208
+ sass-rails (5.0.7)
209
+ railties (>= 4.0.0, < 6)
210
+ sass (~> 3.1)
211
+ sprockets (>= 2.8, < 4.0)
212
+ sprockets-rails (>= 2.0, < 4.0)
213
+ tilt (>= 1.1, < 3)
214
+ simplecov (0.10.0)
215
+ docile (~> 1.1.0)
216
+ json (~> 1.8)
217
+ simplecov-html (~> 0.10.0)
218
+ simplecov-html (0.10.0)
219
+ sprockets (3.7.2)
220
+ concurrent-ruby (~> 1.0)
221
+ rack (> 1, < 3)
222
+ sprockets-rails (3.2.1)
223
+ actionpack (>= 4.0)
224
+ activesupport (>= 4.0)
225
+ sprockets (>= 3.0.0)
226
+ sqlite3 (1.3.11)
227
+ term-ansicolor (1.3.2)
228
+ tins (~> 1.0)
229
+ thor (0.19.4)
230
+ thread_safe (0.3.6)
231
+ tilt (2.0.9)
232
+ tins (1.6.0)
233
+ tzinfo (1.2.5)
234
+ thread_safe (~> 0.1)
235
+ unf (0.1.4)
236
+ unf_ext
237
+ unf_ext (0.0.7.2)
238
+ warden (1.2.7)
239
+ rack (>= 1.0)
240
+
241
+ PLATFORMS
242
+ ruby
243
+
244
+ DEPENDENCIES
245
+ coveralls
246
+ devise
247
+ devise-async
248
+ introspective_admin!
249
+ machinist
250
+ rspec-rails (>= 3.0, < 5.0)
251
+ rufus-mnemo
252
+ simplecov
253
+ sqlite3
254
+
255
+ BUNDLED WITH
256
+ 1.16.1
@@ -1,41 +1,44 @@
1
- $:.push File.expand_path("../lib", __FILE__)
2
-
3
- # Maintain your gem's version:
4
- require "introspective_admin/version"
5
- require "introspective_admin/base"
6
-
7
- # Describe your gem and declare its dependencies:
8
- Gem::Specification.new do |s|
9
- s.name = "introspective_admin"
10
- s.version = IntrospectiveAdmin::VERSION
11
- s.authors = ["Josh Buermann"]
12
- s.email = ["buermann@gmail.com"]
13
- s.homepage = "https://github.com/buermann/introspective_admin"
14
- s.summary = "Set up basic ActiveAdmin screens for an ActiveRecord model."
15
- s.description = "Set up basic ActiveAdmin screens for an ActiveRecord model."
16
- s.license = "MIT"
17
-
18
- s.files = `git ls-files`.split("\n").sort
19
- s.test_files = `git ls-files -- spec/*`.split("\n")
20
-
21
- s.required_ruby_version = '>= 1.9.3'
22
-
23
- s.add_dependency 'sass-rails'
24
-
25
- if RUBY_PLATFORM == 'java'
26
- s.add_development_dependency "activerecord-jdbcsqlite3-adapter"
27
- else
28
- s.add_development_dependency "sqlite3"
29
- if RUBY_VERSION > '2.0.0'
30
- #s.add_development_dependency 'byebug'
31
- end
32
- end
33
- s.add_development_dependency "rspec-rails", '>= 3.0'
34
- s.add_development_dependency 'devise'
35
- s.add_development_dependency 'devise-async'
36
- s.add_development_dependency 'machinist'
37
- s.add_development_dependency 'simplecov'
38
- s.add_development_dependency 'rufus-mnemo'
39
-
40
- end
41
-
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+
3
+ # Maintain your gem's version:
4
+ require "introspective_admin/version"
5
+ require "introspective_admin/base"
6
+
7
+ # Describe your gem and declare its dependencies:
8
+ Gem::Specification.new do |s|
9
+ s.name = "introspective_admin"
10
+ s.version = IntrospectiveAdmin::VERSION
11
+ s.authors = ["Josh Buermann"]
12
+ s.email = ["buermann@gmail.com"]
13
+ s.homepage = "https://github.com/buermann/introspective_admin"
14
+ s.summary = "Set up basic ActiveAdmin screens for an ActiveRecord model."
15
+ s.description = "Set up basic ActiveAdmin screens for an ActiveRecord model."
16
+ s.license = "MIT"
17
+
18
+ s.files = `git ls-files`.split("\n").sort
19
+ s.test_files = `git ls-files -- spec/*`.split("\n")
20
+
21
+ s.required_ruby_version = '>= 1.9.3'
22
+
23
+ s.add_dependency 'rails'
24
+ s.add_dependency 'activeadmin'
25
+ s.add_dependency 'sass-rails'
26
+ s.add_dependency 'sass'
27
+
28
+
29
+ if RUBY_PLATFORM == 'java'
30
+ s.add_development_dependency "activerecord-jdbcsqlite3-adapter"
31
+ else
32
+ s.add_development_dependency "sqlite3", '~> 1.3.6'
33
+ end
34
+ s.add_development_dependency "rspec-rails"
35
+ s.add_development_dependency 'devise'
36
+ s.add_development_dependency 'devise-async'
37
+ s.add_development_dependency 'machinist_redux'
38
+ s.add_development_dependency 'simplecov'
39
+ s.add_development_dependency 'rufus-mnemo'
40
+ s.add_development_dependency 'rails-controller-testing'
41
+ s.add_development_dependency 'sprockets-rails'
42
+
43
+ end
44
+