guts 2.0.2 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/app/helpers/guts/application_helper.rb +7 -0
- data/app/models/guts/ability.rb +7 -0
- data/app/views/guts/contents/_form.html.erb +1 -1
- data/app/views/guts/metafields/_form.html.erb +2 -2
- data/app/views/guts/options/_form.html.erb +1 -0
- data/lib/guts/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +594 -0
- data/test/dummy/log/test.log +26630 -0
- data/test/dummy/public/system/guts/media/166/075/618/compact/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/grande/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/large/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/medium/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/small/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/supreme/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/thumb/spongebob.png +0 -0
- data/test/dummy/tmp/pids/server.pid +1 -0
- data/test/helpers/application_helper_test.rb +9 -0
- metadata +5 -2
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
77132
|
@@ -53,5 +53,14 @@ module Guts
|
|
53
53
|
|
54
54
|
assert form_html.include?('type[site_id]')
|
55
55
|
end
|
56
|
+
|
57
|
+
test 'should return link for toggling tinymce' do
|
58
|
+
result = toggle_tinymce 'field_value'
|
59
|
+
|
60
|
+
assert result.include?('href="#"')
|
61
|
+
assert result.include?('Toggle Editor Mode')
|
62
|
+
assert result.include?('class="toggle-tinymce"')
|
63
|
+
assert result.include?('data-editor-id="field_value"')
|
64
|
+
end
|
56
65
|
end
|
57
66
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tyler King
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -3991,6 +3991,7 @@ files:
|
|
3991
3991
|
- test/dummy/tmp/generators/initializer/config/initializers/guts.rb
|
3992
3992
|
- test/dummy/tmp/generators/routes/config/routes.rb
|
3993
3993
|
- test/dummy/tmp/generators/tinymce/config/tinymce.yml
|
3994
|
+
- test/dummy/tmp/pids/server.pid
|
3994
3995
|
- test/fixtures/guts/authorizations.yml
|
3995
3996
|
- test/fixtures/guts/categories.yml
|
3996
3997
|
- test/fixtures/guts/categorizations.yml
|
@@ -7638,6 +7639,7 @@ test_files:
|
|
7638
7639
|
- test/dummy/tmp/generators/initializer/config/initializers/guts.rb
|
7639
7640
|
- test/dummy/tmp/generators/routes/config/routes.rb
|
7640
7641
|
- test/dummy/tmp/generators/tinymce/config/tinymce.yml
|
7642
|
+
- test/dummy/tmp/pids/server.pid
|
7641
7643
|
- test/fixtures/guts/authorizations.yml
|
7642
7644
|
- test/fixtures/guts/categories.yml
|
7643
7645
|
- test/fixtures/guts/categorizations.yml
|
@@ -7681,3 +7683,4 @@ test_files:
|
|
7681
7683
|
- test/tasks/guts/db_task_test.rb
|
7682
7684
|
- test/tasks/guts/users_task_test.rb
|
7683
7685
|
- test/test_helper.rb
|
7686
|
+
has_rdoc:
|