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 +1 -1
- data/gitmodel-rails.gemspec +1 -1
- data/lib/generators/gitmodel/install/install_generator.rb +1 -1
- data/lib/gitmodel-rails.rb +2 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.6
|
data/gitmodel-rails.gemspec
CHANGED
data/lib/gitmodel-rails.rb
CHANGED
@@ -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.
|
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: -
|
113
|
+
hash: -686087657884463892
|
114
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
115
|
none: false
|
116
116
|
requirements:
|