active_admin-state_machine 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e049302abed3ba262229510939b32ea1c0b2b29a
4
- data.tar.gz: 358e8e518b0336990d53e2d60352a4e1d7ba8726
3
+ metadata.gz: 69fb4f4575a3381843572ec717e273ca1bbea164
4
+ data.tar.gz: a73f9bdec9960b42d85ad7238b336f04d0b616cf
5
5
  SHA512:
6
- metadata.gz: 4c2a7762b15928fae7f3eaa022f9d665b0f596acb3abdaf1b9ef69ff14fa3593a91d9d67936ea708fe9699d974640f405143443a4cbb95f05580f1a21c18cd22
7
- data.tar.gz: 70b0792619f378084dc4b36581d23127916cc9f67a5283cf6e1b6a0f5229cfbeba77f2bf0cdc445fe1a2b78e091ce0bbdfa6294e95f0e36b0171747b5a9c6318
6
+ metadata.gz: 77f76e9e0662703dd3165db691a446650232cd22315609e8f3eb419053aab87365882b6cbcb7ffab40b5816aa665dbbe8429a3a0ddb5a11d64c8f4e8637758f4
7
+ data.tar.gz: 8217fa92ce54b279f71c673e60ed5de31f1b06d1b6d789d64fe42d6cf9cf0fe83b8033d368626766be125687de1c95983eb84a7e9078e93c8f559cee3b72517b
data/README.md CHANGED
@@ -18,7 +18,7 @@ This gem provides you with a DSL extension to ActiveAdmin that allows you to eas
18
18
  This gem requires both `active_admin` and `state_machine`. Add the gem to your Gemfile to get started and bundle.
19
19
 
20
20
  ```ruby
21
- gem 'active_admin-state-machine'
21
+ gem 'active_admin-state_machine'
22
22
  ```
23
23
 
24
24
  ## Usage
@@ -1,5 +1,5 @@
1
1
  module ActiveAdmin
2
2
  module StateMachine
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -1,6 +1,7 @@
1
1
  # Use this hook to configure devise mailer, warden hooks and so forth.
2
2
  # Many of these configuration options can be set straight in your model.
3
3
  Devise.setup do |config|
4
+ config.secret_key = '90f7a6fb644a98cb3a5231195727454b881befcad005721f0bb007b0b8d1a794b933eb89f19a9269e98e8a613541b82973318ac2781551cb4d1a01cee388c7c7'
4
5
  # ==> Mailer Configuration
5
6
  # Configure the e-mail address which will be shown in Devise::Mailer,
6
7
  # note that it will be overwritten if you use your own mailer class with default "from" parameter.
@@ -9114,3 +9114,27 @@ Served asset /active_admin.css - 304 Not Modified (2ms)
9114
9114
 
9115
9115
  Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 19:33:43 -0400
9116
9116
  Served asset /active_admin.js - 304 Not Modified (0ms)
9117
+
9118
+
9119
+ Started GET "/admin/categories/1/posts/2" for 127.0.0.1 at 2013-10-28 13:59:49 -0400
9120
+ Processing by Admin::PostsController#show as HTML
9121
+ Parameters: {"category_id"=>"1", "id"=>"2"}
9122
+ AdminUser Load (1.6ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
9123
+ Category Load (2.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
9124
+ Post Load (1.9ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "2"]]
9125
+ Category Load (0.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
9126
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
9127
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (294.2ms)
9128
+ Completed 200 OK in 380ms (Views: 297.5ms | ActiveRecord: 8.2ms)
9129
+
9130
+
9131
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-10-28 13:59:50 -0400
9132
+ Served asset /active_admin.css - 304 Not Modified (1ms)
9133
+
9134
+
9135
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-10-28 13:59:50 -0400
9136
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
9137
+
9138
+
9139
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-28 13:59:50 -0400
9140
+ Served asset /active_admin.js - 304 Not Modified (0ms)
metadata CHANGED
@@ -1,181 +1,181 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_admin-state_machine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brewer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-26 00:00:00.000000000 Z
11
+ date: 2014-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.14
19
+ version: '3.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 3.2.14
26
+ version: '3.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activeadmin
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: state_machine
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>'
59
+ - - ">"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '10.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>'
66
+ - - ">"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '10.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: sqlite3
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: pg
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rspec-rails
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: shoulda-matchers
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: capybara
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '>='
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: capybara-webkit
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - '>='
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - '>='
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: database_cleaner
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - '>='
157
+ - - ">="
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - '>='
164
+ - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: factory_girl_rails
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - '>='
171
+ - - ">="
172
172
  - !ruby/object:Gem::Version
173
173
  version: '0'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - '>='
178
+ - - ">="
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  description: Provides easy DSL integration between ActiveAdmin & state_machine
@@ -185,12 +185,14 @@ executables: []
185
185
  extensions: []
186
186
  extra_rdoc_files: []
187
187
  files:
188
- - lib/active_admin/state_machine/dsl.rb
189
- - lib/active_admin/state_machine/version.rb
190
- - lib/active_admin/state_machine.rb
191
188
  - MIT-LICENSE
192
- - Rakefile
193
189
  - README.md
190
+ - Rakefile
191
+ - lib/active_admin/state_machine.rb
192
+ - lib/active_admin/state_machine/dsl.rb
193
+ - lib/active_admin/state_machine/version.rb
194
+ - spec/dummy/README.rdoc
195
+ - spec/dummy/Rakefile
194
196
  - spec/dummy/app/admin/admin_users.rb
195
197
  - spec/dummy/app/admin/categories.rb
196
198
  - spec/dummy/app/admin/dashboard.rb
@@ -206,11 +208,11 @@ files:
206
208
  - spec/dummy/app/models/category.rb
207
209
  - spec/dummy/app/models/post.rb
208
210
  - spec/dummy/app/views/layouts/application.html.erb
211
+ - spec/dummy/config.ru
209
212
  - spec/dummy/config/application.rb
210
213
  - spec/dummy/config/boot.rb
211
214
  - spec/dummy/config/database.sample.yml
212
215
  - spec/dummy/config/database.travis.yml
213
- - spec/dummy/config/database.yml
214
216
  - spec/dummy/config/environment.rb
215
217
  - spec/dummy/config/environments/development.rb
216
218
  - spec/dummy/config/environments/production.rb
@@ -226,7 +228,6 @@ files:
226
228
  - spec/dummy/config/locales/devise.en.yml
227
229
  - spec/dummy/config/locales/en.yml
228
230
  - spec/dummy/config/routes.rb
229
- - spec/dummy/config.ru
230
231
  - spec/dummy/db/development.sqlite3
231
232
  - spec/dummy/db/migrate/20130817004304_devise_create_admin_users.rb
232
233
  - spec/dummy/db/migrate/20130817004306_create_admin_notes.rb
@@ -243,8 +244,6 @@ files:
243
244
  - spec/dummy/public/422.html
244
245
  - spec/dummy/public/500.html
245
246
  - spec/dummy/public/favicon.ico
246
- - spec/dummy/Rakefile
247
- - spec/dummy/README.rdoc
248
247
  - spec/dummy/script/rails
249
248
  - spec/dummy/tmp/cache/assets/C6E/0F0/sprockets%2F930c17aa4002b266315478d747cec213
250
249
  - spec/dummy/tmp/cache/assets/CA3/0F0/sprockets%2F6111c5f7d680071cae83281d5237bb52
@@ -376,7 +375,6 @@ files:
376
375
  - spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/_mixins.css.scssc
377
376
  - spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/_typography.css.scssc
378
377
  - spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/print.css.scssc
379
- - spec/dummy/tmp/pids/server.pid
380
378
  - spec/factories/admin_users.rb
381
379
  - spec/factories/categories.rb
382
380
  - spec/factories/posts.rb
@@ -386,7 +384,8 @@ files:
386
384
  - spec/spec_helper.rb
387
385
  - spec/support/post_helpers.rb
388
386
  homepage: https://github.com/macfanatic/active_admin-state_machine
389
- licenses: []
387
+ licenses:
388
+ - MIT
390
389
  metadata: {}
391
390
  post_install_message:
392
391
  rdoc_options: []
@@ -394,17 +393,17 @@ require_paths:
394
393
  - lib
395
394
  required_ruby_version: !ruby/object:Gem::Requirement
396
395
  requirements:
397
- - - '>='
396
+ - - ">="
398
397
  - !ruby/object:Gem::Version
399
398
  version: '0'
400
399
  required_rubygems_version: !ruby/object:Gem::Requirement
401
400
  requirements:
402
- - - '>='
401
+ - - ">="
403
402
  - !ruby/object:Gem::Version
404
403
  version: '0'
405
404
  requirements: []
406
405
  rubyforge_project:
407
- rubygems_version: 2.0.3
406
+ rubygems_version: 2.2.0.rc.1
408
407
  signing_key:
409
408
  specification_version: 4
410
409
  summary: Provides easy DSL integration between ActiveAdmin & state_machine
@@ -428,7 +427,6 @@ test_files:
428
427
  - spec/dummy/config/boot.rb
429
428
  - spec/dummy/config/database.sample.yml
430
429
  - spec/dummy/config/database.travis.yml
431
- - spec/dummy/config/database.yml
432
430
  - spec/dummy/config/environment.rb
433
431
  - spec/dummy/config/environments/development.rb
434
432
  - spec/dummy/config/environments/production.rb
@@ -594,7 +592,6 @@ test_files:
594
592
  - spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/_mixins.css.scssc
595
593
  - spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/_typography.css.scssc
596
594
  - spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/print.css.scssc
597
- - spec/dummy/tmp/pids/server.pid
598
595
  - spec/factories/admin_users.rb
599
596
  - spec/factories/categories.rb
600
597
  - spec/factories/posts.rb
@@ -1,12 +0,0 @@
1
- pg: &pg
2
- adapter: postgresql
3
- encoding: unicode
4
- pool: 5
5
-
6
- development:
7
- <<: *pg
8
- database: active_admin_state_machine_development
9
-
10
- test:
11
- <<: *pg
12
- database: active_admin_state_machine_test
@@ -1 +0,0 @@
1
- 3211