rapporteur 3.6.4 → 3.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb4afdc76415881f0def9f10d37e5ad82886503325d773736aad1244a33c19ee
4
- data.tar.gz: 8b3fc5902d1ef2b0d31d3149a226be718a29ef43b67fce2fa31d092ba63ae98d
3
+ metadata.gz: 301e4ba77ac3d1998b12556c448f25ff37d502cabcad0ee1e2308a6562944f9f
4
+ data.tar.gz: 44aa95c219f21ce8774b97946d947c4928bd2ca1f902db18858d6c192cb9024b
5
5
  SHA512:
6
- metadata.gz: d0130f7543054e2e74dd9c9932aebd72a2c0b346b6b1713acca29d87ef1c475fe908a35edcf7b7e20324dce4433fbe18548f0ee4350a134dda5dacc93e9d1efd
7
- data.tar.gz: 39a74b306b2a73a5b0b0126b346f611735b3825eb88f6fe9efa8fd0393ff64a2e775071be8eb80f3107359366c9e143804d47ec5e26081dc254075dc22e877de
6
+ metadata.gz: dd44ec6f8bd73b8afde11e280df55da200203522060cff91bb24cb435774976334c50832c97e4c2496e7ff8fcf97bf2dc041912200b0971b64d9b8c83aa07d95
7
+ data.tar.gz: c9eb183ba7323154d1b50200f176d90915811c98c43da40912734fcb5bbd694b0b4ebe0de13464e28b2b5d6d9719df175f975d3fa15dd1c989c2429c568067f3
@@ -0,0 +1,13 @@
1
+ ---
2
+ updates:
3
+ - allow:
4
+ - dependency-type: "direct"
5
+ - dependency-type: "indirect"
6
+ directory: "/"
7
+ open-pull-requests-limit: 10
8
+ package-ecosystem: "bundler"
9
+ schedule:
10
+ interval: "daily"
11
+ time: "10:00"
12
+ versioning-strategy: "increase-if-necessary"
13
+ version: 2
@@ -0,0 +1,45 @@
1
+ ---
2
+ jobs:
3
+ release_github:
4
+ if: "github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')"
5
+ name: "Deploy to GitHub Packages"
6
+ needs: "tests"
7
+ runs-on: "ubuntu-latest"
8
+ steps:
9
+ - uses: "actions/checkout@v2"
10
+ - uses: "ruby/setup-ruby@v1"
11
+ with:
12
+ bundler-cache: true
13
+ ruby-version: "2.7"
14
+ - name: "Publish to GitHub"
15
+ uses: "jstastny/publish-gem-to-github@v1.3"
16
+ with:
17
+ owner: "envylabs"
18
+ token: "${{ secrets.GITHUB_TOKEN }}"
19
+ tests:
20
+ env:
21
+ BUNDLE_GEMFILE: "${{matrix.gemfile}}"
22
+ runs-on: "ubuntu-latest"
23
+ steps:
24
+ - uses: "actions/checkout@v2"
25
+ - uses: "ruby/setup-ruby@v1"
26
+ with:
27
+ bundler-cache: true
28
+ ruby-version: "2.7"
29
+ - name: "Run Tests"
30
+ run: "bundle exec rake spec"
31
+ - name: "Check Ruby Style"
32
+ run: "bundle exec rubocop -c ./.rubocop.yml -fq"
33
+ strategy:
34
+ fail-fast: false
35
+ matrix:
36
+ gemfile:
37
+ - "Gemfile"
38
+ - "gemfiles/rails5.2.gemfile"
39
+ - "gemfiles/rails6.0.gemfile"
40
+ - "gemfiles/rails6.1.gemfile"
41
+ - "gemfiles/rails7.0.gemfile"
42
+ - "gemfiles/rails_latest.gemfile"
43
+ - "gemfiles/sinatra2.x.gemfile"
44
+ name: "Test and Release"
45
+ "on": ["push"]
data/.gitignore CHANGED
@@ -1,5 +1,6 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
+ /Gemfile.lock
3
4
  /gemfiles/*.lock
4
5
  /gemfiles/.bundle/
5
6
  /_yardoc/
@@ -12,5 +13,4 @@
12
13
  # rspec failure tracking
13
14
  .rspec_status
14
15
 
15
- /.ruby-version
16
16
  *.sqlite
data/.rubocop.yml CHANGED
@@ -1,37 +1,27 @@
1
+ ---
2
+
1
3
  inherit_gem:
2
4
  rubocop-rails_config:
3
5
  - "config/rails.yml"
4
6
 
5
7
  AllCops:
6
- TargetRubyVersion: 2.3
7
8
  Exclude:
8
9
  - 'gemfiles/*'
10
+ - 'gemfiles/**/*'
11
+ - 'vendor/**/*'
12
+ TargetRubyVersion: 2.5
9
13
 
10
14
  Layout/CaseIndentation:
11
- Enabled: true
12
- EnforcedStyle: end
15
+ EnforcedStyle: "end"
16
+
17
+ Layout/EmptyLinesAroundAccessModifier:
18
+ EnforcedStyle: "around"
13
19
 
