geminabox-release 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c325616eb9060eccdcf2631308b087680fe7682d
4
- data.tar.gz: 82011a63de0f1d810f556d941ec339da849339ae
3
+ metadata.gz: 313fb27f96aad921f03c3a29adab167264b087dc
4
+ data.tar.gz: 7ebd36b3cddf38655dc8253fa0b29569bc8f5a98
5
5
  SHA512:
6
- metadata.gz: a703ef8202757746c3267651738bbfb61d842e7167a1605460c08da5f360dd51e303b8a1365300b8c2a785a9891ac28f6f19c60b0650cf5faf7fe0c56e9f6752
7
- data.tar.gz: bf2290294d23b2eebe911fb1be957794dfb97f0fb3afcc4af7f81b33a3228196180b3de296283c33a1a57bdaaa3844a8638a1bde5d49a3ebf615d60343c31c58
6
+ metadata.gz: 68ca2265933514f1db7adb1069752d5370aeb2f7a4684a864458c84f0cb54e87942ce84d8ba61076684f792d5c7c3fde3daf3f08551de1604368e22272796041
7
+ data.tar.gz: 984f157594d6d841d42849959da88b9a879451d28254a1a8ef8d2ef0d794cbca131a109a7e5f5a5b536b794a51cb37b781a585ff2efc631615906eb431ca5662
@@ -7,13 +7,8 @@ module GeminaboxRelease
7
7
  @host
8
8
  end
9
9
 
10
- def self.options
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 << "#{!!GeminaboxRelease.options[:overwrite]}"
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)
@@ -1,4 +1,4 @@
1
1
  module GeminaboxRelease
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geminabox-release
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis-Florian Herr