comrad 0.1.3 → 0.1.4

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: 8a9a22acd9b3c8b83814572541f1e01776bfb441
4
- data.tar.gz: 0f8a3aa36c336afe154cbde1d6975465f5090792
3
+ metadata.gz: 7dfa87d9578aa1e1a8b8b7a97478bcf05bd1cf44
4
+ data.tar.gz: bd6185ef69ad44addb7361a29bccb76d6911390f
5
5
  SHA512:
6
- metadata.gz: fbbdf600e995f32a28a2d6833bfcb2a5995774c4784cdc0f74e2812d4e262543ec182dadb4a2903a02d19cb646b2c4a9e42f270a0e5b40e33cd478e74c6917b4
7
- data.tar.gz: 3bdb338f840f62f4d1b0f4c68b94f2b3eb188e2f097e615d42895e313d56c5d8c840573a1052892704f39d16cff1bff7f4c347747a0a000e48a92bef11beb9b2
6
+ metadata.gz: ce3f3ffcc9414ec1961e6b42036698bdf7d3baef589775de4e150c958a0ba51f0a38c3e2a079ff8208c2c1da6f19304d8caed793853e193487a506dffe4506e3
7
+ data.tar.gz: 8dac30ea4540aceda52244d4aeb376ee1e46c4a6f05b142bc657de30c2760574976e792e937582060cca7e48e0da2f9d091bd59e3e9e4be1fef08c851ea73e40
@@ -4,6 +4,7 @@ cache:
4
4
  install:
5
5
  - bundle install
6
6
  rvm:
7
+ - 2.0.0
7
8
  - 2.1.6
8
9
  - 2.2.2
9
10
  script:
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'comrad'
3
- s.version = '0.1.3'
3
+ s.version = '0.1.4'
4
4
  s.date = Date.today.to_s
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.extra_rdoc_files = ['README.md', 'LICENSE']
@@ -76,10 +76,10 @@ module Comrad
76
76
  files_array.each do |file|
77
77
  split_file = file.split('/')
78
78
  case
79
- when file.match(/^[cookbook|roles|environments]/)
79
+ when /^(cookbook|roles|environments)/.match(file)
80
80
  # "cookbooks"=>{"some-cookbook"=>"update"}
81
81
  objects[split_file[0]][split_file[1]] = action(split_file[0..1].join('/'))
82
- when file.match(/^data_bags/)
82
+ when /^data_bags/.match(file)
83
83
  # "data_bags"=>{"some_dbag/some_item.json"=>"update"}
84
84
  objects[split_file[0]][split_file[1..2].join('/')] = action(split_file[0..2].join('/'))
85
85
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comrad
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Smith