onesignal 1.0.0.beta1 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +31 -0
  3. data/LICENSE +24 -0
  4. data/README.md +75 -45
  5. data/RELEASE_INSTRUCTIONS.md +11 -0
  6. data/docs/DefaultApi.md +86 -86
  7. data/docs/InlineResponse200.md +1 -1
  8. data/docs/InlineResponse2001.md +1 -1
  9. data/docs/InlineResponse2002.md +1 -1
  10. data/docs/InlineResponse2005.md +4 -2
  11. data/docs/{InlineResponse2003.md → InlineResponse2007.md} +3 -3
  12. data/docs/InlineResponse2008.md +18 -0
  13. data/docs/InlineResponse4002.md +4 -2
  14. data/docs/InlineResponse4003.md +18 -0
  15. data/docs/InvalidIdentifierError.md +20 -0
  16. data/docs/Notification.md +12 -12
  17. data/docs/Notification200Errors.md +49 -0
  18. data/docs/NotificationAllOf.md +11 -11
  19. data/docs/NotificationSlice.md +1 -1
  20. data/docs/NotificationTarget.md +1 -1
  21. data/docs/NotificationWithMeta.md +260 -0
  22. data/docs/NotificationWithMetaAllOf.md +38 -0
  23. data/docs/OutcomesData.md +18 -0
  24. data/docs/Player.md +2 -2
  25. data/docs/PlayerNotificationTarget.md +1 -1
  26. data/docs/StringMap.md +1 -1
  27. data/lib/onesignal/api/default_api.rb +82 -55
  28. data/lib/onesignal/api_client.rb +9 -7
  29. data/lib/onesignal/api_error.rb +2 -2
  30. data/lib/onesignal/configuration.rb +6 -3
  31. data/lib/onesignal/models/app.rb +3 -2
  32. data/lib/onesignal/models/button.rb +3 -2
  33. data/lib/onesignal/models/delivery_data.rb +8 -2
  34. data/lib/onesignal/models/export_players_request_body.rb +3 -2
  35. data/lib/onesignal/models/filter.rb +3 -2
  36. data/lib/onesignal/models/filter_expressions.rb +3 -2
  37. data/lib/onesignal/models/filter_notification_target.rb +3 -2
  38. data/lib/onesignal/models/get_notification_request_body.rb +3 -2
  39. data/lib/onesignal/models/inline_response200.rb +4 -3
  40. data/lib/onesignal/models/inline_response2001.rb +4 -3
  41. data/lib/onesignal/models/inline_response2002.rb +4 -3
  42. data/lib/onesignal/models/inline_response2005.rb +19 -9
  43. data/lib/onesignal/models/{inline_response2003.rb → inline_response2007.rb} +7 -6
  44. data/lib/onesignal/models/{inline_response2004.rb → inline_response2008.rb} +13 -21
  45. data/lib/onesignal/models/inline_response201.rb +3 -2
  46. data/lib/onesignal/models/inline_response400.rb +3 -2
  47. data/lib/onesignal/models/inline_response4001.rb +3 -2
  48. data/lib/onesignal/models/inline_response4002.rb +20 -10
  49. data/lib/onesignal/models/{inline_response409.rb → inline_response4003.rb} +14 -22
  50. data/lib/onesignal/models/invalid_identifier_error.rb +234 -0
  51. data/lib/onesignal/models/notification.rb +39 -19
  52. data/lib/onesignal/models/notification200_errors.rb +105 -0
  53. data/lib/onesignal/models/notification_all_of.rb +38 -18
  54. data/lib/onesignal/models/notification_all_of_android_background_layout.rb +3 -2
  55. data/lib/onesignal/models/notification_slice.rb +4 -3
  56. data/lib/onesignal/models/notification_target.rb +4 -3
  57. data/lib/onesignal/models/notification_with_meta.rb +1526 -0
  58. data/lib/onesignal/models/notification_with_meta_all_of.rb +322 -0
  59. data/lib/onesignal/models/operator.rb +3 -2
  60. data/lib/onesignal/models/outcome_data.rb +3 -2
  61. data/lib/onesignal/models/outcomes_data.rb +221 -0
  62. data/lib/onesignal/models/platform_delivery_data.rb +3 -2
  63. data/lib/onesignal/models/player.rb +6 -8
  64. data/lib/onesignal/models/player_notification_target.rb +4 -3
  65. data/lib/onesignal/models/player_slice.rb +3 -2
  66. data/lib/onesignal/models/purchase.rb +3 -2
  67. data/lib/onesignal/models/segment.rb +3 -2
  68. data/lib/onesignal/models/segment_notification_target.rb +3 -2
  69. data/lib/onesignal/models/string_map.rb +3 -7
  70. data/lib/onesignal/models/update_player_tags_request_body.rb +3 -2
  71. data/lib/onesignal/version.rb +3 -3
  72. data/lib/{OneSignal.rb → onesignal.rb} +10 -5
  73. data/onesignal.gemspec +5 -4
  74. data/spec/api/default_api_spec.rb +20 -20
  75. data/spec/api_client_spec.rb +4 -4
  76. data/spec/configuration_spec.rb +2 -2
  77. data/spec/models/app_spec.rb +2 -2
  78. data/spec/models/button_spec.rb +2 -2
  79. data/spec/models/delivery_data_spec.rb +2 -2
  80. data/spec/models/export_players_request_body_spec.rb +2 -2
  81. data/spec/models/filter_expressions_spec.rb +2 -2
  82. data/spec/models/filter_notification_target_spec.rb +2 -2
  83. data/spec/models/filter_spec.rb +2 -2
  84. data/spec/models/get_notification_request_body_spec.rb +2 -2
  85. data/spec/models/inline_response2001_spec.rb +2 -2
  86. data/spec/models/inline_response2002_spec.rb +2 -2
  87. data/spec/models/inline_response2005_spec.rb +9 -3
  88. data/spec/models/{inline_response2003_spec.rb → inline_response2007_spec.rb} +8 -8
  89. data/spec/models/{inline_response409_spec.rb → inline_response2008_spec.rb} +9 -15
  90. data/spec/models/inline_response200_spec.rb +2 -2
  91. data/spec/models/inline_response201_spec.rb +2 -2
  92. data/spec/models/inline_response4001_spec.rb +2 -2
  93. data/spec/models/inline_response4002_spec.rb +9 -3
  94. data/spec/models/inline_response4003_spec.rb +34 -0
  95. data/spec/models/inline_response400_spec.rb +2 -2
  96. data/spec/models/{inline_response2004_spec.rb → invalid_identifier_error_spec.rb} +10 -10
  97. data/spec/models/notification200_errors_spec.rb +31 -0
  98. data/spec/models/notification_all_of_android_background_layout_spec.rb +2 -2
  99. data/spec/models/notification_all_of_spec.rb +3 -3
  100. data/spec/models/notification_slice_spec.rb +2 -2
  101. data/spec/models/notification_spec.rb +3 -3
  102. data/spec/models/notification_target_spec.rb +2 -2
  103. data/spec/models/notification_with_meta_all_of_spec.rb +94 -0
  104. data/spec/models/notification_with_meta_spec.rb +764 -0
  105. data/spec/models/operator_spec.rb +2 -2
  106. data/spec/models/outcome_data_spec.rb +2 -2
  107. data/spec/models/outcomes_data_spec.rb +34 -0
  108. data/spec/models/platform_delivery_data_spec.rb +2 -2
  109. data/spec/models/player_notification_target_spec.rb +2 -2
  110. data/spec/models/player_slice_spec.rb +2 -2
  111. data/spec/models/player_spec.rb +2 -2
  112. data/spec/models/purchase_spec.rb +2 -2
  113. data/spec/models/segment_notification_target_spec.rb +2 -2
  114. data/spec/models/segment_spec.rb +2 -2
  115. data/spec/models/string_map_spec.rb +2 -2
  116. data/spec/models/update_player_tags_request_body_spec.rb +2 -2
  117. data/spec/spec_helper.rb +2 -2
  118. metadata +51 -29
  119. data/docs/InlineResponse2004.md +0 -20
  120. data/docs/InlineResponse409.md +0 -20
  121. data/git_push.sh +0 -58
