CheckSwiftGen 0.0.8 → 0.0.10

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: 39897f435a3892705a93c57873bd4355ab63fc7a610b96bc5b7a576abc860208
4
- data.tar.gz: fbaf807dffddc565f683325bac78b6434396a24e8d1be7832c7481089f911a39
3
+ metadata.gz: a5b368aefeb3121963a9596637ff81bac11f13a7a64be59dec05b3f6306777a2
4
+ data.tar.gz: 3f6a89237f87e8231040831084cb216fea0703fdde399b41e9e2b3852d857693
5
5
  SHA512:
6
- metadata.gz: 4948b0eb2e13e0fa228b4851fa20d752bf124252cb65d23098e77a4d3f5baf248edb6658b2d581037f8972e89e6ed97a3ebae224f8046ca9174b9b014dc99015
7
- data.tar.gz: 5bc1f542756696a9c148a7144d666fedd5527fd59073ff88a9d7aa6e632cb89e09e622398a48bd40eca1bb503be688915f0d47d1087c12ccbbaaaaf7e453e826
6
+ metadata.gz: 12e02f1fe8df41e250d2aa5c386ef12c5297569a8810f32661ec3952ba4c8708c48915ed971df60787558cd43d3f989d07c8055a0497ebf7ab6edb3808703310
7
+ data.tar.gz: 3ac3d420bf460358a721b4ea8467bd49970e62cfdffd1efeb89da2044f897c758426513a88065ea578b04b10b3c0b8cacc53ba205ebb648340ee1bcde9ef60ab
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'CheckSwiftGen'
3
- s.version = '0.0.8'
3
+ s.version = '0.0.10'
4
4
  s.summary = "Hola!"
5
5
  s.description = "A simple checking for repeat call swiftgen"
6
6
  s.authors = ["Ruslan Prokofev"]
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.files = `git ls-files`.split($\)
9
9
  s.bindir = 'bin'
10
10
  s.require_paths = ["lib", "bin"]
11
- s.executables << 'cache_invalidate'
11
+ s.executables << 'swiftgen_check'
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.swiftgen_check(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 swiftgen_check(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
 
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.8
4
+ version: 0.0.10
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
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
23
23
  - lib/.DS_Store
24
24
  - lib/check_swiftgen.rb
25
25
  homepage: http://instagram.com/mefilt
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]))