fastlane-plugin-git_status 0.1.1 → 0.1.2
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26770631150e679a588069362373bcbe8a04551c
|
4
|
+
data.tar.gz: 65b25c32ee73a32365cc6d38ac9dab20db743136
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 965f910e79b7691ebd7a8d275c9ab6c7af5584919dd53c0354d326686e315697e07702468dfadb3c7ce1d58d07f9b708f6ebaeea73bd7a504a9d7ab2d76c7f4b
|
7
|
+
data.tar.gz: 2f3e4ae794c11d0592a9a88df3dbcf731c3055d7bb7faac93750709ba503545d57a750a67262c7eb5b6fbb34a804c7691b4c4ac98a56f917bf44e6009971d2e7
|
data/README.md
CHANGED
@@ -14,14 +14,23 @@ fastlane add_plugin git_status
|
|
14
14
|
|
15
15
|
Show the status of one or multiple files/directories
|
16
16
|
|
17
|
-
|
17
|
+
To get the status of the current directory
|
18
|
+
|
19
|
+
`git_status`
|
20
|
+
|
21
|
+
To get the status of one file or directory Ex: "M version.txt"
|
22
|
+
|
23
|
+
`git_status(path: "./version.txt")`
|
24
|
+
|
25
|
+
To get the status of several files or directories use Ex: "M version.txt D changelog.txt"
|
26
|
+
|
27
|
+
git_status(path: ["./version.txt", "./changelog.txt"])
|
28
|
+
|
18
29
|
|
19
30
|
## Example
|
20
31
|
|
21
32
|
Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
|
22
33
|
|
23
|
-
**Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
|
24
|
-
|
25
34
|
## Run tests for this plugin
|
26
35
|
|
27
36
|
To run both the tests, and code style validation, run
|
@@ -47,10 +47,10 @@ module Fastlane
|
|
47
47
|
value.each do |x|
|
48
48
|
UI.user_error!("Couldn't find file at path '#{x}'") unless File.exist?(x)
|
49
49
|
end
|
50
|
+
else
|
51
|
+
UI.user_error!("Wrong param type path '#{value}'")
|
50
52
|
end
|
51
53
|
|
52
|
-
UI.user_error!("Wrong param type path '#{value}'")
|
53
|
-
|
54
54
|
end)
|
55
55
|
]
|
56
56
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-git_status
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruno Coelho
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
126
|
version: '0'
|
127
127
|
requirements: []
|
128
128
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.
|
129
|
+
rubygems_version: 2.5.2
|
130
130
|
signing_key:
|
131
131
|
specification_version: 4
|
132
132
|
summary: Show the status of one or multiple files/directories
|