hieracles 0.2.1 → 0.2.2

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: c52c2ee117ba60358faf78e464d6530786ebeb79
4
- data.tar.gz: 9a1c3bd0fc147a75d1d0e399d75acd84c480dfa5
3
+ metadata.gz: a6b5269d88007785d1a82bc4ea5d9a6575206923
4
+ data.tar.gz: 3771f9302b9061157874ab0bf715f6c1588525ef
5
5
  SHA512:
6
- metadata.gz: f1039911f488752aeb1324c5a24c1ba0679fd1c64705766532d0fe364c6a7de311cf3de4cce0e069f08bde3c75ee553d5c26684ad4c0ea2d5ba72f7a1c5a10fa
7
- data.tar.gz: 91b8db1bbc0dfa06899a21542c6e172facff41a4a5fbf157870d9c6981afe17c90993d706be53129bdde5e5bb3db17179bfc7ac9a56cf87d52904e579d7cb3db
6
+ metadata.gz: e475ba6285c981327d5dd5a662bc8ed27d82606c3a78c383f5f2a9e0cbd8d85666bd8f3a2641ad0c2bd883f960ac7892fba3760d91d38e8e008f8d6f7aec7d4d
7
+ data.tar.gz: 8f554bbede7cf6fb3dceca5cf6f18c62defd5ee89b1b20df4a9403014044713b53f931e0e38c85cebe03fa990f67b0ab0ac3c01e41291bced3b9eea89b229303
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  Hieracles Changelog
2
2
  =======================
3
3
 
4
+ ### 0.2.2 - 2015-12-11
5
+ - remove support for ruby 1.9.3
6
+ because of the mime-type gem
7
+
4
8
  ### 0.2.1 - 2015-12-11
5
9
  - add configuration variables for connection to PuppetDB
6
10
  - make PuppetDB calls fill up the facts for the node queried
data/README.md CHANGED
@@ -175,6 +175,10 @@ If you set `usedb: true` the `hc` command will query the puppetdb by default and
175
175
 
176
176
  When usedb is true, a call to puppetdb will be made for all commands to retrieve facts if they are present for the queried node.
177
177
 
178
+ #### Extra commandline tool: ppdb
179
+
180
+ When hieracles is configured with parameters to connect to PuppetDB, you also can use the ppdb commandline to send direct queries to the database. Check `man ppdb` for more information.
181
+
178
182
 
179
183
  Completion
180
184
  -------------
data/hc.1 CHANGED
@@ -233,7 +233,7 @@ interactive: false
233
233
  .RE
234
234
 
235
235
  .SH SEE ALSO
236
- hiera(1), puppet(8)
236
+ hiera(1), puppet(8), ppdb(1)
237
237
 
238
238
  .SH BUGS
239
239
  Please report any bug to https://github.com/Gandi/hieracles/issues
@@ -54,7 +54,7 @@ describe Hieracles::Config do
54
54
  }
55
55
  end
56
56
  before { Hieracles::Config.load options }
57
- it { expect(Hieracles::Config.usedb).to be_truthy }
57
+ it { expect(Hieracles::Config.usedb).to be true }
58
58
  end
59
59
  context 'with nodb passed as param' do
60
60
  let(:options) do
@@ -64,7 +64,7 @@ describe Hieracles::Config do
64
64
  }
65
65
  end
66
66
  before { Hieracles::Config.load options }
67
- it { expect(Hieracles::Config.usedb).to be_falsey }
67
+ it { expect(Hieracles::Config.usedb).to be false }
68
68
  end
69
69
  end
70
70
 
@@ -77,7 +77,7 @@ describe Hieracles::Config do
77
77
  }
78
78
  end
79
79
  before { Hieracles::Config.load options }
80
- it { expect(Hieracles::Config.usedb).to be_truthy }
80
+ it { expect(Hieracles::Config.usedb).to be true }
81
81
  end
82
82
  end
83
83
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hieracles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - mose
@@ -52,26 +52,6 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: mime-types
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: 2.6.2
62
- - - "<"
63
- - !ruby/object:Gem::Version
64
- version: '3'
65
- type: :runtime
66
- prerelease: false
67
- version_requirements: !ruby/object:Gem::Requirement
68
- requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- version: 2.6.2
72
- - - "<"
73
- - !ruby/object:Gem::Version
74
- version: '3'
75
55
  - !ruby/object:Gem::Dependency
76
56
  name: bundler
77
57
  requirement: !ruby/object:Gem::Requirement