@@ -3,10 +3,10 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 1.0.0
6
+ The version of the OpenAPI document: 1.0.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 1.0.0
6
+ The version of the OpenAPI document: 1.0.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #OneSignal
3
+
4
+ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
+
6
+ The version of the OpenAPI document: 1.0.1
7
+ Contact: devrel@onesignal.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OneSignal::OutcomesData
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OneSignal::OutcomesData do
21
+ let(:instance) { OneSignal::OutcomesData.new }
22
+
23
+ describe 'test an instance of OutcomesData' do
24
+ it 'should create an instance of OutcomesData' do
25
+ expect(instance).to be_instance_of(OneSignal::OutcomesData)
26
+ end
27
+ end
28
+ describe 'test attribute "outcomes"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -3,10 +3,10 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 1.0.0
6
+ The version of the OpenAPI document: 1.0.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 1.0.0
6
+ The version of the OpenAPI document: 1.0.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 1.0.0
6
+ The version of the OpenAPI document: 1.0.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 1.0.0
6
+ The version of the OpenAPI document: 1.0.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 1.0.0
6
+ The version of the OpenAPI document: 1.0.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 1.0.0
6
+ The version of the OpenAPI document: 1.0.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 1.0.0
6
+ The version of the OpenAPI document: 1.0.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 1.0.0
6
+ The version of the OpenAPI document: 1.0.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 1.0.0
6
+ The version of the OpenAPI document: 1.0.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
data/spec/spec_helper.rb CHANGED
@@ -3,10 +3,10 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 1.0.0
6
+ The version of the OpenAPI document: 1.0.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onesignal
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta1
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OneSignal
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-13 00:00:00.000000000 Z
11
+ date: 2022-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -34,22 +34,22 @@ dependencies:
34
34
  name: rspec
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: 3.6.0
40
37
  - - "~>"
