Skip to content

Commit 37498f3

Browse files
authored
chore: upgrade to v1 (#2)
1 parent 6fe14e2 commit 37498f3

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

‎Gemfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
source 'https://rubygems.org'
22

3-
ruby '>= 2.7.0'
3+
ruby '>= 3.0.0'
44

55
# Add your gems here
66
gem 'rake', '~> 13.0'
7-
gem 'featurevisor', '~> 0.3.0'
7+
gem 'featurevisor', '~> 1.0'
88

99
group :development do
1010
gem 'rubocop', '~> 1.50'

‎Gemfile.lock‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ GEM
22
remote: https://rubygems.org/
33
specs:
44
ast (2.4.3)
5-
featurevisor (0.3.0)
5+
benchmark (0.5.0)
6+
featurevisor (1.0.0)
7+
benchmark
68
json (2.13.2)
79
language_server-protocol (3.17.0.5)
810
lint_roller (1.1.0)
@@ -39,7 +41,7 @@ PLATFORMS
3941
ruby
4042

4143
DEPENDENCIES
42-
featurevisor (~> 0.3.0)
44+
featurevisor (~> 1.0)
4345
rake (~> 13.0)
4446
rubocop (~> 1.50)
4547

‎app.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
datafile_content = JSON.parse(response, symbolize_names: true)
1313

1414
# Create Featurevisor instance
15-
f = Featurevisor.create_instance(
15+
f = Featurevisor.create_featurevisor(
1616
datafile: datafile_content,
1717
)
1818

0 commit comments

Comments
 (0)