govdelivery-tms 0.8.2 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +4 -5
  3. data/README.md +0 -32
  4. data/Rakefile +4 -6
  5. data/govdelivery-tms.gemspec +15 -15
  6. data/lib/govdelivery-tms.rb +0 -9
  7. data/lib/govdelivery/tms/base.rb +4 -6
  8. data/lib/govdelivery/tms/client.rb +15 -16
  9. data/lib/govdelivery/tms/collection_resource.rb +7 -8
  10. data/lib/govdelivery/tms/connection.rb +4 -4
  11. data/lib/govdelivery/tms/errors.rb +7 -8
  12. data/lib/govdelivery/tms/instance_resource.rb +34 -39
  13. data/lib/govdelivery/tms/link_header.rb +27 -28
  14. data/lib/govdelivery/tms/mail/delivery_method.rb +11 -14
  15. data/lib/govdelivery/tms/resource/collections.rb +0 -20
  16. data/lib/govdelivery/tms/resource/command.rb +1 -2
  17. data/lib/govdelivery/tms/resource/command_action.rb +1 -1
  18. data/lib/govdelivery/tms/resource/command_type.rb +8 -9
  19. data/lib/govdelivery/tms/resource/email_message.rb +0 -1
  20. data/lib/govdelivery/tms/resource/email_recipient.rb +1 -1
  21. data/lib/govdelivery/tms/resource/from_address.rb +1 -1
  22. data/lib/govdelivery/tms/resource/inbound_sms_message.rb +1 -1
  23. data/lib/govdelivery/tms/resource/keyword.rb +6 -7
  24. data/lib/govdelivery/tms/resource/recipient.rb +1 -1
  25. data/lib/govdelivery/tms/resource/sms_message.rb +0 -1
  26. data/lib/govdelivery/tms/util/core_ext.rb +3 -3
  27. data/lib/govdelivery/tms/util/hal_link_parser.rb +11 -12
  28. data/lib/govdelivery/tms/version.rb +1 -1
  29. data/spec/client_spec.rb +6 -6
  30. data/spec/command_types_spec.rb +14 -14
  31. data/spec/email_message_spec.rb +42 -45
  32. data/spec/email_template_spec.rb +49 -51
  33. data/spec/errors_spec.rb +3 -3
  34. data/spec/from_address_spec.rb +37 -36
  35. data/spec/inbound_sms_messages_spec.rb +2 -2
  36. data/spec/instance_resource_spec.rb +4 -6
  37. data/spec/keyword_spec.rb +8 -10
  38. data/spec/keywords_spec.rb +4 -4
  39. data/spec/mail/delivery_method_spec.rb +8 -9
  40. data/spec/sms_message_spec.rb +9 -11
  41. data/spec/sms_messages_spec.rb +3 -3
  42. data/spec/spec_helper.rb +4 -5
  43. data/spec/tms_spec.rb +3 -3
  44. metadata +34 -64
  45. data/lib/govdelivery/tms/resource/ipaws_acknowledgement.rb +0 -9
  46. data/lib/govdelivery/tms/resource/ipaws_alert.rb +0 -38
  47. data/lib/govdelivery/tms/resource/ipaws_category.rb +0 -7
  48. data/lib/govdelivery/tms/resource/ipaws_cog_profile.rb +0 -29
  49. data/lib/govdelivery/tms/resource/ipaws_event_code.rb +0 -7
  50. data/lib/govdelivery/tms/resource/ipaws_nwem_area.rb +0 -18
  51. data/lib/govdelivery/tms/resource/ipaws_nwem_authorization.rb +0 -9
  52. data/lib/govdelivery/tms/resource/ipaws_nwem_auxilary_data.rb +0 -8
  53. data/lib/govdelivery/tms/resource/ipaws_response_type.rb +0 -7
  54. data/lib/govdelivery/tms/resource/ipaws_static_resource.rb +0 -8
  55. data/spec/ipaws_acknowledgement_spec.rb +0 -16
  56. data/spec/ipaws_alerts_spec.rb +0 -192
  57. data/spec/ipaws_cog_profile_spec.rb +0 -75
  58. data/spec/ipaws_event_codes_spec.rb +0 -35
  59. data/spec/ipaws_nwem_areas_spec.rb +0 -58
  60. data/spec/ipaws_nwem_authorization_spec.rb +0 -16
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe GovDelivery::TMS::InboundSmsMessages do
4
- context "creating a new inbound messages list" do
4
+ context 'creating a new inbound messages list' do
5
5
  let(:client) do
