lock-gemfile 0.1.1 → 0.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14155aab853d3946fb5cbf18290fdb08db7e6aecbbe992baa38da6d93629c337
4
- data.tar.gz: 6ee9e005217c49432abe248e39a6e6a5ed6f264a9b3248b5a85652790a74f2b9
3
+ metadata.gz: 3c282fbcb7bdf96c9a37602b8f20de2ec4b609e98a54703997362ba5b63cb1f6
4
+ data.tar.gz: ab2cb22571bf642738696ff6317c074916e9a42833100ec6b0e8ed9f4960eb7a
5
5
  SHA512:
6
- metadata.gz: c9b47a062cbe90da3a1f30239fca966932006230fd82f6eb50817a378f44c823c43a93ad1324b29b1e4190a44ff07256b3f9fd9ca45ecaba8d01369d186ec00b
7
- data.tar.gz: 231f17c91bf282fe7a4a21132817f626c82759682ec73aec38e020f74a71d7819c262f2bddecdd487345ec8d618e2c7ef3be7908c745f1b2d569eff8f5e2b443
6
+ metadata.gz: 34fc81f8da99f220b0b7dd86a84af0b920e8d7ea01c67ee68152771555eaf37f4f873e49088f57bf56490e8e29910fe495b4048a59f42bfd15eadd7d37438a55
7
+ data.tar.gz: 52d3c1f49d3257a952598b94153616b5d9714b1c1b37501ba8b6fa13110de46bd4c5d08717f96ba66f31f55643ab25a0e535408a12851e9d3d68ee1ae24882ec
data/bin/lock-gemfile CHANGED
@@ -26,7 +26,7 @@
26
26
  # Dependencies:
27
27
  # - parser - bundler - thor
28
28
 
29
- require "parser/current"
29
+ require "parser/ruby31"
30
30
  require "bundler"
31
31
  require "thor"
32
32
 
@@ -73,7 +73,7 @@ class GemfileUpdater < Thor
73
73
  buffer.source = gemfile_content
74
74
 
75
75
  # Create a new Ruby parser
76
- parser = Parser::CurrentRuby.new
76
+ parser = Parser::Ruby31.new
77
77
  # Parse the Gemfile content into an Abstract Syntax Tree (AST)
78
78
  ast = parser.parse(buffer)
79
79
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "parser/current"
3
+ require "parser/ruby31"
4
4
 
5
5
  module Lock
6
6
  module Gemfile
@@ -22,7 +22,7 @@ module Lock
22
22
  #
23
23
  # Example usage:
24
24
  #
25
- # parser = Parser::CurrentRuby.new ast = parser.parse(buffer)
25
+ # parser = Parser::Ruby31.new ast = parser.parse(buffer)
26
26
  #
27
27
  # rewriter = Lock::Gemfile::Rewriter.new rewriter.lockfile = {
28
28
  # "rails" => "6.1.0", "puma" => "5.0.4"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lock
4
4
  module Gemfile
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lock-gemfile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Durable Programming Team