push_type_admin 0.1.0.beta3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/push_type/admin.scss +21 -0
- data/app/assets/stylesheets/push_type/foundation_and_overrides.scss +1 -1
- data/app/controllers/push_type/admin_controller.rb +8 -0
- data/app/controllers/push_type/nodes_controller.rb +1 -1
- data/app/helpers/push_type/admin_helper.rb +7 -0
- data/app/views/layouts/push_type/admin.html.erb +4 -2
- data/app/views/push_type/admin/info.html.haml +20 -0
- data/app/views/push_type/nodes/_form_fields.html.haml +5 -3
- data/app/views/push_type/nodes/_new_node_button.html.haml +4 -4
- data/app/views/push_type/nodes/edit.html.haml +2 -2
- data/app/views/push_type/nodes/index.html.haml +1 -1
- data/app/views/push_type/nodes/new.html.haml +2 -2
- data/app/views/push_type/users/_form.html.haml +5 -3
- data/config/routes.rb +2 -0
- data/lib/push_type/admin.rb +0 -1
- data/test/controllers/push_type/admin_controller_test.rb +13 -0
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +1932 -1833
- data/test/dummy/tmp/cache/assets/test/sass/806626419a476c98acb0fcf38feea6623fb99ce0/admin.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/806626419a476c98acb0fcf38feea6623fb99ce0/foundation_and_overrides.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/12375f1bf3d91db0a06c3fc436918949 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b3b2a83d3d7d735130f0b029e58b29b8 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/dd803fd7a93619599c7e703c2b307411 +0 -0
- metadata +17 -15
- data/lib/push_type/rails/form_builder.rb +0 -13
- /data/test/dummy/db/migrate/{20141205213506_create_push_type_users.push_type.rb → 20150102204418_create_push_type_users.push_type.rb} +0 -0
- /data/test/dummy/db/migrate/{20141205213507_create_push_type_nodes.push_type.rb → 20150102204419_create_push_type_nodes.push_type.rb} +0 -0
- /data/test/dummy/db/migrate/{20141205213508_create_push_type_node_hierarchies.push_type.rb → 20150102204420_create_push_type_node_hierarchies.push_type.rb} +0 -0
- /data/test/dummy/db/migrate/{20141205213509_create_push_type_assets.push_type.rb → 20150102204421_create_push_type_assets.push_type.rb} +0 -0
data/test/dummy/tmp/cache/assets/test/sass/806626419a476c98acb0fcf38feea6623fb99ce0/admin.scssc
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: push_type_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Russell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: push_type_core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.0
|
19
|
+
version: 0.1.0
|
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: 0.1.0
|
26
|
+
version: 0.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: haml-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -241,6 +241,7 @@ files:
|
|
241
241
|
- app/views/kaminari/_paginator.html.haml
|
242
242
|
- app/views/kaminari/_prev_page.html.haml
|
243
243
|
- app/views/layouts/push_type/admin.html.erb
|
244
|
+
- app/views/push_type/admin/info.html.haml
|
244
245
|
- app/views/push_type/assets/_form.html.haml
|
245
246
|
- app/views/push_type/assets/edit.html.haml
|
246
247
|
- app/views/push_type/assets/index.html.haml
|
@@ -264,9 +265,9 @@ files:
|
|
264
265
|
- lib/push_type/admin.rb
|
265
266
|
- lib/push_type/admin/engine.rb
|
266
267
|
- lib/push_type/breadcrumbs/foundation.rb
|
267
|
-
- lib/push_type/rails/form_builder.rb
|
268
268
|
- lib/push_type_admin.rb
|
269
269
|
- lib/tasks/push_type_tasks.rake
|
270
|
+
- test/controllers/push_type/admin_controller_test.rb
|
270
271
|
- test/controllers/push_type/assets_controller_test.rb
|
271
272
|
- test/controllers/push_type/nodes_controller_test.rb
|
272
273
|
- test/controllers/push_type/users_controller_test.rb
|
@@ -302,10 +303,10 @@ files:
|
|
302
303
|
- test/dummy/config/locales/en.yml
|
303
304
|
- test/dummy/config/routes.rb
|
304
305
|
- test/dummy/config/secrets.yml
|
305
|
-
- test/dummy/db/migrate/
|
306
|
-
- test/dummy/db/migrate/
|
307
|
-
- test/dummy/db/migrate/
|
308
|
-
- test/dummy/db/migrate/
|
306
|
+
- test/dummy/db/migrate/20150102204418_create_push_type_users.push_type.rb
|
307
|
+
- test/dummy/db/migrate/20150102204419_create_push_type_nodes.push_type.rb
|
308
|
+
- test/dummy/db/migrate/20150102204420_create_push_type_node_hierarchies.push_type.rb
|
309
|
+
- test/dummy/db/migrate/20150102204421_create_push_type_assets.push_type.rb
|
309
310
|
- test/dummy/db/schema.rb
|
310
311
|
- test/dummy/db/seeds.rb
|
311
312
|
- test/dummy/log/test.log
|
@@ -499,9 +500,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
499
500
|
version: '0'
|
500
501
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
501
502
|
requirements:
|
502
|
-
- - "
|
503
|
+
- - ">="
|
503
504
|
- !ruby/object:Gem::Version
|
504
|
-
version:
|
505
|
+
version: '0'
|
505
506
|
requirements: []
|
506
507
|
rubyforge_project:
|
507
508
|
rubygems_version: 2.4.5
|
@@ -509,6 +510,7 @@ signing_key:
|
|
509
510
|
specification_version: 4
|
510
511
|
summary: The admin user interface for the PushType content management system.
|
511
512
|
test_files:
|
513
|
+
- test/controllers/push_type/admin_controller_test.rb
|
512
514
|
- test/controllers/push_type/assets_controller_test.rb
|
513
515
|
- test/controllers/push_type/nodes_controller_test.rb
|
514
516
|
- test/controllers/push_type/users_controller_test.rb
|
@@ -542,10 +544,10 @@ test_files:
|
|
542
544
|
- test/dummy/config/routes.rb
|
543
545
|
- test/dummy/config/secrets.yml
|
544
546
|
- test/dummy/config.ru
|
545
|
-
- test/dummy/db/migrate/
|
546
|
-
- test/dummy/db/migrate/
|
547
|
-
- test/dummy/db/migrate/
|
548
|
-
- test/dummy/db/migrate/
|
547
|
+
- test/dummy/db/migrate/20150102204418_create_push_type_users.push_type.rb
|
548
|
+
- test/dummy/db/migrate/20150102204419_create_push_type_nodes.push_type.rb
|
549
|
+
- test/dummy/db/migrate/20150102204420_create_push_type_node_hierarchies.push_type.rb
|
550
|
+
- test/dummy/db/migrate/20150102204421_create_push_type_assets.push_type.rb
|
549
551
|
- test/dummy/db/schema.rb
|
550
552
|
- test/dummy/db/seeds.rb
|
551
553
|
- test/dummy/log/test.log
|
@@ -1,13 +0,0 @@
|
|
1
|
-
module PushType
|
2
|
-
class FormBuilder < ActionView::Helpers::FormBuilder
|
3
|
-
|
4
|
-
def custom_field_row(field, &block)
|
5
|
-
@template.content_tag :div, class: "row #{ field.kind }" do
|
6
|
-
@template.content_tag :div, class: 'columns' do
|
7
|
-
@template.render "push_type/fields/#{ field.template }", f: self, field: field
|
8
|
-
end
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
|
-
end
|
13
|
-
end
|
File without changes
|
File without changes
|
File without changes
|