geminabox-release 0.0.1 → 0.0.2
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.
- checksums.yaml +4 -4
- data/lib/geminabox-release.rb +2 -10
- data/lib/geminabox-release/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 313fb27f96aad921f03c3a29adab167264b087dc
|
|
4
|
+
data.tar.gz: 7ebd36b3cddf38655dc8253fa0b29569bc8f5a98
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68ca2265933514f1db7adb1069752d5370aeb2f7a4684a864458c84f0cb54e87942ce84d8ba61076684f792d5c7c3fde3daf3f08551de1604368e22272796041
|
|
7
|
+
data.tar.gz: 984f157594d6d841d42849959da88b9a879451d28254a1a8ef8d2ef0d794cbca131a109a7e5f5a5b536b794a51cb37b781a585ff2efc631615906eb431ca5662
|
data/lib/geminabox-release.rb
CHANGED
|
@@ -7,13 +7,8 @@ module GeminaboxRelease
|
|
|
7
7
|
@host
|
|
8
8
|
end
|
|
9
9
|
|
|
10
|
-
def self.
|
|
11
|
-
@options
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
def self.patch(host, options = {})
|
|
10
|
+
def self.patch(host)
|
|
15
11
|
@host = host
|
|
16
|
-
@options = options
|
|
17
12
|
|
|
18
13
|
Bundler::GemHelper.class_eval do
|
|
19
14
|
def install
|
|
@@ -38,9 +33,6 @@ module GeminaboxRelease
|
|
|
38
33
|
end
|
|
39
34
|
|
|
40
35
|
def rubygem_push(path)
|
|
41
|
-
puts ARGV[0]
|
|
42
|
-
puts ARGV[1]
|
|
43
|
-
puts ARGV[1]
|
|
44
36
|
uri = URI.parse(GeminaboxRelease.host)
|
|
45
37
|
username = uri.user
|
|
46
38
|
password = uri.password
|
|
@@ -64,7 +56,7 @@ module GeminaboxRelease
|
|
|
64
56
|
post_body << "\r\n--#{boundary}\r\n"
|
|
65
57
|
post_body << "Content-Disposition: form-data; name=\"overwrite\"\r\n"
|
|
66
58
|
post_body << "\r\n"
|
|
67
|
-
post_body << "
|
|
59
|
+
post_body << "false"
|
|
68
60
|
post_body << "\r\n--#{boundary}--\r\n\r\n"
|
|
69
61
|
|
|
70
62
|
http = Net::HTTP.new(uri.host, uri.port)
|