introspective_admin 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/Gemfile +5 -0
  4. data/Gemfile.lock +279 -0
  5. data/LICENSE +22 -0
  6. data/MIT-LICENSE +20 -0
  7. data/README.md +52 -0
  8. data/Rakefile +26 -0
  9. data/bin/rails +12 -0
  10. data/introspective_admin.gemspec +38 -0
  11. data/lib/introspective_admin/base.rb +170 -0
  12. data/lib/introspective_admin/version.rb +3 -0
  13. data/lib/introspective_admin.rb +4 -0
  14. data/lib/tasks/introspective_admin_tasks.rake +4 -0
  15. data/spec/admin/company_admin_spec.rb +72 -0
  16. data/spec/admin/job_admin_spec.rb +61 -0
  17. data/spec/admin/location_admin_spec.rb +65 -0
  18. data/spec/admin/project__admin_spec.rb +71 -0
  19. data/spec/dummy/README.rdoc +28 -0
  20. data/spec/dummy/Rakefile +6 -0
  21. data/spec/dummy/app/admin/company_admin.rb +4 -0
  22. data/spec/dummy/app/admin/job_admin.rb +4 -0
  23. data/spec/dummy/app/admin/location_admin.rb +4 -0
  24. data/spec/dummy/app/admin/project_admin.rb +6 -0
  25. data/spec/dummy/app/admin/role_admin.rb +5 -0
  26. data/spec/dummy/app/admin/user_admin.rb +9 -0
  27. data/spec/dummy/app/assets/images/.keep +0 -0
  28. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  29. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  30. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  31. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  32. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  33. data/spec/dummy/app/mailers/.keep +0 -0
  34. data/spec/dummy/app/models/.keep +0 -0
  35. data/spec/dummy/app/models/abstract_adapter.rb +13 -0
  36. data/spec/dummy/app/models/admin_user.rb +6 -0
  37. data/spec/dummy/app/models/chat.rb +18 -0
  38. data/spec/dummy/app/models/chat_message.rb +34 -0
  39. data/spec/dummy/app/models/chat_message_user.rb +17 -0
  40. data/spec/dummy/app/models/chat_user.rb +16 -0
  41. data/spec/dummy/app/models/company.rb +12 -0
  42. data/spec/dummy/app/models/concerns/.keep +0 -0
  43. data/spec/dummy/app/models/job.rb +10 -0
  44. data/spec/dummy/app/models/locatable.rb +6 -0
  45. data/spec/dummy/app/models/location.rb +26 -0
  46. data/spec/dummy/app/models/location_beacon.rb +16 -0
  47. data/spec/dummy/app/models/location_gps.rb +64 -0
  48. data/spec/dummy/app/models/project.rb +20 -0
  49. data/spec/dummy/app/models/project_job.rb +7 -0
  50. data/spec/dummy/app/models/role.rb +25 -0
  51. data/spec/dummy/app/models/team.rb +9 -0
  52. data/spec/dummy/app/models/team_user.rb +13 -0
  53. data/spec/dummy/app/models/user/chatter.rb +79 -0
  54. data/spec/dummy/app/models/user.rb +75 -0
  55. data/spec/dummy/app/models/user_location.rb +28 -0
  56. data/spec/dummy/app/models/user_project_job.rb +16 -0
  57. data/spec/dummy/app/views/layouts/application.html.erb +13 -0
  58. data/spec/dummy/bin/bundle +3 -0
  59. data/spec/dummy/bin/rails +4 -0
  60. data/spec/dummy/bin/rake +4 -0
  61. data/spec/dummy/bin/setup +29 -0
  62. data/spec/dummy/config/application.rb +32 -0
  63. data/spec/dummy/config/boot.rb +5 -0
  64. data/spec/dummy/config/database.yml +18 -0
  65. data/spec/dummy/config/environment.rb +11 -0
  66. data/spec/dummy/config/environments/development.rb +41 -0
  67. data/spec/dummy/config/environments/production.rb +79 -0
  68. data/spec/dummy/config/environments/test.rb +43 -0
  69. data/spec/dummy/config/initializers/active_admin.rb +7 -0
  70. data/spec/dummy/config/initializers/assets.rb +11 -0
  71. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  72. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  73. data/spec/dummy/config/initializers/devise.rb +260 -0
  74. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  75. data/spec/dummy/config/initializers/inflections.rb +16 -0
  76. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  77. data/spec/dummy/config/initializers/session_store.rb +3 -0
  78. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  79. data/spec/dummy/config/locales/en.yml +23 -0
  80. data/spec/dummy/config/routes.rb +9 -0
  81. data/spec/dummy/config/secrets.yml +22 -0
  82. data/spec/dummy/config.ru +4 -0
  83. data/spec/dummy/db/development.sqlite3 +0 -0
  84. data/spec/dummy/db/migrate/20141002205024_devise_create_users.rb +42 -0
  85. data/spec/dummy/db/migrate/20141002211055_devise_create_admin_users.rb +48 -0
  86. data/spec/dummy/db/migrate/20141002211057_create_active_admin_comments.rb +19 -0
  87. data/spec/dummy/db/migrate/20141002220722_add_lockable_to_users.rb +8 -0
  88. data/spec/dummy/db/migrate/20150406213646_create_companies.rb +11 -0
  89. data/spec/dummy/db/migrate/20150414213154_add_user_authentication_token.rb +11 -0
  90. data/spec/dummy/db/migrate/20150415222005_create_roles.rb +12 -0
  91. data/spec/dummy/db/migrate/20150505181635_create_chats.rb +9 -0
  92. data/spec/dummy/db/migrate/20150505181636_create_chat_users.rb +11 -0
  93. data/spec/dummy/db/migrate/20150505181640_create_chat_messages.rb +11 -0
  94. data/spec/dummy/db/migrate/20150507191529_create_chat_message_users.rb +11 -0
  95. data/spec/dummy/db/migrate/20150601200526_create_locations.rb +12 -0
  96. data/spec/dummy/db/migrate/20150601200533_create_locatables.rb +10 -0
  97. data/spec/dummy/db/migrate/20150601212924_create_location_beacons.rb +15 -0
  98. data/spec/dummy/db/migrate/20150601213542_create_location_gps.rb +12 -0
  99. data/spec/dummy/db/migrate/20150609201823_create_user_locations.rb +14 -0
  100. data/spec/dummy/db/migrate/20150617232519_create_projects.rb +10 -0
  101. data/spec/dummy/db/migrate/20150617232521_create_jobs.rb +9 -0
  102. data/spec/dummy/db/migrate/20150617232522_create_project_jobs.rb +11 -0
  103. data/spec/dummy/db/migrate/20150623170133_create_user_project_jobs.rb +12 -0
  104. data/spec/dummy/db/migrate/20150701234929_create_teams.rb +11 -0
  105. data/spec/dummy/db/migrate/20150701234930_create_team_users.rb +11 -0
  106. data/spec/dummy/db/migrate/20150727214950_add_confirmable_to_devise.rb +11 -0
  107. data/spec/dummy/db/migrate/20150820190524_add_user_names.rb +6 -0
  108. data/spec/dummy/db/migrate/20150909225019_add_password_to_project.rb +5 -0
  109. data/spec/dummy/db/schema.rb +261 -0
  110. data/spec/dummy/lib/assets/.keep +0 -0
  111. data/spec/dummy/log/.keep +0 -0
  112. data/spec/dummy/public/404.html +67 -0
  113. data/spec/dummy/public/422.html +67 -0
  114. data/spec/dummy/public/500.html +66 -0
  115. data/spec/dummy/public/favicon.ico +0 -0
  116. data/spec/rails_helper.rb +13 -0
  117. data/spec/support/blueprints.rb +119 -0
  118. data/spec/support/location_helper.rb +56 -0
  119. metadata +420 -0
