CheckSwiftGen 0.0.7 → 0.0.12

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
  SHA256:
3
- metadata.gz: 5e377082900afffbf91985f05b09bfe6c3d9e5c75d79cd9c9a47b0b6e09ab044
4
- data.tar.gz: 48f18ebab8bc9264534e95728579ef7aeaf251a9c18c763a4fe91cc6f3089aa5
3
+ metadata.gz: d478ce3b02d624d4fe7ae554ef790c70495f963adfe445945df4635a3544f23e
4
+ data.tar.gz: 903291892a661b307057b3b518f51bf59b090bdba5bb1409f7247272c4041332
5
5
  SHA512:
6
- metadata.gz: b032787aaa3dab8d7efd739b07f6caceeb8e92c2b6bf654a4fe0d4aaa668dc018cc70b3bfbc182730df186f2ea18359dc82ab612be3a32c2ab448d1f8b1dab6a
7
- data.tar.gz: 4c854e883db46e7daf47466a8138eea51a91881f06bf0612450fb7df2b52979b14b67d307acaad7b6a0beae14f0a977a268305d188efd862c0a5be0b594ff890
6
+ metadata.gz: 1cfdcdf415d6fc1d8a29461313f0638e3e5d9ef6e6ae78e505383f0ebc38b72e375ef6c5282d8b11a6096d2936b9b3398c35c24c582c5b8681a7dda35c68f681
7
+ data.tar.gz: 7779acb3c823dda78d15d74f3b60f530195b131d9fc16396d72d0f0c088289900e52b7302a44256681b85ee504a31ce9e2c3885c44a608c9a30de7fa7577d891
@@ -1,14 +1,14 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'CheckSwiftGen'
3
- s.version = '0.0.7'
3
+ s.version = '0.0.12'
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 << 'cache_invalidate'
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
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'check_swiftgen'
4
+ puts(CheckSwiftGen.new.check_for_new(ARGV[0], ARGV[1]))
@@ -7,15 +7,15 @@ require 'yaml'
7
7
 
8
8
  class CheckSwiftGen
9
9
 
10
- def cache_invalidate(configuration_file, lock_path)
10
+ def check_for_new(configuration_file, lock_path)
11
11
 
12
12
  if File.file?("#{configuration_file}") == false
13
- puts("Configuration File not found")
13
+ puts("Configuration file didn`t found")
14
14
  return
15
15
  end
16
16
 
17
17
  if lock_path.nil? {}
18
- puts("Please input the lock path")
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.7
4
+ version: 0.0.12
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
- - cache_invalidate
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/cache_invalidate
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
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'check_swiftgen'
4
- puts(CheckSwiftGen.new.cache_invalidate(ARGV[0], ARGV[1]))