6
6
  double('client')
7
7
  end
@@ -9,7 +9,7 @@ describe GovDelivery::TMS::InboundSmsMessages do
9
9
  @messages = GovDelivery::TMS::InboundSmsMessages.new(client, '/inbound_messages')
10
10
  end
11
11
  it 'should GET itself' do
12
- body = [{body:"HELP", from:"+16125551212", created_at:"a while ago", to:"(651) 433-6258"}, {body:"STOP", from:"+16125551212", created_at:"a while ago", to:"(651) 433-6258"}]
12
+ body = [{ body: 'HELP', from: '+16125551212', created_at: 'a while ago', to: '(651) 433-6258' }, { body: 'STOP', from: '+16125551212', created_at: 'a while ago', to: '(651) 433-6258' }]
13
13
  expect(@messages.client).to receive(:get).and_return(double('response', body: body, status: 200, headers: {}))
14
14
 
15
15
  @messages.get
@@ -7,7 +7,7 @@ class Foo
7
7
  end
8
8
 
9
9
  describe GovDelivery::TMS::InstanceResource do
10
- context "creating a new inbound messages list" do
10
+ context 'creating a new inbound messages list' do
11
11
  let(:happy_response) do
12
12
  double(status: 201, body: {})
13
13
  end
@@ -16,13 +16,12 @@ describe GovDelivery::TMS::InstanceResource do
16
16
  double('client', post: happy_response, get: happy_response)
17
17
  end
18
18
 
19
-
20
19
  before do
21
20
  @instance_resource = Foo.new(client)
22
21
  end
23
22
 
24
23
  it 'should POST' do
25
- @instance_resource.bar = "OMG"
24
+ @instance_resource.bar = 'OMG'
26
25
  expect(@instance_resource.post).to be_truthy
27
26
  end
28
27
 
@@ -43,9 +42,9 @@ describe GovDelivery::TMS::InstanceResource do
43
42
  expect(foo.get).to eq(foo)
44
43
  end
45
44
 
46
- %w{get post put delete}.each do |verb|
45
+ %w(get post put delete).each do |verb|
47
46
  it "should blow up on invalid #{verb}!" do
48
- expect(client).to(receive(verb)).and_return(double('response', status: 404, body: "{}"))
47
+ expect(client).to(receive(verb)).and_return(double('response', status: 404, body: '{}'))
49
48
  foo = Foo.new(client, 'https://example.com/foos/1')
50
49
  expect do
51
50
  foo.send("#{verb}!")
@@ -56,6 +55,5 @@ describe GovDelivery::TMS::InstanceResource do
56
55
  it 'it exposes its attributes hash' do
57
56
  expect(@instance_resource.attributes).to eq({})
58
57
  end
59
-
60
58
  end
61
59
  end
data/spec/keyword_spec.rb CHANGED
@@ -1,31 +1,31 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe GovDelivery::TMS::Keyword do
4
- context "creating a new keyword" do
4
+ context 'creating a new keyword' do
5
5
  let(:client) do
6
6
  double('client')
7
7
  end
8
8
  before do
9
- @keyword = GovDelivery::TMS::Keyword.new(client, nil, {name: 'LOL', response_text: 'very funny!'})
9
+ @keyword = GovDelivery::TMS::Keyword.new(client, nil, name: 'LOL', response_text: 'very funny!')
10
10
  end
11
11
  it 'should initialize with attrs' do
12
12
  expect(@keyword.name).to eq('LOL')
13
13
  expect(@keyword.response_text).to eq('very funny!')
14
14
  end
15
15
  it 'should post successfully' do
16
- response = {name: 'lol'}
16
+ response = { name: 'lol' }
17
17
  expect(@keyword.client).to receive('post').with(@keyword).and_return(double('response', status: 201, body: response))
18
18
  @keyword.post
19
19
  expect(@keyword.name).to eq('lol')
20
20
  expect(@keyword.response_text).to eq('very funny!')
21
21
  end
22
22
  it 'should handle errors' do
23
- response = {'errors' => {name: "can't be nil"}}
23
+ response = { 'errors' => { name: "can't be nil" } }
24
24
  expect(@keyword.client).to receive('post').with(@keyword).and_return(double('response', status: 422, body: response))
25
25
  @keyword.post
26
26
  expect(@keyword.name).to eq('LOL')
