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

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
+ SHA256:
3
+ metadata.gz: 2ab350aca5025a607d99ab3aaebe2b3968fc699cdc148dec25ff5833b921be72
4
+ data.tar.gz: 72f7fd4b8640d5693e5c5997ecb846f8d295cae3fd58b5cf7ac367b27794b416
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: 2af7fd6df2c54713d4fa1f178e3eda43134f88c75372d39cd0ef6291f2055493cd8b856c4f5d3eb47272fad2ee1efa7ea5311f0e28ef54b60a6778febeccdedb
7
+ data.tar.gz: cc1c2021c7da6d92d8a8ae289b14be83be45b21b708ae0a37a33902e238ea852840ae2b816d14933b774f7ff6f7cb77a625dbf724325f7f66f81d02e40e2f8f1
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/.travis.yml CHANGED
@@ -4,18 +4,23 @@ before_install:
4
4
  - "rm ${BUNDLE_GEMFILE}.lock"
5
5
  cache: bundler
6
6
  rvm:
7
- - 2.2.0
8
- - 2.2.1
9
- - 2.2.2
10
- - 2.3.1
11
- deploy:
12
- provider: rubygems
13
- api_key:
14
- secure: DaIvbW+6p9LNv3YrnsIDtwo4f/7pIe1Y1E5tQuoOspN+lnUhaL5qFWYtbyuMUW9yG9TQhPCn9irCbUBkoKLCKCcbtYrQsELY2hx+z3fFJ7wZMriLojCttf4yZfGdK539clcPsIpkWVSsDaUnxGC1nbj5pJBLJk4U23SiZrMWL0I=
15
- gem: aws_sns_manager
16
- on:
17
- tags: true
18
- repo: nafu/aws_sns_manager
7
+ - 2.3.8
8
+ - 2.4.10
9
+ - 2.5.8
10
+ - 2.6.6
11
+ - 2.7.1
12
+ jobs:
13
+ include:
14
+ - stage: deploy
15
+ rvm: 2.7.1
16
+ deploy:
17
+ provider: rubygems
18
+ api_key:
19
+ secure: DaIvbW+6p9LNv3YrnsIDtwo4f/7pIe1Y1E5tQuoOspN+lnUhaL5qFWYtbyuMUW9yG9TQhPCn9irCbUBkoKLCKCcbtYrQsELY2hx+z3fFJ7wZMriLojCttf4yZfGdK539clcPsIpkWVSsDaUnxGC1nbj5pJBLJk4U23SiZrMWL0I=
20
+ gem: aws_sns_manager
21
+ on:
22
+ tags: true
23
+ repo: nafu/aws_sns_manager
19
24
  addons:
20
25
  code_climate:
21
26
  repo_token: f963cfa99b5c830023926cbaa0cf70b2112d28cdc1b7db78bf39841936e4f766
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,69 +1,74 @@
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)
5
5
  aws-sdk (~> 2)
6
- bundler (>= 1.3.0, < 2.0)
7
- json (~> 1.8)
6
+ json (~> 2)
8
7
 
9
8
  GEM
10
9
  remote: https://rubygems.org/
11
10
  specs:
12
11
  ast (2.3.0)
13
- aws-sdk (2.5.11)
14
- aws-sdk-resources (= 2.5.11)
15
- aws-sdk-core (2.5.11)
12
+ aws-eventstream (1.2.0)
13
+ aws-sdk (2.11.632)
14
+ aws-sdk-resources (= 2.11.632)
15
+ aws-sdk-core (2.11.632)
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.11.632)
19
+ aws-sdk-core (= 2.11.632)
20
+ aws-sigv4 (1.4.0)
21
+ aws-eventstream (~> 1, >= 1.0.2)
22
+ codeclimate-test-reporter (1.0.8)
23
+ simplecov (<= 0.13)
24
+ diff-lcs (1.3)
22
25
  docile (1.1.5)
23
- jmespath (1.3.1)
24
- json (1.8.3)
25
- parser (2.3.1.2)
26
+ jmespath (1.4.0)
27
+ json (2.6.0)
28
+ parser (2.4.0.0)
26
29
  ast (~> 2.2)
