railshoster 0.6.2 → 0.6.3
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.
- data/CHANGELOG.textile +5 -1
- data/Gemfile.lock +5 -5
- data/lib/railshoster/init_command.rb +2 -2
- data/lib/railshoster/init_gem_helpers.rb +5 -3
- data/lib/railshoster/version.rb +1 -1
- metadata +4 -4
data/CHANGELOG.textile
CHANGED
|
@@ -68,4 +68,8 @@ h3. 0.6.0
|
|
|
68
68
|
|
|
69
69
|
h3. 0.6.1
|
|
70
70
|
|
|
71
|
-
* Added a more meaningful error message when being invoked with a non-git repo.
|
|
71
|
+
* Added a more meaningful error message when being invoked with a non-git repo.
|
|
72
|
+
|
|
73
|
+
h3. 0.6.3
|
|
74
|
+
|
|
75
|
+
* Updated message when there's no compatible database gem in Gemfile.lock.
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
railshoster (0.6.
|
|
4
|
+
railshoster (0.6.2)
|
|
5
5
|
bundler (>= 1.0.15)
|
|
6
6
|
capistrano
|
|
7
7
|
capistrano-ext
|
|
@@ -14,7 +14,7 @@ PATH
|
|
|
14
14
|
GEM
|
|
15
15
|
remote: http://rubygems.org/
|
|
16
16
|
specs:
|
|
17
|
-
capistrano (2.
|
|
17
|
+
capistrano (2.11.2)
|
|
18
18
|
highline
|
|
19
19
|
net-scp (>= 1.0.0)
|
|
20
20
|
net-sftp (>= 2.0.0)
|
|
@@ -26,7 +26,7 @@ GEM
|
|
|
26
26
|
erubis (2.7.0)
|
|
27
27
|
fakefs (0.4.0)
|
|
28
28
|
git (1.2.5)
|
|
29
|
-
gli (1.
|
|
29
|
+
gli (1.3.3)
|
|
30
30
|
highline (1.6.11)
|
|
31
31
|
json (1.6.5)
|
|
32
32
|
metaclass (0.0.1)
|
|
@@ -39,7 +39,7 @@ GEM
|
|
|
39
39
|
net-ssh (2.3.0)
|
|
40
40
|
net-ssh-gateway (1.1.0)
|
|
41
41
|
net-ssh (>= 1.99.1)
|
|
42
|
-
os (0.9.
|
|
42
|
+
os (0.9.4)
|
|
43
43
|
rspec (2.8.0)
|
|
44
44
|
rspec-core (~> 2.8.0)
|
|
45
45
|
rspec-expectations (~> 2.8.0)
|
|
@@ -48,7 +48,7 @@ GEM
|
|
|
48
48
|
rspec-expectations (2.8.0)
|
|
49
49
|
diff-lcs (~> 1.1.2)
|
|
50
50
|
rspec-mocks (2.8.0)
|
|
51
|
-
sane (0.
|
|
51
|
+
sane (0.24.6)
|
|
52
52
|
os
|
|
53
53
|
|
|
54
54
|
PLATFORMS
|
|
@@ -60,7 +60,7 @@ module Railshoster
|
|
|
60
60
|
|
|
61
61
|
protected
|
|
62
62
|
|
|
63
|
-
def process_application_hash
|
|
63
|
+
def process_application_hash
|
|
64
64
|
expand_app_hash_product_specifically
|
|
65
65
|
# e.g. mysql2
|
|
66
66
|
@app_hash["db_gem"] = get_db_gem.name
|
|
@@ -120,4 +120,4 @@ module Railshoster
|
|
|
120
120
|
puts "Alternatively, you can use capistrano commands such as 'cap deploy' and 'cap shell'."
|
|
121
121
|
end
|
|
122
122
|
end
|
|
123
|
-
end
|
|
123
|
+
end
|
|
@@ -27,7 +27,9 @@ module Railshoster
|
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
unless found_unsupported_db_gems.empty? then
|
|
30
|
-
puts "Attention
|
|
30
|
+
puts "Attention:\nYour Gemfile.lock tells me that you are using at least one unsupported database gem:\n\n"
|
|
31
|
+
puts found_unsupported_db_gems.map {|g| "* #{g.name}"}.join("\n")
|
|
32
|
+
puts "\n"
|
|
31
33
|
end
|
|
32
34
|
|
|
33
35
|
if found_supported_db_gems.size == 1 then
|
|
@@ -37,9 +39,9 @@ module Railshoster
|
|
|
37
39
|
puts "You are using more than one supported database gem. Hence I cannot uniquely identify the gem your app depends on. Please change your Gemfile and perform bundle update to update your Gemfile.lock file."
|
|
38
40
|
raise("Abortet. Ambigious database gem information.")
|
|
39
41
|
else
|
|
40
|
-
raise(
|
|
42
|
+
raise('Abortet. Please update your Gemfile to with "gem mysql" or "gem mysql2" and run "bundle update" to update your Gemfile.lock.')
|
|
41
43
|
end
|
|
42
44
|
found_supported_db_gems.first
|
|
43
45
|
end
|
|
44
46
|
end
|
|
45
|
-
end
|
|
47
|
+
end
|
data/lib/railshoster/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: railshoster
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 1
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 6
|
|
9
|
-
-
|
|
10
|
-
version: 0.6.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.6.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Julian Fischer
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2012-
|
|
18
|
+
date: 2012-03-12 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: bundler
|