gitmodel-rails 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.6
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "gitmodel-rails"
8
- s.version = "0.1.5"
8
+ s.version = "0.1.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["mcasimir"]
@@ -5,7 +5,7 @@ module Gitmodel
5
5
  def create_config
6
6
  create_file(Rails.root.join("config", "gitmodel.yml")) do
7
7
  <<-eos
8
- git:
8
+ gitmodel:
9
9
  db_root: db/gitmodel
10
10
  default_branch: master
11
11
 
@@ -17,11 +17,12 @@ module GitmodelRails
17
17
  GitModel.memcache_servers = Array.wrap gitmodel_config.fetch("gitmodel", nil).try(:fetch, "memcache_servers", nil)
18
18
  GitModel.memcache_namespace = gitmodel_config.fetch("gitmodel", nil).try(:fetch, "memcache_namespace", GitModel.git_user_email)
19
19
 
20
- GitModel.db_root = Rails.root.join(GitModel.db_root)
20
+ GitModel.db_root = "#{Rails.root.join(GitModel.db_root)}"
21
21
 
22
22
  unless File.exist?(GitModel.db_root)
23
23
  GitModel.create_db!
24
24
  end
25
+
25
26
  end
26
27
 
27
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitmodel-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -110,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  segments:
112
112
  - 0
113
- hash: -2765123212370723492
113
+ hash: -686087657884463892
114
114
  required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  none: false
116
116
  requirements: