ceo 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/test/test_helper.rb CHANGED
@@ -37,6 +37,14 @@ module TestHelper
37
37
  admin_page(named_route)
38
38
  assert_equal 200, page.status_code
39
39
  end
40
+
41
+ def setup
42
+ Apple.delete_all
43
+ end
44
+
45
+ def teardown
46
+ Apple.delete_all
47
+ end
40
48
  end
41
49
 
42
50
  class ActiveSupport::TestCase
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ceo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Herrick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-03 00:00:00.000000000 Z
11
+ date: 2015-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -115,6 +115,9 @@ files:
115
115
  - lib/ceo/paginator.rb
116
116
  - lib/ceo/rails/routes.rb
117
117
  - lib/ceo/version.rb
118
+ - lib/generators/admin/USAGE
119
+ - lib/generators/admin/admin_generator.rb
120
+ - lib/generators/admin/templates/admin_page_controller.rb.erb
118
121
  - lib/tasks/ceo_tasks.rake
119
122
  - test/ceo/apples_test.rb
120
123
  - test/ceo/edit_apple_test.rb
@@ -159,6 +162,7 @@ files:
159
162
  - test/dummy/db/migrate/20151102015027_create_apple.rb
160
163
  - test/dummy/db/migrate/20151102015821_create_fruit.rb
161
164
  - test/dummy/db/schema.rb
165
+ - test/dummy/log/development.log
162
166
  - test/dummy/log/test.log
163
167
  - test/dummy/public/404.html
164
168
  - test/dummy/public/422.html
@@ -203,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
207
  version: '0'
204
208
  requirements: []
205
209
  rubyforge_project:
206
- rubygems_version: 2.4.5.1
210
+ rubygems_version: 2.5.0
207
211
  signing_key:
208
212
  specification_version: 4
209
213
  summary: An admin tool that puts object oriented design over DSLs.
@@ -249,6 +253,7 @@ test_files:
249
253
  - test/dummy/db/migrate/20151102015027_create_apple.rb
250
254
  - test/dummy/db/migrate/20151102015821_create_fruit.rb
251
255
  - test/dummy/db/schema.rb
256
+ - test/dummy/log/development.log
252
257
  - test/dummy/log/test.log
253
258
  - test/dummy/public/404.html
254
259
  - test/dummy/public/422.html