trusty-cms 2.0.11 → 2.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@
21
21
 
22
22
  TabControl.selectTab = function(id) {
23
23
  id = id.replace(/^tab_/, '').replace(/^page_/, '');
24
- var underscored_id = id.replace(/_/g, "-");
24
+ var underscored_id = id.replace(/_/g, "-").toLowerCase();
25
25
  var $pages = $('div#tab_control .pages .page');
26
26
  var $tabs = $('div#tab_control .tabs .tab');
27
27
 
@@ -39,8 +39,8 @@
39
39
  }
40
40
 
41
41
  TabControl.removeTab = function(id) {
42
- id = id.replace(/^tab_/, '').replace(/^page_/, '');
43
- var underscored_id = id.replace("_", "-");
42
+ id = id.replace(/^tab_/, '').replace(/^page_/, '').toLowerCase();
43
+ var underscored_id = id.replace("_", "-").toLowerCase();
44
44
  if(confirm('Remove the "' + id + '" part?')) {
45
45
  var $pages = $('div#tab_control .pages .page');
46
46
  var $tabs = $('div#tab_control .tabs .tab');
@@ -4,19 +4,19 @@
4
4
  #
5
5
 
6
6
  development:
7
- adapter: mysql
7
+ adapter: mysql2
8
8
  database: trusty_cms_dev
9
9
  username: root
10
10
  password:
11
11
 
12
12
  test: &TEST
13
- adapter: mysql
13
+ adapter: mysql2
14
14
  database: trusty_cms_test
15
15
  username: root
16
16
  password:
17
17
 
18
18
  production:
19
- adapter: mysql
19
+ adapter: mysql2
20
20
  database: trusty_cms_live
21
21
  username: root
22
22
  password:
data/lib/trusty_cms.rb CHANGED
@@ -2,6 +2,6 @@ TRUSTY_CMS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "..")) unle
2
2
 
3
3
  unless defined? TrustyCms::VERSION
4
4
  module TrustyCms
5
- VERSION = "2.0.11"
5
+ VERSION = "2.0.12"
6
6
  end
7
7
  end
@@ -3,7 +3,7 @@ require 'rails'
3
3
  require 'jquery-rails'
4
4
  require 'haml-rails'
5
5
  require 'haml'
6
- require 'mysql'
6
+ require 'mysql2'
7
7
 
8
8
  require 'trusty_cms/admin_ui'
9
9
  require 'trusty_cms/extension_loader'
data/trusty_cms.gemspec CHANGED
@@ -36,7 +36,7 @@ a general purpose content managment system--not merely a blogging engine.}
36
36
  s.add_dependency "haml", "~> 4.0"
37
37
  s.add_dependency "haml-rails", "~> 0.5" # 0.5 is rails 4+ only
38
38
  s.add_dependency "highline", "~> 1.6"
39
- s.add_dependency "mysql", "~> 2.9"
39
+ s.add_dependency "mysql2", "~> 0.4.2"
40
40
  s.add_dependency "rack", "~> 1.4"
41
41
  s.add_dependency "rack-cache", "~> 1.2"
42
42
  s.add_dependency "radius", "~> 0.7"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusty-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.11
4
+ version: 2.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - TrustyCms CMS dev team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-13 00:00:00.000000000 Z
11
+ date: 2015-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tzinfo
@@ -179,19 +179,19 @@ dependencies:
179
179
  - !ruby/object:Gem::Version
180
180
  version: '1.6'
181
181
  - !ruby/object:Gem::Dependency
182
- name: mysql
182
+ name: mysql2
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: '2.9'
187
+ version: 0.4.2
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: '2.9'
194
+ version: 0.4.2
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: rack
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -475,7 +475,6 @@ files:
475
475
  - app/controllers/admin/users_controller.rb
476
476
  - app/controllers/admin/welcome_controller.rb
477
477
  - app/controllers/application_controller.rb
478
- - app/controllers/application_controller.rb.rails2
479
478
  - app/controllers/site_controller.rb
480
479
  - app/helpers/admin/configuration_helper.rb
481
480
  - app/helpers/admin/export_helper.rb
@@ -490,7 +489,6 @@ files:
490
489
  - app/helpers/admin/users_helper.rb
491
490
  - app/helpers/admin/welcome_helper.rb
492
491
  - app/helpers/application_helper.rb
493
- - app/helpers/application_helper.rb.rails2
494
492
  - app/helpers/site_helper.rb
495
493
  - app/models/deprecated_tags.rb
496
494
  - app/models/file_not_found_page.rb
@@ -549,13 +547,9 @@ files:
549
547
  - config/application.rb
550
548
  - config/boot.rb
551
549
  - config/database.mysql.yml
