mvz-live_ast 2.1.1 → 2.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: d2f6177411755421ed4f570258386498d1fb2f1e4215f63e29742047b81140b5
4
- data.tar.gz: 8b963f0d5b60cae5977e22c17e7acedff8fdcfeba9437fa0f5ed4c5b963e64ba
3
+ metadata.gz: 33748a6b01c44b3b88da1cc0aad7270f7e1fb7670c7f73999dc84f4d97b967df
4
+ data.tar.gz: b1754e7fb57d4b55cc02f286865dad014f672d7a62fd022c04a26024b122ecd5
5
5
  SHA512:
6
- metadata.gz: b6747a62bfcc46aa05ab45612b2b80831936f0b4bce3ba439f1ef0fe5468ddaaa09771e0c9b8f324c5e0ab49048dca50a13186a19c4016f8678b10ed87474841
7
- data.tar.gz: fbf59148663fe10cadfa3bb127c0c4df7c93349b662f72239dbaaf78691fb43e38a812ce9a9d7ea4607b21da4a923671985cb66b867011207401e0b9426adba2
6
+ metadata.gz: 8a100e55251ed50bd535e2055d8c363d07127a065ad4b993ef00e79229b63f3a8bfce4c616550274381487963280b04f4058f3fa42740767c99de8ce14622a4c
7
+ data.tar.gz: 53d0943b4aa6f226ad12ba95973ae2b070d356de7fd7a17fba495886a792368286483e58ec5391f84651534c7e81b14e8bd7a31963dbc4310fc579ff024b0791
data/CHANGES.rdoc CHANGED
@@ -1,5 +1,9 @@
1
1
  = live_ast Changes
2
2
 
3
+ == Version 2.1.2
4
+
5
+ * Raise informative acception for methods defined in the prelude
6
+
3
7
  == Version 2.1.1
4
8
 
5
9
  * Loosen dependency on ruby2ruby
data/README.rdoc CHANGED
@@ -80,7 +80,7 @@ sexps used by tools such as <code>ruby2ruby</code>.
80
80
 
81
81
  LiveAST is thread-safe.
82
82
 
83
- Ruby 2.3.0 or higher is required.
83
+ Ruby 2.6.0 or higher is required.
84
84
 
85
85
  == Links
86
86
 
@@ -384,7 +384,7 @@ assumed that the file is unmodified between the moment it is
384
384
  == License
385
385
 
386
386
  Copyright (c) 2011 James M. Lawrence. All rights reserved.
387
- Copyright (c) 2014 Matijs van Zuijlen. All rights reserved.
387
+ Copyright (c) 2014-2022 Matijs van Zuijlen. All rights reserved.
388
388
 
389
389
  Permission is hereby granted, free of charge, to any person
390
390
  obtaining a copy of this software and associated documentation files
@@ -73,6 +73,7 @@ module LiveAST
73
73
  def find_ast(*location)
74
74
  raise ASTNotFoundError unless location.size == 2
75
75
  raise RawEvalError if location.first == "(eval)"
76
+ raise ASTNotFoundError if location.first == "<internal:prelude>"
76
77
 
77
78
  ast = fetch_from_cache(*location)
78
79
  raise MultipleDefinitionsOnSameLineError if ast == :multiple
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LiveAST
4
- VERSION = "2.1.1"
4
+ VERSION = "2.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mvz-live_ast
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James M. Lawrence
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-10-14 00:00:00.000000000 Z
12
+ date: 2022-10-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ruby2ruby