dstk 0.50.1 → 0.50.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dstk.rb +3 -3
  2. metadata +3 -3
@@ -28,7 +28,7 @@ module DSTK
28
28
 
29
29
  @api_base = options[:api_base]
30
30
 
31
- if options[:check_version]:
31
+ if options[:check_version]
32
32
  self.check_version()
33
33
  end
34
34
  end
@@ -81,7 +81,7 @@ module DSTK
81
81
  required_version = 50
82
82
  response = json_api_call('/info')
83
83
  actual_version = response['version']
84
- if actual_version < required_version:
84
+ if actual_version < required_version
85
85
  raise "DSTK: Version #{actual_version.to_s} found but #{required_version.to_s} is required"
86
86
  end
87
87
  end
@@ -155,4 +155,4 @@ module DSTK
155
155
  end
156
156
 
157
157
  end
158
- end
158
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dstk
3
3
  version: !ruby/object:Gem::Version
4
- hash: 213
4
+ hash: 211
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 50
9
- - 1
10
- version: 0.50.1
9
+ - 2
10
+ version: 0.50.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pete Warden