bit_core 1.4.5 → 1.4.6

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: 991b3c0c91e0767d75b53eedd8651564d1052b34
4
- data.tar.gz: 03a383080f938a4e459e05c82b88eaf59d9e75d0
3
+ metadata.gz: 34cbccec3e2deb067bfb5df1d463dbb99e4eb1c0
4
+ data.tar.gz: b38552b6b2e2eb4e021657c441a2bff26d19c9c7
5
5
  SHA512:
6
- metadata.gz: 70d02c6df793095ae7d65b2da1b6f90d107f56cbdd068313726d4d126b96e7c9cd5aafa451406ac6f586a5be81b29c36ec304eddee07928b5cff29f5acdedc54
7
- data.tar.gz: b2e710249bf82545686a53772e23d435ddcfa380fdcc625bdd3776079492a6dadb7692927eee04d701c1919bffe3ec3e98945b4427a258778bca0aa7329b82c9
6
+ metadata.gz: dd3a5fb7a43dfa297d6043b15d15a195e0d99a4dba50cd1e946a166a97844ab26b10fe19aaaed1b36f0d5504422e802e9788362fb51b5cb229e292dec43524cc
7
+ data.tar.gz: 13a6c32b1a36604f2b2e14c38b68649a520a9ab50e04edbca619f65bca9b4cd0f339f93f22c925f5ef1e590eb352e69204f8331f526c7342ec3d502561aaedde
@@ -0,0 +1,6 @@
1
+ class ChangeShowNextNavColumnDefault < ActiveRecord::Migration
2
+ def change
3
+ change_column_default :bit_core_content_providers, :show_next_nav, false
4
+ change_column_null :bit_core_content_providers, :show_next_nav, false
5
+ end
6
+ end
@@ -1,4 +1,4 @@
1
1
  # nodoc
2
2
  module BitCore
3
- VERSION = "1.4.5"
3
+ VERSION = "1.4.6"
4
4
  end
@@ -13,7 +13,7 @@ Rails.application.configure do
13
13
  config.eager_load = false
14
14
 
15
15
  # Configure static asset server for tests with Cache-Control for performance.
16
- config.serve_static_assets = true
16
+ config.serve_static_files = true
17
17
  config.static_cache_control = 'public, max-age=3600'
18
18
 
19
19
  # Show full error reports and disable caching.
@@ -0,0 +1,93 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20160311210938) do
15
+
16
+ # These are extensions that must be enabled in order to support this database
17
+ enable_extension "plpgsql"
18
+
19
+ create_table "arms", force: :cascade do |t|
20
+ t.string "title"
21
+ t.boolean "is_social"
22
+ t.datetime "created_at"
23
+ t.datetime "updated_at"
24
+ end
25
+
26
+ create_table "bit_core_content_modules", force: :cascade do |t|
27
+ t.string "title", null: false
28
+ t.integer "position", default: 1, null: false
29
+ t.integer "bit_core_tool_id", null: false
30
+ t.datetime "created_at"
31
+ t.datetime "updated_at"
32
+ t.string "type"
33
+ t.boolean "is_viz", default: false, null: false
34
+ end
35
+
36
+ add_index "bit_core_content_modules", ["bit_core_tool_id", "position"], name: "bit_core_content_module_position", unique: true, using: :btree
37
+
38
+ create_table "bit_core_content_providers", force: :cascade do |t|
39
+ t.string "type", null: false
40
+ t.string "source_content_type"
41
+ t.integer "source_content_id"
42
+ t.integer "bit_core_content_module_id", null: false
43
+ t.integer "position", default: 1, null: false
44
+ t.datetime "created_at"
45
+ t.datetime "updated_at"
46
+ t.string "template_path"
47
+ t.string "data_class_name"
48
+ t.text "data_attributes"
49
+ t.boolean "show_next_nav", default: false, null: false
50
+ t.text "locals"
51
+ end
52
+
53
+ add_index "bit_core_content_providers", ["bit_core_content_module_id", "position"], name: "bit_core_content_provider_position", unique: true, using: :btree
54
+
55
+ create_table "bit_core_slides", force: :cascade do |t|
56
+ t.string "title", null: false
57
+ t.text "body", null: false
58
+ t.integer "position", default: 1, null: false
59
+ t.integer "bit_core_slideshow_id", null: false
60
+ t.string "type"
61
+ t.boolean "is_title_visible", default: true, null: false
62
+ t.datetime "created_at"
63
+ t.datetime "updated_at"
64
+ t.text "options"
65
+ end
66
+
67
+ add_index "bit_core_slides", ["bit_core_slideshow_id", "position"], name: "bit_core_slide_position", unique: true, using: :btree
68
+
69
+ create_table "bit_core_slideshows", force: :cascade do |t|
70
+ t.string "title", null: false
71
+ t.datetime "created_at"
72
+ t.datetime "updated_at"
73
+ t.integer "arm_id", null: false
74
+ end
75
+
76
+ create_table "bit_core_tools", force: :cascade do |t|
77
+ t.string "title", null: false
78
+ t.integer "position", default: 0, null: false
79
+ t.datetime "created_at"
80
+ t.datetime "updated_at"
81
+ t.integer "arm_id", null: false
82
+ t.string "type"
83
+ end
84
+
85
+ add_index "bit_core_tools", ["position"], name: "bit_core_tool_position", unique: true, using: :btree
86
+
87
+ add_foreign_key "bit_core_content_modules", "bit_core_tools", name: "fk_content_modules_tools"
88
+ add_foreign_key "bit_core_content_providers", "bit_core_content_modules", name: "fk_content_providers_modules"
89
+ add_foreign_key "bit_core_slides", "bit_core_slideshows", name: "fk_slideshows_slides"
90
+ add_foreign_key "bit_core_slideshows", "arms", name: "fk_bit_core_slideshows_arms"
91
+ add_foreign_key "bit_core_tools", "arms", name: "fk_bit_core_tools_arms"
92
+ add_foreign_key "bit_core_tools", "arms", name: "fk_tools_arms"
93
+ end
metadata CHANGED
@@ -1,85 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bit_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.5
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Carty-Fickes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-14 00:00:00.000000000 Z
11
+ date: 2016-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: rails
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '4.1'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '4.1'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: redcarpet
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 3.3.2
20
+ - - "<"
32
21
  - !ruby/object:Gem::Version
