meroku 2.0.1 → 2.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: f7be4f01072a433fba2f50ff812851f21c4e2ac0
4
- data.tar.gz: 61a5c946401e35ac364463f1e373bd7f187bb39f
3
+ metadata.gz: 8769afa8548cc15558614fbdc529495a0d8742b6
4
+ data.tar.gz: 9214a901836c05e98bdffdc9f4b1662976328409
5
5
  SHA512:
6
- metadata.gz: ba56151fc0a233222e9ae76ff0fd4d15def370159b8c6fea0ce3b7a602d717ba334de0b499194c561d885233f3ca0d5f73fdea90cc94dfbededf4869c9e674d9
7
- data.tar.gz: 54c2d669d9ba0cd63c08416bbe63426daa938f4166ba9589d0b9a5470399664f6829b60164aea8c0bc2886ec952b1e0d8872c4e5c5b3b641147536ec0c16e15c
6
+ metadata.gz: 6152d3160394868db6f46a978cbeee5eb4dee9d308ae45138a1f92eb8ed8a213e47ee84e0d3b070a5241a294f23033e2968fa119a02cb7d6b69bc10975a3a5e5
7
+ data.tar.gz: 1410f02ff214e46191ee428bea44edb2c7b59aceab4d949ca787028f0bff015aa856f7694428a1670a8ba3303901740133612810825feefd82c8ce4d22b4f44d
data/lib/meroku/cli.rb CHANGED
@@ -115,7 +115,7 @@ module Meroku
115
115
  data = `cat ~/.ssh/id_rsa.pub`.chomp
116
116
  url = "https://www.meroku.com/publickeys.json"
117
117
  token = `cat ~/.meroku/.token`.chomp
118
- response_json = RestClient.post url, {:publickey=>{:name => nam, :data=>data}, :token=>token}.to_json, timeout: 1, :content_type => :json, :accept => :json
118
+ response_json = RestClient.post url, {:publickey=>{:name => name, :data=>data}, :token=>token}.to_json, timeout: 1, :content_type => :json, :accept => :json
119
119
 
120
120
  if JSON.parse(response_json)["errors"] && JSON.parse(response_json)["errors"].size > 0
121
121
  puts JSON.parse(response_json)["errors"].map{|x| x["detail"]}.join(".")
@@ -1,3 +1,3 @@
1
1
  module Meroku
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meroku
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Weerasinghe