jerakia 0.4.0 → 0.4.1

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: 817afa48119cb3dbc3e6dff1aff91c3f02a8963f
4
- data.tar.gz: 9888a26fd1dacecfa9b89fb81455076a8133063d
3
+ metadata.gz: c86ae612670b7a022f1181b54bdd20e0df4cf7b4
4
+ data.tar.gz: fe18a3f6921b80c0a6667cc517538eb23d570df1
5
5
  SHA512:
6
- metadata.gz: 09b429d1e89534f1485e206fe15b1b4854b123eaeea6f7659700045359631cc767661caad3d574269634a73fc24115b3cba98a9c1bb3ac25709c066f904ae260
7
- data.tar.gz: 7644791657536cc40ef083786a1dda5a8c8455f4e2d920d0ff1d47541c6a1c0cb7509cf2b981b4cdd5c3e0c61c35b3f18acb672edff0bbeda1b26358d439bf88
6
+ metadata.gz: 8492c4df243144a4305563999e3f25e106b29f65783cb9ef574e388ef03cb5db28b4fd29b4fa67cb1a6cb7414c2b92d28a7fbdfb06754d82f6165338b634c658
7
+ data.tar.gz: 227e01b1fb2b2336b23eec773a205b855de771a5f568acd9bfc69c3d207c9d129639113b58534feb61351bc3ab0d70311f481888f8f7bfc3fc7b23577797621e
data/lib/jerakia/cli.rb CHANGED
@@ -56,5 +56,10 @@ class Jerakia
56
56
  answer = jac.lookup(req)
57
57
  puts answer.payload.to_json
58
58
  end
59
+
60
+ desc 'version', 'Version information'
61
+ def version
62
+ puts Jerakia::VERSION
63
+ end
59
64
  end
60
65
  end
@@ -0,0 +1,9 @@
1
+ class Jerakia
2
+
3
+ # Public API to retrieve the latest released version of the code
4
+ #
5
+ # This should be updated when a new gem is released and it is read from the gemspec file
6
+ #
7
+ VERSION = "0.4.1"
8
+
9
+ end
data/lib/jerakia.rb CHANGED
@@ -8,6 +8,7 @@ class Jerakia
8
8
  require 'jerakia/config'
9
9
  require 'jerakia/launcher'
10
10
  require 'jerakia/cache'
11
+ require 'jerakia/version'
11
12
 
12
13
  def initialize(options={})
13
14
  configfile = options[:config] || '/etc/jerakia/jerakia.yaml'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jerakia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Craig Dunn
@@ -77,6 +77,7 @@ files:
77
77
  - lib/jerakia/scope/metadata.rb
78
78
  - lib/jerakia/test.pp
79
79
  - lib/jerakia/util.rb
80
+ - lib/jerakia/version.rb
80
81
  - lib/puppet/indirector/data_binding/jerakia.rb
81
82
  - lib/puppet/indirector/data_binding/jerakia_rest.rb
82
83
  homepage: http://github.com/crayfishx/jerakia