mongoid_enumerable 0.4.2 → 0.4.3

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: eea7a8187ca0baa94f1a246cad4ba93500e46177176da71d250e548bf344dc19
4
- data.tar.gz: f4f94d1bb5eb15077d7681a8a475b444ca16ced8a09034f4d953ac5151702912
3
+ metadata.gz: cb57c0f219ba2751af5d6f9cf7620e15fa2ab366777cd1efbccb138fd5bde306
4
+ data.tar.gz: 872fece317eaead11fdfd6fe43b8e2cfbc671acdf7c2b3d4698bf906bb92ab09
5
5
  SHA512:
6
- metadata.gz: 42eb07241e7d9211d929fe1cbc107020f87e8f48e5c1f1c08ec3ffac1690a479123659b25ee44e0e97fcf85a516d851df6f106ee69db2ce139dbf05ceda65883
7
- data.tar.gz: f094c1e7ed54b3ede3a725f3c3cf55cf4b9fd4c50e726ee2d0e78879c576125d0f0c0b8da0f543ae638c15bfc9461de091af41863f004fbe501fe2750aa70f43
6
+ metadata.gz: 51ce29bedc85970b39a76e42931d830df53ea60a393fa2198bf2a65b7471acdc1fc758597093732acfafbef196dcd04989a762f7a7dd5108f297449979b37cd9
7
+ data.tar.gz: 9d86c68413eebdfd7da4a444a9096574f3962e966ae6b5d07c7548e2bf467e0c52300679c39bf3afa6faec8e1d332fda162d69d66a21b4425fdc40068b22aed7
@@ -0,0 +1,8 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ time: "08:00"
8
+ open-pull-requests-limit: 10
@@ -0,0 +1,23 @@
1
+ name: Ruby Gem
2
+
3
+ on: workflow_dispatch
4
+
5
+ jobs:
6
+ build:
7
+ name: Build + Publish
8
+ runs-on: ubuntu-latest
9
+
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - name: Set up Ruby
13
+ uses: actions/setup-ruby@v1
14
+ - name: Publish to RubyGems
15
+ run: |
16
+ mkdir -p $HOME/.gem
17
+ touch $HOME/.gem/credentials
18
+ chmod 0600 $HOME/.gem/credentials
19
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
20
+ gem build *.gemspec
21
+ gem push *.gem
22
+ env:
23
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
@@ -0,0 +1,28 @@
1
+ name: Unit Tests - RSpec
2
+
3
+ on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
+ branches: [ master ]
8
+
9
+ jobs:
10
+ test:
11
+
12
+ runs-on: ubuntu-latest
13
+ strategy:
14
+ matrix:
15
+ ruby: [ '2.5', '2.6', '2.7', '3.0' ]
16
+ name: Ruby ${{ matrix.ruby }}
17
+
18
+ steps:
19
+ - name: Checkout
20
+ uses: actions/checkout@v2
21
+ - name: Set up Ruby
22
+ uses: ruby/setup-ruby@v1
23
+ with:
24
+ ruby-version: ${{ matrix.ruby }}
25
+ - name: Install Gems
26
+ run: bundle install
27
+ - name: Run tests
28
+ run: bundle exec rspec
@@ -0,0 +1,33 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: Lint - Rubocop
9
+
10
+ on:
11
+ push:
12
+ branches: [ master ]
13
+ pull_request:
14
+ branches: [ master ]
15
+
16
+ jobs:
17
+ test:
18
+
19
+ runs-on: ubuntu-latest
20
+
21
+ steps:
22
+ - uses: actions/checkout@v2
23
+ - name: Set up Ruby
24
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
25
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
26
+ # uses: ruby/setup-ruby@v1
27
+ uses: ruby/setup-ruby@21351ecc0a7c196081abca5dc55b08f085efe09a
28
+ with:
29
+ ruby-version: 2.7
30
+ - name: Install dependencies
31
+ run: bundle install
32
+ - name: Run tests
33
+ run: bundle exec rubocop
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+ Gemfile.lock
data/Guardfile CHANGED
@@ -17,7 +17,7 @@
17
17
  #
18
18
  # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
19
19
 
20
- # Note: The cmd option is now required due to the increasing number of ways
20
+ # NOTE: The cmd option is now required due to the increasing number of ways
21
21
  # rspec may be run, below are examples of the most common uses.
22
22
  # * bundler: 'bundle exec rspec'
23
23
  # * bundler binstubs: 'bin/rspec'
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Douglas Lise
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Mongoid Enumerable
2
2
 
