redox-client 0.1.0 → 0.2.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/CHANGELOG.md +9 -1
- data/Gemfile.lock +1 -1
- data/README.md +9 -6
- data/Rakefile +37 -0
- data/lib/redox/version.rb +1 -1
- data/redox-client.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 682fb0886128839a8dd06635c1c3da718f9707a8d222c3702ed4401931fbd3d4
|
4
|
+
data.tar.gz: b8d36a7a36c1f278ef81f6a4bfe1ac452a573678316ae64224f208b563b64950
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4775f40565fb129f5c701c37da3077f2a6a41498a9b7ce7ea89bfdf105b5731a73343323faa9c4472a8fae5814112cc8835fe383a74c2236b07948a53e6be2e3
|
7
|
+
data.tar.gz: f5279b33223b00641e91e399b3a660cb72be8d5945ce34c632d9920b1c2def89bada648d2e3d1e26905adb87d3fd4770e125b98efc3e77575292df1340d22566
|
data/CHANGELOG.md
CHANGED
@@ -7,9 +7,17 @@
|
|
7
7
|
|
8
8
|
### Removed
|
9
9
|
|
10
|
+
## [0.2.0] - 2020-08-16
|
11
|
+
### Added
|
12
|
+
- improve release process
|
13
|
+
|
14
|
+
### Changed
|
15
|
+
- fixed CHANGELOG url in gemspec
|
16
|
+
|
10
17
|
## [0.1.0] - 2020-08-14
|
11
18
|
### Added
|
12
19
|
- implement PatientSearch.Query
|
13
20
|
|
14
|
-
[Unreleased]: https://github.com/patient-discovery/redox-client/compare/v1.0.0...HEAD
|
15
21
|
[0.1.0]: https://github.com/patient-discovery/redox-client/releases/tag/v0.1.0
|
22
|
+
[0.2.0]: https://github.com/patient-discovery/redox-client/releases/tag/v0.2.0
|
23
|
+
[Unreleased]: https://github.com/patient-discovery/redox-client/compare/v0.2.0...HEAD
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -101,9 +101,12 @@ Run `rake` to run the style checks. Run `rake fix` to fix violations.
|
|
101
101
|
- `bin/console` - get an interactive prompt for experimenting
|
102
102
|
|
103
103
|
### Release Process
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
104
|
+
This project uses [Semantic Versioning](https://semver.org)
|
105
|
+
|
106
|
+
Prepare release on master branch, then run:
|
107
|
+
|
108
|
+
```
|
109
|
+
rake prepare:release
|
110
|
+
```
|
111
|
+
|
112
|
+
and follow the instructions.
|
data/Rakefile
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require "date"
|
3
4
|
require "bundler/gem_tasks"
|
4
5
|
require "rspec/core/rake_task"
|
5
6
|
require "standard/rake"
|
@@ -25,4 +26,40 @@ task :check_vcr_cassettes do
|
|
25
26
|
raise "Possible credential leak" unless system "bin/check-vcr-cassettes"
|
26
27
|
end
|
27
28
|
|
29
|
+
task "prepare:changelog" do
|
30
|
+
repo = "https://github.com/patient-discovery/redox-client"
|
31
|
+
changelog = IO.readlines("CHANGELOG.md").map(&:chomp)
|
32
|
+
entries = [
|
33
|
+
"## [#{Redox::VERSION}] - #{Date.today}",
|
34
|
+
"[#{Redox::VERSION}]: #{repo}/releases/tag/v#{Redox::VERSION}",
|
35
|
+
"[Unreleased]: #{repo}/compare/v#{Redox::VERSION}...HEAD"
|
36
|
+
]
|
37
|
+
unless entries.all? { |x| changelog.include? x }
|
38
|
+
puts "\nAdd these to CHANGELOG.md:\n\n"
|
39
|
+
puts entries.join("\n")
|
40
|
+
puts "\n\n"
|
41
|
+
abort "ERROR: CHANGELOG version entries needed"
|
42
|
+
end
|
43
|
+
puts "CHANGELOG looks good"
|
44
|
+
end
|
45
|
+
|
46
|
+
task "prepare:version" do
|
47
|
+
if system("git show-ref --tags v#{Redox::VERSION}")
|
48
|
+
abort("ERROR: Tag already exists. Check version.rb")
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
task "prepare:tag" do
|
53
|
+
unless system("git tag -m 'Version #{Redox::VERSION}' v#{Redox::VERSION}")
|
54
|
+
abort("ERROR: Unable to tag")
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
task "prepare:release": [
|
59
|
+
"release:guard_clean", "test", "prepare:version", "prepare:changelog", "prepare:tag"
|
60
|
+
] do
|
61
|
+
puts "Release tagged. To create release run:\n\n"
|
62
|
+
puts "git push --follow-tags"
|
63
|
+
end
|
64
|
+
|
28
65
|
CLEAN.include "coverage"
|
data/lib/redox/version.rb
CHANGED
data/redox-client.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
|
|
12
12
|
gem.summary = "Ruby library for consuming Redox JSON APIs"
|
13
13
|
gem.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
|
14
14
|
gem.metadata["source_code_uri"] = gem.homepage
|
15
|
-
gem.metadata["changelog_uri"] = "#{gem.homepage}/CHANGELOG.md"
|
15
|
+
gem.metadata["changelog_uri"] = "#{gem.homepage}/blob/master/CHANGELOG.md"
|
16
16
|
|
17
17
|
gem.license = "MIT"
|
18
18
|
gem.files = Dir.chdir(File.expand_path(__dir__)) do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redox-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Keirnan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -146,7 +146,7 @@ licenses:
|
|
146
146
|
- MIT
|
147
147
|
metadata:
|
148
148
|
source_code_uri: https://github.com/patient-discovery/redox-client
|
149
|
-
changelog_uri: https://github.com/patient-discovery/redox-client/CHANGELOG.md
|
149
|
+
changelog_uri: https://github.com/patient-discovery/redox-client/blob/master/CHANGELOG.md
|
150
150
|
post_install_message:
|
151
151
|
rdoc_options: []
|
152
152
|
require_paths:
|