lazylead 0.11.2 → 0.11.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lazylead.gemspec +3 -2
- data/lib/lazylead/schedule.rb +2 -2
- data/lib/lazylead/system/allocations.md +23 -0
- data/lib/lazylead/task/accuracy/accuracy.rb +10 -5
- data/lib/lazylead/task/accuracy/records.rb +1 -1
- data/lib/lazylead/version.rb +1 -1
- metadata +18 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85f4a0cb192b81550bc11f25d2b284e51ba3437726f72bcf5b1d13d5b8e1560f
|
4
|
+
data.tar.gz: 2740b477357205bb40195e72b4fbd503a30c5c0ae8a729b4bbae4a2b27e7d6e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce207ea7736acab2e0221ef5f09c6f887e1b6d761167f5fa878553f7de0132856d79d647464e90bba21b619d9a33df869af6b4d0016ea00836628acc53a8ba47
|
7
|
+
data.tar.gz: 3a9568ea019e7167a80dfb88d1d202f7de64996d4e9dd2091dd08f0cc5a76b3d46195d7ef0ba5232baa0cf92cbaa0f61f36e3138f8a452bb2277d8c7b34d11a8
|
data/lazylead.gemspec
CHANGED
@@ -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.11.
|
35
|
+
s.version = "0.11.3"
|
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.11.
|
48
|
+
s.post_install_message = "Thanks for installing Lazylead v0.11.3!
|
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
|
@@ -96,6 +96,7 @@ tasks instead of solving technical problems."
|
|
96
96
|
s.add_development_dependency "rubocop-performance", "1.11.5"
|
97
97
|
s.add_development_dependency "rubocop-rake", "0.6.0"
|
98
98
|
s.add_development_dependency "rubocop-rspec", "2.4.0"
|
99
|
+
s.add_development_dependency "ruby-prof", "1.4.3"
|
99
100
|
s.add_development_dependency "sqlint", "0.2.0"
|
100
101
|
s.add_development_dependency "tempfile", "0.1.1"
|
101
102
|
s.add_development_dependency "xcop", "0.6.3"
|
data/lib/lazylead/schedule.rb
CHANGED
@@ -0,0 +1,23 @@
|
|
1
|
+
## Enable profiler
|
2
|
+
```ruby
|
3
|
+
require 'ruby-prof'
|
4
|
+
alloc = RubyProf.profile(:track_allocations => true) do
|
5
|
+
# code
|
6
|
+
end
|
7
|
+
printer = RubyProf::MultiPrinter.new(alloc)
|
8
|
+
printer.print(:path => ".", :profile => "alloc")
|
9
|
+
```
|
10
|
+
|
11
|
+
## Jira allocation memory
|
12
|
+
Fields: `assignee,summary,priority,duedate,reporter`
|
13
|
+
|
14
|
+
| Tickets | Bytes | KB | MB |
|
15
|
+
| ------------- | :-------: | :-------: | :-------: |
|
16
|
+
| 1 | 40 | 0.03 | 0,00003 |
|
17
|
+
| 157 | 6280 | 6.13 | 0.59 |
|
18
|
+
| 4315 | 172600 | 168.55 | 0.16 |
|
19
|
+
| 10379 | 415160 | 405.42 | 0.39 |
|
20
|
+
|~10000 | ~400000 | ~390.625 | ~0.38 |
|
21
|
+
|
22
|
+
## GitHub allocation memory
|
23
|
+
TBD
|
@@ -46,11 +46,16 @@ module Lazylead
|
|
46
46
|
|
47
47
|
def run(sys, postman, opts)
|
48
48
|
init_rules(opts)
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
49
|
+
tasks = sys.issues(opts["jql"], opts.jira_defaults.merge(expand: "changelog"))
|
50
|
+
.map { |i| Score.new(i, opts) }
|
51
|
+
.each do |s|
|
52
|
+
s.evaluate
|
53
|
+
s.post
|
54
|
+
end
|
55
|
+
unless tasks.empty? && tasks.size <= opts.fetch(:limit, 300).to_i
|
56
|
+
opts[:tickets] = tasks
|
57
|
+
postman.send(opts)
|
58
|
+
end
|
54
59
|
opts
|
55
60
|
end
|
56
61
|
|
@@ -34,7 +34,7 @@ module Lazylead
|
|
34
34
|
@ext = %w[.webm .mkv .flv .flv .vob .ogv .ogg .drc .gif .gifv .mng .avi
|
35
35
|
.mts .m2ts .ts .mov .qt .wmv .yuv .rm .rmvb .viv .asf .amv .mp4
|
36
36
|
.m4p .m4v .mpg .mp2 .mpeg .mpe .mpv .mpg .mpeg .m2v .m4v .svi
|
37
|
-
.3gp .3g2 .mxf .roq .nsv .flv .f4v .f4p .f4a .f4b]
|
37
|
+
.3gp .3g2 .mxf .roq .nsv .flv .f4v .f4p .f4a .f4b .wrf]
|
38
38
|
end
|
39
39
|
|
40
40
|
# Ensure that ticket has an attachment with video-file extension
|
data/lib/lazylead/version.rb
CHANGED
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.11.
|
4
|
+
version: 0.11.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yurii Dubinka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -584,6 +584,20 @@ dependencies:
|
|
584
584
|
- - '='
|
585
585
|
- !ruby/object:Gem::Version
|
586
586
|
version: 2.4.0
|
587
|
+
- !ruby/object:Gem::Dependency
|
588
|
+
name: ruby-prof
|
589
|
+
requirement: !ruby/object:Gem::Requirement
|
590
|
+
requirements:
|
591
|
+
- - '='
|
592
|
+
- !ruby/object:Gem::Version
|
593
|
+
version: 1.4.3
|
594
|
+
type: :development
|
595
|
+
prerelease: false
|
596
|
+
version_requirements: !ruby/object:Gem::Requirement
|
597
|
+
requirements:
|
598
|
+
- - '='
|
599
|
+
- !ruby/object:Gem::Version
|
600
|
+
version: 1.4.3
|
587
601
|
- !ruby/object:Gem::Dependency
|
588
602
|
name: sqlint
|
589
603
|
requirement: !ruby/object:Gem::Requirement
|
@@ -700,6 +714,7 @@ files:
|
|
700
714
|
- lib/lazylead/salt.rb
|
701
715
|
- lib/lazylead/schedule.rb
|
702
716
|
- lib/lazylead/smtp.rb
|
717
|
+
- lib/lazylead/system/allocations.md
|
703
718
|
- lib/lazylead/system/empty.rb
|
704
719
|
- lib/lazylead/system/fake.rb
|
705
720
|
- lib/lazylead/system/jira.rb
|
@@ -815,7 +830,7 @@ licenses:
|
|
815
830
|
- MIT
|
816
831
|
metadata: {}
|
817
832
|
post_install_message: |-
|
818
|
-
Thanks for installing Lazylead v0.11.
|
833
|
+
Thanks for installing Lazylead v0.11.3!
|
819
834
|
Read our blog posts: https://lazylead.org
|
820
835
|
Stay in touch with the community in Telegram: https://t.me/lazylead
|
821
836
|
Follow us on Twitter: https://twitter.com/lazylead
|