memo_wise 0.3.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/memo_wise.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  require_relative "lib/memo_wise/version"
4
4
 
5
- Gem::Specification.new do |spec|
5
+ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
6
6
  spec.name = "memo_wise"
7
7
  spec.version = MemoWise::VERSION
8
8
  spec.summary = "The wise choice for Ruby memoization"
@@ -34,4 +34,9 @@ Gem::Specification.new do |spec|
34
34
  end
35
35
  end
36
36
  spec.require_paths = ["lib"]
37
+
38
+ spec.metadata = {
39
+ "changelog_uri" => "https://github.com/panorama-ed/memo_wise/blob/main/CHANGELOG.md",
40
+ "source_code_uri" => "https://github.com/panorama-ed/memo_wise"
41
+ }
37
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memo_wise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Panorama Education
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2021-02-11 00:00:00.000000000 Z
14
+ date: 2021-11-10 00:00:00.000000000 Z
15
15
  dependencies: []
16
16
  description:
17
17
  email:
@@ -23,11 +23,10 @@ executables: []
23
23
  extensions: []
24
24
  extra_rdoc_files: []
25
25
  files:
26
- - ".dependabot/config.yml"
26
+ - ".dokaz"
27
27
  - ".github/PULL_REQUEST_TEMPLATE.md"
28
- - ".github/workflows/auto-approve-dependabot.yml"
28
+ - ".github/dependabot.yml"
29
29
  - ".github/workflows/main.yml"
30
- - ".github/workflows/remove-needs-qa.yml"
31
30
  - ".gitignore"
32
31
  - ".rspec"
33
32
  - ".rubocop.yml"
@@ -40,20 +39,21 @@ files:
40
39
  - LICENSE.txt
41
40
  - README.md
42
41
  - Rakefile
43
- - benchmarks/.ruby-version
44
42
  - benchmarks/Gemfile
45
- - benchmarks/Gemfile.lock
46
43
  - benchmarks/benchmarks.rb
47
44
  - bin/console
48
45
  - bin/setup
49
46
  - lib/memo_wise.rb
47
+ - lib/memo_wise/internal_api.rb
50
48
  - lib/memo_wise/version.rb
51
49
  - logo/logo.png
52
50
  - memo_wise.gemspec
53
51
  homepage: https://github.com/panorama-ed/memo_wise
54
52
  licenses:
55
53
  - MIT
56
- metadata: {}
54
+ metadata:
55
+ changelog_uri: https://github.com/panorama-ed/memo_wise/blob/main/CHANGELOG.md
56
+ source_code_uri: https://github.com/panorama-ed/memo_wise
57
57
  post_install_message:
58
58
  rdoc_options: []
59
59
  require_paths:
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.3
72
+ rubygems_version: 3.2.22
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: The wise choice for Ruby memoization
@@ -1,13 +0,0 @@
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
- automerged_updates:
8
- - match:
9
- dependency_type: "development"
10
- update_type: "all"
11
- - package_manager: "ruby:bundler"
12
- directory: "/benchmarks"
13
- update_schedule: "live"
@@ -1,26 +0,0 @@
1
- # This workflow auto-approves pull-requests when the github actor is a
2
- # dependabot user and it is opening a new pull request.
3
- #
4
- # The problem that this workflow solves is that we have branch protection on
5
- # our repositories that prevent PRs from merging unless there is an
6
- # approval present. The problem is that this will block PRs that dependabot
7
- # may want to merge automatically. Auto-approving dependabot PRs will allow
8
- # the automatic merge to complete. We control what gets automerged through
9
- # the dependabot configuration.
10
- #
11
- # This is a known issue: https://github.com/dependabot/feedback/issues/852
12
- name: Auto-approve dependabot pull requests
13
- on:
14
- pull_request:
15
- types: [opened]
16
-
17
- jobs:
18
- dependabot-triage:
19
- runs-on: ubuntu-latest
20
- if: (github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]')
21
-
22
- steps:
23
- - name: Auto-approve for dependabot
24
- uses: hmarr/auto-approve-action@v2.0.0
25
- with:
26
- github-token: "${{ secrets.GITHUB_TOKEN }}"
@@ -1,35 +0,0 @@
1
- # This workflow removes a "Needs QA" label from a PR when the actor is the
2
- # dependabot user merging a PR.
3
- #
4
- # We need this mechanism to allow for automerging whitelisted dependencies while
5
- # also allowing for blocking a merge to main for deployment (in the way that
6
- # our other PRs work). When the automerge script runs in henchman, it looks
7
- # for `Needs QA` on github pull requests, and if the label is present,
8
- # blocks the commit from merging.
9
- name: Remove 'Needs QA' label for auto-merged PRs.
10
- on:
11
- pull_request:
12
- types: [closed]
13
-
14
- jobs:
15
- remove-label:
16
- runs-on: ubuntu-latest
17
- if: >
18
- (github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]')
19
- && github.event.pull_request.merged
20
-
21
- steps:
22
- # Our triage workflow adds 'Needs QA' to the PR in order to block it from
23
- # merging to production. This removes that label when dependabot is doing
24
- # the merging.
25
- - name: Remove QA Label
26
- uses: actions/github-script@0.4.0
27
- with:
28
- github-token: ${{ secrets.GITHUB_TOKEN }}
29
- script: |
30
- github.issues.removeLabel({
31
- issue_number: context.issue.number,
32
- owner: context.repo.owner,
33
- repo: context.repo.repo,
34
- name: 'Needs QA'
35
- })
@@ -1 +0,0 @@
1
- 3.0.0
@@ -1,26 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- memo_wise (0.3.0)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- benchmark-ips (2.8.4)
10
- memery (1.3.0)
11
- ruby2_keywords (~> 0.0.2)
12
- ruby2_keywords (0.0.4)
13
-
14
- PLATFORMS
15
- x86_64-darwin-19
16
-
17
- DEPENDENCIES
18
- benchmark-ips (= 2.8.4)
19
- memery (= 1.3.0)
20
- memo_wise!
21
-
22
- RUBY VERSION
23
- ruby 3.0.0p0
24
-
25
- BUNDLED WITH
26
- 2.2.3