mixpanel-ruby 3.1.0 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/.github/dependabot.yml +14 -0
  3. data/.github/modules.json +18 -0
  4. data/.github/scripts/generate-changelog.sh +87 -0
  5. data/.github/workflows/pr-title-check.yml +51 -0
  6. data/.github/workflows/prepare-release.yml +189 -0
  7. data/.github/workflows/release-rubygems.yml +217 -0
  8. data/CHANGELOG.md +39 -0
  9. data/Readme.rdoc +65 -0
  10. data/lib/mixpanel-ruby/consumer.rb +54 -6
  11. data/lib/mixpanel-ruby/credentials.rb +26 -0
  12. data/lib/mixpanel-ruby/events.rb +69 -11
  13. data/lib/mixpanel-ruby/flags/flags_provider.rb +57 -6
  14. data/lib/mixpanel-ruby/flags/local_flags_provider.rb +115 -27
  15. data/lib/mixpanel-ruby/flags/remote_flags_provider.rb +22 -7
  16. data/lib/mixpanel-ruby/flags/types.rb +88 -9
  17. data/lib/mixpanel-ruby/tracker.rb +39 -9
  18. data/lib/mixpanel-ruby/version.rb +1 -1
  19. data/lib/mixpanel-ruby.rb +1 -0
  20. data/openfeature-provider/CHANGELOG.md +5 -0
  21. data/openfeature-provider/README.md +30 -0
  22. data/openfeature-provider/lib/mixpanel/openfeature/provider.rb +30 -4
  23. data/openfeature-provider/lib/mixpanel/openfeature/version.rb +7 -0
  24. data/openfeature-provider/lib/mixpanel/openfeature.rb +1 -0
  25. data/openfeature-provider/mixpanel-ruby-openfeature.gemspec +3 -1
  26. data/openfeature-provider/spec/mixpanel_openfeature_provider_spec.rb +74 -3
  27. data/spec/mixpanel-ruby/consumer_spec.rb +81 -0
  28. data/spec/mixpanel-ruby/credentials_security_spec.rb +108 -0
  29. data/spec/mixpanel-ruby/credentials_spec.rb +54 -0
  30. data/spec/mixpanel-ruby/events_spec.rb +152 -0
  31. data/spec/mixpanel-ruby/flags/local_flags_spec.rb +430 -2
  32. data/spec/mixpanel-ruby/flags/remote_flags_spec.rb +104 -0
  33. data/spec/mixpanel-ruby/flags/types_spec.rb +55 -0
  34. data/spec/mixpanel-ruby/tracker_spec.rb +18 -0
  35. metadata +15 -2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mixpanel-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mixpanel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-04-09 00:00:00.000000000 Z
11
+ date: 2026-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mutex_m
@@ -170,9 +170,16 @@ executables: []
170
170
  extensions: []
171
171
  extra_rdoc_files: []
172
172
  files:
173
+ - ".github/dependabot.yml"
174
+ - ".github/modules.json"
175
+ - ".github/scripts/generate-changelog.sh"
176
+ - ".github/workflows/pr-title-check.yml"
177
+ - ".github/workflows/prepare-release.yml"
178
+ - ".github/workflows/release-rubygems.yml"
173
179
  - ".github/workflows/ruby.yml"
174
180
  - ".gitignore"
175
181
  - ".rspec"
182
+ - CHANGELOG.md
176
183
  - Gemfile
177
184
  - LICENSE
178
185
  - Rakefile
@@ -184,6 +191,7 @@ files:
184
191
  - demo/simple_messages.rb
185
192
  - lib/mixpanel-ruby.rb
186
193
  - lib/mixpanel-ruby/consumer.rb
194
+ - lib/mixpanel-ruby/credentials.rb
187
195
  - lib/mixpanel-ruby/error.rb
188
196
  - lib/mixpanel-ruby/events.rb
189
197
  - lib/mixpanel-ruby/flags/flags_provider.rb
@@ -196,19 +204,24 @@ files:
196
204
  - lib/mixpanel-ruby/tracker.rb
197
205
  - lib/mixpanel-ruby/version.rb
198
206
  - mixpanel-ruby.gemspec
207
+ - openfeature-provider/CHANGELOG.md
199
208
  - openfeature-provider/Gemfile
200
209
  - openfeature-provider/README.md
201
210
  - openfeature-provider/RELEASE.md
202
211
  - openfeature-provider/lib/mixpanel/openfeature.rb
203
212
  - openfeature-provider/lib/mixpanel/openfeature/provider.rb
213
+ - openfeature-provider/lib/mixpanel/openfeature/version.rb
204
214
  - openfeature-provider/mixpanel-ruby-openfeature.gemspec
205
215
  - openfeature-provider/spec/mixpanel_openfeature_provider_spec.rb
206
216
  - openfeature-provider/spec/spec_helper.rb
207
217
  - spec/mixpanel-ruby/consumer_spec.rb
218
+ - spec/mixpanel-ruby/credentials_security_spec.rb
219
+ - spec/mixpanel-ruby/credentials_spec.rb
208
220
  - spec/mixpanel-ruby/error_spec.rb
209
221
  - spec/mixpanel-ruby/events_spec.rb
210
222
  - spec/mixpanel-ruby/flags/local_flags_spec.rb
211
223
  - spec/mixpanel-ruby/flags/remote_flags_spec.rb
224
+ - spec/mixpanel-ruby/flags/types_spec.rb
212
225
  - spec/mixpanel-ruby/flags/utils_spec.rb
213
226
  - spec/mixpanel-ruby/groups_spec.rb
214
227
  - spec/mixpanel-ruby/people_spec.rb