gemstreamer 0.0.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +4 -1
- data/gemstreamer.gemspec +1 -1
- data/lib/publisher.rb +1 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
data/gemstreamer.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{gemstreamer}
|
8
|
-
s.version = "
|
8
|
+
s.version = "1.0.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Michel de Graaf", "Ludo van den Boom"]
|
data/lib/publisher.rb
CHANGED
@@ -21,6 +21,6 @@ class Gemstreamer::Publisher
|
|
21
21
|
def publish_dependencies(gems)
|
22
22
|
dep_hash = build_hash(gems)
|
23
23
|
#todo apikey / authorisation
|
24
|
-
RestClient.post "#{@host}/users/#{@user}/applications/#{@app}/deps", {"dependencies" => dep_hash }
|
24
|
+
RestClient.post "#{@host}/users/#{@user}/applications/#{@app}/deps", {"dependencies" => dep_hash } , :content_type => "application/json"
|
25
25
|
end
|
26
26
|
end
|