factor 0.6.2 → 0.6.3

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: 29e35e4b30a6d1b186e272675974fbbfe6f6a464
4
- data.tar.gz: c68209fbdefb6248eecbf41aee2f5da1d4c4f0e1
3
+ metadata.gz: e28a2f08cdba9af411b81e73a76fb45e636a29a6
4
+ data.tar.gz: 1713d9bf5e5ec9fc52bfd9d676b9889e4397528c
5
5
  SHA512:
6
- metadata.gz: 1cd0ddd3a61a732861381adda73d2d6e7505cfcfc672fd316cb0e60117ff49c44d22dbdbfd9b8905d417dd79e2128d894e7e808c98debb0d31ae5566e284f2dc
7
- data.tar.gz: 54d47d054f99ad4d89764ed2c73c2db3bf5ac9b3596dc25c7c0e8288cc823068d54fd7ca0663c5a4f9bb7f6cff306873571ab1cc38319deba0fed63e4fb7b528
6
+ metadata.gz: fd78594288d0f1f86e07fd92d3207c429f09a0df1867601d9d8efa709360a7309411bd550bce7f2691ff8e79cbbefb0e5ec6640b0445868eae2727ac26bbec44
7
+ data.tar.gz: 674bb6adeb7232d7988a7538547bdb9f0fe481361d7048184ba0f4788794a72d8cd50b766305111729ecf1e9849ffab51579bb7ad5eff7441ae129296fa40a9a
@@ -27,9 +27,7 @@ module Factor
27
27
  end
28
28
 
29
29
  def cloud(args, options)
30
- account_id = args[0]
31
- workflow_id = args[1]
32
- api_key = args[2]
30
+ account_id, workflow_id, api_key = args
33
31
  host = (options.host || "https://factor.io").sub(/(\/)+$/,'')
34
32
 
35
33
  if !api_key || !workflow_id || !account_id
@@ -47,7 +45,7 @@ module Factor
47
45
  exit
48
46
  end
49
47
 
50
- workflow_definition = workflow_info["workflow_definition"]
48
+ workflow_definition = workflow_info["definition"]
51
49
 
52
50
  info "Getting credentials from Factor.io Cloud"
53
51
  begin
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Primary Factor.io module
4
4
  module Factor
5
- VERSION = '0.6.2'
5
+ VERSION = '0.6.3'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Skierkowski
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 4.2.0
61
+ version: 4.2.1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 4.2.0
68
+ version: 4.2.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rest-client
71
71
  requirement: !ruby/object:Gem::Requirement