statsig 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/network.rb +0 -3
  3. data/lib/statsig_driver.rb +0 -3
  4. metadata +5 -71
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60035280630edb2172623545efa323cc6b3ec0374b8ebc99ba7f28312a227b21
4
- data.tar.gz: af799a2649633d8cc364d6e69fed72f3a30ff96673212d348f20b5fa0ef83f30
3
+ metadata.gz: 70bbcda306d1d63cf7dab04cbc8a3740d2a8c0c7dd963fffd2d3c8e34848c94f
4
+ data.tar.gz: 8c9a774dd16ffd5764876820caa8162c06f63972686770b2e1a24ce3fd13ba3a
5
5
  SHA512:
6
- metadata.gz: f69cf4534af68927136ec9d9bf1900ea206e3c86c7bdcdd294e03c0109071449adc44db0d5026f98cae2ff281985022e19ddb6e9a8cc9a275c0f53513c292e0a
7
- data.tar.gz: 39269a606a0291a83c5f486535b7a075ccde3a82a50436598aed93732cd95b27c765220c56de6b50e1e515f7346ec107081dc71ea23be2ee83e33a3e88b745eb
6
+ metadata.gz: b010afc9ba17e2740d90f0be764fd25b047f28a36dc65859e8e28f4f04c5893fae105bf9262a0d68cd765dc331d4efd9703321c5f3a2e4201cee44c072dc23f9
7
+ data.tar.gz: 3b49722a5911f3e1f36ac6226a405bba1b2764c74663f8955c70d346572ccf6eeca61ff8d7dda588dc5e5108505fb5d7923dbf98723fa7e62c57fa580580a83e
data/lib/network.rb CHANGED
@@ -1,11 +1,8 @@
1
- require 'concurrent'
2
1
  require 'http'
3
2
  require 'json'
4
3
  require 'dynamic_config'
5
4
 
6
5
  class Network
7
- include Concurrent::Async
8
-
9
6
  def initialize(server_secret, api)
10
7
  super()
11
8
  unless api.end_with?('/')
@@ -1,4 +1,3 @@
1
- require 'concurrent'
2
1
  require 'config_result'
3
2
  require 'evaluator'
4
3
  require 'network'
@@ -8,8 +7,6 @@ require 'statsig_user'
8
7
  require 'spec_store'
9
8
 
10
9
  class StatsigDriver
11
- include Concurrent::Async
12
-
13
10
  def initialize(secret_key)
14
11
  super()
15
12
  if !secret_key.is_a?(String) || !secret_key.start_with?('secret-')
metadata CHANGED
@@ -1,75 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statsig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Statsig, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-01 00:00:00.000000000 Z
11
+ date: 2021-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: concurrent-ruby
14
+ name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.1'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 1.1.0
23
- type: :development
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '1.1'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 1.1.0
33
- - !ruby/object:Gem::Dependency
34
- name: http
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '4.4'
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: 4.4.1
19
+ version: '2.1'
43
20
  type: :development
44
21
  prerelease: false
45
22
  version_requirements: !ruby/object:Gem::Requirement
46
23
  requirements:
47
24
  - - "~>"
48
25
  - !ruby/object:Gem::Version
49
- version: '4.4'
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: 4.4.1
53
- - !ruby/object:Gem::Dependency
54
- name: browser
55
- requirement: !ruby/object:Gem::Requirement
56
- requirements:
57
- - - "~>"
58
- - !ruby/object:Gem::Version
59
- version: '5.3'
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- version: 5.3.1
63
- type: :development
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '5.3'
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- version: 5.3.1
26
+ version: '2.1'
73
27
  - !ruby/object:Gem::Dependency
74
28
  name: browser
75
29
  requirement: !ruby/object:Gem::Requirement
@@ -90,26 +44,6 @@ dependencies:
90
44
  - - ">="
91
45
  - !ruby/object:Gem::Version
92
46
  version: 5.3.1
93
- - !ruby/object:Gem::Dependency
94
- name: concurrent-ruby
95
- requirement: !ruby/object:Gem::Requirement
96
- requirements:
97
- - - "~>"
98
- - !ruby/object:Gem::Version
99
- version: '1.1'
100
- - - ">="
101
- - !ruby/object:Gem::Version
102
- version: 1.1.0
103
- type: :runtime
104
- prerelease: false
105
- version_requirements: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: '1.1'
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- version: 1.1.0
113
47
  - !ruby/object:Gem::Dependency
114
48
  name: http
115
49
  requirement: !ruby/object:Gem::Requirement