hestia 0.0.3 → 0.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
2
  SHA1:
3
- metadata.gz: 99ddc7891850ebeb68ad4951603d9bcf678c2ac5
4
- data.tar.gz: 74ce6567b35dc9157b5716768586c910e9acee6a
3
+ metadata.gz: ee2e639cd00c467444c76fed6a718f9df5670834
4
+ data.tar.gz: 9122b7533ed0358a108bd56be5333e420f8d54c2
5
5
  SHA512:
6
- metadata.gz: 714f919db167aa425b97ff2080d7912e6ba70fd570c2eb63374194ed03db1b243f5d1679c0d882bd3b9a817a5f4bac862666db04c814167ca08e8c8275a8f049
7
- data.tar.gz: 1b55b4a3d16fd5f7b0012d3c7dc80f6b46a2399be75cefb37a689675fe10d76d96d2b6624f30e92df5520dfcffa22d613f96f2d77c06fee94c8c99d674463c4a
6
+ metadata.gz: 0086cb17ecff3769ecbfdf4d682102f7bd42bf04e671c9307ad4e20202b7593e153627432378583beb46c12106e8ad272cd92073b4e50b8b7abd4d8d69deaa96
7
+ data.tar.gz: d569bf9fd318e862f31539bcec7306ee45bc84668f614cd171baaa5b9c78b0c7895663e2319aecf15f23b848ceac2387ee886dd8a54f8a8f4f0b606cf3638935
@@ -6,5 +6,4 @@ rvm:
6
6
  - 2.2
7
7
  gemfile:
8
8
  - Gemfile.rails3
9
- - Gemfile.rails4
10
9
  - Gemfile.rails41
data/README.md CHANGED
@@ -49,7 +49,7 @@ You should already have `Rails.application.config.secret_token` set to a value (
49
49
 
50
50
  ### Rails 4
51
51
 
52
- We support Rails 4.0 & 4.1. Rails 4.2 is unsupported at this time. (Pull requests welcome!)
52
+ We support Rails 4.1. Rails 4.0 & 4.2 are unsupported at this time. (Pull requests welcome!)
53
53
 
54
54
  Following the instructions for Rails 3.2 should work, but make sure you haven't set `config.secret_key_base` to a value otherwise Rails will take over and upgrade your cookies from signed to encrypted ones.
55
55
 
@@ -30,7 +30,7 @@ module Hestia
30
30
  end
31
31
 
32
32
  # Finally, override @verifier with our own multi verifier containing all the secrets
33
- @verifier = Hestia::MessageMultiVerifier.new(current_secret: active_secret, deprecated_secrets: deprecated_secrets)
33
+ @verifier = Hestia::MessageMultiVerifier.new(current_secret: active_secret, deprecated_secrets: deprecated_secrets, options: {serializer: ActionDispatch::Cookies::NullSerializer})
34
34
  end
35
35
  end
36
36
  end
@@ -1,3 +1,3 @@
1
1
  module Hestia
2
- VERSION = "0.0.3"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -1,5 +1,6 @@
1
1
  require_relative "../../spec_helper"
2
2
  require_relative "../../support/fake_rails"
3
+ require "action_dispatch/middleware/cookies"
3
4
 
4
5
  # Call our railtie block to setup the initializers array
5
6
  require "hestia/railtie"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hestia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caius Durling
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-13 00:00:00.000000000 Z
11
+ date: 2015-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -98,7 +98,6 @@ files:
98
98
  - ".gitignore"
99
99
  - ".travis.yml"
100
100
  - Gemfile.rails3
101
- - Gemfile.rails4
102
101
  - Gemfile.rails41
103
102
  - LICENSE.txt
104
103
  - README.md
@@ -1,6 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in hestia.gemspec
4
- gemspec
5
-
6
- gem "actionpack", "~> 4.0.0"