avm-eac_ruby_base1 0.31.1 → 0.31.2

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: e7ae62e6c56b3147b5493e2a19b97f3cb63bd154ab23e4d99e9b0d6a547d869c
4
- data.tar.gz: 2f356b0212eb18e5446f7df71fb71bd926b23d95dae0871ef6a133f1505f05c2
3
+ metadata.gz: 8c120ab255f7d64dff133fd5e4047dcd927bb3b2a9af1eebc93c8e8c52559083
4
+ data.tar.gz: c2bdf9ff353dca9697ad09ba5100bcd7fcef42c8c42d21e0a0103e165f0ae90e
5
5
  SHA512:
6
- metadata.gz: 4eb7765d286489a78af0e7d9da4faa191c84ff1d3ae4384a8a6961186cc41570211fcac198730ea64c140cfb521d61de712e0235582000f9c27c5079e1e2db00
7
- data.tar.gz: b11b9eefca718ce69ff54a4c7dc6bd8ca530ddbdbab66cec902d7725566f26b785694fb64b2061d45824324f95bb2594977356d51e82b00b0e5ea3832348b27c
6
+ metadata.gz: 5361c12917431ecb63afcb004d4d98a375f27d9b687b86363a50fa54ff606e8aeb546e57323c2c8445409ba44dc50869ef1858be56b9de3c9d2ecf88ba091c83
7
+ data.tar.gz: aaa73983e8e33fcf78bbd694a5fb8726149bc2b007bfd3bacc99bace00667754574fdf21522e3cdd73ba455743d2cd409607b4550be3d752375d0238ea95a8cf
@@ -56,6 +56,10 @@ module Avm
56
56
  current_gem_conflict.add_depends_on(result)
57
57
  end
58
58
 
59
+ def on_ruby_requirement_line(result)
60
+ # Do nothing
61
+ end
62
+
59
63
  def on_version_requirement_line(result)
60
64
  current_gem_conflict.add_version_requirement(result)
61
65
  end
@@ -4,13 +4,15 @@ require 'eac_ruby_utils/core_ext'
4
4
  require 'avm/eac_ruby_base1/bundler/incompatible_parser/depends_on'
5
5
  require 'avm/eac_ruby_base1/bundler/incompatible_parser/gem_conflict'
6
6
  require 'avm/eac_ruby_base1/bundler/incompatible_parser/in_gemfile'
7
+ require 'avm/eac_ruby_base1/bundler/incompatible_parser/ruby_requirement'
8
+ require 'avm/eac_ruby_base1/bundler/incompatible_parser/version_requirement'
7
9
 
8
10
  module Avm
9
11
  module EacRubyBase1
10
12
  module Bundler
11
13
  class IncompatibleParser
12
14
  class LineFactory
13
- TYPES = [GemConflict, InGemfile, DependsOn, VersionRequirement].freeze
15
+ TYPES = [GemConflict, InGemfile, DependsOn, RubyRequirement, VersionRequirement].freeze
14
16
 
15
17
  enable_simple_cache
16
18
  common_constructor :content do
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/core_ext'
4
+ require 'avm/eac_ruby_base1/bundler/incompatible_parser/line_parser_base'
5
+
6
+ module Avm
7
+ module EacRubyBase1
8
+ module Bundler
9
+ class IncompatibleParser
10
+ class RubyRequirement < ::Avm::EacRubyBase1::Bundler::IncompatibleParser::LineParserBase
11
+ LINE_PARSER = /\Aruby/.to_parser { |_m| new }
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRubyBase1
5
- VERSION = '0.31.1'
5
+ VERSION = '0.31.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm-eac_ruby_base1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.1
4
+ version: 0.31.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Put here the authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-19 00:00:00.000000000 Z
11
+ date: 2023-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -59,6 +59,9 @@ dependencies:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0.4'
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 0.4.1
62
65
  type: :runtime
63
66
  prerelease: false
64
67
  version_requirements: !ruby/object:Gem::Requirement
@@ -66,6 +69,9 @@ dependencies:
66
69
  - - "~>"
67
70
  - !ruby/object:Gem::Version
68
71
  version: '0.4'
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 0.4.1
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: eac_ruby_utils
71
77
  requirement: !ruby/object:Gem::Requirement
@@ -138,6 +144,7 @@ files:
138
144
  - lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_buffer.rb
139
145
  - lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_factory.rb
140
146
  - lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_parser_base.rb
147
+ - lib/avm/eac_ruby_base1/bundler/incompatible_parser/ruby_requirement.rb
141
148
  - lib/avm/eac_ruby_base1/bundler/incompatible_parser/version_requirement.rb
142
149
  - lib/avm/eac_ruby_base1/file_formats.rb
143
150
  - lib/avm/eac_ruby_base1/file_formats/base.rb