static_collection 0.4.0 → 0.4.1
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/.github/CODEOWNERS +1 -1
- data/.github/workflows/default.yaml +15 -0
- data/CHANGELOG.md +10 -5
- data/Gemfile.lock +22 -3
- data/README.md +1 -1
- data/lib/static_collection/version.rb +1 -1
- data/static_collection.gemspec +2 -0
- metadata +31 -3
- data/.github/workflows/main.yml +0 -52
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9aa4c2914ed7e5afa37b77be9b321e6a48a6ef0810562558570aac0c35dc10f
|
4
|
+
data.tar.gz: acab38148246d6754fec822de533ca28cfc3cd3cac926654fbd0fec5f1c8254b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64aa40d46ea3499b4e3e7a62f916ca945c906f65f5e613130d6e6dfb5ee03bfad12399ef6a02fd0ae74fe67a5a06719f9ecbbb55e936f2b89af10018a53c672f
|
7
|
+
data.tar.gz: 411577479aed3cf9ab808ba0c29c02545ce8ace7faefd563f59dff89ece347e86223daeb73a22bd7d60798aced033f5a970d929ef6a50ac4be06ea0ca9ced78c
|
data/.github/CODEOWNERS
CHANGED
@@ -1 +1 @@
|
|
1
|
-
* @wealthsimple/
|
1
|
+
* @wealthsimple/backend-platform
|
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
name: Default
|
3
|
+
|
4
|
+
on:
|
5
|
+
push:
|
6
|
+
|
7
|
+
concurrency:
|
8
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
9
|
+
cancel-in-progress: true
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
build_and_publish:
|
13
|
+
name: Build and Publish
|
14
|
+
uses: wealthsimple/public-github-workflows/.github/workflows/ruby-gem-build.yaml@main
|
15
|
+
secrets: inherit
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,16 @@
|
|
1
1
|
# Changelog
|
2
|
-
|
3
2
|
All notable changes to this project will be documented in this file.
|
4
3
|
|
5
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
4
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
6
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
6
|
|
8
|
-
##
|
9
|
-
|
10
|
-
|
7
|
+
## Unreleased
|
8
|
+
|
9
|
+
## 0.4.1 - 2024-01-23
|
10
|
+
### Changed
|
11
|
+
- Updated dependencies
|
12
|
+
|
13
|
+
## 0.4.0 - 2024-01-23
|
14
|
+
### Changed
|
15
|
+
- All Static Collections will consist of frozen objects
|
11
16
|
- Reduce initialization of objects
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
static_collection (0.4.
|
4
|
+
static_collection (0.4.1)
|
5
5
|
activesupport (>= 4)
|
6
6
|
|
7
7
|
GEM
|
@@ -17,6 +17,8 @@ GEM
|
|
17
17
|
minitest (>= 5.1)
|
18
18
|
mutex_m
|
19
19
|
tzinfo (~> 2.0)
|
20
|
+
addressable (2.8.6)
|
21
|
+
public_suffix (>= 2.0.2, < 6.0)
|
20
22
|
ast (2.4.2)
|
21
23
|
base64 (0.2.0)
|
22
24
|
bigdecimal (3.1.6)
|
@@ -25,6 +27,11 @@ GEM
|
|
25
27
|
diff-lcs (1.5.0)
|
26
28
|
drb (2.2.0)
|
27
29
|
ruby2_keywords
|
30
|
+
git (2.1.1)
|
31
|
+
activesupport (>= 5.0)
|
32
|
+
addressable (~> 2.8)
|
33
|
+
process_executer (~> 1.1)
|
34
|
+
rchardet (~> 1.8)
|
28
35
|
i18n (1.14.1)
|
29
36
|
concurrent-ruby (~> 1.0)
|
30
37
|
json (2.7.1)
|
@@ -32,15 +39,22 @@ GEM
|
|
32
39
|
minitest (5.21.2)
|
33
40
|
mutex_m (0.2.0)
|
34
41
|
parallel (1.24.0)
|
42
|
+
parse_a_changelog (1.3.0)
|
43
|
+
treetop (~> 1.6)
|
35
44
|
parser (3.3.0.4)
|
36
45
|
ast (~> 2.4.1)
|
37
46
|
racc
|
47
|
+
polyglot (0.3.5)
|
48
|
+
process_executer (1.1.0)
|
49
|
+
public_suffix (5.1.1)
|
38
50
|
racc (1.7.3)
|
39
|
-
rack (3.0.
|
51
|
+
rack (3.0.9.1)
|
40
52
|
rainbow (3.1.1)
|
41
53
|
rake (13.1.0)
|
54
|
+
rchardet (1.8.0)
|
42
55
|
regexp_parser (2.9.0)
|
43
|
-
rexml (3.2.
|
56
|
+
rexml (3.2.8)
|
57
|
+
strscan (>= 3.0.9)
|
44
58
|
rspec (3.12.0)
|
45
59
|
rspec-core (~> 3.12.0)
|
46
60
|
rspec-expectations (~> 3.12.0)
|
@@ -90,6 +104,9 @@ GEM
|
|
90
104
|
rubocop
|
91
105
|
ruby-progressbar (1.13.0)
|
92
106
|
ruby2_keywords (0.0.5)
|
107
|
+
strscan (3.1.0)
|
108
|
+
treetop (1.6.12)
|
109
|
+
polyglot (~> 0.3)
|
93
110
|
tzinfo (2.0.6)
|
94
111
|
concurrent-ruby (~> 1.0)
|
95
112
|
unicode-display_width (2.5.0)
|
@@ -105,6 +122,8 @@ PLATFORMS
|
|
105
122
|
|
106
123
|
DEPENDENCIES
|
107
124
|
bundler (~> 2.0)
|
125
|
+
git
|
126
|
+
parse_a_changelog
|
108
127
|
rake (~> 13.0)
|
109
128
|
rspec (~> 3.0)
|
110
129
|
rspec-its (~> 1.2)
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# static_collection
|
2
|
-
[](https://github.com/wealthsimple/static_collection/actions)
|
3
3
|
|
4
4
|
Rubygem for running basic queries against static data.
|
5
5
|
|
data/static_collection.gemspec
CHANGED
@@ -25,6 +25,8 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_dependency "activesupport", ">= 4"
|
26
26
|
|
27
27
|
spec.add_development_dependency "bundler", "~> 2.0"
|
28
|
+
spec.add_development_dependency "git"
|
29
|
+
spec.add_development_dependency "parse_a_changelog"
|
28
30
|
spec.add_development_dependency "rake", "~> 13.0"
|
29
31
|
spec.add_development_dependency "rspec", "~> 3.0"
|
30
32
|
spec.add_development_dependency "rspec-its", "~> 1.2"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: static_collection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Graham
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -38,6 +38,34 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '2.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: git
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: parse_a_changelog
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: rake
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,7 +144,7 @@ extensions: []
|
|
116
144
|
extra_rdoc_files: []
|
117
145
|
files:
|
118
146
|
- ".github/CODEOWNERS"
|
119
|
-
- ".github/workflows/
|
147
|
+
- ".github/workflows/default.yaml"
|
120
148
|
- ".github/workflows/stale.yml"
|
121
149
|
- ".gitignore"
|
122
150
|
- ".rspec"
|
data/.github/workflows/main.yml
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Pipeline
|
3
|
-
on: push
|
4
|
-
concurrency:
|
5
|
-
group: ${{ github.workflow }}-${{ github.ref }}
|
6
|
-
cancel-in-progress: true
|
7
|
-
|
8
|
-
jobs:
|
9
|
-
build:
|
10
|
-
name: Build
|
11
|
-
runs-on: ubuntu-22.04
|
12
|
-
strategy:
|
13
|
-
matrix:
|
14
|
-
ruby-version: [3.1.4, 3.2.3, 3.3.0]
|
15
|
-
steps:
|
16
|
-
- uses: actions/checkout@v3
|
17
|
-
- name: Set up Ruby ${{ matrix.ruby-version }}
|
18
|
-
uses: ruby/setup-ruby@v1
|
19
|
-
with:
|
20
|
-
bundler-cache: true
|
21
|
-
ruby-version: ${{ matrix.ruby-version }}
|
22
|
-
- name: Lint
|
23
|
-
run: bundle exec rubocop
|
24
|
-
- name: Test
|
25
|
-
run: bundle exec rspec
|
26
|
-
|
27
|
-
# Separate `release` job from `build`, as we only want release to be run once
|
28
|
-
# and not run for each ruby version in the matrix:
|
29
|
-
release:
|
30
|
-
name: Release
|
31
|
-
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
|
32
|
-
needs: build
|
33
|
-
runs-on: ubuntu-22.04
|
34
|
-
steps:
|
35
|
-
- uses: actions/checkout@v3
|
36
|
-
- uses: ruby/setup-ruby@v1
|
37
|
-
with:
|
38
|
-
bundler-cache: true
|
39
|
-
- name: Release the gem
|
40
|
-
run: |
|
41
|
-
mkdir -p ~/.gem
|
42
|
-
cat << EOF > ~/.gem/credentials
|
43
|
-
---
|
44
|
-
:github: Bearer ${GITHUB_TOKEN}
|
45
|
-
:rubygems_api_key: ${RUBYGEMS_API_KEY}
|
46
|
-
EOF
|
47
|
-
chmod 0600 ~/.gem/credentials
|
48
|
-
git config user.email "noreply@wealthsimple.com"
|
49
|
-
git config user.name "Wolfbot"
|
50
|
-
bundle exec rake release
|
51
|
-
env:
|
52
|
-
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
|