lazylead 0.4.1 → 0.4.2

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
  SHA256:
3
- metadata.gz: 2663846800ebdda8c479c6eb0e28e5d2833c5336dd329073d6aacfe4e240b08c
4
- data.tar.gz: 339f5c9b79766315dca39854618ee32d59f37f952ae59850b1f783557b39cd4d
3
+ metadata.gz: 4834917c8eacf27d7514a99f4a8eb9f2c9dd7a19735c3ae9653105ecf8cd7463
4
+ data.tar.gz: f7d5c5f19e7be4c11de364a27099382b78d748ee091ed0c2c6de47d5b95b21bb
5
5
  SHA512:
6
- metadata.gz: fee405d0df6225bc510521fde0ff9b5724bceff4772a9b6d3b0042978a78c3a3c7afed19b977cb3a04c772c7b84f597b88574e164c382b322da45bc2596c4053
7
- data.tar.gz: 69fd4e858b24aaa52c1e6ac4cfa2f99c6c56e935801764a64e33647367993597ce1e4312811d013b7a2c8c6562dd0dc670aa4f45ff657da81ac47d7c2dc7a68b
6
+ metadata.gz: 29bd5bdaed8330d9de652ab9d11126a1af79a84acc08b415db14f3a389592ac08e2c0ce1c35bd6733302aca808571a3f65d68183ceba20a7847cbb8e766eb921
7
+ data.tar.gz: b80e43c020c05b8b26d3745916934e737f2b7176515ff82fa40f901cd7a8e8a7eb81c2cc016bb845289f22b38eb65854e1c59080f58be6ae584f1f40f5a95e5e
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
32
32
  s.rubygems_version = "2.2"
33
33
  s.required_ruby_version = ">=2.6.5"
34
34
  s.name = "lazylead"
35
- s.version = "0.4.1"
35
+ s.version = "0.4.2"
36
36
  s.license = "MIT"
37
37
  s.summary = "Eliminate the annoying work within bug-trackers."
38
38
  s.description = "Ticketing systems (Github, Jira, etc.) are strongly
@@ -45,7 +45,7 @@ tasks instead of solving technical problems."
45
45
  s.authors = ["Yurii Dubinka"]
46
46
  s.email = "yurii.dubinka@gmail.com"
47
47
  s.homepage = "http://github.com/dgroup/lazylead"
48
- s.post_install_message = "Thanks for installing Lazylead v0.4.1!
48
+ s.post_install_message = "Thanks for installing Lazylead v0.4.2!
49
49
  Read our blog posts: https://lazylead.org
50
50
  Stay in touch with the community in Telegram: https://t.me/lazylead
51
51
  Follow us on Twitter: https://twitter.com/lazylead
@@ -98,7 +98,7 @@ module Lazylead
98
98
  sys = system.connect
99
99
  opts = props
100
100
  opts = detect_cc(sys) if opts.key? "cc"
101
- action.constantize.new(log).run(sys, postman, opts)
101
+ action.constantize.new.run(sys, postman, opts)
102
102
  end
103
103
 
104
104
  def detect_cc(sys)
@@ -33,7 +33,7 @@ module Lazylead
33
33
  # License:: MIT
34
34
  class Opts
35
35
  extend Forwardable
36
- def_delegators :@origin, :[], :[]=, :to_s, :key?, :fetch, :merge
36
+ def_delegators :@origin, :[], :[]=, :to_s, :key?, :fetch, :merge, :except
37
37
 
38
38
  def initialize(origin = {})
39
39
  @origin = origin
@@ -23,5 +23,5 @@
23
23
  # OR OTHER DEALINGS IN THE SOFTWARE.
24
24
 
25
25
  module Lazylead
26
- VERSION = "0.4.1"
26
+ VERSION = "0.4.2"
27
27
  end
@@ -62,5 +62,9 @@ module Lazylead
62
62
  test "to hash" do
63
63
  assert_kind_of Hash, Opts.new("one" => "1", "two" => nil).to_h
64
64
  end
65
+
66
+ test "except keys" do
67
+ assert_equal 1, Opts.new("one" => "1", "two" => "2").except("one").size
68
+ end
65
69
  end
66
70
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lazylead
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yurii Dubinka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-14 00:00:00.000000000 Z
11
+ date: 2020-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -643,7 +643,7 @@ licenses:
643
643
  - MIT
644
644
  metadata: {}
645
645
  post_install_message: |-
646
- Thanks for installing Lazylead v0.4.1!
646
+ Thanks for installing Lazylead v0.4.2!
647
647
  Read our blog posts: https://lazylead.org
648
648
  Stay in touch with the community in Telegram: https://t.me/lazylead
649
649
  Follow us on Twitter: https://twitter.com/lazylead