27
30
  powerpack (0.1.1)
28
- rainbow (2.1.0)
29
- 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)
31
+ rainbow (2.2.2)
32
+ rake
33
+ rake (12.3.3)
34
+ rspec (3.6.0)
35
+ rspec-core (~> 3.6.0)
36
+ rspec-expectations (~> 3.6.0)
37
+ rspec-mocks (~> 3.6.0)
38
+ rspec-core (3.6.0)
39
+ rspec-support (~> 3.6.0)
40
+ rspec-expectations (3.6.0)
37
41
  diff-lcs (>= 1.2.0, < 2.0)
38
- rspec-support (~> 3.5.0)
39
- rspec-mocks (3.5.0)
42
+ rspec-support (~> 3.6.0)
43
+ rspec-mocks (3.6.0)
40
44
  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)
45
+ rspec-support (~> 3.6.0)
46
+ rspec-support (3.6.0)
47
+ rubocop (0.48.1)
48
+ parser (>= 2.3.3.1, < 3.0)
45
49
  powerpack (~> 0.1)
46
50
  rainbow (>= 1.99.1, < 3.0)
47
51
  ruby-progressbar (~> 1.7)
48
52
  unicode-display_width (~> 1.0, >= 1.0.1)
49
53
  ruby-progressbar (1.8.1)
50
- simplecov (0.12.0)
54
+ simplecov (0.13.0)
51
55
  docile (~> 1.1.0)
52
56
  json (>= 1.8, < 3)
53
57
  simplecov-html (~> 0.10.0)
54
58
  simplecov-html (0.10.0)
55
- unicode-display_width (1.1.1)
59
+ unicode-display_width (1.2.1)
56
60
 
57
61
  PLATFORMS
58
62
  ruby
59
63
 
60
64
  DEPENDENCIES
61
65
  aws_sns_manager!
66
+ bundler (>= 1.3.0)
62
67
  codeclimate-test-reporter
63
- rake (~> 10.0)
68
+ rake (~> 12.3)
64
69
  rspec (~> 3)
65
70
  rubocop (~> 0.30)
66
71
  simplecov (~> 0.9)
67
72
 
68
73
  BUNDLED WITH
69
- 1.13.0
74
+ 2.1.4
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]
@@ -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
@@ -20,11 +21,11 @@ Gem::Specification.new do |s|
20
21
 
21
22
  s.required_ruby_version = '~> 2.0'
22
23
 
23
- s.add_dependency 'bundler', '>= 1.3.0', '< 2.0'
24
24
  s.add_dependency 'aws-sdk', '~> 2'
25
- s.add_dependency 'json', '~> 1.8'
25
+ s.add_dependency 'json', '~> 2'
26
26
 
27
- s.add_development_dependency 'rake', '~> 10.0'
27
+ s.add_development_dependency 'bundler', '>= 1.3.0'
28
+ s.add_development_dependency 'rake', '~> 12.3'
28
29
  s.add_development_dependency 'rspec', '~> 3'
29
30
  s.add_development_dependency 'simplecov', '~> 0.9'
30
31
  s.add_development_dependency 'rubocop', '~> 0.30'
@@ -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
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require 'aws-sdk'
3
4
  require 'json'
4
5
 
metadata CHANGED
@@ -1,117 +1,111 @@
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.57
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: 2021-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
14
+ name: aws-sdk
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
18
- - !ruby/object:Gem::Version
19
- version: 1.3.0
20
- - - <
17
+ - - "~>"
21
18
  - !ruby/object:Gem::Version
22
- version: '2.0'
19
+ version: '2'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: 1.3.0
30
- - - <
24
+ - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: '2.0'
26
+ version: '2'
33
27
  - !ruby/object:Gem::Dependency
34
- name: aws-sdk
28
+ name: json
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
- - - ~>
31
+ - - "~>"
38
32
  - !ruby/object:Gem::Version
39
33
  version: '2'
40
34
  type: :runtime
41
35
  prerelease: false
42
36
  version_requirements: !ruby/object:Gem::Requirement
43
37
  requirements:
44
- - - ~>
38
+ - - "~>"
45
39
  - !ruby/object:Gem::Version