27
27
  expect(@keyword.response_text).to eq('very funny!')
28
- expect(@keyword.errors).to eq({name: "can't be nil"})
28
+ expect(@keyword.errors).to eq(name: "can't be nil")
29
29
  end
30
30
  end
31
31
 
@@ -38,15 +38,15 @@ describe GovDelivery::TMS::Keyword do
38
38
  @keyword = GovDelivery::TMS::Keyword.new(client, '/keywords/99', {})
39
39
  end
40
40
  it 'should GET cleanly' do
41
- response = {name: 'FOO', response_text: 'hello'}
41
+ response = { name: 'FOO', response_text: 'hello' }
42
42
  expect(@keyword.client).to receive('get').with(@keyword.href).and_return(double('response', status: 200, body: response))
43
43
  @keyword.get
44
44
  expect(@keyword.name).to eq('FOO')
45
45
  expect(@keyword.response_text).to eq('hello')
46
46
  end
47
47
  it 'should PUT cleanly' do
48
- @keyword.name = "GOVLIE"
49
- response = {name: 'govlie', response_text: nil}
48
+ @keyword.name = 'GOVLIE'
49
+ response = { name: 'govlie', response_text: nil }
50
50
  expect(@keyword.client).to receive('put').with(@keyword).and_return(double('response', status: 200, body: response))
51
51
  @keyword.put
52
52
  expect(@keyword.name).to eq('govlie')
@@ -57,6 +57,4 @@ describe GovDelivery::TMS::Keyword do
57
57
  @keyword.delete
58
58
  end
59
59
  end
60
-
61
-
62
60
  end
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe GovDelivery::TMS::Keywords do
4
- context "loading keywords" do
4
+ context 'loading keywords' do
5
5
  let(:client) do
6
6
  double('client')
7
7
  end
@@ -10,12 +10,12 @@ describe GovDelivery::TMS::Keywords do
10
10
  end
11
11
  it 'should GET ok' do
12
12
  body = [
13
- {"name"=>"services", "_links"=>{"self"=>"/keywords/1"}},
14
- {"name"=>"subscribe", "_links"=>{"self"=>"/keywords/2"}}
13
+ { 'name' => 'services', '_links' => { 'self' => '/keywords/1' } },
14
+ { 'name' => 'subscribe', '_links' => { 'self' => '/keywords/2' } }
15
15
  ]
16
16
  expect(@keywords.client).to receive(:get).and_return(double('response', body: body, status: 200, headers: {}))
17
17
  @keywords.get
18
18
  expect(@keywords.collection.length).to eq(2)
19
19
  end
20
20
  end
21
- end
21
+ end
@@ -17,10 +17,10 @@ describe GovDelivery::TMS::Mail::DeliveryMethod do
17
17
  allow(client).to receive(:email_messages).and_return(email_messages)
18
18
  allow(subject).to receive(:client).and_return(client)
19
19
  expect(email_messages).to receive(:build).with(
20
- from_name: mail[:from].display_names.first,
21
- subject: mail.subject,
22
- body: '<blink>HI</blink>'
23
- ).and_return(tms_message)
20
+ from_name: mail[:from].display_names.first,
21
+ subject: mail.subject,
22
+ body: '<blink>HI</blink>'
23
+ ).and_return(tms_message)
24
24
  expect(tms_message).to receive(:post!).and_return(true)
25
25
 
26
26
  subject.deliver!(mail)
@@ -40,13 +40,12 @@ describe GovDelivery::TMS::Mail::DeliveryMethod do
40
40
  allow(client).to receive(:email_messages).and_return(email_messages)
41
41
  allow(subject).to receive(:client).and_return(client)
42
42
  expect(email_messages).to receive(:build).with(
43
- from_name: mail[:from].display_names.first,
44
- subject: mail.subject,
45
- body: '<blink>HTML</blink>'
46
- ).and_return(tms_message)
43
+ from_name: mail[:from].display_names.first,
44
+ subject: mail.subject,
45
+ body: '<blink>HTML</blink>'
46
+ ).and_return(tms_message)
47
47
  expect(tms_message).to receive(:post!).and_return(true)
48
48
 
49
49
  subject.deliver!(mail)
50
50
  end
51
-
52
51
  end
@@ -1,12 +1,12 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe GovDelivery::TMS::SmsMessage do
4
- context "creating a new message" do
4
+ context 'creating a new message' do
5
5
  let(:client) do