3
- [![Build Status](https://travis-ci.org/douglaslise/mongoid_enumerable.svg?branch=master)](https://travis-ci.org/douglaslise/mongoid_enumerable)
3
+ [![Unit Tests](https://github.com/douglaslise/mongoid_enumerable/workflows/Unit%20Tests%20-%20RSpec/badge.svg?branch=master)](https://github.com/douglaslise/mongoid_enumerable/actions?query=workflow%3A%22Unit+Tests+-+RSpec%22+branch%3Amaster)
4
+ [![Lint](https://github.com/douglaslise/mongoid_enumerable/workflows/Lint%20-%20Rubocop/badge.svg?branch=master)](https://github.com/douglaslise/mongoid_enumerable/actions?query=workflow%3A%22Lint+-+Rubocop%22+branch%3Amaster)
4
5
  [![Maintainability](https://api.codeclimate.com/v1/badges/bc09bc91c31fed14924a/maintainability)](https://codeclimate.com/github/douglaslise/mongoid_enumerable/maintainability)
5
6
  [![Test Coverage](https://api.codeclimate.com/v1/badges/bc09bc91c31fed14924a/test_coverage)](https://codeclimate.com/github/douglaslise/mongoid_enumerable/test_coverage)
6
7
  [![Gem Version](https://badge.fury.io/rb/mongoid_enumerable.svg)](https://badge.fury.io/rb/mongoid_enumerable)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MongoidEnumerable
4
- VERSION = "0.4.2"
4
+ VERSION = "0.4.3"
5
5
  end
@@ -20,6 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.bindir = "exe"
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ["lib"]
23
+ spec.required_ruby_version = ">= 2.5.0"
23
24
 
24
25
  spec.add_development_dependency "bundler"
25
26
  spec.add_development_dependency "byebug"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_enumerable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Douglas Lise
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-09 00:00:00.000000000 Z
11
+ date: 2021-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -171,13 +171,16 @@ executables: []
171
171
  extensions: []
172
172
  extra_rdoc_files: []
173
173
  files:
174
+ - ".github/dependabot.yml"
175
+ - ".github/workflows/gem-push.yml"
176
+ - ".github/workflows/rspec.yml"
177
+ - ".github/workflows/rubocop.yml"
174
178
  - ".gitignore"
175
179
  - ".rspec"
176
180
  - ".rubocop.yml"
177
- - ".travis.yml"
178
181
  - Gemfile
179
- - Gemfile.lock
180
182
  - Guardfile
183
+ - LICENSE
181
184
  - README.md
182
185
  - Rakefile
183
186
  - bin/console
@@ -188,7 +191,7 @@ files:
188
191
  homepage: https://github.com/douglaslise/mongoid_enumerable
189
192
  licenses: []
190
193
  metadata: {}
191
- post_install_message:
194
+ post_install_message:
192
195
  rdoc_options: []
193
196
  require_paths:
194
197
  - lib
@@ -196,15 +199,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
196
199
  requirements:
197
200
  - - ">="
198
201
  - !ruby/object:Gem::Version
199
- version: '0'
202
+ version: 2.5.0
200
203
  required_rubygems_version: !ruby/object:Gem::Requirement
201
204
  requirements:
202
205
  - - ">="
203
206
  - !ruby/object:Gem::Version
204
207
  version: '0'
205
208
  requirements: []
206
- rubygems_version: 3.1.2
207
- signing_key:
209
+ rubygems_version: 3.2.3
210
+ signing_key:
208
211
  specification_version: 4
209
212
  summary: Mongoid Enumerable
210
213
  test_files: []
data/.travis.yml DELETED
@@ -1,14 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.7.1
4
- - 2.6.6
5
- - 2.5.8
6
- env:
7
- global:
8
- - CC_TEST_REPORTER_ID=049baa35735ad9587a7ff016745e67eb057ef79958cb31113d4a19cc504c0216
9
- before_script:
10
- - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
11
- - chmod +x ./cc-test-reporter
12
- - ./cc-test-reporter before-build
13
- after_script:
14
- - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
data/Gemfile.lock DELETED
@@ -1,126 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- mongoid_enumerable (0.4.2)
5
- mongoid (>= 4.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- activemodel (6.0.2.2)
11
- activesupport (= 6.0.2.2)
12
- activesupport (6.0.2.2)
13
- concurrent-ruby (~> 1.0, >= 1.0.2)
14
- i18n (>= 0.7, < 2)
15
- minitest (~> 5.1)
16
- tzinfo (~> 1.1)
17
- zeitwerk (~> 2.2)
18
- ast (2.4.0)
19
- bson (4.8.2)
20
- byebug (11.1.1)
21
- coderay (1.1.2)
22
- concurrent-ruby (1.1.6)
23
- diff-lcs (1.3)
24
- docile (1.3.2)
25
- ffi (1.12.2)
26
- formatador (0.2.5)
27
- guard (2.16.2)
28
- formatador (>= 0.2.4)
29
- listen (>= 2.7, < 4.0)
30
- lumberjack (>= 1.0.12, < 2.0)
31
- nenv (~> 0.1)
32
- notiffany (~> 0.0)
33
- pry (>= 0.9.12)
34
- shellany (~> 0.0)
35
- thor (>= 0.18.1)
36
- guard-compat (1.2.1)
37
- guard-rspec (4.7.3)
38
- guard (~> 2.1)
39
- guard-compat (~> 1.1)
40
- rspec (>= 2.99.0, < 4.0)
41
- i18n (1.8.2)
42
- concurrent-ruby (~> 1.0)
43
- jaro_winkler (1.5.4)
44
- listen (3.2.1)
45
- rb-fsevent (~> 0.10, >= 0.10.3)
46
- rb-inotify (~> 0.9, >= 0.9.10)
47
- lumberjack (1.2.4)
48
- method_source (1.0.0)
49
- minitest (5.14.0)
50
- mongo (2.11.4)
51
- bson (>= 4.4.2, < 5.0.0)
52
- mongoid (7.1.0)
53
- activemodel (>= 5.1, < 6.1)
54
- mongo (>= 2.7.0, < 3.0.0)
55
- nenv (0.3.0)
56
- notiffany (0.1.3)
57
- nenv (~> 0.1)
58
- shellany (~> 0.0)
59
- parallel (1.19.1)
60
- parser (2.7.1.2)
61
- ast (~> 2.4.0)
62
- pry (0.13.1)
63
- coderay (~> 1.1)
64
- method_source (~> 1.0)
65
- rainbow (3.0.0)
66
- rake (13.0.1)
67
- rb-fsevent (0.10.3)
68
- rb-inotify (0.10.1)
69
- ffi (~> 1.0)
70
- rexml (3.2.4)
71
- rspec (3.9.0)
72
- rspec-core (~> 3.9.0)
73
- rspec-expectations (~> 3.9.0)
74
- rspec-mocks (~> 3.9.0)
75
- rspec-core (3.9.1)
76
- rspec-support (~> 3.9.1)
77
- rspec-expectations (3.9.1)
78
- diff-lcs (>= 1.2.0, < 2.0)
79
- rspec-support (~> 3.9.0)
80
- rspec-mocks (3.9.1)
81
- diff-lcs (>= 1.2.0, < 2.0)
82
- rspec-support (~> 3.9.0)
83
- rspec-nc (0.3.0)
84
- rspec (>= 3)
85
- terminal-notifier (>= 1.4)
86
- rspec-support (3.9.2)
87
- rubocop (0.82.0)
88
- jaro_winkler (~> 1.5.1)
89
- parallel (~> 1.10)
90
- parser (>= 2.7.0.1)
91
- rainbow (>= 2.2.2, < 4.0)
92
- rexml
93
- ruby-progressbar (~> 1.7)
94
- unicode-display_width (>= 1.4.0, < 2.0)
95
- ruby-progressbar (1.10.1)
96
- shellany (0.0.1)
97
- simplecov (0.18.5)
98
- docile (~> 1.1)
99
- simplecov-html (~> 0.11)
100
- simplecov-html (0.12.2)
101
- terminal-notifier (2.0.0)
102
- thor (1.0.1)
103
- thread_safe (0.3.6)
104
- tzinfo (1.2.7)
105
- thread_safe (~> 0.1)
106
- unicode-display_width (1.7.0)
107
- zeitwerk (2.3.0)
108
-
109
- PLATFORMS
110
- ruby
111
-
112
- DEPENDENCIES
113
- bundler
114
- byebug
115
- guard
116
- guard-rspec
117
- mongoid
118
- mongoid_enumerable!
119
- rake (~> 13.0)
120
- rspec (~> 3.0)
121
- rspec-nc
122
- rubocop
123
- simplecov
124
-
125
- BUNDLED WITH
126
- 2.1.4