scan_left 0.2.1 → 0.3.0
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 +4 -4
- data/.dependabot/config.yml +12 -0
- data/CHANGELOG.md +11 -1
- data/Gemfile +3 -1
- data/Gemfile.lock +23 -18
- data/README.md +2 -2
- data/lib/scan_left/version.rb +1 -1
- data/scan_left.gemspec +4 -3
- metadata +12 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 46844f3491c40b593e0a6919ff9c9a484faa6bce96d5cfa52166d70c3ddd5f47
|
|
4
|
+
data.tar.gz: 152a987fb209aafe866a252e13ba5ececcdad242f6f7331e5d8e36224769a123
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 196da4338c3cebc6206731b926a5e2ed56348ff6450114ed3d6b6c3d855a6e03e6f550dd2849b181d156859fb2a1b04fc81e68f62795acea22cc8edc8e07a961
|
|
7
|
+
data.tar.gz: dd111568a9502aa0e43292aab7820779acb4e8df02e5cf9b906a1566f62d27349a2758a28c8b5e3d81aae80875bf25067e4d2d7d76ffdde8d5e2e2b34231dda7
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Reference: https://dependabot.com/docs/config-file/
|
|
2
|
+
version: 1
|
|
3
|
+
update_configs:
|
|
4
|
+
- package_manager: "ruby:bundler"
|
|
5
|
+
directory: "/"
|
|
6
|
+
update_schedule: "live"
|
|
7
|
+
|
|
8
|
+
# Automerge development dependencies.
|
|
9
|
+
automerged_updates:
|
|
10
|
+
- match:
|
|
11
|
+
dependency_type: "development"
|
|
12
|
+
update_type: "all"
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.3.0] - 2020-06-30
|
|
10
|
+
### Added
|
|
11
|
+
- Dependabot configuration for automatic dependency update PRs
|
|
12
|
+
- Added Parker Finch as a gem author in the gemspec!
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- Moved panolint to *development* dependency (oops!)
|
|
16
|
+
- Fixed YARD docs link and other typos
|
|
17
|
+
|
|
9
18
|
## [0.2.1] - 2020-05-15
|
|
10
19
|
### Added
|
|
11
20
|
- Additional documentation and examples
|
|
@@ -41,7 +50,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
41
50
|
- Initial gem project structure
|
|
42
51
|
- Initial CHANGELOG.md based on keepachangelog.com
|
|
43
52
|
|
|
44
|
-
[Unreleased]: https://github.com/panorama-ed/scan_left/compare/v0.
|
|
53
|
+
[Unreleased]: https://github.com/panorama-ed/scan_left/compare/v0.3.0...HEAD
|
|
54
|
+
[0.3.0]: https://github.com/panorama-ed/scan_left/compare/v0.2.1...v0.3.0
|
|
45
55
|
[0.2.1]: https://github.com/panorama-ed/scan_left/compare/v0.2.0...v0.2.1
|
|
46
56
|
[0.2.0]: https://github.com/panorama-ed/scan_left/compare/v0.1.0...v0.2.0
|
|
47
57
|
[0.1.0]: https://github.com/panorama-ed/scan_left/compare/v0.0.1...v0.1.0
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
GIT
|
|
2
2
|
remote: https://github.com/panorama-ed/panolint
|
|
3
|
-
revision:
|
|
3
|
+
revision: b5b4fcfb4e304a9edf17b64f34fe6da152e84a72
|
|
4
4
|
specs:
|
|
5
5
|
panolint (0.1.2)
|
|
6
6
|
brakeman (~> 4.8)
|
|
@@ -12,30 +12,31 @@ GIT
|
|
|
12
12
|
PATH
|
|
13
13
|
remote: .
|
|
14
14
|
specs:
|
|
15
|
-
scan_left (0.
|
|
15
|
+
scan_left (0.3.0)
|
|
16
16
|
|
|
17
17
|
GEM
|
|
18
18
|
remote: https://rubygems.org/
|
|
19
19
|
specs:
|
|
20
|
-
activesupport (6.0.3)
|
|
20
|
+
activesupport (6.0.3.2)
|
|
21
21
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
22
22
|
i18n (>= 0.7, < 2)
|
|
23
23
|
minitest (~> 5.1)
|
|
24
24
|
tzinfo (~> 1.1)
|
|
25
25
|
zeitwerk (~> 2.2, >= 2.2.2)
|
|
26
|
-
ast (2.4.
|
|
26
|
+
ast (2.4.1)
|
|
27
27
|
brakeman (4.8.2)
|
|
28
28
|
concurrent-ruby (1.1.6)
|
|
29
29
|
diff-lcs (1.3)
|
|
30
|
-
i18n (1.8.
|
|
30
|
+
i18n (1.8.3)
|
|
31
31
|
concurrent-ruby (~> 1.0)
|
|
32
|
-
minitest (5.14.
|
|
33
|
-
parallel (1.19.
|
|
34
|
-
parser (2.7.1.
|
|
35
|
-
ast (~> 2.4.
|
|
36
|
-
rack (2.2.
|
|
32
|
+
minitest (5.14.1)
|
|
33
|
+
parallel (1.19.2)
|
|
34
|
+
parser (2.7.1.4)
|
|
35
|
+
ast (~> 2.4.1)
|
|
36
|
+
rack (2.2.3)
|
|
37
37
|
rainbow (3.0.0)
|
|
38
|
-
rake (
|
|
38
|
+
rake (13.0.1)
|
|
39
|
+
regexp_parser (1.7.1)
|
|
39
40
|
rexml (3.2.4)
|
|
40
41
|
rspec (3.9.0)
|
|
41
42
|
rspec-core (~> 3.9.0)
|
|
@@ -50,20 +51,24 @@ GEM
|
|
|
50
51
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
51
52
|
rspec-support (~> 3.9.0)
|
|
52
53
|
rspec-support (3.9.3)
|
|
53
|
-
rubocop (0.
|
|
54
|
+
rubocop (0.86.0)
|
|
54
55
|
parallel (~> 1.10)
|
|
55
56
|
parser (>= 2.7.0.1)
|
|
56
57
|
rainbow (>= 2.2.2, < 4.0)
|
|
58
|
+
regexp_parser (>= 1.7)
|
|
57
59
|
rexml
|
|
60
|
+
rubocop-ast (>= 0.0.3, < 1.0)
|
|
58
61
|
ruby-progressbar (~> 1.7)
|
|
59
62
|
unicode-display_width (>= 1.4.0, < 2.0)
|
|
60
|
-
rubocop-
|
|
63
|
+
rubocop-ast (0.1.0)
|
|
64
|
+
parser (>= 2.7.0.1)
|
|
65
|
+
rubocop-performance (1.6.1)
|
|
61
66
|
rubocop (>= 0.71.0)
|
|
62
|
-
rubocop-rails (2.
|
|
63
|
-
activesupport
|
|
67
|
+
rubocop-rails (2.6.0)
|
|
68
|
+
activesupport (>= 4.2.0)
|
|
64
69
|
rack (>= 1.1)
|
|
65
|
-
rubocop (>= 0.
|
|
66
|
-
rubocop-rspec (1.
|
|
70
|
+
rubocop (>= 0.82.0)
|
|
71
|
+
rubocop-rspec (1.40.0)
|
|
67
72
|
rubocop (>= 0.68.1)
|
|
68
73
|
ruby-progressbar (1.10.1)
|
|
69
74
|
thread_safe (0.3.6)
|
|
@@ -78,7 +83,7 @@ PLATFORMS
|
|
|
78
83
|
DEPENDENCIES
|
|
79
84
|
bundler (~> 2.1)
|
|
80
85
|
panolint!
|
|
81
|
-
rake (~>
|
|
86
|
+
rake (~> 13.0)
|
|
82
87
|
rspec (~> 3.0)
|
|
83
88
|
scan_left!
|
|
84
89
|
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# scan_left
|
|
2
2
|

|
|
3
3
|
|
|
4
|
-
[](http://rubydoc.info/github/
|
|
4
|
+
[](http://rubydoc.info/github/panorama-ed/scan_left)
|
|
5
5
|
[](http://inch-ci.org/github/panorama-ed/scan_left)
|
|
6
6
|
|
|
7
7
|
[](https://rubygems.org/gems/scan_left)
|
|
@@ -46,7 +46,7 @@ The key differences between `#inject` and `#scan_left` are:
|
|
|
46
46
|
2. **Laziness**: `#scan_left` can preserve the laziness of the input
|
|
47
47
|
series. As each incremental result is read from the output
|
|
48
48
|
series, the actual calculation is lazily performed against the
|
|
49
|
-
input. `#inject` cannot be a
|
|
49
|
+
input. `#inject` cannot be a lazy operation in general, as its
|
|
50
50
|
single result reflects a calculation across every element of the
|
|
51
51
|
input series.
|
|
52
52
|
|
data/lib/scan_left/version.rb
CHANGED
data/scan_left.gemspec
CHANGED
|
@@ -7,8 +7,9 @@ require "scan_left/version"
|
|
|
7
7
|
Gem::Specification.new do |spec|
|
|
8
8
|
spec.name = "scan_left"
|
|
9
9
|
spec.version = ScanLeft::VERSION
|
|
10
|
-
spec.authors = ["Marc Siegel"]
|
|
11
|
-
spec.email = ["
|
|
10
|
+
spec.authors = ["Marc Siegel", "Parker Finch"]
|
|
11
|
+
spec.email = ["marc@usainnov.com", "msiegel@panoramaed.com",
|
|
12
|
+
"pfinch@panoramaed.com"]
|
|
12
13
|
|
|
13
14
|
spec.summary = "A tiny Ruby gem to provide the 'scan_left' operation on "\
|
|
14
15
|
"any Ruby Enumerable."
|
|
@@ -41,6 +42,6 @@ Gem::Specification.new do |spec|
|
|
|
41
42
|
spec.require_paths = ["lib"]
|
|
42
43
|
|
|
43
44
|
spec.add_development_dependency "bundler", "~> 2.1"
|
|
44
|
-
spec.add_development_dependency "rake", "~>
|
|
45
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
|
45
46
|
spec.add_development_dependency "rspec", "~> 3.0"
|
|
46
47
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: scan_left
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marc Siegel
|
|
8
|
-
|
|
8
|
+
- Parker Finch
|
|
9
|
+
autorequire:
|
|
9
10
|
bindir: exe
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
12
|
+
date: 2020-06-30 00:00:00.000000000 Z
|
|
12
13
|
dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
|
14
15
|
name: bundler
|
|
@@ -30,14 +31,14 @@ dependencies:
|
|
|
30
31
|
requirements:
|
|
31
32
|
- - "~>"
|
|
32
33
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
34
|
+
version: '13.0'
|
|
34
35
|
type: :development
|
|
35
36
|
prerelease: false
|
|
36
37
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
38
|
requirements:
|
|
38
39
|
- - "~>"
|
|
39
40
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
41
|
+
version: '13.0'
|
|
41
42
|
- !ruby/object:Gem::Dependency
|
|
42
43
|
name: rspec
|
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -54,12 +55,14 @@ dependencies:
|
|
|
54
55
|
version: '3.0'
|
|
55
56
|
description: A tiny Ruby gem to provide the 'scan_left' operation on any Ruby Enumerable.
|
|
56
57
|
email:
|
|
57
|
-
- msiegel@panoramaed.com
|
|
58
58
|
- marc@usainnov.com
|
|
59
|
+
- msiegel@panoramaed.com
|
|
60
|
+
- pfinch@panoramaed.com
|
|
59
61
|
executables: []
|
|
60
62
|
extensions: []
|
|
61
63
|
extra_rdoc_files: []
|
|
62
64
|
files:
|
|
65
|
+
- ".dependabot/config.yml"
|
|
63
66
|
- ".github/workflows/tests.yml"
|
|
64
67
|
- ".gitignore"
|
|
65
68
|
- ".rspec"
|
|
@@ -87,7 +90,7 @@ metadata:
|
|
|
87
90
|
source_code_uri: https://github.com/panorama-ed/scan_left
|
|
88
91
|
changelog_uri: https://github.com/panorama-ed/scan_left/blob/master/CHANGELOG.md
|
|
89
92
|
documentation_uri: https://rubydoc.info/gems/scan_left
|
|
90
|
-
post_install_message:
|
|
93
|
+
post_install_message:
|
|
91
94
|
rdoc_options: []
|
|
92
95
|
require_paths:
|
|
93
96
|
- lib
|
|
@@ -102,8 +105,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
102
105
|
- !ruby/object:Gem::Version
|
|
103
106
|
version: '0'
|
|
104
107
|
requirements: []
|
|
105
|
-
rubygems_version: 3.
|
|
106
|
-
signing_key:
|
|
108
|
+
rubygems_version: 3.1.2
|
|
109
|
+
signing_key:
|
|
107
110
|
specification_version: 4
|
|
108
111
|
summary: A tiny Ruby gem to provide the 'scan_left' operation on any Ruby Enumerable.
|
|
109
112
|
test_files: []
|