speedflow 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f6996a842f5959b7ae5229cba41acc4c91d25e9e
4
- data.tar.gz: d18bdc099b4c942eb2fdbda08850585d0ecb1c69
3
+ metadata.gz: 812f8aaa50045d5830a11875c2ef123e09bce60e
4
+ data.tar.gz: 13c84fc4bb343f1a91b5ae6c1cc9780a1dac2065
5
5
  SHA512:
6
- metadata.gz: 01906c0162cd78e98bf3691264fa35cc9452bda7bbdd30c55da327103dab67cfb407a4c52a218fb8ca1385e47b3744d78b847d98b0db4e3531082ae5b478c6fb
7
- data.tar.gz: 14bda88c2ed2464f2b1bf2cd4bfe44f7a8443d3265e938a5666f4eb7fc2b5b4743a1837f6a4b5aecad44651cd796c36a3874d576c014af588725985ecc67d741
6
+ metadata.gz: 4672c8ac79a202b54e74d0952ce87303cb62dfcf5eccc48e2a7952991f2b70aa72f7325c67e1f672a65a8454039c2f2ad228964df624b22b56aa28ab6a217252
7
+ data.tar.gz: 3f4d9ffc70f35e57d6ede265fb8cdd61dd387cf2267d7235283541c7600d07805dbe3b36ab122dcf40655b791dad1ee72bd500700e2b0534834e71e4a56576f8
data/bin/sf CHANGED
@@ -18,7 +18,8 @@ Mercenary.program(:speedflow) do |program|
18
18
  '-c FILE1[,FILE2[,FILE3...]]',
19
19
  '--config FILE1[,FILE2[,FILE3...]]',
20
20
  Array,
21
- 'Custom configuration file')
21
+ 'Custom configuration file'
22
+ )
22
23
 
23
24
  # program.logger(Logger::DEBUG)
24
25
 
data/bin/speedflow CHANGED
@@ -18,7 +18,8 @@ Mercenary.program(:speedflow) do |program|
18
18
  '-c FILE1[,FILE2[,FILE3...]]',
19
19
  '--config FILE1[,FILE2[,FILE3...]]',
20
20
  Array,
21
- 'Custom configuration file')
21
+ 'Custom configuration file'
22
+ )
22
23
 
23
24
  # program.logger(Logger::DEBUG)
24
25
 
@@ -78,7 +78,8 @@ module Speedflow
78
78
  '',
79
79
  "--#{argument} #{argument.capitalize}",
80
80
  String,
81
- 'Option form flow.')
81
+ 'Option form flow.'
82
+ )
82
83
  end
83
84
  end
84
85
 
@@ -109,10 +109,10 @@ module Speedflow
109
109
  end
110
110
 
111
111
  # File not found exception
112
- class ConfigurationFileNotFound < Exception
112
+ class ConfigurationFileNotFound < RuntimeError
113
113
  end
114
114
 
115
115
  # File format exception
116
- class ConfigurationFileFormat < Exception
116
+ class ConfigurationFileFormat < RuntimeError
117
117
  end
118
118
  end
@@ -6,8 +6,7 @@ class Hash
6
6
  # hash - Default hash.
7
7
  # block - Used to work outside
8
8
  #
9
- # TODO Re-enable Rubocop [...]
10
- # rubocop:disable MethodLength, PerceivedComplexity, CyclomaticComplexity
9
+ # rubocop:disable PerceivedComplexity, CyclomaticComplexity
11
10
  #
12
11
  # Returns Hash.
13
12
  def replace_values(pattern, hash = nil, &block)
@@ -26,7 +25,7 @@ class Hash
26
25
  end
27
26
  hash
28
27
  end
29
- # rubocop:enable MethodLength, PerceivedComplexity, CyclomaticComplexity
28
+ # rubocop:enable PerceivedComplexity, CyclomaticComplexity
30
29
 
31
30
  # Public: Change Hash values with environment values.
32
31
  #
@@ -121,6 +121,6 @@ module Speedflow
121
121
  end
122
122
 
123
123
  # Trigger exception.
124
- class FlowTriggerNotFound < Exception
124
+ class FlowTriggerNotFound < RuntimeError
125
125
  end
126
126
  end
@@ -91,7 +91,7 @@ module Speedflow
91
91
  end
92
92
 
93
93
  # Input exception
94
- class ConfigurationInputRequire < Exception
94
+ class ConfigurationInputRequire < RuntimeError
95
95
  end
96
96
  end
97
97
  end
@@ -120,11 +120,11 @@ module Speedflow
120
120
  end
121
121
 
122
122
  # Plugin exception
123
- class PluginNotFound < Exception
123
+ class PluginNotFound < RuntimeError
124
124
  end
125
125
 
126
126
  # Plugin action exception
127
- class PluginActionNotFound < Exception
127
+ class PluginActionNotFound < RuntimeError
128
128
  end
129
129
  end
130
130
  end
@@ -1,3 +1,3 @@
1
1
  module Speedflow
2
- VERSION = '0.3.4'.freeze
2
+ VERSION = '0.3.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: speedflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Breux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-13 00:00:00.000000000 Z
11
+ date: 2016-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: require_all