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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f1af4f75bec7974a6757deb651ceb0c275bcd685
4
- data.tar.gz: ceac91b8251c3401721ba255d0f031f7f2b777e8
3
+ metadata.gz: 1429d5cab44423213f822f5b4603ea086516d101
4
+ data.tar.gz: 1ba6687157498b6de5117dd2250c9d3dc95f5f2f
5
5
  SHA512:
6
- metadata.gz: 3e77f423737571a1b799259e4b6caac4a0e78179fa4c4082695fc0d60fa36af37eeec7ad6263ca76cda16708feeef2c8d480682137932b52fe899c1ad1f0668e
7
- data.tar.gz: aab823f41f0c2f81e3ee48218fa6a2cda8bca8e24124ba09117e4d0597d3b721d3a673e657cd066ccc7a6388245a670a21da07d38fe5bf01b68a45a87c4438ce
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
- exclude_regexp_filter = Regexp.new(options[:message_regexp_exclude_filters])
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
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Logme
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  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.2
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-10 00:00:00.000000000 Z
11
+ date: 2017-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry