devise-remote-user 1.0.0 → 1.1.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
- SHA1:
3
- metadata.gz: 35135c10ba5cffe83e88acb6148e851a2eb33bd1
4
- data.tar.gz: 5e1ed150ac1251033c421ed4f999d29b3f5de148
2
+ SHA256:
3
+ metadata.gz: b0bc0c09a06a85bf6f7687427ed0d69edbbc88ba8226e7f2bac9681f32899b32
4
+ data.tar.gz: 9c33250b5d3030529833b9f201400dbdc7ff665bca38fb752746d7cfa2915afa
5
5
  SHA512:
6
- metadata.gz: '08f5dfb7b0d0524643a644908f517eeef7bcb9e72dc5432fb270f5669515335b0e874213fa2487d0fe2d8c282f16f2e0ccd47c5b74660b5a3ec7d73c8955bf5a'
7
- data.tar.gz: d027daad5c3dcd904bb2621dcd6fe8afc0521f8815ced66942746724f33479c67eccd7f1f4f29e649a51f5ed2b92d7eb25ff4f7bec514b5d7575a3d445f22477
6
+ metadata.gz: fac419491667ab37ac90bb2e12902bd10288567ddc5ee9bf879651702fb0b19bce14cdd254e07c82f9f8aab4f40f3bc50980852205b49b52c76fef6b4d80c586
7
+ data.tar.gz: 2e1c68da7663909782cce96a34d5b1e58b648c46f35adb388e655534dc346b4bbac81cb550034d30a2e0968fa17da08fee2756ac98b992ace040d3be2fc07833
@@ -0,0 +1,53 @@
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: CI
9
+
10
+ on:
11
+ push:
12
+ branches: [ master ]
13
+ pull_request:
14
+ branches: [ master ]
15
+
16
+ jobs:
17
+ test:
18
+ runs-on: ubuntu-latest
19
+ strategy:
20
+ matrix:
21
+ ruby: [2.6, 2.7]
22
+ steps:
23
+ - uses: actions/checkout@v2
24
+ - name: Set up Ruby
25
+ uses: ruby/setup-ruby@v1
26
+ with:
27
+ ruby-version: ${{ matrix.ruby }}
28
+ - name: Install dependencies
29
+ run: bundle install
30
+ - name: Run tests
31
+ run: bundle exec rake ci
32
+ env:
33
+ ENGINE_CART_RAILS_OPTIONS: '--skip-git --skip-listen --skip-spring --skip-keeps --skip-action-cable --skip-coffee --skip-test'
34
+ test_rails5:
35
+ runs-on: ubuntu-latest
36
+ strategy:
37
+ matrix:
38
+ ruby: [2.6, 2.7]
39
+ steps:
40
+ - uses: actions/checkout@v2
41
+ - name: Set up Ruby
42
+ uses: ruby/setup-ruby@v1
43
+ with:
44
+ ruby-version: ${{ matrix.ruby }}
45
+ - name: Install dependencies
46
+ run: bundle install
47
+ env:
48
+ RAILS_VERSION: 5.2.4.4
49
+ - name: Run tests
50
+ run: bundle exec rake ci
51
+ env:
52
+ RAILS_VERSION: 5.2.4.4
53
+ ENGINE_CART_RAILS_OPTIONS: '--skip-git --skip-listen --skip-spring --skip-keeps --skip-action-cable --skip-coffee --skip-test'
data/Gemfile CHANGED
@@ -29,12 +29,11 @@ else
29
29
  end
30
30
 
31
31
  case ENV['RAILS_VERSION']
32
- when /^4.2/
33
- gem 'responders', '~> 2.0'
34
- gem 'sass-rails', '>= 5.0'
35
- gem 'coffee-rails', '~> 4.1.0'
36
- when /^4.[01]/
37
- gem 'sass-rails', '< 5.0'
32
+ when /^6.0/
33
+ gem 'sass-rails', '>= 6'
34
+ # gem 'webpacker', '~> 4.0'
35
+ when /^5.[12]/
36
+ gem 'sass-rails', '~> 5.0'
38
37
  end
39
38
  end
40
39
  # END ENGINE_CART BLOCK
data/README.md CHANGED
@@ -4,7 +4,7 @@ devise-remote-user
4
4
  A devise extension for remote user authentication.
5
5
 
6
6
  [![Gem Version](https://badge.fury.io/rb/devise-remote-user.svg)](http://badge.fury.io/rb/devise-remote-user)
7
- [![Build Status](https://travis-ci.org/duke-libraries/devise-remote-user.svg?branch=master)](https://travis-ci.org/duke-libraries/devise-remote-user)
7
+ [![Build Status](https://github.com/duke-libraries/devise-remote-user/workflows/CI/badge.svg)](https://github.com/duke-libraries/devise-remote-user/actions?query=branch%3Amaster)
8
8
  [![Coverage Status](https://coveralls.io/repos/duke-libraries/devise-remote-user/badge.png?branch=master)](https://coveralls.io/r/duke-libraries/devise-remote-user?branch=master)
9
9
  [![Code Climate](https://codeclimate.com/github/duke-libraries/devise-remote-user/badges/gpa.svg)](https://codeclimate.com/github/duke-libraries/devise-remote-user)
10
10
 
@@ -37,7 +37,7 @@ module DeviseRemoteUser
37
37
  end
38
38
 
39
39
  def update_user(user)
40
- user.update_attributes(remote_user_attributes)
40
+ user.update(remote_user_attributes)
41
41
  end
42
42
 
43
43
  protected
@@ -1,3 +1,3 @@
1
1
  module DeviseRemoteUser
2
- VERSION = '1.0.0'
2
+ VERSION = '1.1.0'
3
3
  end
@@ -1,4 +1,4 @@
1
- class AddNameFieldsToUser < ActiveRecord::Migration
1
+ class AddNameFieldsToUser < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  change_table :users do |t|
4
4
  t.string :first_name
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise-remote-user
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Chandek-Stark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-09 00:00:00.000000000 Z
11
+ date: 2020-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: devise
@@ -103,9 +103,9 @@ extra_rdoc_files:
103
103
  - LICENSE
104
104
  - README.md
105
105
  files:
106
+ - ".github/workflows/ruby.yml"
106
107
  - ".gitignore"
107
108
  - ".rspec"
108
- - ".travis.yml"
109
109
  - CONTRIBUTING.md
110
110
  - Gemfile
111
111
  - LICENSE
@@ -146,8 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  - !ruby/object:Gem::Version
147
147
  version: '0'
148
148
  requirements: []
149
- rubyforge_project:
150
- rubygems_version: 2.6.11
149
+ rubygems_version: 3.1.2
151
150
  signing_key:
152
151
  specification_version: 4
153
152
  summary: A devise extension for remote user authentication.
@@ -1,22 +0,0 @@
1
- language: ruby
2
- sudo: false
3
-
4
- notifications:
5
- email: false
6
-
7
- rvm:
8
- - 2.3.1
9
-
10
- matrix:
11
- include:
12
- - rvm: 2.3.1
13
- env: "RAILS_VERSION=4.2.7"
14
-
15
- before_install:
16
- - gem install bundler
17
-
18
- env:
19
- - "RAILS_VERSION=5.0.0"
20
-
21
- global_env:
22
- - NOKOGIRI_USE_SYSTEM_LIBRARIES=true