apmate 0.2.0 → 0.2.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: f679bfcd9b4a5ba1a3e2e77233579372ccb920cc
4
- data.tar.gz: dcce6f5b24192a76fabada8295d88bf0a0a0ac87
3
+ metadata.gz: f2da6808e9f1f2820ec0d42b4a2f8c09287ecd99
4
+ data.tar.gz: f33e8dc38b4b8c2f98df57a2086d59770c97f03a
5
5
  SHA512:
6
- metadata.gz: 861aabdb368c4bc510c65257672bb2bd8aaf37590f2f226259c200e2ca75bd20202fb692cde0fc22bef38b36abfa9b1092f2fba229203689bde11298d8dcf59f
7
- data.tar.gz: 3c26ca10bece7363629d29fee9e40b69698816e895df5e87e6f5834f30a21392d5a97647d3de2ba2324eaf2ca492e33fa1be19b97dc54e813cd0e0a6ca450afb
6
+ metadata.gz: f33666e8b118e6dc3c338970ad5b925adac5cad64451f960314e4952bb96273b98f9f26f0a6572e6b4a436c9058edb66b7d91a38a9c5f4fe41550cfefa07980f
7
+ data.tar.gz: 3f113f37301448b27e2e5fbad96583c6d36e9ef1e2da54eeaf8e7054104b62c5d5df7669e44b9414887557ed7eed4dc930306c7cbbd2fa3715cc038f88802fba
data/lib/apmate/cli.rb CHANGED
@@ -22,10 +22,8 @@ class Apmate::CLI
22
22
 
23
23
  def self.apply_file(file, opts)
24
24
  Apmate::Logger.logger.info "applying file #{file}"
25
- YAML.load_stream(file.to_s).each do |yaml_doc|
26
- yaml_hash = YAML.load_file yaml_doc
25
+ YAML.load_stream(File.read file).each do |yaml_hash|
27
26
  Apmate::Logger.logger.debug "yaml_hash: #{yaml_hash}"
28
-
29
27
  apmate_post yaml_hash, opts
30
28
  end
31
29
  end
@@ -1,3 +1,3 @@
1
1
  module Apmate
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apmate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Baldridge
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-05 00:00:00.000000000 Z
11
+ date: 2018-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cri