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: 58f0e9f2549b3785d4e141582382127f61bf287c
4
- data.tar.gz: 1a8fa26ef19de5a87e802e63430eb9b5261863fc
3
+ metadata.gz: 26770631150e679a588069362373bcbe8a04551c
4
+ data.tar.gz: 65b25c32ee73a32365cc6d38ac9dab20db743136
5
5
  SHA512:
6
- metadata.gz: b311fde1041d45ff4c721e7a7444752d2f22deb646b012ce8fdf76f51196f3164977623d4ab8c32b38b8c3e4f4df2796341de3f9011d301d66522d577260388a
7
- data.tar.gz: d6b1d79b679af0f35a75b03ce209a937d4ed0b1f609719dd0624a508f31d1c4272f7da8bfe77212f3330b5153af91eaffeb48a938260ef63c59de3db1f47fce1
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
- **Note to author:** Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
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
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GitStatus
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  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.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-07 00:00:00.000000000 Z
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.6.7
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