ey_enzyme 0.9.42 → 0.9.43

Sign up to get free protection for your applications and to get access to all the features.
data/lib/ey_enzyme/cli.rb CHANGED
@@ -146,7 +146,6 @@ module EY::Enzyme
146
146
  end
147
147
 
148
148
  json["quick"] = true if @opts[:quick]
149
- json["removed_applications"] = self.class.find_removed_applications(json)
150
149
 
151
150
  @logger.debug "Writing json dna to file system"
152
151
 
@@ -155,20 +154,5 @@ module EY::Enzyme
155
154
  f.chmod(0600)
156
155
  end
157
156
  end
158
-
159
- def self.find_removed_applications(new_dna, file = "/etc/chef/dna.json")
160
- json = if file.respond_to?(:string)
161
- file.string
162
- elsif File.exists?(file)
163
- File.read(file)
164
- else
165
- raise "File Not Found"
166
- end
167
-
168
- old_dna = JSON.parse(json)
169
- old_dna['applications'].keys - new_dna['applications'].keys
170
- rescue
171
- [ ]
172
- end
173
157
  end
174
158
  end
@@ -1,5 +1,5 @@
1
1
  module EY
2
2
  module Enzyme
3
- VERSION = "0.9.42"
3
+ VERSION = "0.9.43"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ey_enzyme
3
3
  version: !ruby/object:Gem::Version
4
- hash: 111
4
+ hash: 109
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 42
10
- version: 0.9.42
9
+ - 43
10
+ version: 0.9.43
11
11
  platform: ruby
12
12
  authors:
13
13
  - Engine Yard Inc.