apmate 0.2.1 → 0.2.2

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: f2da6808e9f1f2820ec0d42b4a2f8c09287ecd99
4
- data.tar.gz: f33e8dc38b4b8c2f98df57a2086d59770c97f03a
3
+ metadata.gz: 89b97c4e8145817e346464a998ccc8dbdc6b4672
4
+ data.tar.gz: 7c1caf3a8357f4d2fb5ef3f64fefac466f03d345
5
5
  SHA512:
6
- metadata.gz: f33666e8b118e6dc3c338970ad5b925adac5cad64451f960314e4952bb96273b98f9f26f0a6572e6b4a436c9058edb66b7d91a38a9c5f4fe41550cfefa07980f
7
- data.tar.gz: 3f113f37301448b27e2e5fbad96583c6d36e9ef1e2da54eeaf8e7054104b62c5d5df7669e44b9414887557ed7eed4dc930306c7cbbd2fa3715cc038f88802fba
6
+ metadata.gz: ff0954b0372dd55ac2e42683a21d59cf973689742379f7ea77ec044f3b500109b01ea9414720b806571f3084864002199b1f8f6f17156b6473e9803c3940a124
7
+ data.tar.gz: d61f8193df81946d64a3d52079f4dc3c6b16d561f7abd051b040448fbb2577821ad06729b103f0ddd9712f0cdc9379ca6ee105f84343f02f8f45c5241ca51e66
data/lib/apmate/cli.rb CHANGED
@@ -31,7 +31,7 @@ class Apmate::CLI
31
31
  def self.apply_dir(dir, opts)
32
32
  yaml_files = []
33
33
  if Pathname.new(dir).relative?
34
- Dir["#{Dir.pwd}/**/*.yaml"].each {|f| yaml_files << File.expand_path(f) }
34
+ Dir["#{File.expand_path(dir, Dir.pwd)}/**/*.yaml"].each {|f| yaml_files << File.expand_path(f) }
35
35
  else
36
36
  Dir["#{dir}/**/*.yaml"].each {|f| yaml_files << File.expand_path(f) }
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module Apmate
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
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.1
4
+ version: 0.2.2
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-07 00:00:00.000000000 Z
11
+ date: 2018-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cri