frikandel 2.2.0 → 3.0.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: 9b482779b62ba9385e517c2ca292f171c2420cf3
4
- data.tar.gz: 9201f44fbbf1310bfdd3d92ae00ba24647481ea6
2
+ SHA256:
3
+ metadata.gz: 953546b3b694c8e7efb06b2504d1a0bf2799a7278678d68fe2a6174b70834bcc
4
+ data.tar.gz: 076b382d7f30e0547a14e5e9f24c1632772902a0f984d358263423209cdbc3c1
5
5
  SHA512:
6
- metadata.gz: 53963f5b2b74abe4aed3137a203fc7b267635ff419b4ec43c48aa54c2fcf75bfd76619bb1e68cbf13b51babd4858bdfe3f4dee892e85cc80ef68cab052edfae4
7
- data.tar.gz: 9dce96d7ab8fd9f7a5ac986109ebdc36d911f657ef0ba11f3ae2afe6c9c33987b9083e212a6e19a7b772ce749f7d9e55a0b30793a0d60bd9ad028aa9ea5868d6
6
+ metadata.gz: d0e21f2e57371f59db23ea027a41243ea60ed7f9994c1cd8cecd51f427deacede7f23269bca37a17529a98d5f11c94e75977c1bf4c94a8c701b5cf6a29aeba19
7
+ data.tar.gz: 589ea44f7f68078121f336075b4f1434792e38a5a0401fc2f8579c52773a9512f62f3029dd90ffca35da68ab644213df5bc450db26ad755b1e4d8595a64ced33
@@ -0,0 +1,47 @@
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: [main]
13
+ pull_request:
14
+ branches: [main]
15
+ schedule:
16
+ - cron: '30 5 * * *'
17
+
18
+ jobs:
19
+ test:
20
+
21
+ runs-on: ubuntu-latest
22
+ strategy:
23
+ matrix:
24
+ ruby-version: ['2.6', '2.7', '3.0', jruby, truffleruby]
25
+ gemfile: [rails-5.2.x, rails-6.0.x, rails-6.1.x]
26
+ exclude:
27
+ # ruby 3 is not compatible with rails < 6
28
+ - ruby-version: '3.0'
29
+ gemfile: rails-5.2.x
30
+ env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
31
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
32
+
33
+ name: test (ruby ${{ matrix.ruby-version }}, ${{ matrix.gemfile }})
34
+
35
+ steps:
36
+ - name: Checkout
37
+ uses: actions/checkout@v2
38
+ - name: Set up Ruby
39
+ # Using ruby/setup-ruby@v1 will automatically get bug fixes and new Ruby
40
+ # versions for ruby/setup-ruby (see
41
+ # https://github.com/ruby/setup-ruby#versioning).
42
+ uses: ruby/setup-ruby@v1
43
+ with:
44
+ ruby-version: ${{ matrix.ruby-version }}
45
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
46
+ - name: Run tests
47
+ run: bundle exec rake
data/.gitignore CHANGED
@@ -5,6 +5,7 @@
5
5
  .ruby-*
6
6
  .yardoc
7
7
  Gemfile*.lock
8
+ *.gemfile.lock
8
9
  InstalledFiles
9
10
  _yardoc
