CheckSwiftGen 0.0.6 → 0.0.11
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 +4 -4
- data/CheckSwiftGen.gemspec +3 -3
- data/bin/swiftgen_check_for_new +4 -0
- data/lib/check_swiftgen.rb +4 -4
- metadata +4 -3
- data/bin/cache_invalidate +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcedb9b6685a8edee67be95f611e8bca9dbd3297867afba19909c4bb804a1637
|
4
|
+
data.tar.gz: 4191a39aa0cc117fbcd612bc8d1af4084df98d0a6d0290f282c807c7f615b5d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dce68168b09185a03133c2bc4d6ac2aff2b117913e3e15b3a4d0e65a976adc8f4d31bddff8e0a7de0d261175e4bffa2b4d48875a65ded650f6898a25dda328ee
|
7
|
+
data.tar.gz: cc00eb857ff492c2a81195a211a949761fdad212afceaf7724895c1bb641608538fd93fabcbc394b89ffd28f282e91d5943954df71c526d9bb6b7e666c1c35c6
|
data/CheckSwiftGen.gemspec
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'CheckSwiftGen'
|
3
|
-
s.version = '0.0.
|
3
|
+
s.version = '0.0.11'
|
4
4
|
s.summary = "Hola!"
|
5
5
|
s.description = "A simple checking for repeat call swiftgen"
|
6
6
|
s.authors = ["Ruslan Prokofev"]
|
7
7
|
s.email = 'mefilt@gmail.com'
|
8
8
|
s.files = `git ls-files`.split($\)
|
9
9
|
s.bindir = 'bin'
|
10
|
-
s.require_paths = ["lib"]
|
11
|
-
s.executables << '
|
10
|
+
s.require_paths = ["lib", "bin"]
|
11
|
+
s.executables << 'swiftgen_check_for_new'
|
12
12
|
s.homepage = 'http://instagram.com/mefilt'
|
13
13
|
s.license = 'MIT'
|
14
14
|
end
|
data/lib/check_swiftgen.rb
CHANGED
@@ -7,15 +7,15 @@ require 'yaml'
|
|
7
7
|
|
8
8
|
class CheckSwiftGen
|
9
9
|
|
10
|
-
def
|
10
|
+
def check_for_new(configuration_file, lock_path)
|
11
11
|
|
12
12
|
if File.file?("#{configuration_file}") == false
|
13
|
-
puts("Configuration
|
13
|
+
puts("Configuration file didn`t found")
|
14
14
|
return
|
15
15
|
end
|
16
16
|
|
17
17
|
if lock_path.nil? {}
|
18
|
-
puts("
|
18
|
+
puts("Path for save file of lock didnt found")
|
19
19
|
return
|
20
20
|
end
|
21
21
|
|
@@ -44,7 +44,7 @@ class CheckSwiftGen
|
|
44
44
|
lock_path
|
45
45
|
)
|
46
46
|
end
|
47
|
-
|
47
|
+
|
48
48
|
def exist_new_files(assets_map, strings_map, lock_path)
|
49
49
|
|
50
50
|
tmp_name_file = "SwiftGen.tmp.lock"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: CheckSwiftGen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ruslan Prokofev
|
@@ -13,13 +13,13 @@ dependencies: []
|
|
13
13
|
description: A simple checking for repeat call swiftgen
|
14
14
|
email: mefilt@gmail.com
|
15
15
|
executables:
|
16
|
-
-
|
16
|
+
- swiftgen_check_for_new
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
20
|
- ".DS_Store"
|
21
21
|
- CheckSwiftGen.gemspec
|
22
|
-
- bin/
|
22
|
+
- bin/swiftgen_check_for_new
|
23
23
|
- lib/.DS_Store
|
24
24
|
- lib/check_swiftgen.rb
|
25
25
|
homepage: http://instagram.com/mefilt
|
@@ -30,6 +30,7 @@ post_install_message:
|
|
30
30
|
rdoc_options: []
|
31
31
|
require_paths:
|
32
32
|
- lib
|
33
|
+
- bin
|
33
34
|
required_ruby_version: !ruby/object:Gem::Requirement
|
34
35
|
requirements:
|
35
36
|
- - ">="
|
data/bin/cache_invalidate
DELETED