fleck 0.4.0 → 0.4.1

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
  SHA1:
3
- metadata.gz: a11a477a98c5158a25c1c7063ff34394815c3a1e
4
- data.tar.gz: e16d6089f7856a9ec393e427fd892bb399b820a6
3
+ metadata.gz: e5454dfcbd47d6772c526a087805a390bfdbd3d4
4
+ data.tar.gz: 69e60a050d19f5885dcddf3f675daf371589a713
5
5
  SHA512:
6
- metadata.gz: c1fd9222f3ab6a8dd0f256a1ef37eae64e77105e5ba39cf61c9f6adc19455e8b2c0c77a0676bb69a54e421ff3fcb1ea8e2c3dc7f1c25b94e47cc7354d7a80c75
7
- data.tar.gz: f4fb7a2f47d32f8496ebea65ac2ec9da2c4be939a32de3da2d1eed9c3e90c618d4dbfb252eac9a3d59f3966bddbfcbce266e5e45dbf747ab9de87687a971ce3f
6
+ metadata.gz: 0227d8e60ffb297daa8d7b614ea592017fa02b6ffc5b8dfa41e95f5453abbf97d3208144e11db1500f5d356ccaa7ca6bfdc9405fb2880014b922f8527e998d34
7
+ data.tar.gz: f65dcf475be639faa1cf1df2a51d3dc22ef5d738c69e1189cf1efd10b3f122450bc212eb4a35ce8658279769d1ce94f7e4e904a7bb303ceea8867d6c8e11f3ce
@@ -12,7 +12,7 @@ module Fleck
12
12
  @metadata = metadata
13
13
  @payload = payload
14
14
  @data = {}
15
- @headers = @metadata.headers.to_hash_with_indifferent_access
15
+ @headers = (@metadata.headers || {}).to_hash_with_indifferent_access
16
16
  @action = @metadata.type
17
17
  @params = {}
18
18
  @status = 200
@@ -1,3 +1,3 @@
1
1
  module Fleck
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fleck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Groza Sergiu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-15 00:00:00.000000000 Z
11
+ date: 2016-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler