fastlane-plugin-logme 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/lib/fastlane/plugin/logme/actions/logme.rb +1 -7
- data/lib/fastlane/plugin/logme/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1429d5cab44423213f822f5b4603ea086516d101
|
4
|
+
data.tar.gz: 1ba6687157498b6de5117dd2250c9d3dc95f5f2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c100de7b7f110aa0bdb00761ad2f5d3fa1da962a4698574dd8476a3f02063c65377cf4d48f1c3a644b98420f8fb3bfd6c033fd694c16941e53bf72da07bb9e5d
|
7
|
+
data.tar.gz: f740cd35307e60a93dea6a48813d4e532ae648ab9c9737cf393007fc48828350018da5238f5aafdb376502c87fd2a063415d54b066f68d74cf1fdd39981435ea
|
data/README.md
CHANGED
@@ -24,7 +24,6 @@ Just invoke *logme* in your Fastfile action. Logme will return the commit messag
|
|
24
24
|
| `to_revision` | End revision commit | false |
|
25
25
|
| `from_revision` | From revision commit | false |
|
26
26
|
| `message_regexp_filters` | Regexp filters like. ie '^MDM-\|^CTS:' | true |
|
27
|
-
| `message_regexp_exclude_filters` | Regexp filters like. ie '^MDM-TST\|^CTS:UI' | true |
|
28
27
|
|
29
28
|
## Example
|
30
29
|
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`.
|
@@ -4,11 +4,9 @@ module Fastlane
|
|
4
4
|
|
5
5
|
def self.run(options)
|
6
6
|
regexp_filter = Regexp.new(options[:message_regexp_filters])
|
7
|
-
|
8
|
-
Actions.sh("git log --pretty=format:\"%s\" --no-merges #{options[:from_revision]}...#{options[:to_revision]}")
|
7
|
+
Actions.sh("git log --pretty=format:\"%s\" --no-merges --ancestry-path #{options[:from_revision]}...#{options[:to_revision]}")
|
9
8
|
.split(/\n/)
|
10
9
|
.select{|message| message[regexp_filter] != nil}
|
11
|
-
.select{|message| message[exclude_regexp_filter] == nil}
|
12
10
|
.join("\n")
|
13
11
|
end
|
14
12
|
|
@@ -31,10 +29,6 @@ module Fastlane
|
|
31
29
|
FastlaneCore::ConfigItem.new(key: :message_regexp_filters,
|
32
30
|
description: "Regexp filters like. ie '^MDM-|^CTS:'",
|
33
31
|
default_value: '.',
|
34
|
-
optional: true),
|
35
|
-
FastlaneCore::ConfigItem.new(key: :message_regexp_exclude_filters,
|
36
|
-
description: "Regexp filters like. ie '^MDM-TST|^MDM-UI'",
|
37
|
-
default_value: '.',
|
38
32
|
optional: true)
|
39
33
|
]
|
40
34
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-logme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luís Esteves
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|