552
- - config/database.yml.rails2
553
550
  - config/environment.rb
554
- - config/environment.rb.rails2
555
551
  - config/environments/development.rb
556
- - config/environments/development.rb.rails2
557
552
  - config/environments/production.rb
558
- - config/environments/production.rb.rails2
559
553
  - config/environments/test.rb
560
554
  - config/initializers/active_record_extensions.rb
561
555
  - config/initializers/ckeditor.rb
@@ -570,7 +564,6 @@ files:
570
564
  - config/locales/en.yml
571
565
  - config/locales/en_available_tags.yml
572
566
  - config/routes.rb
573
- - config/routes.rb.rails2
574
567
  - config/trustygems.yml
575
568
  - db/migrate/001_create_radiant_tables.rb
576
569
  - db/migrate/002_insert_initial_data.rb
@@ -743,8 +736,6 @@ files:
743
736
  - public/favicon.ico
744
737
  - public/loading-iframe.html
745
738
  - public/robots.txt
746
- - public/stylesheets/admin/main.css
747
- - public/stylesheets/admin/overrides.css
748
739
  - script/extension
749
740
  - script/rails
750
741
  - spec/ci/database.mysql.yml
@@ -775,7 +766,6 @@ files:
775
766
  - spec/dummy/config/routes.rb
776
767
  - spec/dummy/config/secrets.yml
777
768
  - spec/dummy/db/schema.rb
778
- - spec/dummy/log/development.log
779
769
  - spec/dummy/log/test.log
780
770
  - spec/dummy/public/404.html
781
771
  - spec/dummy/public/422.html
@@ -793,95 +783,6 @@ files:
793
783
  - spec/rails_helper.rb
794
784
  - spec/spec_helper.rb
795
785
  - spec/support/custom_actions.rb