41
38
  - !ruby/object:Gem::Version
42
39
  version: '3.6'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 3.6.0
43
43
  type: :development
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: 3.6.0
50
47
  - - "~>"
51
48
  - !ruby/object:Gem::Version
52
49
  version: '3.6'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 3.6.0
53
53
  description: OneSignal
54
54
  email:
55
55
  - devrel@onesignal.com
@@ -57,8 +57,11 @@ executables: []
57
57
  extensions: []
58
58
  extra_rdoc_files: []
59
59
  files:
60
+ - CHANGELOG.md
60
61
  - Gemfile
62
+ - LICENSE
61
63
  - README.md
64
+ - RELEASE_INSTRUCTIONS.md
62
65
  - Rakefile
63
66
  - docs/App.md
64
67
  - docs/Button.md
@@ -72,21 +75,26 @@ files:
72
75
  - docs/InlineResponse200.md
73
76
  - docs/InlineResponse2001.md
74
77
  - docs/InlineResponse2002.md
75
- - docs/InlineResponse2003.md
76
- - docs/InlineResponse2004.md
77
78
  - docs/InlineResponse2005.md
79
+ - docs/InlineResponse2007.md
80
+ - docs/InlineResponse2008.md
78
81
  - docs/InlineResponse201.md
79
82
  - docs/InlineResponse400.md
80
83
  - docs/InlineResponse4001.md
81
84
  - docs/InlineResponse4002.md
82
- - docs/InlineResponse409.md
85
+ - docs/InlineResponse4003.md
86
+ - docs/InvalidIdentifierError.md
83
87
  - docs/Notification.md
88
+ - docs/Notification200Errors.md
84
89
  - docs/NotificationAllOf.md
85
90
  - docs/NotificationAllOfAndroidBackgroundLayout.md
86
91
  - docs/NotificationSlice.md
87
92
  - docs/NotificationTarget.md
93
+ - docs/NotificationWithMeta.md
94
+ - docs/NotificationWithMetaAllOf.md
88
95
  - docs/Operator.md
89
96
  - docs/OutcomeData.md
97
+ - docs/OutcomesData.md
90
98
  - docs/PlatformDeliveryData.md
91
99
  - docs/Player.md
92
100
  - docs/PlayerNotificationTarget.md
@@ -96,8 +104,7 @@ files:
96
104
  - docs/SegmentNotificationTarget.md
97
105
  - docs/StringMap.md
98
106
  - docs/UpdatePlayerTagsRequestBody.md
99
- - git_push.sh
100
- - lib/OneSignal.rb
107
+ - lib/onesignal.rb
101
108
  - lib/onesignal/api/default_api.rb
102
109
  - lib/onesignal/api_client.rb
103
110
  - lib/onesignal/api_error.rb
@@ -113,21 +120,26 @@ files:
113
120
  - lib/onesignal/models/inline_response200.rb
114
121
  - lib/onesignal/models/inline_response2001.rb
115
122
  - lib/onesignal/models/inline_response2002.rb
116
- - lib/onesignal/models/inline_response2003.rb
117
- - lib/onesignal/models/inline_response2004.rb
118
123
  - lib/onesignal/models/inline_response2005.rb
124
+ - lib/onesignal/models/inline_response2007.rb
125
+ - lib/onesignal/models/inline_response2008.rb
119
126
  - lib/onesignal/models/inline_response201.rb
120
127
  - lib/onesignal/models/inline_response400.rb
121
128
  - lib/onesignal/models/inline_response4001.rb
122
129
  - lib/onesignal/models/inline_response4002.rb
123
- - lib/onesignal/models/inline_response409.rb
130
+ - lib/onesignal/models/inline_response4003.rb
131
+ - lib/onesignal/models/invalid_identifier_error.rb
124
132
  - lib/onesignal/models/notification.rb
133
+ - lib/onesignal/models/notification200_errors.rb
125
134
  - lib/onesignal/models/notification_all_of.rb
126
135
  - lib/onesignal/models/notification_all_of_android_background_layout.rb
127
136
  - lib/onesignal/models/notification_slice.rb
128
137
  - lib/onesignal/models/notification_target.rb
138
+ - lib/onesignal/models/notification_with_meta.rb
139
+ - lib/onesignal/models/notification_with_meta_all_of.rb
129
140
  - lib/onesignal/models/operator.rb
130
141
  - lib/onesignal/models/outcome_data.rb
142
+ - lib/onesignal/models/outcomes_data.rb
131
143
  - lib/onesignal/models/platform_delivery_data.rb
132
144
  - lib/onesignal/models/player.rb
133
145
  - lib/onesignal/models/player_notification_target.rb
@@ -152,22 +164,27 @@ files:
152
164
  - spec/models/get_notification_request_body_spec.rb
153
165
  - spec/models/inline_response2001_spec.rb
154
166
  - spec/models/inline_response2002_spec.rb
155
- - spec/models/inline_response2003_spec.rb
156
- - spec/models/inline_response2004_spec.rb
157
167
  - spec/models/inline_response2005_spec.rb
168
+ - spec/models/inline_response2007_spec.rb
169
+ - spec/models/inline_response2008_spec.rb
158
170
  - spec/models/inline_response200_spec.rb
159
171
  - spec/models/inline_response201_spec.rb
160
172
  - spec/models/inline_response4001_spec.rb
161
173
  - spec/models/inline_response4002_spec.rb
174
+ - spec/models/inline_response4003_spec.rb
162
175
  - spec/models/inline_response400_spec.rb
163
- - spec/models/inline_response409_spec.rb
176
+ - spec/models/invalid_identifier_error_spec.rb
177
+ - spec/models/notification200_errors_spec.rb
164
178
  - spec/models/notification_all_of_android_background_layout_spec.rb
165
179
  - spec/models/notification_all_of_spec.rb
166
180
  - spec/models/notification_slice_spec.rb
167
181
  - spec/models/notification_spec.rb
168
182
  - spec/models/notification_target_spec.rb
183
+ - spec/models/notification_with_meta_all_of_spec.rb
184
+ - spec/models/notification_with_meta_spec.rb
169
185
  - spec/models/operator_spec.rb
170
186
  - spec/models/outcome_data_spec.rb
187
+ - spec/models/outcomes_data_spec.rb
171
188
  - spec/models/platform_delivery_data_spec.rb
172
189
  - spec/models/player_notification_target_spec.rb
173
190
  - spec/models/player_slice_spec.rb
@@ -180,9 +197,9 @@ files:
180
197
  - spec/spec_helper.rb
181
198
  homepage: https://onesignal.com/
182
199
  licenses:
183
- - MIT
200
+ - Modified MIT
184
201
  metadata: {}
185
- post_install_message:
202
+ post_install_message:
186
203
  rdoc_options: []
187
204
  require_paths:
188
205
  - lib
@@ -193,12 +210,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
193
210
  version: '2.4'
194
211
  required_rubygems_version: !ruby/object:Gem::Requirement
195
212
  requirements:
196
- - - ">"
213
+ - - ">="
197
214
  - !ruby/object:Gem::Version
198
- version: 1.3.1
215
+ version: '0'
199
216
  requirements: []
200
- rubygems_version: 3.0.3
201
- signing_key:
217
+ rubygems_version: 3.3.11
218
+ signing_key:
202
219
  specification_version: 4