46
40
  version: '2'
47
41
  - !ruby/object:Gem::Dependency
48
- name: json
42
+ name: bundler
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
- - - ~>
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
- version: '1.8'
54
- type: :runtime
47
+ version: 1.3.0
48
+ type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
51
  requirements:
58
- - - ~>
52
+ - - ">="
59
53
  - !ruby/object:Gem::Version
60
- version: '1.8'
54
+ version: 1.3.0
61
55
  - !ruby/object:Gem::Dependency
62
56
  name: rake
63
57
  requirement: !ruby/object:Gem::Requirement
64
58
  requirements:
65
- - - ~>
59
+ - - "~>"
66
60
  - !ruby/object:Gem::Version
67
- version: '10.0'
61
+ version: '12.3'
68
62
  type: :development
69
63
  prerelease: false
70
64
  version_requirements: !ruby/object:Gem::Requirement
71
65
  requirements:
72
- - - ~>
66
+ - - "~>"
73
67
  - !ruby/object:Gem::Version
74
- version: '10.0'
68
+ version: '12.3'
75
69
  - !ruby/object:Gem::Dependency
76
70
  name: rspec
77
71
  requirement: !ruby/object:Gem::Requirement
78
72
  requirements:
79
- - - ~>
73
+ - - "~>"
80
74
  - !ruby/object:Gem::Version
81
75
  version: '3'
82
76
  type: :development
83
77
  prerelease: false
84
78
  version_requirements: !ruby/object:Gem::Requirement
85
79
  requirements:
86
- - - ~>
80
+ - - "~>"
87
81
  - !ruby/object:Gem::Version
88
82
  version: '3'
89
83
  - !ruby/object:Gem::Dependency
90
84
  name: simplecov
91
85
  requirement: !ruby/object:Gem::Requirement
92
86
  requirements:
93
- - - ~>
87
+ - - "~>"
94
88
  - !ruby/object:Gem::Version
95
89
  version: '0.9'
96
90
  type: :development
97
91
  prerelease: false
98
92
  version_requirements: !ruby/object:Gem::Requirement
99
93
  requirements:
100
- - - ~>
94
+ - - "~>"
101
95
  - !ruby/object:Gem::Version
102
96
  version: '0.9'
103
97
  - !ruby/object:Gem::Dependency
104
98
  name: rubocop
105
99
  requirement: !ruby/object:Gem::Requirement
106
100
  requirements:
107
- - - ~>
101
+ - - "~>"
108
102
  - !ruby/object:Gem::Version
109
103
  version: '0.30'
110
104
  type: :development
111
105
  prerelease: false
112
106
  version_requirements: !ruby/object:Gem::Requirement
113
107
  requirements:
114
- - - ~>
108
+ - - "~>"
115
109
  - !ruby/object:Gem::Version
116
110
  version: '0.30'
117
111
  description: Utility for Amazon Simple Notification Service
@@ -121,9 +115,9 @@ executables: []
121
115
  extensions: []
122
116
  extra_rdoc_files: []
123
117
  files:
124
- - .gitignore
125
- - .rubocop.yml
126
- - .travis.yml
118
+ - ".gitignore"
119
+ - ".rubocop.yml"
120
+ - ".travis.yml"
127
121
  - Gemfile
128
122
  - Gemfile.lock
129
123
  - LICENSE
@@ -144,17 +138,16 @@ require_paths:
144
138
  - lib
145
139
  required_ruby_version: !ruby/object:Gem::Requirement
146
140
  requirements:
147
- - - ~>
141
+ - - "~>"
148
142
  - !ruby/object:Gem::Version
149
143
  version: '2.0'
150
144
  required_rubygems_version: !ruby/object:Gem::Requirement
151
145
  requirements:
152
- - - ! '>'
146
+ - - ">"
153
147
  - !ruby/object:Gem::Version
154
148
  version: 1.3.1
155
149
  requirements: []
156
- rubyforge_project:
157
- rubygems_version: 2.4.5
150
+ rubygems_version: 3.0.8
158
151
  signing_key:
159
152
  specification_version: 4
160
153
  summary: Utility for Amazon Simple Notification Service