csp_builder 0.1.0 → 0.1.1

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: 8495dd0155b2432348fbdcfc120b023c6f2da4bc
4
- data.tar.gz: 380b90a23551c232282fcfaa6981fcabab582990
3
+ metadata.gz: d498d553b48d1213a0582fa4affb968f1c45a8c2
4
+ data.tar.gz: c81cf932b3097bff554b6e28d328622c419ef62b
5
5
  SHA512:
6
- metadata.gz: 2d63e8e4175bd1d244eab1c29827ee23436717ac3a55d6e04c3b0d19bdcbb664a9b8a55f7e935762fc656c41fb9b42bfd1b501d69157c108395e1bf0571a38a6
7
- data.tar.gz: 629d5859c8a214378fa7e4c41c3d9ddd468ad6bdda93e1fc7008cc3973ebf01964ebf8884c8d22cdafe4ad1983f770a2be1e09b2acea6cbdb97cadea310bea17
6
+ metadata.gz: fa698baf9e3c0ca17aa2e5fead079ea1a79cd1956fb09b404a4291a0bd394e3eb4c108b94b046e62333684003cf70ced9f95308a6135af0042941ab6abdf5f5d
7
+ data.tar.gz: 63aa002a358da432b5738f85ebb1e4b02ed760d51a12a98b0a06f0c8009e84c10c08c0d5d6dd250b38f90ac8cc027fdb8243fb53337a83edc2bc9ec412811b4e
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # CspBuilder
2
2
 
3
3
  [![Travis Build Status](https://travis-ci.org/Sigient/csp_builder.svg)](https://travis-ci.org/Sigient/csp_builder)
4
+ [![Gem Version](https://badge.fury.io/rb/csp_builder.svg)](https://badge.fury.io/rb/csp_builder)
4
5
  [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
5
6
 
6
7
  Content Security Policy string builder. Create rich Content Security
data/lib/csp_builder.rb CHANGED
@@ -129,7 +129,7 @@ class CspBuilder
129
129
  if Symbol === value
130
130
  value = "'#{value}'"
131
131
  else
132
- value = value.dup
132
+ value = value.to_s.dup
133
133
  end
134
134
 
135
135
  if @directives.has_key? key
@@ -1,3 +1,3 @@
1
1
  class CspBuilder
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csp_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Coyne
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-01-31 00:00:00.000000000 Z
12
+ date: 2017-02-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler