expiring_memoize 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/Dockerfile.test +14 -0
- data/Jenkinsfile +45 -0
- data/LICENSE.txt +1 -0
- data/expiring_memoize.gemspec +1 -1
- data/lib/expiring_memoize/version.rb +1 -1
- data/publish +7 -0
- data/test +4 -0
- metadata +12 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b23d6cf1116fc97270b67bec6c8aed6b32b18b18896c9697f245b2d4fe7f98ab
|
4
|
+
data.tar.gz: 23f903e7247efcb30abff49932b88c329bfd5aeb97f098d3af39f1252ebe49bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70b4434f6bfd4b67f905c209bbe304375a8326d38f1bfdac0cf9e74b7d3a00e4a112998a50a1021e32201a89019238a756e14ebfc99f17b0e24f0a4581b34a1f
|
7
|
+
data.tar.gz: 435796cf16fcca9fae1027c5e0748f013cc311a725fecb8abc9b54f82a5e9ec749a8744936d1f183978690bb634e3f449a4b83d22df3b9e66e7acbc2cd47a9af
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# Changelog
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
|
4
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
5
|
+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
|
+
|
7
|
+
## [Unreleased]
|
8
|
+
|
9
|
+
## [0.1.1] - 2020-03-04
|
10
|
+
|
11
|
+
### Changed
|
12
|
+
|
13
|
+
- Bumped Rake to 12.3.3 for CVE-2020-8130
|
14
|
+
|
15
|
+
## [0.1.0] - 2019-09-30
|
16
|
+
|
17
|
+
[Unreleased]: https://github.com/conjurinc/expiring_memoize/compare/v0.1.1...HEAD
|
18
|
+
[0.1.1]: https://github.com/conjurinc/expiring_memoize/compare/v0.1.0...v0.1.1
|
19
|
+
[0.1.0]: https://github.com/conjurinc/expiring_memoize/compare/v0.1.0
|
data/Dockerfile.test
ADDED
data/Jenkinsfile
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
#!/usr/bin/env groovy
|
2
|
+
|
3
|
+
pipeline {
|
4
|
+
agent { label 'executor-v2' }
|
5
|
+
|
6
|
+
options {
|
7
|
+
timestamps()
|
8
|
+
buildDiscarder(logRotator(numToKeepStr: '30'))
|
9
|
+
}
|
10
|
+
|
11
|
+
triggers {
|
12
|
+
cron(getDailyCronString())
|
13
|
+
}
|
14
|
+
|
15
|
+
stages {
|
16
|
+
stage('Test') {
|
17
|
+
steps { sh './test' }
|
18
|
+
}
|
19
|
+
|
20
|
+
// Only publish to RubyGems if branch is 'master'
|
21
|
+
stage('Publish to RubyGems?') {
|
22
|
+
agent { label 'releaser-v2' }
|
23
|
+
|
24
|
+
when {
|
25
|
+
branch 'master'
|
26
|
+
}
|
27
|
+
steps {
|
28
|
+
// Clean up first
|
29
|
+
sh 'docker run -i --rm -v $PWD:/src -w /src alpine/git clean -fxd'
|
30
|
+
|
31
|
+
sh './publish'
|
32
|
+
|
33
|
+
// Clean up again...
|
34
|
+
sh 'docker run -i --rm -v $PWD:/src -w /src alpine/git clean -fxd'
|
35
|
+
deleteDir()
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
post {
|
41
|
+
always {
|
42
|
+
cleanupAndNotify(currentBuild.currentResult)
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
data/LICENSE.txt
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
3
|
Copyright (c) 2019 Rafał Rzepecki
|
4
|
+
Copyright (c) 2020 CyberArk Software Ltd. All rights reserved.
|
4
5
|
|
5
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
7
|
of this software and associated documentation files (the "Software"), to deal
|
data/expiring_memoize.gemspec
CHANGED
@@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.require_paths = ["lib"]
|
25
25
|
|
26
26
|
spec.add_development_dependency "bundler", "~> 1.17"
|
27
|
-
spec.add_development_dependency "rake", "
|
27
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
28
28
|
spec.add_development_dependency "rspec", "~> 3.0"
|
29
29
|
end
|
data/publish
ADDED
data/test
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: expiring_memoize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rafał Rzepecki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 12.3.3
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 12.3.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -62,7 +62,10 @@ files:
|
|
62
62
|
- ".gitignore"
|
63
63
|
- ".rspec"
|
64
64
|
- ".travis.yml"
|
65
|
+
- CHANGELOG.md
|
66
|
+
- Dockerfile.test
|
65
67
|
- Gemfile
|
68
|
+
- Jenkinsfile
|
66
69
|
- LICENSE.txt
|
67
70
|
- README.md
|
68
71
|
- Rakefile
|
@@ -71,6 +74,8 @@ files:
|
|
71
74
|
- expiring_memoize.gemspec
|
72
75
|
- lib/expiring_memoize.rb
|
73
76
|
- lib/expiring_memoize/version.rb
|
77
|
+
- publish
|
78
|
+
- test
|
74
79
|
homepage: https://github.com/dividedmind/expiring_memoize
|
75
80
|
licenses:
|
76
81
|
- MIT
|
@@ -90,8 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
95
|
- !ruby/object:Gem::Version
|
91
96
|
version: '0'
|
92
97
|
requirements: []
|
93
|
-
|
94
|
-
rubygems_version: 2.7.6.2
|
98
|
+
rubygems_version: 3.0.3
|
95
99
|
signing_key:
|
96
100
|
specification_version: 4
|
97
101
|
summary: Memoize with TTL.
|