factor 0.6.8 → 0.6.9

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: ddcf98814939a721b5caeaae2f50e8bfd55b0288
4
- data.tar.gz: 1a70df8106bdcab53dcb93adb3643b5002118c5f
3
+ metadata.gz: 76382e0a204d6a7a074329b10251fe2c6280ad66
4
+ data.tar.gz: 79e21d34ea73edcf4d7a787c02bdcd1c1a546a00
5
5
  SHA512:
6
- metadata.gz: 75a72c5bc5fff14e0f505837f579469274c01c87ae4da4f182c3fd31ed189b456f61b72d609191e330566ffa8d1bdcc30bb163272656ad792bba2653d83f0f56
7
- data.tar.gz: b6fb48fedb7f4c9cda63d8168e95e2833e283bbe0028e8bd81c2fb1d9cedf61b4cdcf47741639365a5211225036d49db579a64563d90d3f66beaa57fd4fb7f51
6
+ metadata.gz: 695ae2d9563d558c6aa41d00e8ae8ef15d4c6eb8f8ddc1330d6bf74d8df2a3cdc752e68796c29d87ab7d87fdc1be1bec204b90091bd0c6ed1bdfa31e3b724ae9
7
+ data.tar.gz: 9245f847b913806a6801472d4c9375786619a19a94d3ad73ae34c9215793cb9af66bcf16598db617cea372d0993ab88c876279dbe04725562dac23559e5c0987
@@ -67,5 +67,4 @@ command 'registry connectors add' do |c|
67
67
  c.when_called Factor::Commands::RegistryCommand, :add_connector
68
68
  end
69
69
 
70
- alias_command 's', 'server'
71
- alias_command 'r', 'registry'
70
+ alias_command 's', 'server'
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'yaml'
4
4
  require 'rest-client'
5
- require 'erubis'
5
+ require 'liquid'
6
6
  require 'json'
7
7
 
8
8
  require 'commands/base'
@@ -99,8 +99,8 @@ module Factor
99
99
  end
100
100
 
101
101
  begin
102
- eruby = Erubis::Eruby.new(template)
103
- workflow_content = eruby.result(variables)
102
+ liquid = Liquid::Template.parse(template)
103
+ workflow_content = liquid.render variables
104
104
  rescue
105
105
  puts "Failed to generate template".red
106
106
  exit
@@ -1,12 +1,8 @@
1
1
  # encoding: UTF-8
2
2
 
3
- require 'configatron'
4
-
5
3
  require 'commands/base'
6
4
  require 'runtime/workflow'
7
5
 
8
- require 'pp'
9
-
10
6
  module Factor
11
7
  module Commands
12
8
  class RunCommand < Factor::Commands::Command
@@ -1,7 +1,5 @@
1
1
  # encoding: UTF-8
2
2
 
3
- require 'configatron'
4
-
5
3
  require 'commands/base'
6
4
  require 'runtime/workflow'
7
5
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Primary Factor.io module
4
4
  module Factor
5
- VERSION = '0.6.8'
5
+ VERSION = '0.6.9'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.8
4
+ version: 0.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Skierkowski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-18 00:00:00.000000000 Z
11
+ date: 2015-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.8.0
33
+ version: 0.9.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.8.0
40
+ version: 0.9.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: colored
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 4.2.1
61
+ version: 4.5.0
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.1
68
+ version: 4.5.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rest-client
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -81,33 +81,33 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: 1.7.2
83
83
  - !ruby/object:Gem::Dependency
84
- name: erubis
84
+ name: liquid
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 2.7.0
89
+ version: 3.0.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 2.7.0
96
+ version: 3.0.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: codeclimate-test-reporter
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.4.1
103
+ version: 0.4.5
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.4.1
110
+ version: 0.4.5
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rspec
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 10.3.2
131
+ version: 10.4.2
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 10.3.2
138
+ version: 10.4.2
139
139
  description: CLI to manager workflows on Factor.io
140
140
  email:
141
141
  - maciej@factor.io
@@ -185,3 +185,4 @@ specification_version: 4
185
185
  summary: CLI to manager workflows on Factor.io
186
186
  test_files:
187
187
  - "./spec/spec_helper.rb"
188
+ has_rdoc: