techcor 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/config/mongoid.yml +6 -6
- data/config/mongoid.yml.sample +6 -4
- data/lib/techcor/version.rb +1 -1
- metadata +3 -3
data/config/mongoid.yml
CHANGED
@@ -3,7 +3,7 @@ development:
|
|
3
3
|
default:
|
4
4
|
hosts:
|
5
5
|
- localhost:27017
|
6
|
-
database:
|
6
|
+
database: techcor_development
|
7
7
|
logger: false
|
8
8
|
options:
|
9
9
|
raise_not_found_error: false
|
@@ -13,7 +13,7 @@ test:
|
|
13
13
|
default:
|
14
14
|
hosts:
|
15
15
|
- localhost:27017
|
16
|
-
database:
|
16
|
+
database: techcor_test
|
17
17
|
logger: false
|
18
18
|
options:
|
19
19
|
raise_not_found_error: false
|
@@ -22,10 +22,10 @@ production:
|
|
22
22
|
sessions:
|
23
23
|
default:
|
24
24
|
hosts:
|
25
|
-
-
|
26
|
-
database:
|
27
|
-
username:
|
28
|
-
password:
|
25
|
+
- <%= ENV['MONGOID_HOST'] || 'localhost' %>:<%= ENV['MONGOID_PORT'] || '27017' %>
|
26
|
+
database: <%= ENV['MONGOID_DATABASE'] || 'techcor_production' %>
|
27
|
+
username: <%= ENV['MONGOID_USERNAME'] %>
|
28
|
+
password: <%= ENV['MONGOID_PASSWORD'] %>
|
29
29
|
logger: false
|
30
30
|
options:
|
31
31
|
raise_not_found_error: false
|
data/config/mongoid.yml.sample
CHANGED
@@ -3,7 +3,7 @@ development:
|
|
3
3
|
default:
|
4
4
|
hosts:
|
5
5
|
- localhost:27017
|
6
|
-
database:
|
6
|
+
database: techcor_development
|
7
7
|
logger: false
|
8
8
|
options:
|
9
9
|
raise_not_found_error: false
|
@@ -13,7 +13,7 @@ test:
|
|
13
13
|
default:
|
14
14
|
hosts:
|
15
15
|
- localhost:27017
|
16
|
-
database:
|
16
|
+
database: techcor_test
|
17
17
|
logger: false
|
18
18
|
options:
|
19
19
|
raise_not_found_error: false
|
@@ -22,8 +22,10 @@ production:
|
|
22
22
|
sessions:
|
23
23
|
default:
|
24
24
|
hosts:
|
25
|
-
- localhost
|
26
|
-
database:
|
25
|
+
- <%= ENV['MONGOID_HOST'] || 'localhost' %>:<%= ENV['MONGOID_PORT'] || '27017' %>
|
26
|
+
database: <%= ENV['MONGOID_DATABASE'] || 'techcor_production' %>
|
27
|
+
username: <%= ENV['MONGOID_USERNAME'] %>
|
28
|
+
password: <%= ENV['MONGOID_PASSWORD'] %>
|
27
29
|
logger: false
|
28
30
|
options:
|
29
31
|
raise_not_found_error: false
|
data/lib/techcor/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: techcor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -298,7 +298,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
298
298
|
version: '0'
|
299
299
|
segments:
|
300
300
|
- 0
|
301
|
-
hash:
|
301
|
+
hash: 1310382809361252165
|
302
302
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
303
303
|
none: false
|
304
304
|
requirements:
|