14
20
  Layout/EndOfLine:
15
21
  EnforcedStyle: "lf"
16
22
 
17
- Layout/IndentHeredoc:
18
- EnforcedStyle: "squiggly"
19
-
20
23
  Layout/IndentationConsistency:
21
24
  EnforcedStyle: "normal"
22
25
 
23
- Metrics/BlockLength:
24
- Exclude:
25
- - 'Rakefile'
26
- - '**/*.rake'
27
- - 'spec/**/*.rb'
28
-
29
- Metrics/ModuleLength:
30
- Exclude:
31
- - 'spec/**/*.rb'
32
-
33
- Style/SafeNavigation:
34
- Enabled: false
35
-
36
26
  Style/StringLiterals:
37
27
  EnforcedStyle: "single_quotes"
data/.yamllint ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+
3
+ extends: default
4
+
5
+ rules:
6
+ key-ordering: "enable"
7
+ quoted-strings: "enable"
data/Appraisals CHANGED
@@ -1,18 +1,20 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'rails5.0' do
4
- gem 'rails', '~> 5.0.0'
3
+ appraise 'rails5.2' do
4
+ gem 'rails', '~> 5.2.0'
5
5
  gem 'sqlite3', '< 1.4', platforms: :ruby
6
6
  end
7
7
 
8
- appraise 'rails5.1' do
9
- gem 'rails', '~> 5.1.0'
10
- gem 'sqlite3', '< 1.4', platforms: :ruby
8
+ appraise 'rails6.0' do
9
+ gem 'rails', '~> 6.0.0'
11
10
  end
12
11
 
13
- appraise 'rails5.2' do
14
- gem 'rails', '~> 5.2.0'
15
- gem 'sqlite3', '< 1.4', platforms: :ruby
12
+ appraise 'rails6.1' do
13
+ gem 'rails', '~> 6.1.0'
14
+ end
15
+
16
+ appraise 'rails7.0' do
17
+ gem 'rails', '~> 7.0.0'
16
18
  end
17
19
 
18
20
  appraise 'rails-latest' do
data/CHANGELOG.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Rapporteur changelog
2
2
 