6
6
  double('client')
7
7
  end
8
8
  before do
9
- @message = GovDelivery::TMS::SmsMessage.new(client, nil, {body: '12345678', created_at: 'BAAAAAD'})
9
+ @message = GovDelivery::TMS::SmsMessage.new(client, nil, body: '12345678', created_at: 'BAAAAAD')
10
10
  end
11
11
  it 'should not render readonly attrs in json hash' do
12
12
  expect(@message.to_json[:body]).to eq('12345678')
@@ -18,10 +18,10 @@ describe GovDelivery::TMS::SmsMessage do
18
18
  end
19
19
  it 'should post successfully' do
20
20
  response = { body: 'processed',
21
- recipients: [{phone: '22345678'}],
22
- failed: [{phone: '22345678'}],
23
- sent: [{phone: '22345678'}],
24
- created_at: 'time'}
21
+ recipients: [{ phone: '22345678' }],
22
+ failed: [{ phone: '22345678' }],
23
+ sent: [{ phone: '22345678' }],
24
+ created_at: 'time' }
25
25
  expect(@message.client).to receive('post').with(@message).and_return(double('response', status: 201, body: response))
26
26
  @message.post
27
27
  expect(@message.body).to eq('processed')
@@ -34,11 +34,11 @@ describe GovDelivery::TMS::SmsMessage do
34
34
  expect(@message.failed.collection.first.class).to eq(GovDelivery::TMS::Recipient)
35
35
  end
36
36
  it 'should handle errors' do
37
- response = {'errors' => {body: "can't be nil"}}
37
+ response = { 'errors' => { body: "can't be nil" } }
38
38
  expect(@message.client).to receive('post').with(@message).and_return(double('response', status: 422, body: response))
39
39
  @message.post
40
40
  expect(@message.body).to eq('12345678')
41
- expect(@message.errors).to eq({body: "can't be nil"})
41
+ expect(@message.errors).to eq(body: "can't be nil")
42
42
  end
43
43
  end
44
44
 
@@ -51,13 +51,11 @@ describe GovDelivery::TMS::SmsMessage do
51
51
  @message = GovDelivery::TMS::SmsMessage.new(client, '/messages/99', {})
52
52
  end
53
53
  it 'should GET cleanly' do
54
- response = {body: 'processed', recipients: [{phone: '22345678'}], created_at: 'time'}
54
+ response = { body: 'processed', recipients: [{ phone: '22345678' }], created_at: 'time' }
55
55
  expect(@message.client).to receive('get').with(@message.href).and_return(double('response', status: 200, body: response))
56
56
  @message.get
57
57
  expect(@message.body).to eq('processed')
58
58
  expect(@message.created_at).to eq('time')
59
59
  end
60
60
  end
61
-
62
-
63
61
  end
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe GovDelivery::TMS::SmsMessages do
4
- context "creating a new messages list" do
4
+ context 'creating a new messages list' do
5
5
  let(:client) do
6
6
  double('client')
7
7
  end
@@ -9,8 +9,8 @@ describe GovDelivery::TMS::SmsMessages do
9
9
  @messages = GovDelivery::TMS::SmsMessages.new(client, '/messages')
10
10
  end
11
11
  it 'should GET itself' do
12
- body = [{short_body: 'hi ho', created_at: 'a while ago'}, {short_body: 'feel me flow', created_at: 'longer ago'}]
13
- expect(@messages.client).to receive(:get).and_return(double('response', body: body, status: 200, headers: {'link' => "</messages/page/2>; rel=\"next\",</messages/page/11>; rel=\"last\""}))
12
+ body = [{ short_body: 'hi ho', created_at: 'a while ago' }, { short_body: 'feel me flow', created_at: 'longer ago' }]
13
+ expect(@messages.client).to receive(:get).and_return(double('response', body: body, status: 200, headers: { 'link' => "</messages/page/2>; rel=\"next\",</messages/page/11>; rel=\"last\"" }))
14
14
 
15
15
  @messages.get
16
16
  expect(@messages.collection.length).to eq(2)
data/spec/spec_helper.rb CHANGED
@@ -1,13 +1,13 @@
1
- $: << File.expand_path("../lib", __FILE__)
1
+ $LOAD_PATH << File.expand_path('../lib', __FILE__)
2
2
  require 'govdelivery-tms'
3
3
 
4
4
  class GovDelivery::TMS::Horse