796
- - test/test_helper.rb.rails2
797
- - tmp/cache/747/A70/TrustyCms%3A%3AConfig
798
- - tmp/cache/85C/FA0/TrustyCms.cache_mtime
799
- - tmp/cache_files_test/a.txt
800
- - tmp/cache_files_test/all.txt
801
- - tmp/cache_files_test/b.txt
802
- - tmp/config/radiant_config.yml
803
- - tmp/sass-cache/1a137f46a4706893cc07b2aa949a92cf851d936f/_boxes.sassc
804
- - tmp/sass-cache/1a137f46a4706893cc07b2aa949a92cf851d936f/_gradients.sassc
805
- - tmp/sass-cache/1a137f46a4706893cc07b2aa949a92cf851d936f/_links.sassc
806
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_appearance.scssc
807
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_background-clip.scssc
808
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_background-origin.scssc
809
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_background-size.scssc
810
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_border-radius.scssc
811
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_box-shadow.scssc
812
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_box-sizing.scssc
813
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_box.scssc
814
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_columns.scssc
815
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_filter.scssc
816
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_font-face.scssc
817
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_hyphenation.scssc
818
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_images.scssc
819
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_inline-block.scssc
820
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_opacity.scssc
821
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_regions.scssc
822
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_shared.scssc
823
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_text-shadow.scssc
824
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_transform.scssc
825
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_transition.scssc
826
- - tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_user-interface.scssc
827
- - tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_actions.sassc
828
- - tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_avatars.sassc
829
- - tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_content.sassc
830
- - tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_dateinput.sassc
831
- - tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_deprecated.sassc
832
- - tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_dropdown.sassc
833
- - tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_footer.sassc
834
- - tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_forms.sassc
835
- - tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_header.sassc
836
- - tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_index.sassc
837
- - tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_layout.sassc
838
- - tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_messages.sassc
839
- - tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_popup.sassc
840
- - tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_tabcontrol.sassc
841
- - tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_toolbar.sassc
842
- - tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_typography.sassc
843
- - tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_validations.sassc
844
- - tmp/sass-cache/33c9f77b54ab77293741bf5159eedff124a39fc1/_color.scssc
845
- - tmp/sass-cache/33c9f77b54ab77293741bf5159eedff124a39fc1/_general.scssc
846
- - tmp/sass-cache/33c9f77b54ab77293741bf5159eedff124a39fc1/_sprites.scssc
847
- - tmp/sass-cache/33c9f77b54ab77293741bf5159eedff124a39fc1/_tables.scssc
848
- - tmp/sass-cache/5683573556a6b271b3ffade55f4ff32a60e7c0f0/_base.scssc
849
- - tmp/sass-cache/5683573556a6b271b3ffade55f4ff32a60e7c0f0/_sprite-img.scssc
850
- - tmp/sass-cache/6159fdf943b5ffc54b901a34cdfcfc7e6f736834/_alternating-rows-and-columns.scssc
851
- - tmp/sass-cache/6159fdf943b5ffc54b901a34cdfcfc7e6f736834/_borders.scssc
852
- - tmp/sass-cache/6159fdf943b5ffc54b901a34cdfcfc7e6f736834/_scaffolding.scssc
853
- - tmp/sass-cache/81fb0626d3f9dbbcc1f43df416db1c97b6ad512a/_links.scssc
854
- - tmp/sass-cache/81fb0626d3f9dbbcc1f43df416db1c97b6ad512a/_lists.scssc
855
- - tmp/sass-cache/81fb0626d3f9dbbcc1f43df416db1c97b6ad512a/_text.scssc
856
- - tmp/sass-cache/81fb0626d3f9dbbcc1f43df416db1c97b6ad512a/_vertical_rhythm.scssc
857
- - tmp/sass-cache/87c1de4edf14dc5f527f65e2080e0faa325354aa/_hover-link.scssc
858
- - tmp/sass-cache/87c1de4edf14dc5f527f65e2080e0faa325354aa/_link-colors.scssc
859
- - tmp/sass-cache/87c1de4edf14dc5f527f65e2080e0faa325354aa/_unstyled-link.scssc
860
- - tmp/sass-cache/8b412a89f899813981285eadb5f08e52b94dfb65/_css3.scssc
861
- - tmp/sass-cache/8b412a89f899813981285eadb5f08e52b94dfb65/_support.scssc
862
- - tmp/sass-cache/8b412a89f899813981285eadb5f08e52b94dfb65/_typography.scssc
863
- - tmp/sass-cache/8b412a89f899813981285eadb5f08e52b94dfb65/_utilities.scssc
864
- - tmp/sass-cache/92844cd19a320f87ef960171cea4f33d1a07339c/_contrast.scssc
865
- - tmp/sass-cache/a97de1041408f914478b9e7943c5c6c2d221d4c0/_ellipsis.scssc
866
- - tmp/sass-cache/a97de1041408f914478b9e7943c5c6c2d221d4c0/_force-wrap.scssc
867
- - tmp/sass-cache/a97de1041408f914478b9e7943c5c6c2d221d4c0/_nowrap.scssc
868
- - tmp/sass-cache/a97de1041408f914478b9e7943c5c6c2d221d4c0/_replacement.scssc
869
- - tmp/sass-cache/b3d80baefd48593d8c08815ba2d83e209f5dad6f/_grid-background.scssc
870
- - tmp/sass-cache/b92bfc773efa04d930ffa0b3331244a1f378caa7/_compass.scssc
871
- - tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_clearfix.scssc
872
- - tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_float.scssc
873
- - tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_hacks.scssc
874
- - tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_min.scssc
875
- - tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_reset.scssc
876
- - tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_tag-cloud.scssc
877
- - tmp/sass-cache/c3fa060b99d9ed1d9740af472ecc747182e2ea93/_base.sassc
878
- - tmp/sass-cache/c3fa060b99d9ed1d9740af472ecc747182e2ea93/main.sassc
879
- - tmp/sass-cache/c3fa060b99d9ed1d9740af472ecc747182e2ea93/overrides.sassc
880
- - tmp/sass-cache/d2bf234de18cb20fe8238c9224b9863ed5d268c6/_bullets.scssc
881
- - tmp/sass-cache/d2bf234de18cb20fe8238c9224b9863ed5d268c6/_horizontal-list.scssc
882
- - tmp/sass-cache/d2bf234de18cb20fe8238c9224b9863ed5d268c6/_inline-block-list.scssc
883
- - tmp/sass-cache/d2bf234de18cb20fe8238c9224b9863ed5d268c6/_inline-list.scssc
884
- - tmp/sass-cache/dc9647e96d50c02214aff50e88308a74bf56d1d7/_utilities.scssc
885
786
  - trusty_cms.gemspec
886
787
  homepage: https://github.com/pgharts/trusty-cms
887
788
  licenses:
@@ -936,7 +837,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
936
837
  version: 1.3.1
937
838
  requirements: []
938
839
  rubyforge_project:
939
- rubygems_version: 2.4.3
840
+ rubygems_version: 2.4.8
940
841
  signing_key:
941
842
  specification_version: 4
942
843
  summary: A no-fluff content management system designed for small teams.
@@ -967,7 +868,6 @@ test_files:
967
868
  - spec/dummy/config/secrets.yml
968
869
  - spec/dummy/config.ru
969
870
  - spec/dummy/db/schema.rb
970
- - spec/dummy/log/development.log
971
871
  - spec/dummy/log/test.log
972
872
  - spec/dummy/public/404.html
973
873
  - spec/dummy/public/422.html