@@ -0,0 +1,119 @@
1
+ require 'machinist/active_record'
2
+ require 'rufus/mnemo'
3
+
4
+ def _index # prevent unique string collisions over the test cycle
5
+ @_uniq_idx ||= 0
6
+ (@_uniq_idx+=1).to_s(36)
7
+ end
8
+
9
+ def syllable(length=-1)
10
+ s = Rufus::Mnemo::from_integer(rand(8**5)+1) #+ _index
11
+ s[0..length]
12
+ end
13
+
14
+ def word(max_syl=3)
15
+ (1+rand(max_syl)).times.collect { syllable }.join
16
+ end
17
+
18
+ def words(n=3)
19
+ n.times.collect { word }.join
20
+ end
21
+
22
+ def paragraph(n=25)
23
+ words(n)
24
+ end
25
+
26
+ Company.blueprint do
27
+ name { words }
28
+ short_name { syllable(10) }
29
+ end
30
+
31
+ User.blueprint do
32
+ email { "test-"+syllable+'@springshot.com' }
33
+ first_name { word(4) }
34
+ last_name { word(5) }
35
+ password { 'abc123' }
36
+ confirmed_at { Time.now }
37
+ end
38
+
39
+ Role.blueprint {
40
+ user_id { User.first||User.make }
41
+ ownable_id { Company.first||Company.make }
42
+ ownable_type { 'Company' }
43
+ }
44
+
45
+ Chat.blueprint {
46
+ creator { User.make }
47
+ }
48
+ ChatMessage.blueprint {
49
+ author = User.make
50
+ chat = Chat.make(users: [author, User.make])
51
+ chat.save
52
+ chat { chat }
53
+ author { author }
54
+ message { paragraph }
55
+ }
56
+ ChatUser.blueprint {
57
+ chat { Chat.make }
58
+ user { User.make }
59
+ }
60
+
61
+ Locatable.blueprint {
62
+ location { Location.make }
63
+ locatable { Company.make }
64
+ }
65
+ Location.blueprint {
66
+ name { (65+rand(8)).chr+"1"}
67
+ kind { 'gate' }
68
+ gps { LocationGps.new(lat: 37.615223, lng: -122.389977 ) }
69
+ }
70
+ LocationBeacon.blueprint {
71
+ location { Location.make }
72
+ company { Company.make }
73
+ mac_address { SecureRandom.hex(6) }
74
+ # e.g. 2F234454-CF6D-4A0F-ADF2-F4911BA9FFA6
75
+ uuid { SecureRandom.hex(4)+'-'+SecureRandom.hex(2)+'-'+SecureRandom.hex(2)+'-'+SecureRandom.hex(2)+'-'+SecureRandom.hex(6) }
76
+ major { rand(9999) }
77
+ minor { rand(9999) }
78
+ }
79
+ LocationGps.blueprint {
80
+ location { Location.make }
81
+ # place the point randomly within about a mile radius of the TEST airport (LocationHelper)
82
+ lat { 37.615223 + 0.01609*rand(0.1) * (rand(2) > 0 ? 1 : -1) }
83
+ lng { -122.389977 + 0.01609*rand(0.1)*Math.cos(37.615223*Math::PI/180) * (rand(2) > 0 ? 1 : -1) }
84
+ alt { 0 }
85
+ }
86
+
87
+ Project.blueprint {
88
+ name { words(2) }
89
+ owner { Company.make }
90
+ jobs { [Job.make, Job.make] }
91
+ admins { [User.make] }
92
+ }
93
+ Job.blueprint {
94
+ title { words(2) }
95
+ }
96
+ UserProjectJob.blueprint {
97
+ user { User.make }
98
+ project { Project.make }
99
+ job { Job.make }
100
+ }
101
+ ProjectJob.blueprint {
102
+ project { Project.make }
103
+ job { Job.make }
104
+ }
105
+
106
+
107
+ Team.blueprint {
108
+ p = Project.make
109
+ project { p }
110
+ creator { p.admins.first }
111
+ name { words(2) }
112
+ }
113
+ TeamUser.blueprint {
114
+ t = Team.make
115
+ t.project.users.push User.make(projects: [t.project])
116
+ team { t }
117
+ user { t.project.users.first }
118
+ }
119
+
@@ -0,0 +1,56 @@
1
+ module LocationHelper
2
+
3
+ def rand_coords # generate a random point somewhere around the test airport
4
+ l = LocationGps.make
5
+ [l.lat,l.lng,l.alt]
6
+ end
7
+
8
+ def create_test_airport
9
+ ### build an airport with 8 terminals each with 3 gates along each cardinal and ordinal
10
+ ### axis, for two companies each with their own set of bluetooth beacons at every gate:
11
+ ###
12
+ ### (1)A B C
13
+ ### \|/
14
+ ### (8)H-*-D e.g.->(Terminal D with gates D1, D2, and D3)
15
+ ### /|\
16
+ ### G F E
17
+
18
+ @sprocketCo = Company.find_by_name("Sprockets") || Company.make(name:'Sprockets')
19
+ @widgetCo = Company.find_by_name("Widgets") || Company.make(name:'Widgets')
20
+ if @airport = Location.find_by_name("TEST")
21
+ return @airport
22
+ end
23
+
24
+ @airport = Location.new(name:'TEST',kind:'airport')
25
+ @airport.companies.push @sprocketCo
26
+ @airport.companies.push @widgetCo
27
+ @airport.gps = LocationGps.new(lat: 37.615223, lng: -122.389977 )
28
+ (1..8).each do |terminal|
29
+ gate = (64+terminal).chr # A-H
30
+ t = Location.new(name:"Terminal #{gate}",kind:'terminal')
31
+
32
+ @airport.child_locations.push t
33
+
34
+ (1..3).each do |number|
35
+
36
+ lat, lng = [@airport.gps.lat, @airport.gps.lng]
37
+ adj = 0.003*number # push successive gates ~0.21 miles out
38
+
39
+ lat += (1..3).include?(terminal) ? adj : 0
40
+ lat -= (5..7).include?(terminal) ? adj : 0
41
+
42
+ adj *= Math.cos(37.615223*Math::PI/180)
43
+ lng += (3..5).include?( terminal) ? adj : 0
44
+ lng -= [1,7,8].include?(terminal) ? adj : 0
45
+
46
+ g = Location.new(name:"Gate #{gate}#{number}", kind:'gate')
47
+ g.gps = LocationGps.make(location: g, lat: lat, lng: lng)
48
+ g.beacons.push LocationBeacon.make(company: @sprocketCo, location: g)
49
+ g.beacons.push LocationBeacon.make(company: @widgetCo, location: g)
50
+ t.child_locations.push g
51
+ end
52
+ end
53
+ @airport.save!
54
+ @airport
55
+ end
56
+ end
metadata ADDED
@@ -0,0 +1,420 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: introspective_admin
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Josh Buermann
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-10-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: sass-rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: sqlite3
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: devise
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: devise-async
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: machinist
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: simplecov
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rufus-mnemo
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: schema_plus
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '='
130
+ - !ruby/object:Gem::Version
131
+ version: 2.0.0.pre12
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '='
137
+ - !ruby/object:Gem::Version
138
+ version: 2.0.0.pre12
139
+ - !ruby/object:Gem::Dependency
140
+ name: schema_validations
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: byebug
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ description: Set up basic ActiveAdmin screens for an ActiveRecord model.
168
+ email:
169
+ - buermann@gmail.com
170
+ executables: []
171
+ extensions: []
172
+ extra_rdoc_files: []
173
+ files:
174
+ - ".gitignore"
175
+ - Gemfile
176
+ - Gemfile.lock
177
+ - LICENSE
178
+ - MIT-LICENSE
179
+ - README.md
180
+ - Rakefile
181
+ - bin/rails
182
+ - introspective_admin.gemspec
183
+ - lib/introspective_admin.rb
184
+ - lib/introspective_admin/base.rb
185
+ - lib/introspective_admin/version.rb
186
+ - lib/tasks/introspective_admin_tasks.rake
187
+ - spec/admin/company_admin_spec.rb
188
+ - spec/admin/job_admin_spec.rb
189
+ - spec/admin/location_admin_spec.rb
190
+ - spec/admin/project__admin_spec.rb
191
+ - spec/dummy/README.rdoc
192
+ - spec/dummy/Rakefile
193
+ - spec/dummy/app/admin/company_admin.rb
194
+ - spec/dummy/app/admin/job_admin.rb
195
+ - spec/dummy/app/admin/location_admin.rb
196
+ - spec/dummy/app/admin/project_admin.rb
197
+ - spec/dummy/app/admin/role_admin.rb
198
+ - spec/dummy/app/admin/user_admin.rb
199
+ - spec/dummy/app/assets/images/.keep
200
+ - spec/dummy/app/assets/javascripts/application.js
201
+ - spec/dummy/app/assets/stylesheets/application.css
202
+ - spec/dummy/app/controllers/application_controller.rb
203
+ - spec/dummy/app/controllers/concerns/.keep
204
+ - spec/dummy/app/helpers/application_helper.rb
205
+ - spec/dummy/app/mailers/.keep
206
+ - spec/dummy/app/models/.keep
207
+ - spec/dummy/app/models/abstract_adapter.rb
208
+ - spec/dummy/app/models/admin_user.rb
209
+ - spec/dummy/app/models/chat.rb
210
+ - spec/dummy/app/models/chat_message.rb
211
+ - spec/dummy/app/models/chat_message_user.rb
212
+ - spec/dummy/app/models/chat_user.rb
213
+ - spec/dummy/app/models/company.rb
214
+ - spec/dummy/app/models/concerns/.keep
215
+ - spec/dummy/app/models/job.rb
216
+ - spec/dummy/app/models/locatable.rb
217
+ - spec/dummy/app/models/location.rb
218
+ - spec/dummy/app/models/location_beacon.rb
219
+ - spec/dummy/app/models/location_gps.rb
220
+ - spec/dummy/app/models/project.rb
221
+ - spec/dummy/app/models/project_job.rb
222
+ - spec/dummy/app/models/role.rb
223
+ - spec/dummy/app/models/team.rb
224
+ - spec/dummy/app/models/team_user.rb
225
+ - spec/dummy/app/models/user.rb
226
+ - spec/dummy/app/models/user/chatter.rb
227
+ - spec/dummy/app/models/user_location.rb
228
+ - spec/dummy/app/models/user_project_job.rb
229
+ - spec/dummy/app/views/layouts/application.html.erb
230
+ - spec/dummy/bin/bundle
231
+ - spec/dummy/bin/rails
232
+ - spec/dummy/bin/rake
233
+ - spec/dummy/bin/setup
234
+ - spec/dummy/config.ru
235
+ - spec/dummy/config/application.rb
236
+ - spec/dummy/config/boot.rb
237
+ - spec/dummy/config/database.yml
238
+ - spec/dummy/config/environment.rb
239
+ - spec/dummy/config/environments/development.rb
240
+ - spec/dummy/config/environments/production.rb
241
+ - spec/dummy/config/environments/test.rb
242
+ - spec/dummy/config/initializers/active_admin.rb
243
+ - spec/dummy/config/initializers/assets.rb
244
+ - spec/dummy/config/initializers/backtrace_silencers.rb
245
+ - spec/dummy/config/initializers/cookies_serializer.rb
246
+ - spec/dummy/config/initializers/devise.rb
247
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
248
+ - spec/dummy/config/initializers/inflections.rb
249
+ - spec/dummy/config/initializers/mime_types.rb
250
+ - spec/dummy/config/initializers/session_store.rb
251
+ - spec/dummy/config/initializers/wrap_parameters.rb
252
+ - spec/dummy/config/locales/en.yml
253
+ - spec/dummy/config/routes.rb
254
+ - spec/dummy/config/secrets.yml
255
+ - spec/dummy/db/development.sqlite3
256
+ - spec/dummy/db/migrate/20141002205024_devise_create_users.rb
257
+ - spec/dummy/db/migrate/20141002211055_devise_create_admin_users.rb
258
+ - spec/dummy/db/migrate/20141002211057_create_active_admin_comments.rb
259
+ - spec/dummy/db/migrate/20141002220722_add_lockable_to_users.rb
260
+ - spec/dummy/db/migrate/20150406213646_create_companies.rb
261
+ - spec/dummy/db/migrate/20150414213154_add_user_authentication_token.rb
262
+ - spec/dummy/db/migrate/20150415222005_create_roles.rb
263
+ - spec/dummy/db/migrate/20150505181635_create_chats.rb
264
+ - spec/dummy/db/migrate/20150505181636_create_chat_users.rb
265
+ - spec/dummy/db/migrate/20150505181640_create_chat_messages.rb
266
+ - spec/dummy/db/migrate/20150507191529_create_chat_message_users.rb
267
+ - spec/dummy/db/migrate/20150601200526_create_locations.rb
268
+ - spec/dummy/db/migrate/20150601200533_create_locatables.rb
269
+ - spec/dummy/db/migrate/20150601212924_create_location_beacons.rb
270
+ - spec/dummy/db/migrate/20150601213542_create_location_gps.rb
271
+ - spec/dummy/db/migrate/20150609201823_create_user_locations.rb
272
+ - spec/dummy/db/migrate/20150617232519_create_projects.rb
273
+ - spec/dummy/db/migrate/20150617232521_create_jobs.rb
274
+ - spec/dummy/db/migrate/20150617232522_create_project_jobs.rb
275
+ - spec/dummy/db/migrate/20150623170133_create_user_project_jobs.rb
276
+ - spec/dummy/db/migrate/20150701234929_create_teams.rb
277
+ - spec/dummy/db/migrate/20150701234930_create_team_users.rb
278
+ - spec/dummy/db/migrate/20150727214950_add_confirmable_to_devise.rb
279
+ - spec/dummy/db/migrate/20150820190524_add_user_names.rb
280
+ - spec/dummy/db/migrate/20150909225019_add_password_to_project.rb
281
+ - spec/dummy/db/schema.rb
282
+ - spec/dummy/lib/assets/.keep
283
+ - spec/dummy/log/.keep
284
+ - spec/dummy/public/404.html
285
+ - spec/dummy/public/422.html
286
+ - spec/dummy/public/500.html
287
+ - spec/dummy/public/favicon.ico
288
+ - spec/rails_helper.rb
289
+ - spec/support/blueprints.rb
290
+ - spec/support/location_helper.rb
291
+ homepage: https://github.com/buermann/introspective_admin
292
+ licenses:
293
+ - MIT
294
+ metadata: {}
295
+ post_install_message:
296
+ rdoc_options: []
297
+ require_paths:
298
+ - lib
299
+ required_ruby_version: !ruby/object:Gem::Requirement
300
+ requirements:
301
+ - - ">="
302
+ - !ruby/object:Gem::Version
303
+ version: 1.9.3
304
+ required_rubygems_version: !ruby/object:Gem::Requirement
305
+ requirements:
306
+ - - ">="
307
+ - !ruby/object:Gem::Version
308
+ version: '0'
309
+ requirements: []
310
+ rubyforge_project:
311
+ rubygems_version: 2.2.2
312
+ signing_key:
313
+ specification_version: 4
314
+ summary: Set up basic ActiveAdmin screens for an ActiveRecord model.
315
+ test_files:
316
+ - spec/admin/company_admin_spec.rb
317
+ - spec/admin/job_admin_spec.rb
318
+ - spec/admin/location_admin_spec.rb
319
+ - spec/admin/project__admin_spec.rb
320
+ - spec/dummy/README.rdoc
321
+ - spec/dummy/Rakefile
322
+ - spec/dummy/app/admin/company_admin.rb
323
+ - spec/dummy/app/admin/job_admin.rb
324
+ - spec/dummy/app/admin/location_admin.rb
325
+ - spec/dummy/app/admin/project_admin.rb
326
+ - spec/dummy/app/admin/role_admin.rb
327
+ - spec/dummy/app/admin/user_admin.rb
328
+ - spec/dummy/app/assets/images/.keep
329
+ - spec/dummy/app/assets/javascripts/application.js
330
+ - spec/dummy/app/assets/stylesheets/application.css
331
+ - spec/dummy/app/controllers/application_controller.rb
332
+ - spec/dummy/app/controllers/concerns/.keep
333
+ - spec/dummy/app/helpers/application_helper.rb
334
+ - spec/dummy/app/mailers/.keep
335
+ - spec/dummy/app/models/.keep
336
+ - spec/dummy/app/models/abstract_adapter.rb
337
+ - spec/dummy/app/models/admin_user.rb
338
+ - spec/dummy/app/models/chat.rb
339
+ - spec/dummy/app/models/chat_message.rb
340
+ - spec/dummy/app/models/chat_message_user.rb
341
+ - spec/dummy/app/models/chat_user.rb
342
+ - spec/dummy/app/models/company.rb
343
+ - spec/dummy/app/models/concerns/.keep
344
+ - spec/dummy/app/models/job.rb
345
+ - spec/dummy/app/models/locatable.rb
346
+ - spec/dummy/app/models/location.rb
347
+ - spec/dummy/app/models/location_beacon.rb
348
+ - spec/dummy/app/models/location_gps.rb
349
+ - spec/dummy/app/models/project.rb
350
+ - spec/dummy/app/models/project_job.rb
351
+ - spec/dummy/app/models/role.rb
352
+ - spec/dummy/app/models/team.rb
353
+ - spec/dummy/app/models/team_user.rb
354
+ - spec/dummy/app/models/user.rb
355
+ - spec/dummy/app/models/user/chatter.rb
356
+ - spec/dummy/app/models/user_location.rb
357
+ - spec/dummy/app/models/user_project_job.rb
358
+ - spec/dummy/app/views/layouts/application.html.erb
359
+ - spec/dummy/bin/bundle
360
+ - spec/dummy/bin/rails
361
+ - spec/dummy/bin/rake
362
+ - spec/dummy/bin/setup
363
+ - spec/dummy/config.ru
364
+ - spec/dummy/config/application.rb
365
+ - spec/dummy/config/boot.rb
366
+ - spec/dummy/config/database.yml
367
+ - spec/dummy/config/environment.rb
368
+ - spec/dummy/config/environments/development.rb
369
+ - spec/dummy/config/environments/production.rb
370
+ - spec/dummy/config/environments/test.rb
371
+ - spec/dummy/config/initializers/active_admin.rb
372
+ - spec/dummy/config/initializers/assets.rb
373
+ - spec/dummy/config/initializers/backtrace_silencers.rb
374
+ - spec/dummy/config/initializers/cookies_serializer.rb
375
+ - spec/dummy/config/initializers/devise.rb
376
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
377
+ - spec/dummy/config/initializers/inflections.rb
378
+ - spec/dummy/config/initializers/mime_types.rb
379
+ - spec/dummy/config/initializers/session_store.rb
380
+ - spec/dummy/config/initializers/wrap_parameters.rb
381
+ - spec/dummy/config/locales/en.yml
382
+ - spec/dummy/config/routes.rb
383
+ - spec/dummy/config/secrets.yml
384
+ - spec/dummy/db/development.sqlite3
385
+ - spec/dummy/db/migrate/20141002205024_devise_create_users.rb
386
+ - spec/dummy/db/migrate/20141002211055_devise_create_admin_users.rb
387
+ - spec/dummy/db/migrate/20141002211057_create_active_admin_comments.rb
388
+ - spec/dummy/db/migrate/20141002220722_add_lockable_to_users.rb
389
+ - spec/dummy/db/migrate/20150406213646_create_companies.rb
390
+ - spec/dummy/db/migrate/20150414213154_add_user_authentication_token.rb
391
+ - spec/dummy/db/migrate/20150415222005_create_roles.rb
392
+ - spec/dummy/db/migrate/20150505181635_create_chats.rb
393
+ - spec/dummy/db/migrate/20150505181636_create_chat_users.rb
394
+ - spec/dummy/db/migrate/20150505181640_create_chat_messages.rb
395
+ - spec/dummy/db/migrate/20150507191529_create_chat_message_users.rb
396
+ - spec/dummy/db/migrate/20150601200526_create_locations.rb
397
+ - spec/dummy/db/migrate/20150601200533_create_locatables.rb
398
+ - spec/dummy/db/migrate/20150601212924_create_location_beacons.rb
399
+ - spec/dummy/db/migrate/20150601213542_create_location_gps.rb
400
+ - spec/dummy/db/migrate/20150609201823_create_user_locations.rb
401
+ - spec/dummy/db/migrate/20150617232519_create_projects.rb
402
+ - spec/dummy/db/migrate/20150617232521_create_jobs.rb
403
+ - spec/dummy/db/migrate/20150617232522_create_project_jobs.rb
404
+ - spec/dummy/db/migrate/20150623170133_create_user_project_jobs.rb
405
+ - spec/dummy/db/migrate/20150701234929_create_teams.rb
406
+ - spec/dummy/db/migrate/20150701234930_create_team_users.rb
407
+ - spec/dummy/db/migrate/20150727214950_add_confirmable_to_devise.rb
408
+ - spec/dummy/db/migrate/20150820190524_add_user_names.rb
409
+ - spec/dummy/db/migrate/20150909225019_add_password_to_project.rb
410
+ - spec/dummy/db/schema.rb
411
+ - spec/dummy/lib/assets/.keep
412
+ - spec/dummy/log/.keep
413
+ - spec/dummy/public/404.html
414
+ - spec/dummy/public/422.html
415
+ - spec/dummy/public/500.html
416
+ - spec/dummy/public/favicon.ico
417
+ - spec/rails_helper.rb
418
+ - spec/support/blueprints.rb
419
+ - spec/support/location_helper.rb
420
+ has_rdoc: