vanity 4.0.2 → 4.0.4

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
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea9d4e9d211abdf50a36e8d8bd1ede2d826b4d556ae52ef7537ee8f86cf3e0e8
4
- data.tar.gz: 583ba00d677b13d9c27f0e5556f238f99b197614ada1a5fa3d68d1822fb1edca
3
+ metadata.gz: a8f83fefb96f513266dcaeee34962d45439558e85637dccb59ef302cc335c5c0
4
+ data.tar.gz: 99981677b5954bad074d0697becca6fac12ce8a8b173332b57959139c96347ff
5
5
  SHA512:
6
- metadata.gz: 679b3b9e5f5271b96bf57e7275edbcdd59765c0ccf80be786a71f8bfcf091dfb2d820eee1a6e3b4105ee49c462aed87ac4278f0146d5791f1923a3ecbf527ae6
7
- data.tar.gz: 1a905082e51bfe15294333e43bd18b55c2c22926194b22ac7c03f74902578fcc5865c82b2cd0580d10dae0d42b3c4e7edf50a024ed996a5d846a1afe1f5b27f8
6
+ metadata.gz: 06daf89c8bfc1cea5eccd77de8c12e42114823327ec25a6822ae3991f9b3e65d034a6e7e6bc4c5468c1ee5d256f73024d9eae402c05114ae2f9e3e9b746a5797
7
+ data.tar.gz: 8c103681a559c7270d763959fed1b0efa67ed524407d8af375bdda8572e3468070dede88639f4452bd3acf9b1721f1362c46db49460f62adb265e66cecdb958a
@@ -1,6 +1,11 @@
1
1
  name: Linting
2
2
 
3
- on: [push, pull_request]
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ branches: '*'
4
9
 
5
10
  jobs:
6
11
  build:
@@ -24,6 +24,9 @@ jobs:
24
24
  matrix:
25
25
  ruby:
26
26
  - 2.5
27
+ - 2.6
28
+ - 2.7
29
+ - "3.0"
27
30
  # - jruby-9.2.20.1
28
31
  db:
29
32
  - mongodb
@@ -33,6 +36,9 @@ jobs:
33
36
  - gemfiles/rails52.gemfile
34
37
  - gemfiles/rails60.gemfile
35
38
  - gemfiles/rails61.gemfile
39
+ exclude:
40
+ - ruby: "3.0"
41
+ gemfile: gemfiles/rails52.gemfile
36
42
 
37
43
  env:
38
44
  DB: ${{ matrix.db }}
@@ -40,11 +46,11 @@ jobs:
40
46
  steps:
41
47
  - name: Checkout code
42
48
  uses: actions/checkout@v2
43
-
44
49
  - name: Set up Ruby
45
50
  uses: ruby/setup-ruby@v1
46
51
  with:
47
52
  ruby-version: ${{ matrix.ruby }}
53
+ rubygems: latest
48
54
  bundler-cache: true
49
55
  - name: Info
50
56
  run: bundle env
data/Appraisals CHANGED
@@ -1,20 +1,20 @@
1
1
  appraise "rails52" do
2
2
  gem "mocha", "~> 1.0", require: false
3
- gem "rails", "~>5.2.0"
3
+ gem "rails", "~> 5.2.0"
4
4
  gem "fastthread", github: "zoltankiss/fastthread", platforms: :mri_20
5
5
  gem "passenger"
6
6
  end
7
7
 
8
8
  appraise "rails60" do
9
9
  gem "mocha", "~> 1.0", require: false
10
- gem "rails", "~>5.2.0"
10
+ gem "rails", "~> 6.0.0"
11
11
  gem "fastthread", github: "zoltankiss/fastthread", platforms: :mri_20
12
12
  gem "passenger"
13
13
  end
14
14
 
15
15
  appraise "rails61" do
16
16
  gem "mocha", "~> 1.0", require: false
17
- gem "rails", "~>5.2.0"
17
+ gem "rails", "~> 6.1.0"
18
18
  gem "fastthread", github: "zoltankiss/fastthread", platforms: :mri_20
19
19
  gem "passenger"
20
20
  end
data/CHANGELOG CHANGED
@@ -1,5 +1,13 @@
1
1
  CHANGELOG
2
2
 
3
+ == 4.0.4 (2022-11-28)
4
+
5
+ * Support Psych 4 safe_load (@mcg)
6
+
7
+ == 4.0.3 (2022-07-27)
8
+
9
+ * Fix Vanity::Rails::Helpers#vanity_js for Rails 6 (@ariel-codes)
10
+
3
11
  == 4.0.2 (2022-03-03)
4
12
 
5
13
  * Use Redis#exists? and fallback to #exists which could be either boolean or integer in recent redis gem versions (@bsedin)
data/Gemfile CHANGED
@@ -22,7 +22,7 @@ gem "garb", "< 0.9.2", require: false # API changes at this version
22
22
 
23
23
  platform :ruby do
24
24
  gem "jekyll", "~> 2.5.3"
25
- gem "sqlite3", "~> 1.3.10"
25
+ gem "sqlite3", "~> 1.4.0"
26
26
  end
27
27
 
28
28
  platform :jruby do
@@ -35,7 +35,8 @@ group :development do
35
35
  gem "RedCloth"
36
36
  gem "yard"
37
37
 
38
- gem "rubocop"
38
+ gem "rubocop", "~> 1.25.1" # Lock for Ruby 2.5
39
+ gem "rubocop-ast", "~> 1.15.2" # Lock for Ruby 2.5
39
40
  gem "rubocop-performance"
40
41
  gem "rubocop-rspec"
41
42
  end
data/Gemfile.lock CHANGED
@@ -1,19 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vanity (4.0.2)
4
+ vanity (4.0.4)
5
5
  i18n
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- RedCloth (4.2.9)
11
- RedCloth (4.2.9-java)
12
- activerecord (2.3.14)
13
- activesupport (= 2.3.14)
10
+ RedCloth (4.3.2)
11
+ activerecord (3.2.14)
14
12
  activerecord-jdbc-adapter (1.3.15)
15
13
  activerecord (>= 2.2)
16
- activesupport (2.3.14)
14
+ activesupport (3.1.12)
15
+ multi_json (~> 1.0)
17
16
  addressable (2.2.7)
18
17
  appraisal (2.4.1)
19
18
  bundler
@@ -44,7 +43,7 @@ GEM
44
43
  activesupport (>= 2.2.0)
45
44
  crack (>= 0.1.6)
46
45
  hitimes (1.2.2)
47
- i18n (1.10.0)
46
+ i18n (1.12.0)
48
47
  concurrent-ruby (~> 1.0)
49
48
  integration (0.1.0)
50
49
  jdbc-sqlite3 (3.8.7)
@@ -82,8 +81,9 @@ GEM
82
81
  minitest (4.7.5)
83
82
  mongo (2.2.3)
84
83
  bson (~> 4.0)
85
- parallel (1.21.0)
86
- parser (3.1.0.0)
84
+ multi_json (1.15.0)
85
+ parallel (1.22.1)
86
+ parser (3.1.2.0)
87
87
  ast (~> 2.4.1)
88
88
  parslet (1.5.0)
89
89
  blankslate (~> 2.0)
@@ -100,7 +100,7 @@ GEM
100
100
  pygments.rb (0.6.3)
101
101
  posix-spawn (~> 0.3.6)
102
102
  yajl-ruby (~> 1.2.0)
103
- rack (1.1.3)
103
+ rack (2.2.3.1)
104
104
  rainbow (3.1.1)
105
105
  rake (13.0.6)
106
106
  rb-fsevent (0.9.4)
@@ -110,7 +110,7 @@ GEM
110
110
  redis (4.6.0)
111
111
  redis-namespace (1.8.2)
112
112
  redis (>= 3.0.4)
113
- regexp_parser (2.2.1)
113
+ regexp_parser (2.5.0)
114
114
  rexml (3.2.5)
115
115
  rubocop (1.25.1)
116
116
  parallel (~> 1.10)
@@ -135,19 +135,21 @@ GEM
135
135
  slop (3.6.0)
136
136
  spoon (0.0.6)
137
137
  ffi
138
- sqlite3 (1.3.10)
138
+ sqlite3 (1.4.4)
139
139
  thor (1.2.1)
140
140
  timecop (0.3.5)
141
141
  timers (4.0.1)
142
142
  hitimes
143
143
  toml (0.1.2)
144
144
  parslet (~> 1.5.0)
145
- unicode-display_width (2.1.0)
145
+ unicode-display_width (2.2.0)
146
146
  webmock (1.8.0)
147
147
  addressable (>= 2.2.7)
148
148
  crack (>= 0.1.7)
149
+ webrick (1.7.0)
149
150
  yajl-ruby (1.2.3)
150
- yard (0.9.16)
151
+ yard (0.9.27)
152
+ webrick (~> 1.7.0)
151
153
 
152
154
  PLATFORMS
153
155
  java
@@ -170,15 +172,16 @@ DEPENDENCIES
170
172
  rake
171
173
  redis (>= 3.2.1)
172
174
  redis-namespace (>= 1.1.0)
173
- rubocop
175
+ rubocop (~> 1.25.1)
176
+ rubocop-ast (~> 1.15.2)
174
177
  rubocop-performance
175
178
  rubocop-rspec
176
179
  rubystats (>= 0.2.5)
177
- sqlite3 (~> 1.3.10)
180
+ sqlite3 (~> 1.4.0)
178
181
  timecop
179
182
  vanity!
180
183
  webmock
181
184
  yard
182
185
 
183
186
  BUNDLED WITH
184
- 1.17.3
187
+ 2.3.26
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Vanity
2
- [![Test Status](https://github.com/assaf/vanity/workflows/Test/badge.svg)](https://github.com/assaf/vanity/actions)
3
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/vanity.svg)](https://rubygems.org/gems/vanity)
4
+ [![Test Status](https://github.com/assaf/vanity/workflows/Test/badge.svg)](https://github.com/assaf/vanity/actions)
5
+ [![Ruby Toolbox](https://img.shields.io/badge/dynamic/json?color=blue&label=Ruby%20Toolbox&query=%24.projects%5B0%5D.score&url=https%3A%2F%2Fwww.ruby-toolbox.com%2Fapi%2Fprojects%2Fcompare%2Fvanity&logo=data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgZm9jdXNhYmxlPSJmYWxzZSIgZGF0YS1wcmVmaXg9ImZhcyIgZGF0YS1pY29uPSJmbGFzayIgY2xhc3M9InN2Zy1pbmxpbmUtLWZhIGZhLWZsYXNrIGZhLXctMTQiIHJvbGU9ImltZyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNDQ4IDUxMiI+PHBhdGggZmlsbD0id2hpdGUiIGQ9Ik00MzcuMiA0MDMuNUwzMjAgMjE1VjY0aDhjMTMuMyAwIDI0LTEwLjcgMjQtMjRWMjRjMC0xMy4zLTEwLjctMjQtMjQtMjRIMTIwYy0xMy4zIDAtMjQgMTAuNy0yNCAyNHYxNmMwIDEzLjMgMTAuNyAyNCAyNCAyNGg4djE1MUwxMC44IDQwMy41Qy0xOC41IDQ1MC42IDE1LjMgNTEyIDcwLjkgNTEyaDMwNi4yYzU1LjcgMCA4OS40LTYxLjUgNjAuMS0xMDguNXpNMTM3LjkgMzIwbDQ4LjItNzcuNmMzLjctNS4yIDUuOC0xMS42IDUuOC0xOC40VjY0aDY0djE2MGMwIDYuOSAyLjIgMTMuMiA1LjggMTguNGw0OC4yIDc3LjZoLTE3MnoiPjwvcGF0aD48L3N2Zz4=)](https://www.ruby-toolbox.com/projects/vanity)
4
6
 
5
7
  Vanity is an A/B testing framework for Rails that is datastore agnostic.
6
8
 
@@ -10,7 +10,7 @@ gem "integration", "<= 0.1.0"
10
10
  gem "rubystats", ">= 0.2.5"
11
11
  gem "garb", "< 0.9.2", require: false
12
12
  gem "mocha", "~> 1.0", require: false
13
- gem "rails", "~>5.2.0"
13
+ gem "rails", "~> 5.2.0"
14
14
  gem "fastthread", platforms: :mri_20, git: "https://github.com/zoltankiss/fastthread.git"
15
15
  gem "passenger"
16
16
 
@@ -18,14 +18,15 @@ group :development do
18
18
  gem "rake"
19
19
  gem "RedCloth"
20
20
  gem "yard"
21
- gem "rubocop"
21
+ gem "rubocop", "~> 1.25.1"
22
+ gem "rubocop-ast", "~> 1.15.2"
22
23
  gem "rubocop-performance"
23
24
  gem "rubocop-rspec"
24
25
  end
25
26
 
26
27
  platforms :ruby do
27
28
  gem "jekyll", "~> 2.5.3"
28
- gem "sqlite3", "~> 1.3.10"
29
+ gem "sqlite3", "~> 1.4.0"
29
30
  end
30
31
 
31
32
  platforms :jruby do