brightcontent-core 2.1.4 → 2.1.5
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d35bf6ba253fbd2ddf7fe207a0fe4a1fbecfbf61
|
4
|
+
data.tar.gz: ec5cfee1eb6b6f149d590f3db1a571b785d1d950
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3949d392a27a5b32cbaad04de8a127a833293a4b5dd834cdba69fea8ee7e10e0ecab9ebf5471348f82dd77291aea6b5e8147e813c57c4833437a16905c4861e3
|
7
|
+
data.tar.gz: 9fad89c2d9884156e629cac2f359e7570b09858901ba4e5df01a232aa3ecb05f7271fefd6c03e5bcfdcdabe9b4e4143babca296c3cb512f24b08b3050c7a87d7
|
data/brightcontent-core.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.require_paths = ["lib"]
|
17
17
|
|
18
18
|
s.add_dependency "rails", ">= 4.0.0"
|
19
|
-
s.add_dependency "bcrypt
|
19
|
+
s.add_dependency "bcrypt"
|
20
20
|
s.add_dependency "bootstrap-sass", ">= 3.1"
|
21
21
|
s.add_dependency "bootstrap-wysihtml5-rails", ">= 0.3.2"
|
22
22
|
s.add_dependency "coffee-rails"
|
@@ -98,7 +98,7 @@ SimpleForm.setup do |config|
|
|
98
98
|
config.label_class = 'control-label col-sm-2'
|
99
99
|
|
100
100
|
# You can define the class to use on all forms. Default is simple_form.
|
101
|
-
config.
|
101
|
+
config.default_form_class = 'form-horizontal'
|
102
102
|
|
103
103
|
# You can define which elements should obtain additional classes
|
104
104
|
# config.generate_additional_classes_for = [:wrapper, :label, :input]
|
@@ -1,12 +1,21 @@
|
|
1
1
|
class CreateBrightcontentAdminUsers < ActiveRecord::Migration
|
2
|
-
def
|
2
|
+
def up
|
3
3
|
create_table :brightcontent_admin_users do |t|
|
4
4
|
t.string :email
|
5
5
|
t.string :password_digest
|
6
|
-
|
7
6
|
t.timestamps
|
8
7
|
end
|
9
8
|
|
10
|
-
Brightcontent::AdminUser
|
9
|
+
if defined? Brightcontent::AdminUser
|
10
|
+
Brightcontent::AdminUser.create!(
|
11
|
+
email: 'admin@example.com',
|
12
|
+
password: 'password',
|
13
|
+
password_confirmation: 'password'
|
14
|
+
)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
def down
|
19
|
+
drop_table :brightcontent_admin_users
|
11
20
|
end
|
12
21
|
end
|
data/spec/factories.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brightcontent-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Developers at Brightin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 4.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: bcrypt
|
28
|
+
name: bcrypt
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|