3
3
  [![Gem Version](http://img.shields.io/gem/v/rapporteur.svg?style=flat)](http://rubygems.org/gems/rapporteur)
4
- [![Build Status](http://img.shields.io/travis/envylabs/rapporteur/master.svg?style=flat)](https://travis-ci.org/envylabs/rapporteur)
4
+ [![Test and Release](https://github.com/envylabs/rapporteur/actions/workflows/tests.yml/badge.svg)](https://github.com/envylabs/rapporteur/actions/workflows/tests.yml)
5
5
  [![Maintainability](https://api.codeclimate.com/v1/badges/8c498efff627b93db4b9/maintainability)](https://codeclimate.com/github/envylabs/rapporteur/maintainability)
6
6
  [![Inline docs](http://inch-ci.org/github/envylabs/rapporteur.svg?branch=master)](http://inch-ci.org/github/envylabs/rapporteur)
7
7
 
@@ -9,6 +9,23 @@
9
9
 
10
10
  * No significant changes.
11
11
 
12
+ ## [3.8.0][] / 2022-01-23
13
+
14
+ * Add support for Rails 7.0.
15
+
16
+ ## [3.7.2][] / 2021-06-22
17
+
18
+ * Test support for Rails 6.1.
19
+
20
+ ## [3.7.1][] / 2020-09-25
21
+
22
+ * Fix a Ruby 2.7 keyword argument deprecation warning in MessageList.
23
+
24
+ ## [3.7.0][] / 2020-01-02
25
+
26
+ * Add and test support for Rails 6.0. This also drops explicit testing of Rails
27
+ 5.0 and 5.1 as they are no longer officially maintained.
28
+
12
29
  ## [3.6.4][] / 2019-04-04
13
30
 
14
31
  * Maintenance release, no functional changes.
@@ -187,4 +204,8 @@
187
204
  [3.6.2]: https://github.com/envylabs/rapporteur/compare/v3.6.1...v3.6.2
188
205
  [3.6.3]: https://github.com/envylabs/rapporteur/compare/v3.6.2...v3.6.3
189
206
  [3.6.4]: https://github.com/envylabs/rapporteur/compare/v3.6.3...v3.6.4
190
- [HEAD]: https://github.com/envylabs/rapporteur/compare/v3.6.4...master
207
+ [3.7.0]: https://github.com/envylabs/rapporteur/compare/v3.6.4...v3.7.0
208
+ [3.7.1]: https://github.com/envylabs/rapporteur/compare/v3.7.0...v3.7.1
209
+ [3.7.2]: https://github.com/envylabs/rapporteur/compare/v3.7.1...v3.7.2
210
+ [3.8.0]: https://github.com/envylabs/rapporteur/compare/v3.7.2...v3.8.0
211
+ [HEAD]: https://github.com/envylabs/rapporteur/compare/v3.8.0...master
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Rapporteur (rap-or-TUHR)
2
2
 
3
3
  [![Gem Version](http://img.shields.io/gem/v/rapporteur.svg?style=flat)](http://rubygems.org/gems/rapporteur)
4
- [![Build Status](http://img.shields.io/travis/envylabs/rapporteur/master.svg?style=flat)](https://travis-ci.org/envylabs/rapporteur)
4
+ [![Test and Release](https://github.com/envylabs/rapporteur/actions/workflows/tests.yml/badge.svg)](https://github.com/envylabs/rapporteur/actions/workflows/tests.yml)
5
5
  [![Maintainability](https://api.codeclimate.com/v1/badges/8c498efff627b93db4b9/maintainability)](https://codeclimate.com/github/envylabs/rapporteur/maintainability)
6
6
  [![Inline docs](http://inch-ci.org/github/envylabs/rapporteur.svg?branch=master)](http://inch-ci.org/github/envylabs/rapporteur)
7
7
 
@@ -48,21 +48,14 @@ $ bundle install
48
48
 
49
49
  ### Supported environments
50
50
 
51
- Supported Ruby versions:
51
+ This library follows the maintenance policy of
52
+ [Ruby](https://www.ruby-lang.org/en/downloads/branches/),
53
+ [Ruby on Rails](https://guides.rubyonrails.org/maintenance_policy.html), and
54
+ [Sinatra](https://github.com/sinatra/sinatra/blob/master/MAINTENANCE.md) for
55
+ testing and maintaining these environments.
52
56
 
53
- * MRI 2.6
54
- * MRI 2.5
55
- * MRI 2.4
56
-
57
- Supported frameworks:
58
-
59
- * Rails 5.x.
60
- * Rails 4.2+.
61
- * Sinatra 2.x.
62
- * Sinatra 1.x.
63
-
64
- Older versions of Ruby and frameworks may also work with this library, however
65
- they are not officially supported.
57
+ Unsupported versions of Ruby, Ruby on Rails, or Sinatra may also work with this
58
+ library, however they are not officially supported or tested against.
66
59
 
67
60
  ## Usage
68
61
 
@@ -1,3 +1,5 @@
1
+ ---
2
+
1
3
  en:
2
4
  rapporteur:
3
5
  errors:
data/config/routes.rb CHANGED
@@ -4,8 +4,12 @@ Rapporteur::Engine.routes.draw do
4
4
  get '/(.:format)', to: 'statuses#show', as: :status
5
5
  end
6
6
 
7
- unless Rails.application.routes.routes.any? { |r| (Rapporteur::Engine == r.app) || (r.app.respond_to?(:app) && Rapporteur::Engine == r.app.app) }
8
- ActiveSupport::Deprecation.warn('Rapporteur was not explicitly mounted in your application. Please add an explicit mount call to your /config/routes.rb. Automatically mounted Rapporteur::Engine to /status for backward compatibility. This will be no longer automatically mount in Rapporteur 4.')
7
+ explicitly_mounted = Rails.application.routes.routes.any? { |r|
8
+ (Rapporteur::Engine == r.app) || (r.app.respond_to?(:app) && Rapporteur::Engine == r.app.app)
9
+ }
10
+
11
+ unless explicitly_mounted
12
+ ActiveSupport::Deprecation.warn('Rapporteur was not explicitly mounted in your application. Please add an explicit mount call to your /config/routes.rb. Automatically mounted Rapporteur::Engine to /status for backward compatibility. This will be no longer automatically mount in Rapporteur 4.') # rubocop:disable Layout/LineLength
9
13
  Rails.application.routes.draw do
10
14
  mount Rapporteur::Engine, at: '/status'
11
15
  end
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord-jdbcsqlite3-adapter", platforms: :jruby
6
- gem "sqlite3", "< 1.4", platforms: :ruby
7
- gem "rails", "~> 5.0.0"
6
+ gem "sqlite3", platforms: :ruby
7
+ gem "rails", "~> 6.0.0"
8
8
 
9
9
  gemspec path: "../"
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord-jdbcsqlite3-adapter", platforms: :jruby
6
- gem "sqlite3", "< 1.4", platforms: :ruby
7
- gem "rails", "~> 5.1.0"
6
+ gem "sqlite3", platforms: :ruby
7
+ gem "rails", "~> 6.1.0"
8
8
 
9
9
  gemspec path: "../"
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord-jdbcsqlite3-adapter", platforms: :jruby
6
+ gem "sqlite3", platforms: :ruby
7
+ gem "rails", "~> 7.0.0"
8
+
9
+ gemspec path: "../"
@@ -5,7 +5,7 @@ module Rapporteur
5
5
  class ActiveRecordCheck
6
6
  def self.call(checker)
7
7
  ActiveRecord::Base.connection.select_value('SELECT current_time AS time')
8
- rescue
8
+ rescue StandardError
9
9
  checker.add_error(:database, :unavailable)
10
10
  end
11
11
  end
@@ -75,9 +75,9 @@ module Rapporteur
75
75
  # Returns an Array containing Strings of messages.
76
76
  #
77
77
  def full_messages
78
- @messages.map do |attribute, attribute_messages|
79
- attribute_messages.collect { |message| "#{attribute} #{message}" }
80
- end.flatten
78
+ @messages.map { |attribute, attribute_messages|
79
+ attribute_messages.map { |message| "#{attribute} #{message}" }
80
+ }.flatten
81
81
  end
82
82
 
83
83
  # Public: Returns the added attributes and their messages as a Hash, keyed
@@ -109,8 +109,7 @@ module Rapporteur
109
109
  private
110
110
 
111
111
  def generate_message(key, type, i18n_options)
112
- I18n.translate(type, i18n_options.merge(default: [type, type.to_s],
113
- scope: [:rapporteur, @list_type, key]))
112
+ I18n.translate(type, **i18n_options.merge(default: [type, type.to_s], scope: [:rapporteur, @list_type, key]))
114
113
  end
115
114
 
116
115
  def normalize_message(attribute, message, i18n_options)
@@ -36,7 +36,7 @@ module Rapporteur
36
36
  #
37
37
  def self.default_revision_source
38
38
  `git rev-parse HEAD 2>/dev/null`.strip
39
- rescue
39
+ rescue StandardError
40
40
  end
41
41
 
42
42
  # Internal: Calculates the current revision from the configured revision
@@ -11,15 +11,11 @@ shared_examples_for 'a successful status response' do
11
11
 
12
12
  context 'the response headers' do
13
13
  it 'contains a Content-Type JSON header' do
14
- expect(response.content_type).to(eq(Mime[:json]))
15
- end
16
-
17
- it 'does not contain an ETag header' do
18
- expect(response.headers).not_to have_key('ETag')
14
+ expect(response.media_type).to(eq(Mime[:json]))
19
15
  end
20
16
 
21
17
  it 'contains a Cache-Control header which disables client caching' do
22
- expect(response.headers.fetch('Cache-Control')).to eq('no-cache')
18
+ expect(response.headers.fetch('Cache-Control')).to include('no-cache')
23
19
  end
24
20
  end
25
21
 
@@ -39,15 +35,11 @@ shared_examples_for 'an erred status response' do
39
35
 
40
36
  context 'the response headers' do
41
37
  it 'contains a Content-Type JSON header' do
42
- expect(response.content_type).to(eq(Mime[:json]))
43
- end
44
-
45
- it 'does not contain an ETag header' do
46
- expect(response.headers).not_to have_key('ETag')
38
+ expect(response.media_type).to(eq(Mime[:json]))
47
39
  end
48
40
 
49
41
  it 'contains a Cache-Control header which disables client caching' do
50
- expect(response.headers.fetch('Cache-Control')).to eq('no-cache')
42
+ expect(response.headers.fetch('Cache-Control')).to include('no-cache')
51
43
  end
52
44
  end
53
45
 
@@ -77,7 +69,7 @@ end
77
69
  RSpec::Matchers.define :include_status_message do |name, message|
78
70
  match do |response|
79
71
  @body = JSON.parse(response.body)
80
- @body.key?(name) && @body.fetch(name).match(message)
72
+ @body.has_key?(name) && @body.fetch(name).match(message)
81
73
  end
82
74
 
83
75
  failure_message_for_should do |_actual|
@@ -11,15 +11,11 @@ shared_examples_for 'a successful status response' do
11
11
 
12
12
  context 'the response headers' do
13
13
  it 'contains a Content-Type JSON header' do
14
- expect(response.content_type).to(eq(Mime[:json]))
15
- end
16
-
17
- it 'does not contain an ETag header' do
18
- expect(response.headers).not_to have_key('ETag')
14
+ expect(response.media_type).to(eq(Mime[:json]))
19
15
  end
20
16
 
21
17
  it 'contains a Cache-Control header which disables client caching' do
22
- expect(response.headers.fetch('Cache-Control')).to eq('no-cache')
18
+ expect(response.headers.fetch('Cache-Control')).to include('no-cache')
23
19
  end
24
20
  end
25
21
 
@@ -39,15 +35,11 @@ shared_examples_for 'an erred status response' do
39
35
 
40
36
  context 'the response headers' do
41
37
  it 'contains a Content-Type JSON header' do
42
- expect(response.content_type).to(eq(Mime[:json]))
43
- end
44
-
45
- it 'does not contain an ETag header' do
46
- expect(response.headers).not_to have_key('ETag')
38
+ expect(response.media_type).to(eq(Mime[:json]))
47
39
  end
48
40
 
49
41
  it 'contains a Cache-Control header which disables client caching' do
50
- expect(response.headers.fetch('Cache-Control')).to eq('no-cache')
42
+ expect(response.headers.fetch('Cache-Control')).to include('no-cache')
51
43
  end
52
44
  end
53
45
 
@@ -74,7 +66,7 @@ RSpec::Matchers.define :include_status_message do |name, message|
74
66
  match do |response|
75
67
  @body = JSON.parse(response.body)
76
68
 
77
- @body.key?(name) && @body.fetch(name).match(message)
69
+ @body.has_key?(name) && @body.fetch(name).match(message)
78
70
  end
79
71
 
80
72
  failure_message do |_actual|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rapporteur
4
- VERSION = '3.6.4'
4
+ VERSION = '3.8.0'
5
5
  end
data/rapporteur.gemspec CHANGED
@@ -1,24 +1,22 @@
1
- # coding: utf-8
2
1
  # frozen_string_literal: true
3
2
 
4
- lib = File.expand_path('../lib', __FILE__)
5
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
- require 'rapporteur/version'
3
+ require_relative 'lib/rapporteur/version'
7
4
 
8
5
  Gem::Specification.new do |spec|
9
6
  spec.name = 'rapporteur'
10
7
  spec.version = Rapporteur::VERSION
11
- spec.authors = ['Envy Labs', 'Code School']
8
+ spec.authors = ['Envy Labs']
12
9
  spec.email = ['']
13
10
  spec.description = 'An engine that provides common status polling endpoint.'
14
11
  spec.summary = 'An engine that provides common status polling endpoint.'
15
12
  spec.homepage = 'https://github.com/envylabs/rapporteur'
16
13
  spec.license = 'MIT'
14
+ spec.required_ruby_version = '>= 2.4.0'
17
15
 
18
16
  spec.metadata['source_code_uri'] = 'https://github.com/envylabs/rapporteur'
19
17
  spec.metadata['changelog_uri'] = 'https://github.com/envylabs/rapporteur/blob/master/CHANGELOG.md'
20
18
 
21
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
19
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
22
20
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
21
  end
24
22
  spec.bindir = 'exe'
@@ -28,12 +26,11 @@ Gem::Specification.new do |spec|
28
26
  spec.add_dependency 'i18n', '>= 0.6', '< 2'
29
27
 
30
28
  spec.add_development_dependency 'appraisal', '~> 2.1'
31
- spec.add_development_dependency 'bundler', '~> 2.0'
32
29
  spec.add_development_dependency 'combustion', '~> 1.0'
33
- spec.add_development_dependency 'rails', '>= 3.1', '< 6'
34
- spec.add_development_dependency 'rake', '~> 12.0'
30
+ spec.add_development_dependency 'rails', '>= 3.1', '< 7.1'
31
+ spec.add_development_dependency 'rake', '~> 13.0'
35
32
  spec.add_development_dependency 'rspec-collection_matchers', '~> 1.0'
36
- spec.add_development_dependency 'rspec-rails', '~> 3.2'
37
- spec.add_development_dependency 'rubocop', '~> 0.66.0'
38
- spec.add_development_dependency 'rubocop-rails_config', '~> 0.5.0'
33
+ spec.add_development_dependency 'rspec-rails', '~> 5.0'
34
+ spec.add_development_dependency 'rubocop', '~> 1.0'
35
+ spec.add_development_dependency 'rubocop-rails_config', '~> 1.0'
39
36
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rapporteur
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.4
4
+ version: 3.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Envy Labs
8
- - Code School
9
- autorequire:
8
+ autorequire:
10
9
  bindir: exe
11
10
  cert_chain: []
12
- date: 2019-04-04 00:00:00.000000000 Z
11
+ date: 2022-01-23 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: i18n
@@ -45,20 +44,6 @@ dependencies:
45
44
  - - "~>"
46
45
  - !ruby/object:Gem::Version
47
46
  version: '2.1'
48
- - !ruby/object:Gem::Dependency
49
- name: bundler
50
- requirement: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '2.0'
55
- type: :development
56
- prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '2.0'
62
47
  - !ruby/object:Gem::Dependency
63
48
  name: combustion
64
49
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +67,7 @@ dependencies:
82
67
  version: '3.1'
83
68
  - - "<"
84
69
  - !ruby/object:Gem::Version
85
- version: '6'
70
+ version: '7.1'
86
71
  type: :development
87
72
  prerelease: false
88
73
  version_requirements: !ruby/object:Gem::Requirement
@@ -92,21 +77,21 @@ dependencies:
92
77
  version: '3.1'
93
78
  - - "<"
94
79
  - !ruby/object:Gem::Version
95
- version: '6'
80
+ version: '7.1'
96
81
  - !ruby/object:Gem::Dependency
97
82
  name: rake
98
83
  requirement: !ruby/object:Gem::Requirement
99
84
  requirements:
100
85
  - - "~>"
101
86
  - !ruby/object:Gem::Version
102
- version: '12.0'
87
+ version: '13.0'
103
88
  type: :development
104
89
  prerelease: false
105
90
  version_requirements: !ruby/object:Gem::Requirement
106
91
  requirements:
107
92
  - - "~>"
108
93
  - !ruby/object:Gem::Version
109
- version: '12.0'
94
+ version: '13.0'
110
95
  - !ruby/object:Gem::Dependency
111
96
  name: rspec-collection_matchers
112
97
  requirement: !ruby/object:Gem::Requirement
@@ -127,42 +112,42 @@ dependencies:
127
112
  requirements:
128
113
  - - "~>"
129
114
  - !ruby/object:Gem::Version
130
- version: '3.2'
115
+ version: '5.0'
131
116
  type: :development
132
117
  prerelease: false
133
118
  version_requirements: !ruby/object:Gem::Requirement
134
119
  requirements:
135
120
  - - "~>"
136
121
  - !ruby/object:Gem::Version
137
- version: '3.2'
122
+ version: '5.0'
138
123
  - !ruby/object:Gem::Dependency
139
124
  name: rubocop
140
125
  requirement: !ruby/object:Gem::Requirement
141
126
  requirements:
142
127
  - - "~>"
143
128
  - !ruby/object:Gem::Version
144
- version: 0.66.0
129
+ version: '1.0'
145
130
  type: :development
146
131
  prerelease: false
147
132
  version_requirements: !ruby/object:Gem::Requirement
148
133
  requirements:
149
134
  - - "~>"
150
135
  - !ruby/object:Gem::Version
151
- version: 0.66.0
136
+ version: '1.0'
152
137
  - !ruby/object:Gem::Dependency
153
138
  name: rubocop-rails_config
154
139
  requirement: !ruby/object:Gem::Requirement
155
140
  requirements:
156
141
  - - "~>"
157
142
  - !ruby/object:Gem::Version
158
- version: 0.5.0
143
+ version: '1.0'
159
144
  type: :development
160
145
  prerelease: false
161
146
  version_requirements: !ruby/object:Gem::Requirement
162
147
  requirements:
163
148
  - - "~>"
164
149
  - !ruby/object:Gem::Version
165
- version: 0.5.0
150
+ version: '1.0'
166
151
  description: An engine that provides common status polling endpoint.
167
152
  email:
168
153
  - ''
@@ -170,14 +155,15 @@ executables: []
170
155
  extensions: []
171
156
  extra_rdoc_files: []
172
157
  files:
158
+ - ".github/dependabot.yml"
159
+ - ".github/workflows/tests.yml"
173
160
  - ".gitignore"
174
161
  - ".rspec"
175
162
  - ".rubocop.yml"
176
- - ".travis.yml"
163
+ - ".yamllint"
177
164
  - Appraisals
178
165
  - CHANGELOG.md
179
166
  - Gemfile
180
- - Gemfile.lock
181
167
  - LICENSE.txt
182
168
  - README.md
183
169
  - Rakefile
@@ -188,9 +174,10 @@ files:
188
174
  - config.ru
189
175
  - config/locales/en.yml
190
176
  - config/routes.rb
191
- - gemfiles/rails5.0.gemfile
192
- - gemfiles/rails5.1.gemfile
193
177
  - gemfiles/rails5.2.gemfile
178
+ - gemfiles/rails6.0.gemfile
179
+ - gemfiles/rails6.1.gemfile
180
+ - gemfiles/rails7.0.gemfile
194
181
  - gemfiles/rails_latest.gemfile
195
182
  - gemfiles/sinatra2.x.gemfile
196
183
  - lib/rapporteur.rb
@@ -212,7 +199,7 @@ licenses:
212
199
  metadata:
213
200
  source_code_uri: https://github.com/envylabs/rapporteur
214
201
  changelog_uri: https://github.com/envylabs/rapporteur/blob/master/CHANGELOG.md
215
- post_install_message:
202
+ post_install_message:
216
203
  rdoc_options: []
217
204
  require_paths:
218
205
  - lib
@@ -220,15 +207,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
220
207
  requirements:
221
208
  - - ">="
222
209
  - !ruby/object:Gem::Version
223
- version: '0'
210
+ version: 2.4.0
224
211
  required_rubygems_version: !ruby/object:Gem::Requirement
225
212
  requirements:
226
213
  - - ">="
227
214
  - !ruby/object:Gem::Version
228
215
  version: '0'
229
216
  requirements: []
230
- rubygems_version: 3.0.3
231
- signing_key:
217
+ rubygems_version: 3.1.6
218
+ signing_key:
232
219
  specification_version: 4
233
220
  summary: An engine that provides common status polling endpoint.
234
221
  test_files: []
data/.travis.yml DELETED
@@ -1,55 +0,0 @@
1
- before_install:
2
- - gem install bundler -v 2.0.1
3
- branches:
4
- only:
5
- - master
6
- - /^v\d+\.\d+\.\d+/
7
- cache:
8
- bundler: true
9
- dist: xenial
10
- jobs:
11
- fail_fast: true
12
- include:
13
- - stage: "Test"
14
- script: bundle exec rake
15
- rvm: 2.6.2
16
-
17
- - stage: "Latest Rails Release"
18
- env: BUNDLE_GEMFILE=$PWD/gemfiles/rails_latest.gemfile
19
- rvm: 2.6.2
20
- - env: BUNDLE_GEMFILE=$PWD/gemfiles/rails_latest.gemfile
21
- rvm: 2.5.5
22
- - env: BUNDLE_GEMFILE=$PWD/gemfiles/rails_latest.gemfile
23
- rvm: 2.4.5
24
-
25
- - stage: "Additinal Rails Tests"
26
- env: BUNDLE_GEMFILE=$PWD/gemfiles/rails5.2.gemfile
27
- rvm: 2.6.2
28
- - env: BUNDLE_GEMFILE=$PWD/gemfiles/rails5.2.gemfile
29
- rvm: 2.5.5
30
- - env: BUNDLE_GEMFILE=$PWD/gemfiles/rails5.2.gemfile
31
- rvm: 2.4.5
32
- - env: BUNDLE_GEMFILE=$PWD/gemfiles/rails5.1.gemfile
33
- rvm: 2.6.2
34
- - env: BUNDLE_GEMFILE=$PWD/gemfiles/rails5.1.gemfile
35
- rvm: 2.5.5
36
- - env: BUNDLE_GEMFILE=$PWD/gemfiles/rails5.1.gemfile
37
- rvm: 2.4.5
38
- - env: BUNDLE_GEMFILE=$PWD/gemfiles/rails5.0.gemfile
39
- rvm: 2.6.2
40
- - env: BUNDLE_GEMFILE=$PWD/gemfiles/rails5.0.gemfile
41
- rvm: 2.5.5
42
- - env: BUNDLE_GEMFILE=$PWD/gemfiles/rails5.0.gemfile
43
- rvm: 2.4.5
44
-
45
- - stage: "Sinatra 2.x Release"
46
- env: BUNDLE_GEMFILE=$PWD/gemfiles/sinatra2.x.gemfile
47
- rvm: 2.6.2
48
- - env: BUNDLE_GEMFILE=$PWD/gemfiles/sinatra2.x.gemfile
49
- rvm: 2.5.5
50
- - env: BUNDLE_GEMFILE=$PWD/gemfiles/sinatra2.x.gemfile
51
- rvm: 2.4.5
52
- language: ruby
53
- notifications:
54
- email: false
55
- sudo: false
data/Gemfile.lock DELETED
@@ -1,201 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- rapporteur (3.6.4)
5
- i18n (>= 0.6, < 2)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- actioncable (5.2.3)
11
- actionpack (= 5.2.3)
12
- nio4r (~> 2.0)
13
- websocket-driver (>= 0.6.1)
14
- actionmailer (5.2.3)
15
- actionpack (= 5.2.3)
16
- actionview (= 5.2.3)
17
- activejob (= 5.2.3)
18
- mail (~> 2.5, >= 2.5.4)
19
- rails-dom-testing (~> 2.0)
20
- actionpack (5.2.3)
21
- actionview (= 5.2.3)
22
- activesupport (= 5.2.3)
23
- rack (~> 2.0)
24
- rack-test (>= 0.6.3)
25
- rails-dom-testing (~> 2.0)
26
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.2.3)
28
- activesupport (= 5.2.3)
29
- builder (~> 3.1)
30
- erubi (~> 1.4)
31
- rails-dom-testing (~> 2.0)
32
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (5.2.3)
34
- activesupport (= 5.2.3)
35
- globalid (>= 0.3.6)
36
- activemodel (5.2.3)
37
- activesupport (= 5.2.3)
38
- activerecord (5.2.3)
39
- activemodel (= 5.2.3)
40
- activesupport (= 5.2.3)
41
- arel (>= 9.0)
42
- activerecord-jdbc-adapter (52.1-java)
43
- activerecord (~> 5.2.0)
44
- activerecord-jdbcsqlite3-adapter (52.1-java)
45
- activerecord-jdbc-adapter (= 52.1)
46
- jdbc-sqlite3 (~> 3.8, < 3.30)
47
- activestorage (5.2.3)
48
- actionpack (= 5.2.3)
49
- activerecord (= 5.2.3)
50
- marcel (~> 0.3.1)
51
- activesupport (5.2.3)
52
- concurrent-ruby (~> 1.0, >= 1.0.2)
53
- i18n (>= 0.7, < 2)
54
- minitest (~> 5.1)
55
- tzinfo (~> 1.1)
56
- appraisal (2.2.0)
57
- bundler
58
- rake
59
- thor (>= 0.14.0)
60
- arel (9.0.0)
61
- ast (2.4.0)
62
- builder (3.2.3)
63
- combustion (1.1.0)
64
- activesupport (>= 3.0.0)
65
- railties (>= 3.0.0)
66
- thor (>= 0.14.6)
67
- concurrent-ruby (1.1.5)
68
- crass (1.0.4)
69
- diff-lcs (1.3)
70
- erubi (1.8.0)
71
- globalid (0.4.2)
72
- activesupport (>= 4.2.0)
73
- i18n (1.6.0)
74
- concurrent-ruby (~> 1.0)
75
- jar-dependencies (0.4.0)
76
- jaro_winkler (1.5.2)
77
- jaro_winkler (1.5.2-java)
78
- jdbc-sqlite3 (3.20.1)
79
- loofah (2.2.3)
80
- crass (~> 1.0.2)
81
- nokogiri (>= 1.5.9)
82
- mail (2.7.1)
83
- mini_mime (>= 0.1.1)
84
- marcel (0.3.3)
85
- mimemagic (~> 0.3.2)
86
- method_source (0.9.2)
87
- mimemagic (0.3.3)
88
- mini_mime (1.0.1)
89
- mini_portile2 (2.4.0)
90
- minitest (5.11.3)
91
- nio4r (2.3.1)
92
- nio4r (2.3.1-java)
93
- nokogiri (1.10.2)
94
- mini_portile2 (~> 2.4.0)
95
- nokogiri (1.10.2-java)
96
- parallel (1.17.0)
97
- parser (2.6.2.0)
98
- ast (~> 2.4.0)
99
- psych (3.1.0)
100
- psych (3.1.0-java)
101
- jar-dependencies (>= 0.1.7)
102
- rack (2.0.7)
103
- rack-test (1.1.0)
104
- rack (>= 1.0, < 3)
105
- rails (5.2.3)
106
- actioncable (= 5.2.3)
107
- actionmailer (= 5.2.3)
108
- actionpack (= 5.2.3)
109
- actionview (= 5.2.3)
110
- activejob (= 5.2.3)
111
- activemodel (= 5.2.3)
112
- activerecord (= 5.2.3)
113
- activestorage (= 5.2.3)
114
- activesupport (= 5.2.3)
115
- bundler (>= 1.3.0)
116
- railties (= 5.2.3)
117
- sprockets-rails (>= 2.0.0)
118
- rails-dom-testing (2.0.3)
119
- activesupport (>= 4.2.0)
120
- nokogiri (>= 1.6)
121
- rails-html-sanitizer (1.0.4)
122
- loofah (~> 2.2, >= 2.2.2)
123
- railties (5.2.3)
124
- actionpack (= 5.2.3)
125
- activesupport (= 5.2.3)
126
- method_source
127
- rake (>= 0.8.7)
128
- thor (>= 0.19.0, < 2.0)
129
- rainbow (3.0.0)
130
- rake (12.3.2)
131
- rspec-collection_matchers (1.1.3)
132
- rspec-expectations (>= 2.99.0.beta1)
133
- rspec-core (3.8.0)
134
- rspec-support (~> 3.8.0)
135
- rspec-expectations (3.8.2)
136
- diff-lcs (>= 1.2.0, < 2.0)
137
- rspec-support (~> 3.8.0)
138
- rspec-mocks (3.8.0)
139
- diff-lcs (>= 1.2.0, < 2.0)
140
- rspec-support (~> 3.8.0)
141
- rspec-rails (3.8.2)
142
- actionpack (>= 3.0)
143
- activesupport (>= 3.0)
144
- railties (>= 3.0)
145
- rspec-core (~> 3.8.0)
146
- rspec-expectations (~> 3.8.0)
147
- rspec-mocks (~> 3.8.0)
148
- rspec-support (~> 3.8.0)
149
- rspec-support (3.8.0)
150
- rubocop (0.66.0)
151
- jaro_winkler (~> 1.5.1)
152
- parallel (~> 1.10)
153
- parser (>= 2.5, != 2.5.1.1)
154
- psych (>= 3.1.0)
155
- rainbow (>= 2.2.2, < 4.0)
156
- ruby-progressbar (~> 1.7)
157
- unicode-display_width (>= 1.4.0, < 1.6)
158
- rubocop-rails_config (0.5.0)
159
- railties (>= 3.0)
160
- rubocop (~> 0.60)
161
- ruby-progressbar (1.10.0)
162
- sprockets (3.7.2)
163
- concurrent-ruby (~> 1.0)
164
- rack (> 1, < 3)
165
- sprockets-rails (3.2.1)
166
- actionpack (>= 4.0)
167
- activesupport (>= 4.0)
168
- sprockets (>= 3.0.0)
169
- sqlite3 (1.4.0)
170
- thor (0.20.3)
171
- thread_safe (0.3.6)
172
- thread_safe (0.3.6-java)
173
- tzinfo (1.2.5)
174
- thread_safe (~> 0.1)
175
- unicode-display_width (1.5.0)
176
- websocket-driver (0.7.0)
177
- websocket-extensions (>= 0.1.0)
178
- websocket-driver (0.7.0-java)
179
- websocket-extensions (>= 0.1.0)
180
- websocket-extensions (0.1.3)
181
-
182
- PLATFORMS
183
- java
184
- ruby
185
-
186
- DEPENDENCIES
187
- activerecord-jdbcsqlite3-adapter
188
- appraisal (~> 2.1)
189
- bundler (~> 2.0)
190
- combustion (~> 1.0)
191
- rails (>= 3.1, < 6)
192
- rake (~> 12.0)
193
- rapporteur!
194
- rspec-collection_matchers (~> 1.0)
195
- rspec-rails (~> 3.2)
196
- rubocop (~> 0.66.0)
197
- rubocop-rails_config (~> 0.5.0)
198
- sqlite3
199
-
200
- BUNDLED WITH
201
- 2.0.1