urbanairship 3.2.0 → 3.2.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
- ---
2
- SHA1:
3
- metadata.gz: 976658dd2efc281297b56b178d85d548a2c7122e
4
- data.tar.gz: 8389f2788b640c2cafd9ba036701a69fc8c90740
5
- SHA512:
6
- metadata.gz: 1db5563ad0b87e7f5ca1ef2b8485622f401b6630180627385157f7e5ad8d1b6b569c727c0a7761995215a004b6bada2681ab83efb183959b25a5e07223ec2564
7
- data.tar.gz: 13ff6a7e2d6cb7405c63764732f79e3037418195cc45026639606f97472544d70628cb9cb8343c0b6c11ee8851c8a7eef873963162a2b596e51990ade15fc721
1
+ ---
2
+ SHA1:
3
+ metadata.gz: bf611301dade6939250d8db17da09ac000b4edf6
4
+ data.tar.gz: 5d89a81c0bd42ed14ce6bf4c4b4ac264b31ee17a
5
+ SHA512:
6
+ metadata.gz: c26ee11aa571dc3251c6e78da24a5faeb2f88fe21254fb8404e9763c0ccc7a6c7046e2b3302eb96dd2aea10525ec4d0bdf095519c8fffc05dba0c725964d25a3
7
+ data.tar.gz: 2745476e984a7cfd8d6e78b23ae41af193ac113e2a6907ff22c192514a1fd4d3ef27d168e31e28214f3d4fa410b9fd7754f1d8490ee9b9fb97c92d6a056c00c5
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ --------------------
2
+ 3.2.1
3
+ --------------------
4
+ - Bug fix: allow audience tag selector to specify tag group if desired
5
+
6
+
1
7
  --------------------
2
8
  3.2.0
3
9
  --------------------
@@ -95,6 +95,12 @@ Select a single tag:
95
95
 
96
96
  push.audience = UA.tag(tag)
97
97
 
98
+ Select a single tag with a specified tag group (Note: defaults to ``device`` tag group when one is not provided):
99
+
100
+ .. code-block:: ruby
101
+
102
+ push.audience = UA.tag(tag, group:'tag-group')
103
+
98
104
  Select a single alias:
99
105
 
100
106
  .. code-block:: ruby
@@ -37,8 +37,10 @@ module Urbanairship
37
37
  end
38
38
 
39
39
  # Select a single tag
40
- def tag(tag)
41
- { tag: tag }
40
+ def tag(tag, group: nil)
41
+ tag_params = { tag: tag }
42
+ tag_params[:group] = group unless group.nil?
43
+ tag_params
42
44
  end
43
45
 
44
46
  # Select a single alias
@@ -1,3 +1,3 @@
1
1
  module Urbanairship
2
- VERSION = '3.2.0'
2
+ VERSION = '3.2.1'
3
3
  end
metadata CHANGED
@@ -1,130 +1,103 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: urbanairship
3
- version: !ruby/object:Gem::Version
4
- version: 3.2.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.2.1
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Urban Airship
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-02 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
11
+
12
+ date: 2016-01-04 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
14
15
  name: unirest
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.1'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 1.1.2
23
- type: :runtime
24
16
  prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '1.1'
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: "1.1"
30
22
  - - ">="
31
- - !ruby/object:Gem::Version
23
+ - !ruby/object:Gem::Version
32
24
  version: 1.1.2
33
- - !ruby/object:Gem::Dependency
25
+ type: :runtime
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
34
28
  name: bundler
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '1'
40
- type: :development
41
29
  prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: '1'
47
- - !ruby/object:Gem::Dependency
48
- name: guard-rspec
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: '0'
30
+ requirement: &id002 !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ~>
33
+ - !ruby/object:Gem::Version
34
+ version: "1"
54
35
  type: :development
36
+ version_requirements: *id002
37
+ - !ruby/object:Gem::Dependency
38
+ name: guard-rspec
55
39
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- version: '0'
61
- - !ruby/object:Gem::Dependency
62
- name: pry
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '0'
40
+ requirement: &id003 !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - &id008
43
+ - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: "0"
68
46
  type: :development
47
+ version_requirements: *id003
48
+ - !ruby/object:Gem::Dependency
49
+ name: pry
69
50
  prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '0'
75
- - !ruby/object:Gem::Dependency
76
- name: rake
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '10.0'
51
+ requirement: &id004 !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ~>
54
+ - !ruby/object:Gem::Version
55
+ version: "0"
82
56
  type: :development
57
+ version_requirements: *id004
58
+ - !ruby/object:Gem::Dependency
59
+ name: rake
83
60
  prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '10.0'
89
- - !ruby/object:Gem::Dependency
90
- name: rspec
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '3'
61
+ requirement: &id005 !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: "10.0"
96
66
  type: :development
67
+ version_requirements: *id005
68
+ - !ruby/object:Gem::Dependency
69
+ name: rspec
97
70
  prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '3'
103
- - !ruby/object:Gem::Dependency
104
- name: terminal-notifier-guard
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: '1'
71
+ requirement: &id006 !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: "3"
110
76
  type: :development
77
+ version_requirements: *id006
78
+ - !ruby/object:Gem::Dependency
79
+ name: terminal-notifier-guard
111
80
  prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - "~>"
115
- - !ruby/object:Gem::Version
116
- version: '1'
117
- description: A Ruby Library for using the Urban Airship web service API for push notifications
118
- and rich app pages.
119
- email:
81
+ requirement: &id007 !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: "1"
86
+ type: :development
87
+ version_requirements: *id007
88
+ description: A Ruby Library for using the Urban Airship web service API for push notifications and rich app pages.
89
+ email:
120
90
  - support@urbanairship.com
121
91
  executables: []
92
+
122
93
  extensions: []
94
+
123
95
  extra_rdoc_files: []
124
- files:
125
- - ".gitignore"
126
- - ".rspec"
127
- - ".travis.yml"
96
+
97
+ files:
98
+ - .gitignore
99
+ - .rspec
100
+ - .travis.yml
128
101
  - CHANGELOG
129
102
  - Gemfile
130
103
  - Guardfile
@@ -168,28 +141,29 @@ files:
168
141
  - lib/urbanairship/version.rb
169
142
  - urbanairship.gemspec
170
143
  homepage: https://github.com/urbanairship/ruby-library
171
- licenses:
144
+ licenses:
172
145
  - Apache-2.0
173
- metadata:
146
+ metadata:
174
147
  allowed_push_host: https://rubygems.org
175
148
  post_install_message:
176
149
  rdoc_options: []
177
- require_paths:
150
+
151
+ require_paths:
178
152
  - lib
179
- required_ruby_version: !ruby/object:Gem::Requirement
180
- requirements:
153
+ required_ruby_version: !ruby/object:Gem::Requirement
154
+ requirements:
181
155
  - - ">="
182
- - !ruby/object:Gem::Version
156
+ - !ruby/object:Gem::Version
183
157
  version: 2.0.0
184
- required_rubygems_version: !ruby/object:Gem::Requirement
185
- requirements:
186
- - - ">="
187
- - !ruby/object:Gem::Version
188
- version: '0'
158
+ required_rubygems_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - *id008
189
161
  requirements: []
162
+
190
163
  rubyforge_project:
191
- rubygems_version: 2.4.8
164
+ rubygems_version: 2.0.17
192
165
  signing_key:
193
166
  specification_version: 4
194
167
  summary: Ruby Gem for using the Urban Airship API
195
168
  test_files: []
169
+