5
- def initialize(client, href)
5
+ def initialize(_client, _href)
6
6
  end
7
7
  end
8
8
 
9
9
  class GovDelivery::TMS::Rabbits
10
- def initialize(client, href)
10
+ def initialize(_client, _href)
11
11
  end
12
12
  end
13
13
 
@@ -20,11 +20,10 @@ end
20
20
  require 'rspec/its'
21
21
  RSpec.configure do |config|
22
22
  config.run_all_when_everything_filtered = true
23
- config.filter_run :focus
24
23
 
25
24
  # Run specs in random order to surface order dependencies. If you find an
26
25
  # order dependency and want to debug it, you can fix the order by providing
27
26
  # the seed, which is printed after each run.
28
27
  # --seed 1234
29
28
  config.order = 'random'
30
- end
29
+ end
data/spec/tms_spec.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe GovDelivery::TMS, "version" do
4
- it "should exist" do
3
+ describe GovDelivery::TMS, 'version' do
4
+ it 'should exist' do
5
5
  expect(GovDelivery::TMS::VERSION).to be_an_instance_of(String)
6
6
  end
7
- end
7
+ end
metadata CHANGED
@@ -1,67 +1,60 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govdelivery-tms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
5
- prerelease:
4
+ version: 0.8.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - GovDelivery
9
- autorequire:
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2015-04-08 00:00:00.000000000 Z
11
+ date: 2015-04-10 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activesupport
15
+ version_requirements: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
16
20
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
21
  requirements:
19
- - - ! '>='
22
+ - - '>='
20
23
  - !ruby/object:Gem::Version
21
24
  version: '0'
22
- type: :runtime
23
25
  prerelease: false
26
+ type: :runtime
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday
24
29
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
30
  requirements:
27
- - - ! '>='
31
+ - - '>='
28
32
  - !ruby/object:Gem::Version
29
33
  version: '0'
30
- - !ruby/object:Gem::Dependency
31
- name: faraday
32
34
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
35
  requirements:
35
- - - ! '>='
36
+ - - '>='
36
37
  - !ruby/object:Gem::Version
37
38
  version: '0'
38
- type: :runtime
39
39
  prerelease: false
40
+ type: :runtime
41
+ - !ruby/object:Gem::Dependency
42
+ name: faraday_middleware
40
43
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
44
  requirements:
43
- - - ! '>='
45
+ - - '>='
44
46
  - !ruby/object:Gem::Version
45
47
  version: '0'
46
- - !ruby/object:Gem::Dependency
47
- name: faraday_middleware
48
48
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
49
  requirements:
51
- - - ! '>='
50
+ - - '>='
52
51
  - !ruby/object:Gem::Version
53
52
  version: '0'
54
- type: :runtime
55
53
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- description: ! "A reference implementation, written in Ruby,\n to
63
- interact with GovDelivery's TMS API. The client is\n compatible
64
- with Ruby 1.9 and 2.0. "
54
+ type: :runtime
55
+ description: "A reference implementation, written in Ruby,\n to\
56
+ \ interact with GovDelivery's TMS API. The client is\n compatible\
57
+ \ with Ruby 1.9 and 2.0. "
65
58
  email:
66
59
  - support@govdelivery.com
67
60
  executables: []
@@ -72,6 +65,7 @@ files:
72
65
  - README.md
73
66
  - Rakefile
74
67
  - govdelivery-tms.gemspec
68
+ - lib/govdelivery-tms.rb
75
69
  - lib/govdelivery/tms/base.rb
76
70
  - lib/govdelivery/tms/client.rb
77
71
  - lib/govdelivery/tms/collection_resource.rb
@@ -80,6 +74,7 @@ files:
80
74
  - lib/govdelivery/tms/instance_resource.rb
81
75
  - lib/govdelivery/tms/link_header.rb
82
76
  - lib/govdelivery/tms/logger.rb
77
+ - lib/govdelivery/tms/version.rb
83
78
  - lib/govdelivery/tms/mail/delivery_method.rb
84
79
  - lib/govdelivery/tms/resource/collections.rb
85
80
  - lib/govdelivery/tms/resource/command.rb
@@ -92,24 +87,12 @@ files:
92
87
  - lib/govdelivery/tms/resource/email_template.rb
93
88
  - lib/govdelivery/tms/resource/from_address.rb
94
89
  - lib/govdelivery/tms/resource/inbound_sms_message.rb
95
- - lib/govdelivery/tms/resource/ipaws_acknowledgement.rb
96
- - lib/govdelivery/tms/resource/ipaws_alert.rb
97
- - lib/govdelivery/tms/resource/ipaws_category.rb
98
- - lib/govdelivery/tms/resource/ipaws_cog_profile.rb
99
- - lib/govdelivery/tms/resource/ipaws_event_code.rb
100
- - lib/govdelivery/tms/resource/ipaws_nwem_area.rb
101
- - lib/govdelivery/tms/resource/ipaws_nwem_authorization.rb
102
- - lib/govdelivery/tms/resource/ipaws_nwem_auxilary_data.rb
103
- - lib/govdelivery/tms/resource/ipaws_response_type.rb
104
- - lib/govdelivery/tms/resource/ipaws_static_resource.rb
105
90
  - lib/govdelivery/tms/resource/keyword.rb
106
91
  - lib/govdelivery/tms/resource/recipient.rb
107
92
  - lib/govdelivery/tms/resource/sms_message.rb
108
93
  - lib/govdelivery/tms/resource/webhook.rb
109
94
  - lib/govdelivery/tms/util/core_ext.rb
110
95
  - lib/govdelivery/tms/util/hal_link_parser.rb
111
- - lib/govdelivery/tms/version.rb
112
- - lib/govdelivery-tms.rb
113
96
  - spec/client_spec.rb
114
97
  - spec/command_types_spec.rb
115
98
  - spec/email_message_spec.rb
@@ -118,12 +101,6 @@ files:
118
101
  - spec/from_address_spec.rb
119
102
  - spec/inbound_sms_messages_spec.rb
120
103
  - spec/instance_resource_spec.rb
121
- - spec/ipaws_acknowledgement_spec.rb
122
- - spec/ipaws_alerts_spec.rb
123
- - spec/ipaws_cog_profile_spec.rb
124
- - spec/ipaws_event_codes_spec.rb
125
- - spec/ipaws_nwem_areas_spec.rb
126
- - spec/ipaws_nwem_authorization_spec.rb
127
104
  - spec/keyword_spec.rb
128
105
  - spec/keywords_spec.rb
129
106
  - spec/mail/delivery_method_spec.rb
@@ -133,27 +110,26 @@ files:
133
110
  - spec/tms_spec.rb
134
111
  homepage: http://govdelivery.com
135
112
  licenses: []
136
- post_install_message:
113
+ metadata: {}
114
+ post_install_message:
137
115
  rdoc_options: []
138
116
  require_paths:
139
117
  - lib
140
118
  required_ruby_version: !ruby/object:Gem::Requirement
141
- none: false
142
119
  requirements:
143
- - - ! '>='
120
+ - - '>='
144
121
  - !ruby/object:Gem::Version
145
122
  version: '0'
146
123
  required_rubygems_version: !ruby/object:Gem::Requirement
147
- none: false
148
124
  requirements:
149
- - - ! '>='
125
+ - - '>='
150
126
  - !ruby/object:Gem::Version
151
127
  version: '0'
152
128
  requirements: []
153
- rubyforge_project:
154
- rubygems_version: 1.8.25
155
- signing_key:
156
- specification_version: 3
129
+ rubyforge_project:
130
+ rubygems_version: 2.1.9
131
+ signing_key:
132
+ specification_version: 4
157
133
  summary: A ruby client to interact with the GovDelivery TMS REST API.
158
134
  test_files:
159
135
  - spec/client_spec.rb
@@ -164,12 +140,6 @@ test_files:
164
140
  - spec/from_address_spec.rb
165
141
  - spec/inbound_sms_messages_spec.rb
166
142
  - spec/instance_resource_spec.rb
167
- - spec/ipaws_acknowledgement_spec.rb
168
- - spec/ipaws_alerts_spec.rb
169
- - spec/ipaws_cog_profile_spec.rb
170
- - spec/ipaws_event_codes_spec.rb
171
- - spec/ipaws_nwem_areas_spec.rb
172
- - spec/ipaws_nwem_authorization_spec.rb
173
143
  - spec/keyword_spec.rb
174
144
  - spec/keywords_spec.rb
175
145
  - spec/mail/delivery_method_spec.rb
@@ -177,4 +147,4 @@ test_files:
177
147
  - spec/sms_messages_spec.rb
178
148
  - spec/spec_helper.rb
179
149
  - spec/tms_spec.rb
180
- has_rdoc:
150
+ has_rdoc: