pheme 1.2.2 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +105 -59
- data/.rubocop.yml +9 -140
- data/CHANGELOG.md +27 -0
- data/Gemfile +1 -1
- data/README.md +11 -3
- data/Rakefile +6 -0
- data/lib/pheme/configuration.rb +2 -2
- data/lib/pheme/rollbar.rb +1 -1
- data/lib/pheme/version.rb +1 -1
- data/pheme.gemspec +27 -26
- data/spec/queue_poller_spec.rb +2 -2
- data/spec/version_spec.rb +31 -2
- metadata +21 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25e5b03eaaa0be478913538e4421e5275378c906668321593c5691c18f38d2e2
|
4
|
+
data.tar.gz: a0e150bdb3dc2b65072a88f78eaaf60708def769650880b19447dab85f5ff0fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f469839d4ffceacbe51de0811c4a9e808adac6f321231aff66f58568c6608315e79aecc3f14a7cb94d128923aa8a0eecfd707d84acf55e8ffe7253fd511ff52d
|
7
|
+
data.tar.gz: 91d340de824254c53ba2eb0b8c63f84f4910c8bda4a746e0a2e7a65573924a54e82e2694c3597f6778914886368d00a110114e71a5bb9432116ad16b2a772ad3
|
data/.circleci/config.yml
CHANGED
@@ -1,5 +1,21 @@
|
|
1
|
-
|
1
|
+
version: 2
|
2
|
+
|
2
3
|
references:
|
4
|
+
defaults:
|
5
|
+
2_4_5: &defaults_2_4_5
|
6
|
+
working_directory: ~/wealthsimple
|
7
|
+
docker:
|
8
|
+
- image: circleci/ruby:2.4.5
|
9
|
+
environment:
|
10
|
+
RAILS_ENV: test
|
11
|
+
|
12
|
+
2_5_3: &defaults
|
13
|
+
working_directory: ~/wealthsimple
|
14
|
+
docker:
|
15
|
+
- image: circleci/ruby:2.5.3
|
16
|
+
environment:
|
17
|
+
RAILS_ENV: test
|
18
|
+
|
3
19
|
which_bundler: &which_bundler
|
4
20
|
run:
|
5
21
|
name: Which bundler?
|
@@ -8,93 +24,123 @@ references:
|
|
8
24
|
bundle_install: &bundle_install
|
9
25
|
run:
|
10
26
|
name: Bundle Install
|
11
|
-
command: bundle
|
27
|
+
command: bundle install --jobs=4 --retry=3 --path vendor/bundle
|
28
|
+
|
29
|
+
attach_code_workspace: &attach_code_workspace
|
30
|
+
attach_workspace:
|
31
|
+
at: ~/wealthsimple
|
32
|
+
|
33
|
+
restore_bundle_dependencies: &restore_bundle_dependencies
|
34
|
+
run:
|
35
|
+
name: Restore bundle dependencies from workspace
|
36
|
+
command: bundle --path vendor/bundle
|
12
37
|
|
13
38
|
run_rspec: &run_rspec
|
14
39
|
run:
|
15
40
|
name: Run rspec
|
16
41
|
command: |
|
17
|
-
bundle exec rspec --
|
18
|
-
--require spec_helper \
|
42
|
+
bundle exec rspec --require spec_helper \
|
19
43
|
--format RspecJunitFormatter \
|
20
44
|
--out test_results/rspec.xml \
|
21
|
-
--format documentation
|
22
|
-
$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)
|
23
|
-
|
24
|
-
bundle_audit: &bundle_audit
|
25
|
-
run:
|
26
|
-
name: Bundle audit
|
27
|
-
command: bundle exec bundle-audit update && bundle exec bundle-audit check
|
45
|
+
--format documentation
|
28
46
|
|
29
|
-
version: 2
|
30
47
|
jobs:
|
31
|
-
|
32
|
-
|
33
|
-
docker:
|
34
|
-
- image: wealthsimple/ruby:2.3.8-node-docker
|
35
|
-
environment:
|
36
|
-
RAILS_ENV: test
|
48
|
+
checkout_and_bundle_2_4_5:
|
49
|
+
<<: *defaults_2_4_5
|
37
50
|
steps:
|
38
51
|
- checkout
|
39
52
|
- *which_bundler
|
40
|
-
- restore_cache:
|
41
|
-
key: v1-ruby-2_3-{{ checksum "pheme.gemspec" }}-{{ checksum "Gemfile" }}
|
42
53
|
- *bundle_install
|
43
|
-
- save_cache:
|
44
|
-
key: v1-ruby-2_3-{{ checksum "pheme.gemspec" }}-{{ checksum "Gemfile" }}
|
45
|
-
paths:
|
46
|
-
- vendor/bundle
|
47
54
|
- *run_rspec
|
48
|
-
- *bundle_audit
|
49
55
|
- store_test_results:
|
50
56
|
path: test_results
|
51
57
|
|
52
|
-
|
53
|
-
|
54
|
-
docker:
|
55
|
-
- image: wealthsimple/ruby:2.4.5-node-docker
|
56
|
-
environment:
|
57
|
-
RAILS_ENV: test
|
58
|
+
checkout_and_bundle:
|
59
|
+
<<: *defaults
|
58
60
|
steps:
|
59
61
|
- checkout
|
60
62
|
- *which_bundler
|
61
|
-
- restore_cache:
|
62
|
-
key: v1-ruby-2_4-{{ checksum "pheme.gemspec" }}-{{ checksum "Gemfile" }}
|
63
63
|
- *bundle_install
|
64
|
-
-
|
65
|
-
|
66
|
-
paths:
|
67
|
-
|
64
|
+
- persist_to_workspace:
|
65
|
+
root: .
|
66
|
+
paths: .
|
67
|
+
|
68
|
+
rspec:
|
69
|
+
<<: *defaults
|
70
|
+
steps:
|
71
|
+
- *attach_code_workspace
|
72
|
+
- *restore_bundle_dependencies
|
68
73
|
- *run_rspec
|
69
|
-
- *bundle_audit
|
70
74
|
- store_test_results:
|
71
75
|
path: test_results
|
72
76
|
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
-
|
77
|
-
|
78
|
-
|
77
|
+
lint_check:
|
78
|
+
<<: *defaults
|
79
|
+
steps:
|
80
|
+
- *attach_code_workspace
|
81
|
+
- *restore_bundle_dependencies
|
82
|
+
- run: bundle exec rubocop
|
83
|
+
|
84
|
+
vulnerability_check:
|
85
|
+
<<: *defaults
|
86
|
+
steps:
|
87
|
+
- *attach_code_workspace
|
88
|
+
- *restore_bundle_dependencies
|
89
|
+
- run: bundle exec bundle-audit update && bundle exec bundle-audit check
|
90
|
+
|
91
|
+
release:
|
92
|
+
<<: *defaults
|
79
93
|
steps:
|
80
94
|
- checkout
|
81
|
-
- *
|
82
|
-
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
- *bundle_audit
|
91
|
-
- store_test_results:
|
92
|
-
path: test_results
|
95
|
+
- *attach_code_workspace
|
96
|
+
- *restore_bundle_dependencies
|
97
|
+
- run:
|
98
|
+
name: Release to rubygems.org
|
99
|
+
command: |
|
100
|
+
mkdir ~/.gem
|
101
|
+
echo ":rubygems_api_key: ${RUBYGEMS_API_KEY}" >> ~/.gem/credentials
|
102
|
+
chmod 600 ~/.gem/credentials
|
103
|
+
bundle exec rake release
|
93
104
|
|
94
105
|
workflows:
|
95
106
|
version: 2
|
96
107
|
build:
|
97
108
|
jobs:
|
98
|
-
-
|
99
|
-
|
100
|
-
-
|
109
|
+
- checkout_and_bundle_2_4_5:
|
110
|
+
context: wealthsimple
|
111
|
+
- checkout_and_bundle:
|
112
|
+
context: wealthsimple
|
113
|
+
- rspec:
|
114
|
+
requires:
|
115
|
+
- checkout_and_bundle
|
116
|
+
- lint_check:
|
117
|
+
requires:
|
118
|
+
- checkout_and_bundle
|
119
|
+
- vulnerability_check:
|
120
|
+
requires:
|
121
|
+
- checkout_and_bundle
|
122
|
+
- release:
|
123
|
+
context: wealthsimple
|
124
|
+
filters:
|
125
|
+
branches:
|
126
|
+
only: master
|
127
|
+
requires:
|
128
|
+
- checkout_and_bundle_2_4_5
|
129
|
+
- rspec
|
130
|
+
- lint_check
|
131
|
+
- vulnerability_check
|
132
|
+
|
133
|
+
security-audit:
|
134
|
+
triggers:
|
135
|
+
- schedule:
|
136
|
+
# 11:05 am UTC: 6:05 am EST / 7:05 am EDT
|
137
|
+
cron: "5 11 * * *"
|
138
|
+
filters:
|
139
|
+
branches:
|
140
|
+
only: master
|
141
|
+
jobs:
|
142
|
+
- checkout_and_bundle:
|
143
|
+
context: wealthsimple
|
144
|
+
- vulnerability_check:
|
145
|
+
requires:
|
146
|
+
- checkout_and_bundle
|
data/.rubocop.yml
CHANGED
@@ -1,143 +1,12 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
inherit_gem:
|
2
|
+
ws-style:
|
3
|
+
- default.yml
|
3
4
|
|
5
|
+
AllCops:
|
6
|
+
# Specify your target Ruby version here (only major/minor versions):
|
7
|
+
TargetRubyVersion: 2.3
|
4
8
|
Exclude:
|
5
|
-
- 'vendor/**/*'
|
6
|
-
- 'log/**/*'
|
7
|
-
- 'public/**/*'
|
8
|
-
- 'data/**/*'
|
9
|
-
- 'tmp/**/*'
|
10
9
|
- 'bin/**/*'
|
11
|
-
- '
|
12
|
-
- '
|
13
|
-
- '
|
14
|
-
TargetRubyVersion: 2.3
|
15
|
-
|
16
|
-
Lint/AmbiguousOperator:
|
17
|
-
Enabled: false
|
18
|
-
|
19
|
-
Naming/FileName:
|
20
|
-
Enabled: false
|
21
|
-
|
22
|
-
Lint/IneffectiveAccessModifier:
|
23
|
-
Enabled: false
|
24
|
-
|
25
|
-
Lint/UselessAccessModifier:
|
26
|
-
Enabled: false
|
27
|
-
|
28
|
-
Layout/SpaceBeforeBlockBraces:
|
29
|
-
Enabled: false
|
30
|
-
|
31
|
-
FrozenStringLiteralComment:
|
32
|
-
Enabled: false
|
33
|
-
|
34
|
-
Metrics/AbcSize:
|
35
|
-
Enabled: false
|
36
|
-
|
37
|
-
Metrics/BlockLength:
|
38
|
-
Enabled: false
|
39
|
-
|
40
|
-
Metrics/ClassLength:
|
41
|
-
Enabled: false
|
42
|
-
|
43
|
-
Metrics/MethodLength:
|
44
|
-
Enabled: false
|
45
|
-
|
46
|
-
Metrics/LineLength:
|
47
|
-
Enabled: false
|
48
|
-
Max: 120
|
49
|
-
|
50
|
-
Metrics/CyclomaticComplexity:
|
51
|
-
Enabled: false
|
52
|
-
|
53
|
-
Metrics/PerceivedComplexity:
|
54
|
-
Enabled: false
|
55
|
-
|
56
|
-
Metrics/ParameterLists:
|
57
|
-
Enabled: false
|
58
|
-
|
59
|
-
Style/For:
|
60
|
-
EnforcedStyle: each
|
61
|
-
|
62
|
-
Style/HashSyntax:
|
63
|
-
EnforcedStyle: ruby19
|
64
|
-
|
65
|
-
Layout/ExtraSpacing:
|
66
|
-
Enabled: false
|
67
|
-
|
68
|
-
Layout/SpaceAroundEqualsInParameterDefault:
|
69
|
-
Enabled: false
|
70
|
-
|
71
|
-
Style/Documentation:
|
72
|
-
Enabled: false
|
73
|
-
|
74
|
-
Layout/TrailingBlankLines:
|
75
|
-
EnforcedStyle: final_newline
|
76
|
-
|
77
|
-
Naming/VariableName:
|
78
|
-
EnforcedStyle: snake_case
|
79
|
-
|
80
|
-
Style/MethodDefParentheses:
|
81
|
-
EnforcedStyle: require_parentheses
|
82
|
-
|
83
|
-
Style/Semicolon:
|
84
|
-
AllowAsExpressionSeparator: false
|
85
|
-
|
86
|
-
Style/TrailingCommaInHashLiteral:
|
87
|
-
EnforcedStyleForMultiline: comma
|
88
|
-
|
89
|
-
Style/Alias:
|
90
|
-
EnforcedStyle: prefer_alias_method
|
91
|
-
|
92
|
-
Style/AndOr:
|
93
|
-
EnforcedStyle: conditionals
|
94
|
-
|
95
|
-
Style/StringLiterals:
|
96
|
-
Enabled: false
|
97
|
-
|
98
|
-
Style/CollectionMethods:
|
99
|
-
PreferredMethods:
|
100
|
-
collect: 'map'
|
101
|
-
collect!: 'map!'
|
102
|
-
inject: 'reduce'
|
103
|
-
detect: 'find'
|
104
|
-
find_all: 'select'
|
105
|
-
|
106
|
-
Layout/SpaceBeforeFirstArg:
|
107
|
-
Enabled: false
|
108
|
-
|
109
|
-
Style/ClassVars:
|
110
|
-
Enabled: false
|
111
|
-
|
112
|
-
Layout/MultilineMethodCallIndentation:
|
113
|
-
EnforcedStyle: indented
|
114
|
-
|
115
|
-
Layout/DotPosition:
|
116
|
-
EnforcedStyle: trailing
|
117
|
-
|
118
|
-
Style/NumericPredicate:
|
119
|
-
EnforcedStyle: comparison
|
120
|
-
|
121
|
-
Layout/IndentHash:
|
122
|
-
EnforcedStyle: consistent
|
123
|
-
|
124
|
-
Style/TrailingCommaInArguments:
|
125
|
-
EnforcedStyleForMultiline: comma
|
126
|
-
|
127
|
-
Style/BracesAroundHashParameters:
|
128
|
-
Enabled: false
|
129
|
-
|
130
|
-
Style/Lambda:
|
131
|
-
Enabled: false
|
132
|
-
|
133
|
-
Style/SingleLineBlockParams:
|
134
|
-
Enabled: false
|
135
|
-
|
136
|
-
Style/GuardClause:
|
137
|
-
Enabled: false
|
138
|
-
|
139
|
-
Style/DoubleNegation:
|
140
|
-
Enabled: false
|
141
|
-
|
142
|
-
Style/ClassAndModuleChildren:
|
143
|
-
Enabled: false
|
10
|
+
- 'examples/**/*'
|
11
|
+
- 'tmp/**/*'
|
12
|
+
- 'vendor/**/*'
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,27 @@
|
|
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](https://keepachangelog.com/en/1.0.0/),
|
5
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
|
+
|
7
|
+
## 3.0.0 - 2019-02-07
|
8
|
+
### Changed
|
9
|
+
- Renamed gem to pheme, back to open source and published to Rubygems.
|
10
|
+
|
11
|
+
## 2.0.1 - 2019-01-03
|
12
|
+
### Changed
|
13
|
+
- add internal gem spec to test standard gem behavior, reduces unnecessary copy and pasting
|
14
|
+
### Fixed
|
15
|
+
- namespace for the VERSION constant was incorrectly set to Ws::Ws
|
16
|
+
|
17
|
+
## 2.0.0 - 2019-01-03
|
18
|
+
### Changed
|
19
|
+
- Renamed gem to ws-pheme, **breaking changes** due to new namespace.
|
20
|
+
|
21
|
+
## 1.3.1 - 2018-01-02
|
22
|
+
### Fixed
|
23
|
+
- only pull private gems from private nexus server
|
24
|
+
|
25
|
+
## 1.3.0 - 2018-12-31
|
26
|
+
### Added
|
27
|
+
- publish to private nexus server
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,14 +1,22 @@
|
|
1
|
-
# pheme [![
|
1
|
+
# pheme [![CircleCI](https://circleci.com/gh/wealthsimple/pheme.svg?style=svg&circle-token=76942be0b1712ac066627be264886ee18039ad11)](https://circleci.com/gh/wealthsimple/pheme)
|
2
2
|
|
3
3
|
Ruby SNS publisher + SQS poller & message handler
|
4
4
|
|
5
|
-
##
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's `Gemfile`:
|
6
8
|
|
7
9
|
```ruby
|
8
|
-
# Gemfile
|
9
10
|
gem 'pheme'
|
10
11
|
```
|
11
12
|
|
13
|
+
And then execute:
|
14
|
+
```bash
|
15
|
+
$ bundle
|
16
|
+
```
|
17
|
+
|
18
|
+
## Configuration
|
19
|
+
|
12
20
|
```ruby
|
13
21
|
# Initializer
|
14
22
|
aws_config = {
|
data/Rakefile
CHANGED
data/lib/pheme/configuration.rb
CHANGED
@@ -17,10 +17,10 @@ module Pheme
|
|
17
17
|
|
18
18
|
class Configuration
|
19
19
|
ATTRIBUTES = %i[sns_client sqs_client logger rollbar].freeze
|
20
|
-
attr_accessor
|
20
|
+
attr_accessor(*ATTRIBUTES)
|
21
21
|
|
22
22
|
def initialize
|
23
|
-
@logger ||= Logger.new(STDOUT)
|
23
|
+
@logger ||= Logger.new(STDOUT) # rubocop:disable Lint/DisjunctiveAssignmentInConstructor
|
24
24
|
@logger = ActiveSupport::TaggedLogging.new(@logger) unless @logger.respond_to?(:tagged)
|
25
25
|
end
|
26
26
|
|
data/lib/pheme/rollbar.rb
CHANGED
data/lib/pheme/version.rb
CHANGED
data/pheme.gemspec
CHANGED
@@ -3,34 +3,35 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
|
4
4
|
require "pheme/version"
|
5
5
|
|
6
|
-
Gem::Specification.new do |
|
7
|
-
gem.
|
8
|
-
gem.version = Pheme::VERSION
|
9
|
-
gem.authors = ["Peter Graham"]
|
10
|
-
gem.email = ["peter@wealthsimple.com"]
|
11
|
-
gem.description = 'Ruby AWS SNS publisher + SQS poller & message handler'
|
12
|
-
gem.summary = 'Ruby SNS publisher + SQS poller & message handler'
|
13
|
-
gem.homepage = "https://github.com/wealthsimple/pheme"
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.' unless s.respond_to?(:metadata)
|
14
8
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
9
|
+
s.name = "pheme"
|
10
|
+
s.version = Pheme::VERSION
|
11
|
+
s.authors = ["Peter Graham"]
|
12
|
+
s.email = ["peter@wealthsimple.com"]
|
13
|
+
s.description = 'Ruby AWS SNS publisher + SQS poller & message handler'
|
14
|
+
s.summary = 'Ruby SNS publisher + SQS poller & message handler'
|
15
|
+
s.homepage = "https://github.com/wealthsimple/pheme"
|
21
16
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
17
|
+
s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
18
|
+
s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
19
|
+
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
20
|
+
s.require_paths = ["lib"]
|
21
|
+
s.license = "MIT"
|
27
22
|
|
28
|
-
|
29
|
-
|
23
|
+
s.add_dependency "activesupport", ">= 4"
|
24
|
+
s.add_dependency "aws-sdk-sns", "~> 1.1"
|
25
|
+
s.add_dependency "aws-sdk-sqs", "~> 1.3"
|
26
|
+
s.add_dependency "recursive-open-struct", "~> 1"
|
27
|
+
s.add_dependency "smarter_csv", "~> 1"
|
30
28
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
29
|
+
s.add_development_dependency 'bundler'
|
30
|
+
s.add_development_dependency 'git'
|
31
|
+
s.add_development_dependency 'rake'
|
32
|
+
s.add_development_dependency 'rspec'
|
33
|
+
s.add_development_dependency 'rspec-collection_matchers'
|
34
|
+
s.add_development_dependency 'rspec-its'
|
35
|
+
s.add_development_dependency 'rspec_junit_formatter', '~> 0.2'
|
36
|
+
s.add_development_dependency 'ws-style'
|
36
37
|
end
|
data/spec/queue_poller_spec.rb
CHANGED
@@ -55,14 +55,14 @@ describe Pheme::QueuePoller do
|
|
55
55
|
let(:expected_message) do
|
56
56
|
[
|
57
57
|
{ test1: 'value1', test2: 'value2' },
|
58
|
-
{ test1: 'value3', test2: 'value4' }
|
58
|
+
{ test1: 'value3', test2: 'value4' },
|
59
59
|
]
|
60
60
|
end
|
61
61
|
let(:message) do
|
62
62
|
[
|
63
63
|
%w[test1 test2].join(','),
|
64
64
|
%w[value1 value2].join(','),
|
65
|
-
%w[value3 value4].join(',')
|
65
|
+
%w[value3 value4].join(','),
|
66
66
|
].join("\n")
|
67
67
|
end
|
68
68
|
|
data/spec/version_spec.rb
CHANGED
@@ -1,5 +1,34 @@
|
|
1
|
+
require 'git'
|
2
|
+
|
1
3
|
describe Pheme do
|
2
|
-
|
3
|
-
|
4
|
+
def get_version(git, branch = 'HEAD')
|
5
|
+
git.grep('VERSION = ', 'lib/*/version.rb', { object: branch })
|
6
|
+
.map { |_sha, matches| matches.first[1] }
|
7
|
+
.map(&method(:parse_version))
|
8
|
+
.reject(&:nil?)
|
9
|
+
.first
|
10
|
+
end
|
11
|
+
|
12
|
+
def parse_version(string)
|
13
|
+
string.match(/VERSION = ['"](.*)['"]/)[1]
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'has a version number' do
|
17
|
+
git = Git.open('.')
|
18
|
+
head_version = get_version(git, 'HEAD')
|
19
|
+
expect(head_version).not_to be_nil
|
20
|
+
end
|
21
|
+
|
22
|
+
it 'has a bumped version' do
|
23
|
+
git = Git.open('.')
|
24
|
+
skip('already on master branch, no need to compare versions') if git.current_branch == 'master'
|
25
|
+
|
26
|
+
head_version = get_version(git, 'HEAD')
|
27
|
+
master_version = get_version(git, 'origin/master')
|
28
|
+
|
29
|
+
raise 'no version.rb file found on the current branch' if head_version.nil?
|
30
|
+
raise 'no version.rb file found on the master branch' if master_version.nil?
|
31
|
+
|
32
|
+
expect(Gem::Version.new(head_version)).to be > Gem::Version.new(master_version)
|
4
33
|
end
|
5
34
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pheme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Graham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -94,6 +94,20 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: git
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: rake
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -154,9 +168,6 @@ dependencies:
|
|
154
168
|
name: rspec_junit_formatter
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
156
170
|
requirements:
|
157
|
-
- - ">="
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
171
|
- - "~>"
|
161
172
|
- !ruby/object:Gem::Version
|
162
173
|
version: '0.2'
|
@@ -164,14 +175,11 @@ dependencies:
|
|
164
175
|
prerelease: false
|
165
176
|
version_requirements: !ruby/object:Gem::Requirement
|
166
177
|
requirements:
|
167
|
-
- - ">="
|
168
|
-
- !ruby/object:Gem::Version
|
169
|
-
version: '0'
|
170
178
|
- - "~>"
|
171
179
|
- !ruby/object:Gem::Version
|
172
180
|
version: '0.2'
|
173
181
|
- !ruby/object:Gem::Dependency
|
174
|
-
name:
|
182
|
+
name: ws-style
|
175
183
|
requirement: !ruby/object:Gem::Requirement
|
176
184
|
requirements:
|
177
185
|
- - ">="
|
@@ -197,6 +205,8 @@ files:
|
|
197
205
|
- ".gitignore"
|
198
206
|
- ".rspec"
|
199
207
|
- ".rubocop.yml"
|
208
|
+
- ".ruby-version"
|
209
|
+
- CHANGELOG.md
|
200
210
|
- Gemfile
|
201
211
|
- LICENSE
|
202
212
|
- README.md
|
@@ -238,15 +248,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
238
248
|
requirements:
|
239
249
|
- - ">="
|
240
250
|
- !ruby/object:Gem::Version
|
241
|
-
version:
|
251
|
+
version: '0'
|
242
252
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
243
253
|
requirements:
|
244
254
|
- - ">="
|
245
255
|
- !ruby/object:Gem::Version
|
246
256
|
version: '0'
|
247
257
|
requirements: []
|
248
|
-
|
249
|
-
rubygems_version: 2.7.6
|
258
|
+
rubygems_version: 3.0.1
|
250
259
|
signing_key:
|
251
260
|
specification_version: 4
|
252
261
|
summary: Ruby SNS publisher + SQS poller & message handler
|