omniauth-matique 0.1.7 → 0.1.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e48cb0b561ff78279781e9b5cef8619f4167cf4d631cfe3b8bf8c6f1c9a65343
4
- data.tar.gz: 2e843cc7a3f4ac5226e722dadec8bb13d816b6b35044315193dc41a9031f7ae4
3
+ metadata.gz: 93e81786297f0571cc96ac931ac6a92585e75cdd12c0dcfcb083d20f0f26437b
4
+ data.tar.gz: ee4cf38472bf0256484d5431d09f909903b23e45e71690f630b4e44e004e751b
5
5
  SHA512:
6
- metadata.gz: 36f3b583714621b43fc2019c8c944b2ac166dd240635d0e1bb4b520b609ae4a4b50d56ba9b35d972e896b20ddb0264c71f0357e2127ebf5d8554dcfa1ca94ef5
7
- data.tar.gz: 20fef38023b607218daaa159e6f9bc39f71700639f6c3c635f9979bd0fbc21d555425e61cd72621fe21be4812d6d79862ab191eeb3ee5092beca0aa30e028ac6
6
+ metadata.gz: 20f88245da0999fc8029546172fc685d64392bdba64f0695cb08caccc74c5b8b4fd9afc7ebf3ad2b910cfb26034ed17ea81ec92a29ad3d9727c02599f060d581
7
+ data.tar.gz: 4b1d6ca038cbd559497661ee84e5fbcfedd3865466595691c2663854f9a4fbf83fae4abb1070e8384203c1a6ff30e6585b1d7e598ab7a914384932753cce46c5
@@ -0,0 +1,24 @@
1
+ name: Rake
2
+
3
+ #on: [push, pull_request]
4
+ on: [push]
5
+
6
+ jobs:
7
+ test:
8
+ strategy:
9
+ fail-fast: false
10
+ matrix:
11
+ # os: [ubuntu-latest, macos-latest]
12
+ os: [ubuntu-latest]
13
+ # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
14
+ # ruby: [2.5, 2.6, 2.7, '3.0', head, jruby, jruby-head, truffleruby, truffleruby-head]
15
+ ruby: [2.7]
16
+ runs-on: ${{ matrix.os }}
17
+
18
+ steps:
19
+ - uses: actions/checkout@v2
20
+ - uses: ruby/setup-ruby@v1
21
+ with:
22
+ ruby-version: ${{ matrix.ruby }}
23
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
24
+ - run: bundle exec rake
data/.rubocop.yml CHANGED
@@ -2,6 +2,7 @@ inherit_from:
2
2
  - ~/configs/.rubocop.yml
3
3
 
4
4
  AllCops:
5
+ NewCops: enable
5
6
  Include:
6
7
  - 'lib/**/*.rb'
7
8
  Exclude:
data/.ruby-gemset CHANGED
@@ -1 +1 @@
1
- rails-6.0
1
+ rails-6.1
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.6.6
1
+ ruby-2.7.2
data/.watchr CHANGED
@@ -1,3 +1,4 @@
1
+ TESTING = %w[test]
1
2
  HH = '#' * 22 unless defined?(HH)
2
3
  H = '#' * 5 unless defined?(H)
3
4
 
@@ -16,7 +17,7 @@ end
16
17
 
17
18
  def run_it(type, file)
18
19
  case type
19
- when 'test'; run %(ruby -I test #{file})
20
+ when 'test'; run %(bundle exec ruby -I test #{file})
20
21
  # when 'spec'; run %(rspec -X #{file})
21
22
  else; puts "#{H} unknown type: #{type}, file: #{file}"
22
23
  end
@@ -24,23 +25,29 @@ end
24
25
 
25
26
  def run_all_tests
26
27
  puts "\n#{HH} Running all tests #{HH}\n"
27
- %w[test spec].each { |dir| run "rake #{dir}" if File.exist?(dir) }
28
+ TESTING.each { |dir| run "bundle exec rake #{dir}" if File.exist?(dir) }
28
29
  end
29
30
 
30
31
  def run_matching_files(base)
31
32
  base = base.split('_').first
32
- %w[test spec].each { |type|
33
+ TESTING.each { |type|
33
34
  files = Dir["#{type}/**/*.rb"].select { |file| file =~ /#{base}_.*\.rb/ }
34
35
  run_it type, files.join(' ') unless files.empty?
35
36
  }
36
37
  end
37
38
 
38
- %w[test spec].each { |type|
39
+ TESTING.each { |type|
39
40
  watch("#{type}/#{type}_helper\.rb") { run_all_tests }
40
41
  watch('lib/.*\.rb') { run_all_tests }
41
42
  watch("#{type}/.*/*_#{type}\.rb") { |match| run_it type, match[0] }
42
43
  }
43
44
 
45
+ %w[rb erb haml slim].each { |type|
46
+ watch(".*/(.*)\.#{type}") { |match|
47
+ run_matching_files(match[1])
48
+ }
49
+ }
50
+
44
51
  # Ctrl-\ or ctrl-4
45
52
  Signal.trap('QUIT') { run_all_tests }
46
53
  # Ctrl-C
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2016-2020 Dittmar Krall www.matique.com
1
+ Copyright 2016-2021 Dittmar Krall www.matique.com
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  Omniauth-Matique
2
2
  ================
3
3
  [![Gem Version](https://badge.fury.io/rb/omniauth-matique.svg)](https://badge.fury.io/rb/omniauth-matique)
4
- [![Build Status](https://travis-ci.org/matique/omniauth-matique.png?branch=master)](https://travis-ci.org/matique/omniauth-matique)
5
4
 
6
5
  # OmniAuth Matique Strategy
7
6
 
@@ -2,7 +2,8 @@
2
2
 
3
3
  module OmniAuth
4
4
  module Matique
5
- VERSION = '0.1.7' # 2020-07-17
5
+ VERSION = '0.1.8' # 2021-06-23
6
+ # VERSION = '0.1.7' # 2020-07-17
6
7
  # VERSION = '0.1.6' # 2020-04-27
7
8
  # VERSION = '0.1.5' # 2019-10-06
8
9
  # VERSION = '0.1.4' # 2019-03-02
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-matique
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-17 00:00:00.000000000 Z
11
+ date: 2021-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -87,11 +87,11 @@ executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
+ - ".github/workflows/rake.yml"
90
91
  - ".gitignore"
91
92
  - ".rubocop.yml"
92
93
  - ".ruby-gemset"
93
94
  - ".ruby-version"
94
- - ".travis.yml"
95
95
  - ".watchr"
96
96
  - Gemfile
97
97
  - MIT-LICENSE
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  requirements: []
127
- rubygems_version: 3.1.4
127
+ rubygems_version: 3.2.6
128
128
  signing_key:
129
129
  specification_version: 4
130
130
  summary: OmniAuth strategy for matique
data/.travis.yml DELETED
@@ -1,21 +0,0 @@
1
- language: ruby
2
- sudo: false
3
-
4
- bundler_args: --without production
5
- #before_install: gem update bundler --no-document
6
- script: 'bundle exec rake test'
7
-
8
- rvm:
9
- - 2.6.6
10
- # - 2.6.5
11
- # - 2.6.4
12
- # - 2.6.3
13
- # - 2.6.1
14
- # - 2.5.1
15
- # - 2.4.1
16
- # - 2.3.0
17
- # - 2.2.3
18
- # - 2.0.0
19
-
20
- notifications:
21
- email: false