kuhsaft 1.2.1 → 1.2.2
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.
@@ -2,7 +2,7 @@ module Kuhsaft
|
|
2
2
|
class BrickType < ActiveRecord::Base
|
3
3
|
attr_accessible :disabled, :class_name, :group
|
4
4
|
scope :grouped, order('`group`, `id` asc')
|
5
|
-
scope :enabled, where(
|
5
|
+
scope :enabled, where(:enabled => true)
|
6
6
|
scope :constrained, lambda { |list| where(:class_name => list) }
|
7
7
|
end
|
8
8
|
end
|
data/lib/kuhsaft/version.rb
CHANGED
@@ -4,8 +4,10 @@
|
|
4
4
|
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
5
|
# gem 'sqlite3'
|
6
6
|
development:
|
7
|
-
adapter:
|
8
|
-
database:
|
7
|
+
adapter: mysql2
|
8
|
+
database: kuhsaft_development
|
9
|
+
user: root
|
10
|
+
password:
|
9
11
|
pool: 5
|
10
12
|
timeout: 5000
|
11
13
|
|
@@ -13,13 +15,9 @@ development:
|
|
13
15
|
# re-generated from your development database when you run "rake".
|
14
16
|
# Do not set this db to the same as development or production.
|
15
17
|
test:
|
16
|
-
adapter:
|
17
|
-
database:
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
production:
|
22
|
-
adapter: sqlite3
|
23
|
-
database: db/production.sqlite3
|
18
|
+
adapter: mysql2
|
19
|
+
database: kuhsaft_test
|
20
|
+
user: root
|
21
|
+
password:
|
24
22
|
pool: 5
|
25
23
|
timeout: 5000
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kuhsaft
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -78,7 +78,7 @@ dependencies:
|
|
78
78
|
- !ruby/object:Gem::Version
|
79
79
|
version: '2.0'
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
|
-
name:
|
81
|
+
name: mysql2
|
82
82
|
requirement: !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
@@ -419,6 +419,7 @@ files:
|
|
419
419
|
- db/migrate/03_create_kuhsaft_brick_types.rb
|
420
420
|
- db/migrate/04_create_kuhsaft_assets.rb
|
421
421
|
- db/migrate/06_add_template_name_to_kuhsaft_bricks.rb
|
422
|
+
- db/migrate/07_add_default_value_to_brick_type_enabled.rb
|
422
423
|
- db/migrate/20130206141601_remove_cms_admin.rb
|
423
424
|
- db/seeds.rb
|
424
425
|
- lib/generators/kuhsaft/translations/add_generator.rb
|
@@ -506,7 +507,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
506
507
|
version: '0'
|
507
508
|
segments:
|
508
509
|
- 0
|
509
|
-
hash:
|
510
|
+
hash: 958653048592020401
|
510
511
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
511
512
|
none: false
|
512
513
|
requirements:
|
@@ -515,7 +516,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
515
516
|
version: '0'
|
516
517
|
segments:
|
517
518
|
- 0
|
518
|
-
hash:
|
519
|
+
hash: 958653048592020401
|
519
520
|
requirements: []
|
520
521
|
rubyforge_project: kuhsaft
|
521
522
|
rubygems_version: 1.8.24
|