203
220
  summary: OneSignal
204
221
  test_files:
@@ -213,7 +230,7 @@ test_files:
213
230
  - spec/models/update_player_tags_request_body_spec.rb
214
231
  - spec/models/segment_spec.rb
215
232
  - spec/models/delivery_data_spec.rb
216
- - spec/models/inline_response2003_spec.rb
233
+ - spec/models/inline_response2008_spec.rb
217
234
  - spec/models/segment_notification_target_spec.rb
218
235
  - spec/models/inline_response2001_spec.rb
219
236
  - spec/models/player_slice_spec.rb
@@ -228,16 +245,21 @@ test_files:
228
245
  - spec/models/operator_spec.rb
229
246
  - spec/models/inline_response2005_spec.rb
230
247
  - spec/models/export_players_request_body_spec.rb
231
- - spec/models/inline_response2004_spec.rb
248
+ - spec/models/notification_with_meta_spec.rb
232
249
  - spec/models/notification_slice_spec.rb
233
250
  - spec/models/notification_all_of_spec.rb
234
251
  - spec/models/purchase_spec.rb
235
252
  - spec/models/app_spec.rb
253
+ - spec/models/outcomes_data_spec.rb
254
+ - spec/models/notification200_errors_spec.rb
236
255
  - spec/models/inline_response4002_spec.rb
237
256
  - spec/models/inline_response200_spec.rb
238
257
  - spec/models/inline_response201_spec.rb
258
+ - spec/models/inline_response4003_spec.rb
259
+ - spec/models/invalid_identifier_error_spec.rb
260
+ - spec/models/notification_with_meta_all_of_spec.rb
239
261
  - spec/models/filter_spec.rb
240
262
  - spec/models/platform_delivery_data_spec.rb
241
- - spec/models/inline_response409_spec.rb
263
+ - spec/models/inline_response2007_spec.rb
242
264
  - spec/models/inline_response400_spec.rb
243
265
  - spec/spec_helper.rb
@@ -1,20 +0,0 @@
1
- # OneSignal::InlineResponse2004
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **success** | **Boolean** | | [optional] |
8
- | **id** | **String** | | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'onesignal'
14
-
15
- instance = OneSignal::InlineResponse2004.new(
16
- success: null,
17
- id: null
18
- )
19
- ```
20
-
@@ -1,20 +0,0 @@
1
- # OneSignal::InlineResponse409
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **success** | **Boolean** | | [optional] |
8
- | **errors** | **Array<String>** | | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'onesignal'
14
-
15
- instance = OneSignal::InlineResponse409.new(
16
- success: null,
17
- errors: null
18
- )
19
- ```
20
-
data/git_push.sh DELETED
@@ -1,58 +0,0 @@
1
- #!/bin/sh
2
- # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
3
- #
4
- # Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
5
-
6
- git_user_id=$1
7
- git_repo_id=$2
8
- release_note=$3
9
- git_host=$4
10
-
11
- if [ "$git_host" = "" ]; then
12
- git_host="github.com"
13
- echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14
- fi
15
-
16
- if [ "$git_user_id" = "" ]; then
17
- git_user_id="GIT_USER_ID"
18
- echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
19
- fi
20
-
21
- if [ "$git_repo_id" = "" ]; then
22
- git_repo_id="GIT_REPO_ID"
23
- echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
24
- fi
25
-
26
- if [ "$release_note" = "" ]; then
27
- release_note="Minor update"
28
- echo "[INFO] No command line input provided. Set \$release_note to $release_note"
29
- fi
30
-
31
- # Initialize the local directory as a Git repository
32
- git init
33
-
34
- # Adds the files in the local repository and stages them for commit.
35
- git add .
36
-
37
- # Commits the tracked changes and prepares them to be pushed to a remote repository.
38
- git commit -m "$release_note"
39
-
40
- # Sets the new remote
41
- git_remote=`git remote`
42
- if [ "$git_remote" = "" ]; then # git remote not defined
43
-
44
- if [ "$GIT_TOKEN" = "" ]; then
45
- echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
46
- git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
47
- else
48
- git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
49
- fi
50
-
51
- fi
52
-
53
- git pull origin master
54
-
55
- # Pushes (Forces) the changes in the local repository up to the remote repository
56
- echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
57
- git push origin master 2>&1 | grep -v 'To https'
58
-