android-xml 1.2.1 → 1.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: 6ea98df069e723d6c8a9d8c87367d2e994b4d2c8
4
- data.tar.gz: e989b9531aa89ee0cffc0f3970cd7b124bc49c6a
3
+ metadata.gz: d506adcceb4029ba73f444e1bfb5c31f67c95df0
4
+ data.tar.gz: 84898757fcdcf17cacc66d4960a5935b99ab9274
5
5
  SHA512:
6
- metadata.gz: d0fff1d2c237b50d28b2b43d2212f7270417459108374d32ed9925097827c6675be0623c6a929890dd6491996e7372b5bc7043a6dc38a9d50d8218e9b67c2dc4
7
- data.tar.gz: a1c30d9af6d69271f57e74fd0da6dead8a2f6633d26a4656b72d129777af5e8ebdb1d0e6e916e730abce9ce305ffcf76432a8b4568f5477e3cb990dd62ac8bfd
6
+ metadata.gz: b27e7d59f2d2c4158380e5a4241dd99040b1b970dd5885c0c684563ac1e29264b624f0f343c84736016527cb6cc0619917f0388577c4b35a4050ac8756feca7f
7
+ data.tar.gz: 9f09c2c75c8b22a14fb1fbf138dee0e1bd4a9ea121cf461c1a4062fe452f16e08b6d99136a9f3658ebd5987120e2fa745e15367db8043de19e5714217f54ada6
@@ -37,11 +37,11 @@ module AndroidXml
37
37
  locations.each do |location|
38
38
 
39
39
  Dir.glob(File.join(location, '**/*.xml')).each do |filename|
40
- filename = File.absolute_path(filename)
41
- unless generated.include?(filename)
42
- if File.new(filename).read =~ /generated by AndroidXml/
40
+ abs_path = File.absolute_path(filename)
41
+ unless generated.include?(abs_path)
42
+ if File.new(abs_path).read =~ /generated by AndroidXml/
43
43
  warn "\033[31m␡\033[0m #{filename}"
44
- File.delete(filename)
44
+ File.delete(abs_path)
45
45
  end
46
46
  end
47
47
  end
@@ -1,3 +1,3 @@
1
1
  module AndroidXml
2
- Version = '1.2.1'
2
+ Version = '1.2.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: android-xml
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin T.A. Gray