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 CHANGED
@@ -3,7 +3,7 @@ development:
3
3
  default:
4
4
  hosts:
5
5
  - localhost:27017
6
- database: tc_development
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: tc_test
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
- - flame.mongohq.com:27048
26
- database: app5538187
27
- username: heroku
28
- password: heroku
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
@@ -3,7 +3,7 @@ development:
3
3
  default:
4
4
  hosts:
5
5
  - localhost:27017
6
- database: tc_development
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: tc_test
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:27017
26
- database: tc_production
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
@@ -2,7 +2,7 @@ module Techcor
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- PATCH = 7
5
+ PATCH = 8
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
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.7
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-25 00:00:00.000000000 Z
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: 446581622565084033
301
+ hash: 1310382809361252165
302
302
  required_rubygems_version: !ruby/object:Gem::Requirement
303
303
  none: false
304
304
  requirements: