dissociated_introspection 0.9.0 → 0.9.1

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
  SHA1:
3
- metadata.gz: d67a6f03dddec1841a73faf3719a24d8d4e83c94
4
- data.tar.gz: f675c151f1955daf206dc6b2ac078ff6ccd2dce8
3
+ metadata.gz: 943e04bc256389529fa5d43a1e0cba4fbb8a1451
4
+ data.tar.gz: 6651fde5dde7b492b0adc926d96f5b1be689d0db
5
5
  SHA512:
6
- metadata.gz: cf46c36295438e615cdce18499f652e0d4175f0abd8cf9f8e79bef82d24e9fa0fa76015be53a72180e65a3fb6bd1bdbaeaeed2063f2bab30caca2a9bf0d67771
7
- data.tar.gz: 37edd662fac563a6bb93b77e8c04981d207bf5066dfcb9555e6e14f3687c6cf78c29e21162c0d63e85cd01dccfc48cb83f03c513a71fb507db04211c72f0bb6e
6
+ metadata.gz: b4ab2267f0cccdcd2e8b6512f5ca6f33b85a4bf4cc0842b2b380b9dc2ce23741de14276cf2b205aaac312b1388ffc3e4a450f97d0a9d3852738223370195770d
7
+ data.tar.gz: 1e22d5ec0bb0b2a23eb690c61bfdde2a4b0299b441e947a8929a3d72183db59a68f2dc03aa0c9832e0e260bfa9a6024c59f4cb7aa4066b7a3da15aaf5ea6b0f1
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
+
4
+ ## 0.9.1 - 2018-01-16
5
+ ### Fix
6
+ - `DissociatedIntrospection::RubyClass#class_begin` added back to public API
7
+
3
8
  ## 0.9.0 - 2018-01-16
4
9
  ### Enhancement
5
10
  - `DissociatedIntrospection::RubyClass#defined_nested_modules` and #defined_nested_classes returns an array of `RubyCode`.
@@ -135,12 +135,13 @@ module DissociatedIntrospection
135
135
  end
136
136
  end
137
137
 
138
- private
139
-
138
+ # @return [AST]
140
139
  def class_begin
141
140
  find_class.children.find { |n| n.try(:type) == :begin } || find_class
142
141
  end
143
142
 
143
+ private
144
+
144
145
  def create_def(n)
145
146
  def_comments = comments.select do |comment|
146
147
  comment.location.last_line+1 == n.location.first_line
@@ -1,3 +1,3 @@
1
1
  module DissociatedIntrospection
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dissociated_introspection
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Zeisler