fastlane-plugin-cryptex 0.1.4 → 0.1.5

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
- SHA1:
3
- metadata.gz: 9e7e52be1d3bf837c665852e86e4dce1dfaaf4aa
4
- data.tar.gz: 8efee788f405cccd7b5e10489417aa74c2cd0d56
2
+ SHA256:
3
+ metadata.gz: fc98d105eb54653dd1964c5aad1060f91c18b8f6d200bcfbad40957d68027742
4
+ data.tar.gz: '019815a4aa0573e27214bda55f1309f7d13c8101250e4c341032a86aa4512f9d'
5
5
  SHA512:
6
- metadata.gz: 5f8e4e6fc4492c29add0fd73b1a4d779cb4cddad4af97d5f9c8a305d4f41624ed9948090fd1b9d36f018745b437112d719bfc48546f29c237da04371877022be
7
- data.tar.gz: 693215239f21ce0c622924f9efbd43a176157dbb9ea4e7d3b8d1b1988a9cdad86524aa28c994cae4628e1636750a0c0a243a11f739e9d221fc58ed7793b9154d
6
+ metadata.gz: 9a8d11458d6ee7d5477e95b8942cf1cbc03a31ac3ec95e1104d4641ec1e97c4db34a5fa361442ca5b68da56eb3280c37e1879b1bcebfde717393f601b5a31fd6
7
+ data.tar.gz: 4973a8464770f232c07854191e45427d8cea04be897331872e886f068add3ca8d16472b0c2e6a5bafd2da8bf6c17ac0f9b38e9f39f15748c7433b3ac8a046429
data/README.md CHANGED
@@ -59,7 +59,7 @@ lane :test do
59
59
  key: "my_awesome_app_production"
60
60
  )
61
61
 
62
- # Nuke's all files
62
+ # Nukes all files
63
63
  cryptex(
64
64
  type: "nuke"
65
65
  )
@@ -51,6 +51,10 @@ module Fastlane
51
51
 
52
52
  file = params[:key] unless params[:key].to_s.length.zero?
53
53
  file ||= File.basename(params[:in])
54
+
55
+ require "fileutils"
56
+
57
+ FileUtils.mkdir_p(File.dirname("#{params[:workspace]}/#{file}"))
54
58
  File.write("#{params[:workspace]}/#{file}.crypt", File.read(in_path))
55
59
  @git_changed = true
56
60
  end
@@ -71,7 +75,12 @@ module Fastlane
71
75
 
72
76
  outfile = params[:out] unless params[:out].to_s.length.zero?
73
77
  outfile ||= File.basename(params[:key])
74
- File.write(File.expand_path(outfile), File.read(path))
78
+ outfile = File.expand_path(outfile)
79
+
80
+ require "fileutils"
81
+
82
+ FileUtils.mkdir_p(File.dirname(outfile))
83
+ File.write(outfile, File.read(path))
75
84
  end
76
85
 
77
86
  def nuke_all(params)
@@ -1,6 +1,6 @@
1
1
  module Fastlane
2
2
  module Cryptex
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  DESCRIPTION = "cryptex"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-cryptex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Helmut Januschka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-25 00:00:00.000000000 Z
11
+ date: 2019-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander
@@ -166,9 +166,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  version: '0'
167
167
  requirements: []
168
168
  rubyforge_project:
169
- rubygems_version: 2.6.8
169
+ rubygems_version: 2.7.2
170
170
  signing_key:
171
171
  specification_version: 4
172
172
  summary: fastlane Crypt Store Git repo
173
173
  test_files: []
174
- has_rdoc: