relaxed_cookiejar 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.travis.yml +13 -0
- data/Dockerfile +62 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +55 -0
- data/LICENSE.txt +21 -0
- data/README.md +42 -0
- data/Rakefile +17 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/certs/andreimaxim.pem +21 -0
- data/docker-compose.yml +6 -0
- data/lib/relaxed_cookiejar.rb +7 -0
- data/lib/relaxed_cookiejar/cookie_validation.rb +54 -0
- data/lib/relaxed_cookiejar/version.rb +3 -0
- data/relaxed_cookiejar.gemspec +38 -0
- metadata +159 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: cd92f43d1d87ec9ffe186ab670d3445a91acfac4
|
4
|
+
data.tar.gz: 7767f1ce2d6232b6ed633335ee40bac129654296
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d435aa0c267fe09f072ea3dafcd3f5b34829e7bf91f1c94818c1b14732c552bf40a164bd0256a15371ee5337c8fda4123b49a18b9a463089795a6d9e46533321
|
7
|
+
data.tar.gz: c9d84d5082412d2403638fd47cfe4f6d89689d251d1a14f5c53f0f41372d68d8e11565428a6c99af99bdd21a98ba6502dd6283f1e1501626e1fdfa8b881bd924
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
sudo: false
|
2
|
+
language: ruby
|
3
|
+
rvm:
|
4
|
+
- 2.4.2
|
5
|
+
before_install: gem install bundler -v 1.16.0
|
6
|
+
before_script:
|
7
|
+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
8
|
+
- chmod +x ./cc-test-reporter
|
9
|
+
- ./cc-test-reporter before-build
|
10
|
+
script:
|
11
|
+
- bundle exec rake
|
12
|
+
after_script:
|
13
|
+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
data/Dockerfile
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
FROM ruby:2.4.2
|
2
|
+
|
3
|
+
# Bundler options
|
4
|
+
#
|
5
|
+
# The default value is taken from Travis's build options, so they should be
|
6
|
+
# good enough for most cases. For development, be sure to set a blank default
|
7
|
+
# in docker-compose.override.yml.
|
8
|
+
ARG BUNDLER_OPTS="--jobs=3 \
|
9
|
+
--retry=3 \
|
10
|
+
--deployment"
|
11
|
+
|
12
|
+
# The home directory of the gem.
|
13
|
+
#
|
14
|
+
# During development, make sure that the APP_DIR environment variable is
|
15
|
+
# identical to the variable in your docker-compose.override.yml file,
|
16
|
+
# otherwise things might not work as expected.
|
17
|
+
ENV APP_DIR="/opt/relaxed_cookiejar"
|
18
|
+
|
19
|
+
# Install required packages
|
20
|
+
# RUN apt-get update -y \
|
21
|
+
# && apt-get install -y --no-install-recommends \
|
22
|
+
# git-core \
|
23
|
+
# build-essential \
|
24
|
+
# libffi-dev \
|
25
|
+
# libxml2-dev \
|
26
|
+
# libssl-dev \
|
27
|
+
# libcurl4-gnutls-dev \
|
28
|
+
# apt-utils \
|
29
|
+
# && rm -rf /var/lib/apt/lists/*
|
30
|
+
|
31
|
+
# Create a non-root user
|
32
|
+
RUN groupadd -r travis \
|
33
|
+
&& useradd -m -r -g travis travis
|
34
|
+
RUN mkdir -p ${APP_DIR} \
|
35
|
+
&& chown -R travis:travis ${APP_DIR}
|
36
|
+
|
37
|
+
# Move the the application folder to perform all the following tasks.
|
38
|
+
WORKDIR ${APP_DIR}
|
39
|
+
# Use the non-root user to perform any commands from this point forward.
|
40
|
+
#
|
41
|
+
# NOTE: The COPY command requires the --chown flag set otherwise it will
|
42
|
+
# copy things as root.
|
43
|
+
USER travis
|
44
|
+
|
45
|
+
# Copy the gem's gemspec file so `bundle install` can run when the
|
46
|
+
# container is initialized.
|
47
|
+
#
|
48
|
+
# The added benefit is that Docker will cache this file and will not trigger
|
49
|
+
# the bundle install unless the gemspec changed on the filesystem.
|
50
|
+
#
|
51
|
+
# NOTE: If the command fails because of the --chown flag, make sure you have a
|
52
|
+
# recent stable version of Docker.
|
53
|
+
COPY --chown=travis:travis . ./
|
54
|
+
|
55
|
+
|
56
|
+
RUN bundle install ${BUNDLER_OPTS}
|
57
|
+
|
58
|
+
# Copy over the files, in case the Docker Compose file does not specify a
|
59
|
+
# mount point.
|
60
|
+
COPY --chown=travis:travis . ./
|
61
|
+
|
62
|
+
CMD ["bash"]
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
relaxed_cookiejar (0.1.0)
|
5
|
+
cookiejar (= 0.3.3)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
coderay (1.1.2)
|
11
|
+
cookiejar (0.3.3)
|
12
|
+
diff-lcs (1.3)
|
13
|
+
docile (1.1.5)
|
14
|
+
json (2.1.0)
|
15
|
+
method_source (0.9.0)
|
16
|
+
pry (0.11.3)
|
17
|
+
coderay (~> 1.1.0)
|
18
|
+
method_source (~> 0.9.0)
|
19
|
+
rake (10.5.0)
|
20
|
+
rspec (3.7.0)
|
21
|
+
rspec-core (~> 3.7.0)
|
22
|
+
rspec-expectations (~> 3.7.0)
|
23
|
+
rspec-mocks (~> 3.7.0)
|
24
|
+
rspec-collection_matchers (1.1.3)
|
25
|
+
rspec-expectations (>= 2.99.0.beta1)
|
26
|
+
rspec-core (3.7.1)
|
27
|
+
rspec-support (~> 3.7.0)
|
28
|
+
rspec-expectations (3.7.0)
|
29
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
30
|
+
rspec-support (~> 3.7.0)
|
31
|
+
rspec-mocks (3.7.0)
|
32
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
33
|
+
rspec-support (~> 3.7.0)
|
34
|
+
rspec-support (3.7.1)
|
35
|
+
simplecov (0.15.1)
|
36
|
+
docile (~> 1.1.0)
|
37
|
+
json (>= 1.8, < 3)
|
38
|
+
simplecov-html (~> 0.10.0)
|
39
|
+
simplecov-html (0.10.2)
|
40
|
+
|
41
|
+
PLATFORMS
|
42
|
+
ruby
|
43
|
+
x64-mingw32
|
44
|
+
|
45
|
+
DEPENDENCIES
|
46
|
+
bundler (~> 1.16)
|
47
|
+
pry (~> 0.11)
|
48
|
+
rake (~> 10.0)
|
49
|
+
relaxed_cookiejar!
|
50
|
+
rspec (~> 3.0)
|
51
|
+
rspec-collection_matchers (~> 1.0)
|
52
|
+
simplecov (~> 0.15)
|
53
|
+
|
54
|
+
BUNDLED WITH
|
55
|
+
1.16.1
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Andrei Maxim
|
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
|
13
|
+
all 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
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# Relaxed CookieJar
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/relaxed_cookiejar.svg)](https://badge.fury.io/rb/relaxed_cookiejar)
|
4
|
+
[![Build Status](https://travis-ci.org/andreimaxim/relaxed_cookiejar.svg?branch=master)](https://travis-ci.org/andreimaxim/relaxed_cookiejar)
|
5
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/50e30f3b65985e299e9e/maintainability)](https://codeclimate.com/github/andreimaxim/relaxed_cookiejar/maintainability)
|
6
|
+
[![Test Coverage](https://api.codeclimate.com/v1/badges/50e30f3b65985e299e9e/test_coverage)](https://codeclimate.com/github/andreimaxim/relaxed_cookiejar/test_coverage)
|
7
|
+
|
8
|
+
|
9
|
+
A gem that includes a monkeypatch for the original CookieJar gem.
|
10
|
+
|
11
|
+
This gem exists simply because the original CookieJar gem seems to be abandoned yet it
|
12
|
+
is still used by a lot of other gems (like Faye). The main change this gem does is to
|
13
|
+
relax the policies for matched domains.
|
14
|
+
|
15
|
+
For example, if you are trying to connect to a Salesforce PushTopic, the code will
|
16
|
+
try to match the requested domain (something like `company--ver.inst.my.salesforce.com`) with
|
17
|
+
the cookie domain (`.salesforce.com`) and it will obviously fail. CookieJar does try to go
|
18
|
+
one level deep (so it will also add `.inst.my.salesforce.com` to the list of valid domains) but
|
19
|
+
obviously this will not work.
|
20
|
+
|
21
|
+
This gem basically overrides the `CookieJar::CookieValidation.compute_search_domains_for_host`
|
22
|
+
method so it will go slightly deeper and also add `.my.salesforce.com` and `.salesforce.com` to
|
23
|
+
the list of expected domains.
|
24
|
+
|
25
|
+
## Usage
|
26
|
+
|
27
|
+
Simply require this gem:
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
require 'faye'
|
31
|
+
require 'relaxed_cookiejar'
|
32
|
+
```
|
33
|
+
|
34
|
+
This should be it.
|
35
|
+
|
36
|
+
## Contributing
|
37
|
+
|
38
|
+
Bug reports and pull requests are welcome on GitHub at [https://github.com/andreimaxim/relaxed_cookiejar.]()
|
39
|
+
|
40
|
+
## License
|
41
|
+
|
42
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
require "rake/testtask"
|
3
|
+
|
4
|
+
|
5
|
+
begin
|
6
|
+
require 'rspec/core/rake_task'
|
7
|
+
|
8
|
+
RSpec::Core::RakeTask.new do |t|
|
9
|
+
t.ruby_opts = %w(-w)
|
10
|
+
t.pattern = 'spec/**/*_spec.rb'
|
11
|
+
end
|
12
|
+
task test: :spec
|
13
|
+
rescue LoadError
|
14
|
+
puts 'Warning: unable to load rspec tasks'
|
15
|
+
end
|
16
|
+
|
17
|
+
task :default => :test
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "relaxed_cookiejar"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIIDfDCCAmSgAwIBAgIBATANBgkqhkiG9w0BAQUFADBCMQ8wDQYDVQQDDAZhbmRy
|
3
|
+
ZWkxGzAZBgoJkiaJk/IsZAEZFgthbmRyZWltYXhpbTESMBAGCgmSJomT8ixkARkW
|
4
|
+
AnJvMB4XDTE4MDIwODE0MDY1OVoXDTE5MDIwODE0MDY1OVowQjEPMA0GA1UEAwwG
|
5
|
+
YW5kcmVpMRswGQYKCZImiZPyLGQBGRYLYW5kcmVpbWF4aW0xEjAQBgoJkiaJk/Is
|
6
|
+
ZAEZFgJybzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALdTaGJxq8LS
|
7
|
+
BvQ21mseXIg+GTwpw28yIu3I8Y4y9dbCMsYSkiFpb1Gyxkc4/OBdch5LWZMY4Kek
|
8
|
+
tN2tesl/pI2PoCoQ6ogcn/FxBI23OK4GyYtwLq3xDPYDk4Onaa84tTLSgiZey2Ml
|
9
|
+
sgUb0ADMS+dVJWYZDUiYJZ8vDvK//ikcLbCY05WpH2x5LpJeapzA+lOiVIn5PC3W
|
10
|
+
lgP295hS8fqah3GF7TtC4ByFNwUnv9BrXXiaxvcQxX2KNKVib5CahTSA4R4H9nLu
|
11
|
+
hFA/pTftVjAQGNEoUhU9O3VpUCG9Yt0oP9FUCVsUAWtuj3H+BaTak6g6FmVDTRuv
|
12
|
+
D0ANHY5WdlUCAwEAAaN9MHswCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0O
|
13
|
+
BBYEFIzifXvS7qF30ai0d+1gE3iuajBzMCAGA1UdEQQZMBeBFWFuZHJlaUBhbmRy
|
14
|
+
ZWltYXhpbS5ybzAgBgNVHRIEGTAXgRVhbmRyZWlAYW5kcmVpbWF4aW0ucm8wDQYJ
|
15
|
+
KoZIhvcNAQEFBQADggEBACefrEXpo9etDtbh5zpT/VdHIVhPXZvg5xsatQT/5avo
|
16
|
+
LA/ViXzdK+vgvzSPJeTIuado4S99yCXvCcykolmeQNh3q7913oM9rdX0+hmPJGnA
|
17
|
+
T+Bdfx/Fny1fdmPDIDmOETY3aBIhi8C4TStZId3ljbfWZMWUiwG9xPcxBAEyvQvc
|
18
|
+
6tStBYtHshxnBdc5h6K7pzhfVxQJwW2ginSpmcRFKjw6laDKKywYprRWKuVMM42t
|
19
|
+
rPPwQsEaMMSGpCTMKe7vlWXJhWOuC9msqqkU/o5TeSuEEsr5kflYoXMI41nC4sz7
|
20
|
+
P4zlDD+LhwEtllWACsKJgJFkEy28Mp1o4lQM4zO3I/E=
|
21
|
+
-----END CERTIFICATE-----
|
data/docker-compose.yml
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
require 'cookiejar'
|
2
|
+
|
3
|
+
|
4
|
+
module RelaxedCookieJar
|
5
|
+
module CookieValidation
|
6
|
+
|
7
|
+
def self.included(base)
|
8
|
+
base.extend(ClassMethods)
|
9
|
+
|
10
|
+
base.module_eval do
|
11
|
+
# This was the only way I found that would reliably override a static
|
12
|
+
# method defined on a module, otherwise the old method was called.
|
13
|
+
#
|
14
|
+
# If you have a better idea of doing this, please create a PR.
|
15
|
+
singleton_class.send :alias_method,
|
16
|
+
:compute_search_domains_for_host_with_no_recursion,
|
17
|
+
:compute_search_domains_for_host
|
18
|
+
|
19
|
+
singleton_class.send :alias_method,
|
20
|
+
:compute_search_domains_for_host,
|
21
|
+
:compute_search_domains_for_host_with_recursion
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
module ClassMethods
|
26
|
+
|
27
|
+
def compute_search_domains_for_host_with_recursion(host)
|
28
|
+
host = effective_host host
|
29
|
+
result = [host]
|
30
|
+
|
31
|
+
if host =~ CookieJar::CookieValidation::IPADDR
|
32
|
+
result
|
33
|
+
else
|
34
|
+
result + recursive_search_domain(host)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
def recursive_search_domain(host)
|
39
|
+
m = CookieJar::CookieValidation::BASE_HOSTNAME.match(host)
|
40
|
+
|
41
|
+
result = [".#{host}"]
|
42
|
+
|
43
|
+
if m.nil?
|
44
|
+
result
|
45
|
+
else
|
46
|
+
result + recursive_search_domain(m[1])
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
# The actual monkeypatching.
|
54
|
+
CookieJar::CookieValidation.include RelaxedCookieJar::CookieValidation
|
@@ -0,0 +1,38 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'relaxed_cookiejar/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'relaxed_cookiejar'
|
8
|
+
spec.version = RelaxedCookieJar::VERSION
|
9
|
+
spec.authors = ['Andrei Maxim']
|
10
|
+
spec.email = ['andrei@andreimaxim.ro']
|
11
|
+
|
12
|
+
spec.summary = %q{Relaxed options for CookieJar}
|
13
|
+
spec.homepage = 'https://github.com/andreimaxim/relaxed_cookiejar'
|
14
|
+
spec.license = 'MIT'
|
15
|
+
|
16
|
+
spec.cert_chain = ['certs/andreimaxim.pem']
|
17
|
+
spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem') if $0 =~ /gem\z/
|
18
|
+
|
19
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
20
|
+
f.match(%r{^(test|spec|features)/})
|
21
|
+
end
|
22
|
+
spec.bindir = 'exe'
|
23
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
|
+
spec.require_paths = ['lib']
|
25
|
+
|
26
|
+
spec.add_development_dependency 'bundler', '~> 1.16'
|
27
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
28
|
+
spec.add_development_dependency 'simplecov', '~> 0.15'
|
29
|
+
spec.add_development_dependency 'pry', '~> 0.11'
|
30
|
+
spec.add_development_dependency 'rspec-collection_matchers', '~> 1.0'
|
31
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
32
|
+
|
33
|
+
# Add the original cookiejar gem as a fixed dependency so
|
34
|
+
# people doing any kind of updates in the future will have
|
35
|
+
# a Bundler error instead of trying to figure out which gem
|
36
|
+
# is monkeypatched.
|
37
|
+
spec.add_dependency 'cookiejar', '0.3.3'
|
38
|
+
end
|
metadata
ADDED
@@ -0,0 +1,159 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: relaxed_cookiejar
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Andrei Maxim
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain:
|
11
|
+
- certs/andreimaxim.pem
|
12
|
+
date: 2018-02-15 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bundler
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '1.16'
|
21
|
+
type: :development
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '1.16'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rake
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '10.0'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '10.0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: simplecov
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0.15'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0.15'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: pry
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0.11'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0.11'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: rspec-collection_matchers
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - "~>"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '1.0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '1.0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: rspec
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '3.0'
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '3.0'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: cookiejar
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - '='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 0.3.3
|
105
|
+
type: :runtime
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - '='
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: 0.3.3
|
112
|
+
description:
|
113
|
+
email:
|
114
|
+
- andrei@andreimaxim.ro
|
115
|
+
executables: []
|
116
|
+
extensions: []
|
117
|
+
extra_rdoc_files: []
|
118
|
+
files:
|
119
|
+
- ".gitignore"
|
120
|
+
- ".travis.yml"
|
121
|
+
- Dockerfile
|
122
|
+
- Gemfile
|
123
|
+
- Gemfile.lock
|
124
|
+
- LICENSE.txt
|
125
|
+
- README.md
|
126
|
+
- Rakefile
|
127
|
+
- bin/console
|
128
|
+
- bin/setup
|
129
|
+
- certs/andreimaxim.pem
|
130
|
+
- docker-compose.yml
|
131
|
+
- lib/relaxed_cookiejar.rb
|
132
|
+
- lib/relaxed_cookiejar/cookie_validation.rb
|
133
|
+
- lib/relaxed_cookiejar/version.rb
|
134
|
+
- relaxed_cookiejar.gemspec
|
135
|
+
homepage: https://github.com/andreimaxim/relaxed_cookiejar
|
136
|
+
licenses:
|
137
|
+
- MIT
|
138
|
+
metadata: {}
|
139
|
+
post_install_message:
|
140
|
+
rdoc_options: []
|
141
|
+
require_paths:
|
142
|
+
- lib
|
143
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
requirements: []
|
154
|
+
rubyforge_project:
|
155
|
+
rubygems_version: 2.6.13
|
156
|
+
signing_key:
|
157
|
+
specification_version: 4
|
158
|
+
summary: Relaxed options for CookieJar
|
159
|
+
test_files: []
|