dkim-query 0.2.1 → 0.2.2

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: 6a9a19d4d8e858912741c97e5aa6327db4384823
4
- data.tar.gz: 9d89cefe4db5f22c1de6b6b75b006634b4f4b708
3
+ metadata.gz: 2d9f9098c1e030f0a2a1c2fba560c7401e141f59
4
+ data.tar.gz: 59f563536960ccf6971cd19c185bad31826edfef
5
5
  SHA512:
6
- metadata.gz: 8a48826f63465c69a2f098d4ad644ad7a750cc7f9fc33af0fa28cdd1da8aaec03132d1fae5d8d237625c9267669dc3f2e1648dbfc385dd87370d8420b336ad50
7
- data.tar.gz: 9cebe26aeb4cedcb2bcd5991636b103271da72fcd92bcda9dea3e4cdded337d082dda9d041125a2f21ee89866a3a07e136f0ec0f93b8b26d8be6dfd869b20bbc
6
+ metadata.gz: 089538eaa322ce4398a6d7bf93bd8ace4835031f1ce33cee74b70f62b3384961053d7fbb63f18a06e01f91875647771230c8d8260cdf3ecbb3a95710caeab4ae
7
+ data.tar.gz: 3b32e90b1df9e12058207bb28ede74a056f029522b072a44806c7ff13f7c20218aa34cae5a2bad30c62c1a9d2e91adc4f64a1955ada1ee682aeee876517f07e6
data/ChangeLog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.2.2 / 2015-07-04
2
+
3
+ * Fixed {DKIM::Query::MalformedKey#to_s}.
4
+
1
5
  ### 0.2.1 / 2015-07-01
2
6
 
3
7
  * Initial release.
data/Gemfile CHANGED
@@ -5,6 +5,8 @@ gemspec
5
5
 
6
6
  group :development do
7
7
  gem 'rake'
8
+ gem 'rubygems-tasks', '~> 0.2'
9
+
8
10
  gem 'rspec', '~> 3.0'
9
11
 
10
12
  gem 'kramdown'
data/Rakefile CHANGED
@@ -10,7 +10,8 @@ rescue LoadError => e
10
10
  end
11
11
 
12
12
  require 'rake'
13
- require 'bundler/gem_tasks'
13
+ require 'rubygems/tasks'
14
+ Gem::Tasks.new
14
15
 
15
16
  require 'rspec/core/rake_task'
16
17
  RSpec::Core::RakeTask.new
@@ -26,7 +26,7 @@ module DKIM
26
26
  @cause = cause
27
27
  end
28
28
 
29
- alias value to_s
29
+ alias to_s value
30
30
 
31
31
  end
32
32
  end
@@ -1,5 +1,5 @@
1
1
  module DKIM
2
2
  module Query
3
- VERSION = '0.2.1'
3
+ VERSION = '0.2.2'
4
4
  end
5
5
  end
@@ -0,0 +1,15 @@
1
+ require 'spec_helper'
2
+ require 'dkim/query/malformed_key'
3
+
4
+ describe MalformedKey do
5
+ describe "#to_s" do
6
+ let(:value) { "foo bar" }
7
+ let(:cause) { double(:parslet_error) }
8
+
9
+ subject { described_class.new(value,cause) }
10
+
11
+ it "should return the value" do
12
+ expect(subject.to_s).to be == value
13
+ end
14
+ end
15
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dkim-query
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - nicktitle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-01 00:00:00.000000000 Z
11
+ date: 2015-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parslet
@@ -81,6 +81,7 @@ files:
81
81
  - lib/dkim/query/version.rb
82
82
  - spec/domain_spec.rb
83
83
  - spec/key_spec.rb
84
+ - spec/malformed_key.rb
84
85
  - spec/parser_spec.rb
85
86
  - spec/query_spec.rb
86
87
  - spec/spec_helper.rb
@@ -112,7 +113,7 @@ summary: DKIM Retriever and Parser
112
113
  test_files:
113
114
  - spec/domain_spec.rb
114
115
  - spec/key_spec.rb
116
+ - spec/malformed_key.rb
115
117
  - spec/parser_spec.rb
116
118
  - spec/query_spec.rb
117
119
  - spec/spec_helper.rb
118
- has_rdoc: