aws_sns_manager 0.0.3.pre.alpha.pre.40 → 0.0.4.pre.alpha.pre.46

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- N2Q2OTRiOWNmZjBkZTVlNzhlNmU1MGIzMjliZGQ5OTBlZDRiODc2OA==
5
- data.tar.gz: !binary |-
6
- ZTc5M2I2NDA1ODg2ZDFlOWRiZWQ4ODBiOTVlYmQyYzczOTFiZDJiZA==
2
+ SHA1:
3
+ metadata.gz: c7efec2d189e88032cde16d712ad7d86dbeaff12
4
+ data.tar.gz: 7b186826bf4ca0b1ad938296f44851c045b038f2
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZDFjMjYzZmY0YmFlNWVhMTAzNTZkZmFmYjNjOWFkYmY5Y2NmNTQwNzcxZGNl
10
- ZWZjMDU1NGRiMDY2M2NmZmY4ZDVmNTcxMzFlYTFjOWRiYjM5MTdlN2MzNTg2
11
- ZDlmNjhmNThkMzNiYWU2ODhiMmU5M2Q1OTkzYWQwZmZkYjBhYzU=
12
- data.tar.gz: !binary |-
13
- NzQ0ZTI1ZGM4M2RmNzAyNDg5MGUxZGFkN2Q3N2IzNTI3YmY0ZTIzOWNjNzc0
14
- M2IyNTdjNzU0OTI3ODFkMWVhOWQ4MWU0ZGI4YWM3MDdhYmFkYmEyYmJlNWRh
15
- NjRjZTYwYmE3NzA3MmUwMzRmMTRkMjM4MDNiYzY4MzNjY2MwMmM=
6
+ metadata.gz: 237809d2e73dba6f6208197eee5309ff679c3dc934e8f255fbeb7d9fa6c934ae6947b6bc4f1d9159d0e9aad3093c93e26f9ebbfea3f4850c59d7594aaa6cda9a
7
+ data.tar.gz: 38ee5729ed60a73e534e396e2695a726473ae4c8bd9063850bb2f15eed9f53cecf2aad8d467ca079f47e52e9f37b698f56e0186680844042988ae4c33268bf3a
data/.rubocop.yml CHANGED
@@ -8,3 +8,7 @@ Lint/HandleExceptions:
8
8
  Metrics/LineLength:
9
9
  Exclude:
10
10
  - aws_sns_manager.gemspec
11
+
12
+ Metrics/BlockLength:
13
+ Exclude:
14
+ - '**/*_spec.rb'
data/Gemfile CHANGED
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  source 'https://rubygems.org'
3
4
 
4
5
  gemspec
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aws_sns_manager (0.0.3.pre.alpha.pre.40)
4
+ aws_sns_manager (0.0.4.pre.alpha.pre.46)
5
5
  aws-sdk (~> 2)
6
6
  bundler (>= 1.3.0, < 2.0)
7
7
  json (~> 1.8)
@@ -10,49 +10,52 @@ GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
12
  ast (2.3.0)
13
- aws-sdk (2.5.11)
14
- aws-sdk-resources (= 2.5.11)
15
- aws-sdk-core (2.5.11)
13
+ aws-sdk (2.9.15)
14
+ aws-sdk-resources (= 2.9.15)
15
+ aws-sdk-core (2.9.15)
16
+ aws-sigv4 (~> 1.0)
16
17
  jmespath (~> 1.0)
17
- aws-sdk-resources (2.5.11)
18
- aws-sdk-core (= 2.5.11)
19
- codeclimate-test-reporter (0.6.0)
20
- simplecov (>= 0.7.1, < 1.0.0)
21
- diff-lcs (1.2.5)
18
+ aws-sdk-resources (2.9.15)
19
+ aws-sdk-core (= 2.9.15)
20
+ aws-sigv4 (1.0.0)
21
+ codeclimate-test-reporter (1.0.8)
22
+ simplecov (<= 0.13)
23
+ diff-lcs (1.3)
22
24
  docile (1.1.5)
23
25
  jmespath (1.3.1)
24
- json (1.8.3)
25
- parser (2.3.1.2)
26
+ json (1.8.6)
27
+ parser (2.4.0.0)
26
28
  ast (~> 2.2)
27
29
  powerpack (0.1.1)
28
- rainbow (2.1.0)
30
+ rainbow (2.2.2)
31
+ rake
29
32
  rake (10.5.0)
30
- rspec (3.5.0)
31
- rspec-core (~> 3.5.0)
32
- rspec-expectations (~> 3.5.0)
33
- rspec-mocks (~> 3.5.0)
34
- rspec-core (3.5.3)
35
- rspec-support (~> 3.5.0)
36
- rspec-expectations (3.5.0)
33
+ rspec (3.6.0)
34
+ rspec-core (~> 3.6.0)
35
+ rspec-expectations (~> 3.6.0)
36
+ rspec-mocks (~> 3.6.0)
37
+ rspec-core (3.6.0)
38
+ rspec-support (~> 3.6.0)
39
+ rspec-expectations (3.6.0)
37
40
  diff-lcs (>= 1.2.0, < 2.0)
38
- rspec-support (~> 3.5.0)
39
- rspec-mocks (3.5.0)
41
+ rspec-support (~> 3.6.0)
42
+ rspec-mocks (3.6.0)
40
43
  diff-lcs (>= 1.2.0, < 2.0)
41
- rspec-support (~> 3.5.0)
42
- rspec-support (3.5.0)
43
- rubocop (0.42.0)
44
- parser (>= 2.3.1.1, < 3.0)
44
+ rspec-support (~> 3.6.0)
45
+ rspec-support (3.6.0)
46
+ rubocop (0.48.1)
47
+ parser (>= 2.3.3.1, < 3.0)
45
48
  powerpack (~> 0.1)
46
49
  rainbow (>= 1.99.1, < 3.0)
47
50
  ruby-progressbar (~> 1.7)
48
51
  unicode-display_width (~> 1.0, >= 1.0.1)
49
52
  ruby-progressbar (1.8.1)
50
- simplecov (0.12.0)
53
+ simplecov (0.13.0)
51
54
  docile (~> 1.1.0)
52
55
  json (>= 1.8, < 3)
53
56
  simplecov-html (~> 0.10.0)
54
57
  simplecov-html (0.10.0)
55
- unicode-display_width (1.1.1)
58
+ unicode-display_width (1.2.1)
56
59
 
57
60
  PLATFORMS
58
61
  ruby
@@ -66,4 +69,4 @@ DEPENDENCIES
66
69
  simplecov (~> 0.9)
67
70
 
68
71
  BUNDLED WITH
69
- 1.13.0
72
+ 1.14.6
data/Rakefile CHANGED
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require 'bundler'
3
4
  Bundler::GemHelper.install_tasks
4
5
 
@@ -15,4 +16,4 @@ rescue LoadError
15
16
  end
16
17
  end
17
18
 
18
- task default: [:spec, :rubocop]
19
+ task default: %i[spec rubocop]
@@ -1,5 +1,6 @@
1
1
  # coding: utf-8
2
2
  # frozen_string_literal: true
3
+
3
4
  lib = File.expand_path('../lib', __FILE__)
4
5
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
6
  require 'aws_sns_manager/version'
@@ -10,9 +11,9 @@ Gem::Specification.new do |s|
10
11
  s.email = ['nakamurafumiya003@gmail.com']
11
12
  s.files = `git ls-files -z`.split("\x0").reject { |f| f.start_with?('spec/') }
12
13
  s.homepage = 'http://github.com/nafu/aws_sns_manager'
13
- s.licenses = %w(MIT)
14
+ s.licenses = %w[MIT]
14
15
  s.name = 'aws_sns_manager'
15
- s.require_paths = %w(lib)
16
+ s.require_paths = %w[lib]
16
17
  s.required_rubygems_version = '>= 1.3.5'
17
18
  s.summary = s.description
18
19
  s.version = AwsSnsManager::VERSION
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require 'aws-sdk'
3
4
  require 'json'
4
5
 
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module AwsSnsManager
3
4
  # = AwsSnsManager::Client
4
5
  class Client
@@ -54,7 +55,7 @@ module AwsSnsManager
54
55
  subtitle: nil,
55
56
  body: text
56
57
  },
57
- sound: 'default',
58
+ sound: options.delete(:sound),
58
59
  badge: 1,
59
60
  'mutable-content': 1,
60
61
  'content-available': 1
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module AwsSnsManager
3
4
  # = AwsSnsManager::Config
4
5
  module Config
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  # = AwsSnsManager::VERSION
3
4
  module AwsSnsManager
4
- VERSION = '0.0.3'
5
+ VERSION = '0.0.4'
5
6
  end
metadata CHANGED
@@ -1,117 +1,117 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws_sns_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3.pre.alpha.pre.40
4
+ version: 0.0.4.pre.alpha.pre.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fumiya Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-12 00:00:00.000000000 Z
11
+ date: 2017-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.3.0
20
- - - <
20
+ - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '2.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ! '>='
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: 1.3.0
30
- - - <
30
+ - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '2.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sdk
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ~>
37
+ - - "~>"
38
38
  - !ruby/object:Gem::Version
39
39
  version: '2'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - ~>
44
+ - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '2'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: json
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ~>
51
+ - - "~>"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '1.8'
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - ~>
58
+ - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '1.8'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rake
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - ~>
65
+ - - "~>"
66
66
  - !ruby/object:Gem::Version
67
67
  version: '10.0'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ~>
72
+ - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: '10.0'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: rspec
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - ~>
79
+ - - "~>"
80
80
  - !ruby/object:Gem::Version
81
81
  version: '3'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - ~>
86
+ - - "~>"
87
87
  - !ruby/object:Gem::Version
88
88
  version: '3'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: simplecov
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ~>
93
+ - - "~>"
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0.9'
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - ~>
100
+ - - "~>"
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0.9'
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: rubocop
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - ~>
107
+ - - "~>"
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0.30'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
- - - ~>
114
+ - - "~>"
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0.30'
117
117
  description: Utility for Amazon Simple Notification Service
@@ -121,9 +121,9 @@ executables: []
121
121
  extensions: []
122
122
  extra_rdoc_files: []
123
123
  files:
124
- - .gitignore
125
- - .rubocop.yml
126
- - .travis.yml
124
+ - ".gitignore"
125
+ - ".rubocop.yml"
126
+ - ".travis.yml"
127
127
  - Gemfile
128
128
  - Gemfile.lock
129
129
  - LICENSE
@@ -144,12 +144,12 @@ require_paths:
144
144
  - lib
145
145
  required_ruby_version: !ruby/object:Gem::Requirement
146
146
  requirements:
147
- - - ~>
147
+ - - "~>"
148
148
  - !ruby/object:Gem::Version
149
149
  version: '2.0'
150
150
  required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  requirements:
152
- - - ! '>'
152
+ - - ">"
153
153
  - !ruby/object:Gem::Version
154
154
  version: 1.3.1
155
155
  requirements: []