fastlane-plugin-properties 1.1.0 → 1.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2aa93e94b2bcf6b8d84a1b9f2c2249c16bc418b3bc3f8ad2d44be5aba2823b7d
|
4
|
+
data.tar.gz: a88eace38425870d601b2d8f92b0a6bf343d52fd46c28db6f6b08598db516572
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97498e511ed97cb975277690c4b2a02c2ea6bac6998b9cc171c96959f277a35beed9a5c540ddc9a95c9e41b529390539bd79c1f60618fa806009b9b4cca72bc3
|
7
|
+
data.tar.gz: b7dd159b6ff260a2118afca6e7b96bffea619adb0501f75beb066664b10f3fd252e98e3fbf28e6b7a5d68b25ac06d3dadf05ef2354cea1bb14df77336797f50a
|
data/README.md
CHANGED
@@ -16,6 +16,8 @@ Adds 2 actions to fastlane to read and update properties files.
|
|
16
16
|
Adds 2 actions to read/write the whole properties file.
|
17
17
|
Adds 2 more actions to increase versionCode and versionName fast.
|
18
18
|
|
19
|
+
Your file does not require to be `.properties`. This plugin can work with any file which content is in the `KEY=VALUE` format, ie `.env` files or etc.
|
20
|
+
|
19
21
|
## Example
|
20
22
|
|
21
23
|
```ruby
|
@@ -49,14 +51,15 @@ lane :test do
|
|
49
51
|
update_type: "minor"
|
50
52
|
)
|
51
53
|
|
54
|
+
# Read the versions.properties file and sttore it as a hash-map in the content variable
|
52
55
|
content = parse_properties_file(
|
53
56
|
path: "./Configs/versions.properties"
|
54
57
|
)
|
55
58
|
|
56
|
-
|
57
|
-
|
59
|
+
# Rewrites your versions.properties with new data, generated from some_hash
|
60
|
+
write_properties_file(
|
58
61
|
path: "./Configs/versions.properties",
|
59
|
-
|
62
|
+
hash: some_hash
|
60
63
|
)
|
61
64
|
|
62
65
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-properties
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavlo Pakholka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: java-properties
|