10
11
  coverage
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Frikandel
2
2
  [![Gem Version](https://badge.fury.io/rb/frikandel.png)](http://badge.fury.io/rb/frikandel)
3
- [![Build Status](https://api.travis-ci.org/taktsoft/frikandel.png)](https://travis-ci.org/taktsoft/frikandel)
3
+ [![Build Status](https://github.com/taktsoft/frikandel/actions/workflows/ci.yml/badge.svg)](https://github.com/taktsoft/frikandel/actions/workflows/ci.yml)
4
4
  [![Code Climate](https://codeclimate.com/github/taktsoft/frikandel.png)](https://codeclimate.com/github/taktsoft/frikandel)
5
5
  [![Dependency Status](https://gemnasium.com/taktsoft/frikandel.svg)](https://gemnasium.com/taktsoft/frikandel)
6
6
 
@@ -18,7 +18,7 @@ By adding a TTL the attack window gets smaller. An stolen has to be used within
18
18
 
19
19
  ## Requirements
20
20
 
21
- Rails 3.2 and 4.x are currently supported.
21
+ Rails 5.2 and 6.x are currently supported.
22
22
 
23
23
 
24
24
  ## Installation
@@ -93,18 +93,20 @@ end
93
93
 
94
94
  ## Changes
95
95
 
96
- 2.1.0 -- Reset session only once if using the combination of TTL and IP address binding.
97
- 2.0.0 -- Added IP address binding. Renamed callback from 'on_expired_session' to 'on_invalid_session'.
96
+ * v3.0.0 -- Drop support for Rails < v5.2, add support for Rails v6.1 and switch from TravisCI to GithubActions
97
+ * v2.3.0 -- Add support for Rails v5.1 and Rails v6.0 and fix TravisCI builds
98
+ * v2.2.0 -- Add support for Rails v5.0 and update to RSpec 3
99
+ * v2.1.0 -- Reset session only once if using the combination of TTL and IP address binding.
100
+ * v2.0.0 -- Added IP address binding. Renamed callback from 'on_expired_session' to 'on_invalid_session'.
98
101
 
99
102
  ## Test
100
103
 
101
- To run the test suite with different rails version by selecting the corresponding gemfile. You can use this one liners:
104
+ To run the test suite with different rails version by selecting the corresponding gemfile. You can use these one liners:
102
105
 
103
- $ export BUNDLE_GEMFILE=Gemfile.rails-3.2.x && bundle update && bundle exec rake spec
104
- $ export BUNDLE_GEMFILE=Gemfile.rails-4.0.x && bundle update && bundle exec rake spec
105
- $ export BUNDLE_GEMFILE=Gemfile.rails-4.1.x && bundle update && bundle exec rake spec
106
- $ export BUNDLE_GEMFILE=Gemfile.rails-4.2.x && bundle update && bundle exec rake spec
107
- $ export BUNDLE_GEMFILE=Gemfile.rails-5.0.x && bundle update && bundle exec rake spec
106
+ $ export BUNDLE_GEMFILE=gemfiles/rails-5.2.x.gemfile && bundle update && bundle exec rake spec
107
+ $ export BUNDLE_GEMFILE=gemfiles/rails-6.0.x.gemfile && bundle update && bundle exec rake spec
108
+ $ export BUNDLE_GEMFILE=gemfiles/rails-6.1.x.gemfile && bundle update && bundle exec rake spec
109
+ $ export BUNDLE_GEMFILE=gemfiles/rails-head.gemfile && bundle update && bundle exec rake spec
108
110
 
109
111
  ## Contributing
110
112
  1. Fork it
data/frikandel.gemspec CHANGED
@@ -21,15 +21,15 @@ Gem::Specification.new do |spec|
21
21
  spec.required_ruby_version = '>= 1.9.3'
22
22
  spec.required_rubygems_version = ">= 1.3.6"
23
23
 
24
- spec.add_development_dependency "bundler", "~> 1.5"
24
+ spec.add_development_dependency "bundler"
25
25
  spec.add_development_dependency "rake"
26
26
  spec.add_development_dependency "sqlite3" unless RUBY_PLATFORM == 'java'
27
27
  spec.add_development_dependency "jdbc-sqlite3" if RUBY_PLATFORM == 'java'
28
28
  spec.add_development_dependency "activerecord-jdbcsqlite3-adapter" if RUBY_PLATFORM == 'java'
29
- spec.add_development_dependency "rspec-rails", ["> 3.0", "< 3.6"]
29
+ spec.add_development_dependency "rspec-rails", "> 3.0"
30
30
  spec.add_development_dependency "guard-rspec"
31
31
  spec.add_development_dependency "pry"
32
32
  spec.add_development_dependency "test-unit"
33
33
 
34
- spec.add_dependency "rails", [">= 3.2.0", "< 5.1"]
34
+ spec.add_dependency "rails", ">= 5.2.0", "< 7.0.0"
35
35
  end
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in frikandel.gemspec
4
- gemspec
4
+ gemspec path: "../"
5
5
 
6
- gem 'rails', '~> 5.0.0'
6
+ gem 'rails', '~> 5.2.0'
@@ -1,8 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in frikandel.gemspec
4
- gemspec
4
+ gemspec path: "../"
5
5
 
6
- gem 'rails', '~> 4.0.0'
7
- gem 'mime-types', '< 3.0'
8
- gem 'listen', '< 3.1'
6
+ gem 'rails', '~> 6.0.0'
@@ -1,8 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in frikandel.gemspec
4
- gemspec
4
+ gemspec path: "../"
5
5
 
6
- gem 'rails', '~> 4.1.0'
7
- gem 'mime-types', '< 3.0'
8
- gem 'listen', '< 3.1'
6
+ gem 'rails', '~> 6.1.0'
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in frikandel.gemspec
4
- gemspec
4
+ gemspec path: "../"
5
5
 
6
6
  gem 'rails', 'github' => 'rails/rails'
@@ -1,3 +1,3 @@
1
1
  module Frikandel
2
- VERSION = "2.2.0"
2
+ VERSION = "3.0.0"
3
3
  end
@@ -0,0 +1,3 @@
1
+ //= link_tree ../images
2
+ //= link_directory ../javascripts .js
3
+ //= link_directory ../stylesheets .css