33
- version: '2.3'
22
+ version: '3.4'
34
23
  type: :runtime
35
24
  prerelease: false
36
25
  version_requirements: !ruby/object:Gem::Requirement
37
26
  requirements:
38
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 3.3.2
30
+ - - "<"
39
31
  - !ruby/object:Gem::Version
40
- version: '2.3'
32
+ version: '3.4'
41
33
  - !ruby/object:Gem::Dependency
42
34
  name: pg
43
35
  requirement: !ruby/object:Gem::Requirement
44
36
  requirements:
45
37
  - - ">="
46
38
  - !ruby/object:Gem::Version
47
- version: '0'
39
+ version: '0.18'
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '1.0'
48
43
  type: :development
49
44
  prerelease: false
50
45
  version_requirements: !ruby/object:Gem::Requirement
51
46
  requirements:
52
47
  - - ">="
53
48
  - !ruby/object:Gem::Version
54
- version: '0'
49
+ version: '0.18'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '1.0'
55
53
  - !ruby/object:Gem::Dependency
56
54
  name: spring
57
55
  requirement: !ruby/object:Gem::Requirement
58
56
  requirements:
59
- - - ">="
57
+ - - "~>"
60
58
  - !ruby/object:Gem::Version
61
- version: '0'
59
+ version: '1'
62
60
  type: :development
63
61
  prerelease: false
64
62
  version_requirements: !ruby/object:Gem::Requirement
65
63
  requirements:
66
- - - ">="
64
+ - - "~>"
67
65
  - !ruby/object:Gem::Version
68
- version: '0'
66
+ version: '1'
69
67
  - !ruby/object:Gem::Dependency
70
68
  name: rspec-rails
71
69
  requirement: !ruby/object:Gem::Requirement
72
70
  requirements:
73
71
  - - "~>"
74
72
  - !ruby/object:Gem::Version
75
- version: 3.0.1
73
+ version: '3.0'
76
74
  type: :development
77
75
  prerelease: false
78
76
  version_requirements: !ruby/object:Gem::Requirement
79
77
  requirements:
80
78
  - - "~>"
81
79
  - !ruby/object:Gem::Version
82
- version: 3.0.1
80
+ version: '3.0'
83
81
  description: Models, migrations, etc.
84
82
  email:
85
83
  - ericcf@northwestern.edu
@@ -118,6 +116,7 @@ files:
118
116
  - db/migrate/20150130155627_add_type_to_tools.rb
119
117
  - db/migrate/20150131195914_add_is_viz_to_content_modules.rb
120
118
  - db/migrate/20150210161229_add_tool_constraint.rb
119
+ - db/migrate/20160311210938_change_show_next_nav_column_default.rb
121
120
  - lib/bit_core.rb
122
121
  - lib/bit_core/engine.rb
123
122
  - lib/bit_core/version.rb
@@ -150,6 +149,7 @@ files:
150
149
  - spec/dummy/config/locales/en.yml
151
150
  - spec/dummy/config/routes.rb
152
151
  - spec/dummy/config/secrets.yml
152
+ - spec/dummy/db/schema.rb
153
153
  - spec/dummy/log/development.log
154
154
  - spec/dummy/log/test.log
155
155
  - spec/dummy/public/404.html
@@ -219,6 +219,7 @@ test_files:
219
219
  - spec/dummy/config/routes.rb
220
220
  - spec/dummy/config/secrets.yml
221
221
  - spec/dummy/config.ru
222
+ - spec/dummy/db/schema.rb
222
223
  - spec/dummy/log/development.log
223
224
  - spec/dummy/log/test.log
224
225
  - spec/dummy/public/404.html