sourcify 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.infinity_test +32 -0
- data/HISTORY.txt +12 -0
- data/README.rdoc +69 -30
- data/Rakefile +2 -3
- data/VERSION +1 -1
- data/lib/sourcify.rb +2 -2
- data/lib/sourcify/proc.rb +144 -65
- data/lib/sourcify/proc/methods.rb +3 -0
- data/lib/sourcify/proc/methods/source_location.rb +61 -0
- data/lib/sourcify/proc/methods/to_sexp.rb +40 -0
- data/lib/sourcify/proc/methods/to_source.rb +48 -0
- data/lib/sourcify/proc/parser.rb +36 -17
- data/lib/sourcify/proc/scanner.rb +317 -271
- data/lib/sourcify/proc/scanner.rl +13 -2
- data/lib/sourcify/proc/scanner/extensions.rb +34 -10
- data/sourcify.gemspec +36 -6
- data/spec/proc/created_on_the_fly_proc_spec.rb +1 -1
- data/spec/proc/others_spec.rb +6 -2
- data/spec/proc/spec_helper.rb +1 -0
- data/spec/proc/to_sexp_from_multi_blocks_w_specified_attached_to_spec.rb +46 -0
- data/spec/proc/to_sexp_variables_spec.rb +1 -1
- data/spec/proc/to_sexp_w_specified_strip_enclosure_spec.rb +60 -0
- data/spec/proc/to_sexp_within_irb_spec.rb +1 -1
- data/spec/proc/to_source_from_braced_block_w_nested_braced_block_spec.rb +1 -1
- data/spec/proc/to_source_from_braced_block_w_nested_hash_spec.rb +2 -2
- data/spec/proc/to_source_from_braced_block_wo_nesting_complication_spec.rb +1 -1
- data/spec/proc/to_source_from_do_end_block_w_nested_begin_spec.rb +1 -1
- data/spec/proc/to_source_from_do_end_block_w_nested_case_spec.rb +1 -1
- data/spec/proc/to_source_from_do_end_block_w_nested_class_spec.rb +1 -1
- data/spec/proc/to_source_from_do_end_block_w_nested_do_end_block_spec.rb +1 -1
- data/spec/proc/to_source_from_do_end_block_w_nested_for_spec.rb +1 -1
- data/spec/proc/to_source_from_do_end_block_w_nested_if_spec.rb +1 -1
- data/spec/proc/to_source_from_do_end_block_w_nested_literal_keyword_spec.rb +1 -1
- data/spec/proc/to_source_from_do_end_block_w_nested_method_spec.rb +1 -1
- data/spec/proc/to_source_from_do_end_block_w_nested_module_spec.rb +1 -1
- data/spec/proc/to_source_from_do_end_block_w_nested_unless_spec.rb +1 -1
- data/spec/proc/to_source_from_do_end_block_w_nested_until_spec.rb +1 -1
- data/spec/proc/to_source_from_do_end_block_w_nested_while_spec.rb +1 -1
- data/spec/proc/to_source_from_do_end_block_wo_nesting_complication_spec.rb +1 -1
- data/spec/proc/to_source_from_multi_blocks_w_many_matches_spec.rb +20 -126
- data/spec/proc/to_source_from_multi_blocks_w_single_match_spec.rb +10 -89
- data/spec/proc/to_source_from_multi_blocks_w_specified_attached_to_and_many_matches_spec.rb +45 -0
- data/spec/proc/to_source_from_multi_blocks_w_specified_attached_to_and_no_match_spec.rb +45 -0
- data/spec/proc/to_source_from_multi_blocks_w_specified_attached_to_and_single_match_spec.rb +22 -0
- data/spec/proc/to_source_from_multi_blocks_w_specified_attached_to_spec.rb +83 -0
- data/spec/proc/to_source_from_multi_blocks_w_specified_body_matcher_and_many_matches_spec.rb +45 -0
- data/spec/proc/to_source_from_multi_blocks_w_specified_body_matcher_and_no_match_spec.rb +45 -0
- data/spec/proc/to_source_from_multi_blocks_w_specified_body_matcher_and_single_match_spec.rb +22 -0
- data/spec/proc/to_source_from_multi_blocks_w_specified_ignore_nested_spec.rb +43 -0
- data/spec/proc/to_source_from_multi_do_end_blocks_w_single_match_spec.rb +1 -1
- data/spec/proc/to_source_magic_file_var_spec.rb +1 -1
- data/spec/proc/to_source_magic_line_var_spec.rb +1 -1
- data/spec/proc/to_source_variables_spec.rb +1 -1
- data/spec/proc/to_source_w_specified_strip_enclosure_spec.rb +33 -0
- data/spec/proc/to_source_within_irb_spec.rb +1 -1
- data/spec/proc_scanner/block_comment_spec.rb +1 -1
- data/spec/proc_scanner/double_colons_spec.rb +1 -1
- data/spec/proc_scanner/double_quote_str_w_interpolation_spec.rb +9 -9
- data/spec/proc_scanner/double_quote_str_wo_interpolation_spec.rb +13 -13
- data/spec/proc_scanner/heredoc_spec.rb +1 -1
- data/spec/proc_scanner/kw_do_alias1_spec.rb +1 -1
- data/spec/proc_scanner/kw_do_alias2_spec.rb +1 -1
- data/spec/proc_scanner/per_line_comment_spec.rb +1 -1
- data/spec/proc_scanner/single_quote_str_spec.rb +1 -1
- data/spec/proc_scanner/slash_operator_spec.rb +75 -0
- data/spec/proc_scanner/spec_helper.rb +1 -1
- data/spec/spec_helper.rb +53 -45
- metadata +46 -16
- data/ext/sourcify/extconf.rb +0 -2
@@ -0,0 +1,75 @@
|
|
1
|
+
require File.join(File.expand_path(File.dirname(__FILE__)), 'spec_helper')
|
2
|
+
|
3
|
+
unless has_parsetree?
|
4
|
+
describe "Shash operator" do
|
5
|
+
|
6
|
+
should 'handle w preceding variable' do
|
7
|
+
process(%Q(a / b)).should.include([:op, '/'])
|
8
|
+
end
|
9
|
+
|
10
|
+
should 'handle w preceding constant' do
|
11
|
+
process(%Q(A / b)).should.include([:op, '/'])
|
12
|
+
end
|
13
|
+
|
14
|
+
should 'handle w preceding symbol' do
|
15
|
+
process(%Q(:a / b)).should.include([:op, '/'])
|
16
|
+
end
|
17
|
+
|
18
|
+
should 'handle w preceding digit' do
|
19
|
+
process(%Q(0 / b)).should.include([:op, '/'])
|
20
|
+
end
|
21
|
+
|
22
|
+
should 'handle w preceding a~f' do
|
23
|
+
process(%Q(0xa / b)).should.include([:op, '/'])
|
24
|
+
process(%Q(0xb / b)).should.include([:op, '/'])
|
25
|
+
process(%Q(0xc / b)).should.include([:op, '/'])
|
26
|
+
process(%Q(0xd / b)).should.include([:op, '/'])
|
27
|
+
process(%Q(0xe / b)).should.include([:op, '/'])
|
28
|
+
process(%Q(0xf / b)).should.include([:op, '/'])
|
29
|
+
end
|
30
|
+
|
31
|
+
should 'handle w preceding dstring' do
|
32
|
+
process(%Q("a" / b)).should.include([:op, '/'])
|
33
|
+
end
|
34
|
+
|
35
|
+
should 'handle w preceding sstring' do
|
36
|
+
process(%Q('a' / b)).should.include([:op, '/'])
|
37
|
+
end
|
38
|
+
|
39
|
+
should "handle w preceding ')' char" do
|
40
|
+
process(%Q{) / b}).should.include([:op, '/'])
|
41
|
+
|
42
|
+
end
|
43
|
+
|
44
|
+
should "handle w preceding ']' char" do
|
45
|
+
process(%Q(] / b)).should.include([:op, '/'])
|
46
|
+
end
|
47
|
+
|
48
|
+
should "handle w preceding '}' char" do
|
49
|
+
process(%Q(} / b)).should.include([:op, '/'])
|
50
|
+
end
|
51
|
+
|
52
|
+
should "not handle w preceding newline" do
|
53
|
+
process(%Q(
|
54
|
+
/ b /
|
55
|
+
)).should.not.include([:op, '/'])
|
56
|
+
end
|
57
|
+
|
58
|
+
should "not handle w preceding ';' char" do
|
59
|
+
process(%Q(; / b /)).should.not.include([:op, '/'])
|
60
|
+
end
|
61
|
+
|
62
|
+
should "not handle w preceding '(' char" do
|
63
|
+
process(%Q{( / b /}).should.not.include([:op, '/'])
|
64
|
+
end
|
65
|
+
|
66
|
+
should "not handle w preceding '{' char" do
|
67
|
+
process(%Q({ / b /)).should.not.include([:op, '/'])
|
68
|
+
end
|
69
|
+
|
70
|
+
should "not handle w preceding '[' char" do
|
71
|
+
process(%Q([ / b /)).should.not.include([:op, '/'])
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
75
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,11 +1,14 @@
|
|
1
1
|
require 'rubygems'
|
2
|
-
require 'bacon'
|
3
2
|
require 'ruby2ruby'
|
4
3
|
|
5
4
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
6
5
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
7
6
|
require 'sourcify'
|
8
7
|
|
8
|
+
# ///////////////////////////////////////////////////////////
|
9
|
+
# Regenerate ragel-based scanner
|
10
|
+
# ///////////////////////////////////////////////////////////
|
11
|
+
|
9
12
|
ragel_dir = File.join(File.dirname(__FILE__), '..', 'lib', 'sourcify', 'proc')
|
10
13
|
ragel_file = File.join(ragel_dir, 'scanner.rl')
|
11
14
|
ruby_file = File.join(ragel_dir, 'scanner.rb')
|
@@ -18,8 +21,36 @@ rescue LoadError
|
|
18
21
|
raise $!
|
19
22
|
end
|
20
23
|
|
24
|
+
# ///////////////////////////////////////////////////////////
|
25
|
+
# Bacon
|
26
|
+
# ///////////////////////////////////////////////////////////
|
27
|
+
|
28
|
+
require 'bacon'
|
29
|
+
Bacon.extend(Bacon::TestUnitOutput)
|
21
30
|
Bacon.summary_on_exit
|
22
31
|
|
32
|
+
# Removing the extra noises in output, making bacon even less verbose !!
|
33
|
+
if ENV['MUTE_BACON'] == 'true'
|
34
|
+
Bacon.extend(Module.new {
|
35
|
+
|
36
|
+
def handle_requirement(description)
|
37
|
+
unless (error = yield).empty?
|
38
|
+
print error[0..0]
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def handle_summary
|
43
|
+
puts "", " %d tests, %d assertions, %d failures, %d errors" %
|
44
|
+
Bacon::Counter.values_at(:specifications, :requirements, :failed, :errors)
|
45
|
+
end
|
46
|
+
|
47
|
+
})
|
48
|
+
end
|
49
|
+
|
50
|
+
# ///////////////////////////////////////////////////////////
|
51
|
+
# Spec helpers & matchers
|
52
|
+
# ///////////////////////////////////////////////////////////
|
53
|
+
|
23
54
|
def has_parsetree?
|
24
55
|
Object.const_defined?(:ParseTree)
|
25
56
|
end
|
@@ -42,16 +73,24 @@ def normalize_code(code)
|
|
42
73
|
Ruby2Ruby.new.process(code_to_sexp(code))
|
43
74
|
end
|
44
75
|
|
45
|
-
def having_source(expected)
|
76
|
+
def having_source(expected, opts={}, &matcher)
|
46
77
|
lambda do |_proc|
|
47
|
-
|
78
|
+
if block_given?
|
79
|
+
normalize_code(_proc.to_source(&matcher)) == normalize_code(expected)
|
80
|
+
else
|
81
|
+
normalize_code(_proc.to_source(opts)) == normalize_code(expected)
|
82
|
+
end
|
48
83
|
end
|
49
84
|
end
|
50
85
|
|
51
|
-
def having_sexp(expected)
|
86
|
+
def having_sexp(expected, opts={}, &matcher)
|
52
87
|
lambda do |_proc|
|
53
88
|
expected = eval(expected) if expected.is_a?(String)
|
54
|
-
|
89
|
+
if block_given?
|
90
|
+
_proc.to_sexp(&matcher).inspect == expected.inspect
|
91
|
+
else
|
92
|
+
_proc.to_sexp(opts).inspect == expected.inspect
|
93
|
+
end
|
55
94
|
end
|
56
95
|
end
|
57
96
|
|
@@ -68,44 +107,13 @@ def capture(stdin_str = '')
|
|
68
107
|
end
|
69
108
|
|
70
109
|
def irb_exec(stdin_str)
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
# Since we are now in another process, need to explicitely require current dev sourcify
|
80
|
-
require 'lib/sourcify'
|
81
|
-
|
82
|
-
# Get a unique tmp file (what we really want is the path)
|
83
|
-
require 'tempfile'
|
84
|
-
tf = Tempfile.new('otaku')
|
85
|
-
|
86
|
-
begin
|
87
|
-
$o_stdin, $o_stdout = $stdin, $stdout # Backup the existing stdin/stdout
|
88
|
-
$stdin, $stdout = %w{in out}.map{|s| File.new("#{tf.path}~std#{s}",'w+') } # drying up
|
89
|
-
$stdin.puts [data, 'exit', ''].join("\n")
|
90
|
-
$stdin.rewind
|
91
|
-
|
92
|
-
require 'irb'
|
93
|
-
ARGV.clear # Need this to prevent IRB from blowing up
|
94
|
-
IRB.start(__FILE__)
|
95
|
-
|
96
|
-
$stdout.rewind
|
97
|
-
irb_feedback = /^ => / # irb feedback string looks like this
|
98
|
-
$stdout.readlines.join.split("\n").
|
99
|
-
grep(irb_feedback).map{|s| eval(s.sub(irb_feedback,'').strip) }
|
100
|
-
ensure
|
101
|
-
[$stdin, $stdout, tf].each{|f| File.delete(f.path) }
|
102
|
-
$stdin, $stdout = $o_stdin, $o_stdout
|
103
|
-
end
|
104
|
-
end
|
105
|
-
|
106
|
-
Otaku.process(stdin_str)
|
107
|
-
|
108
|
-
ensure
|
109
|
-
Otaku.stop
|
110
|
-
end
|
110
|
+
# See http://tyenglog.heroku.com/2010/9/how-to-test-irb-specific-support &
|
111
|
+
# http://tyenglog.heroku.com/2010/9/how-to-test-irb-specific-support-2-
|
112
|
+
sourcify_rb = File.join(File.expand_path(File.dirname(__FILE__)), '..', 'lib', 'sourcify.rb')
|
113
|
+
irb_feedback = /^ => /
|
114
|
+
values = %x(echo "#{stdin_str}" | irb -r #{sourcify_rb}).split("\n").
|
115
|
+
grep(irb_feedback).map{|s| eval(s.sub(irb_feedback,'').strip) }
|
116
|
+
# IRB behaves slightly differently in 1.9.2 for appending newline
|
117
|
+
(values[-1].nil? && RUBY_VERSION.include?('1.9.2')) ? values[0 .. -2] : values
|
111
118
|
end
|
119
|
+
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sourcify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 4
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.4.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- NgTzeYang
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-10-15 00:00:00 +08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -35,47 +35,48 @@ dependencies:
|
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
|
-
name:
|
38
|
+
name: sexp_processor
|
39
39
|
prerelease: false
|
40
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ">="
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
45
|
+
hash: 13
|
46
46
|
segments:
|
47
|
+
- 3
|
47
48
|
- 0
|
48
|
-
|
49
|
-
|
49
|
+
- 5
|
50
|
+
version: 3.0.5
|
51
|
+
type: :runtime
|
50
52
|
version_requirements: *id002
|
51
53
|
- !ruby/object:Gem::Dependency
|
52
|
-
name:
|
54
|
+
name: bacon
|
53
55
|
prerelease: false
|
54
56
|
requirement: &id003 !ruby/object:Gem::Requirement
|
55
57
|
none: false
|
56
58
|
requirements:
|
57
59
|
- - ">="
|
58
60
|
- !ruby/object:Gem::Version
|
59
|
-
hash:
|
61
|
+
hash: 3
|
60
62
|
segments:
|
61
63
|
- 0
|
62
|
-
|
63
|
-
- 0
|
64
|
-
version: 0.4.0
|
64
|
+
version: "0"
|
65
65
|
type: :development
|
66
66
|
version_requirements: *id003
|
67
67
|
description: ""
|
68
68
|
email: ngty77@gmail.com
|
69
69
|
executables: []
|
70
70
|
|
71
|
-
extensions:
|
72
|
-
|
71
|
+
extensions: []
|
72
|
+
|
73
73
|
extra_rdoc_files:
|
74
74
|
- LICENSE
|
75
75
|
- README.rdoc
|
76
76
|
files:
|
77
77
|
- .document
|
78
78
|
- .gitignore
|
79
|
+
- .infinity_test
|
79
80
|
- HISTORY.txt
|
80
81
|
- LICENSE
|
81
82
|
- README.rdoc
|
@@ -83,6 +84,10 @@ files:
|
|
83
84
|
- VERSION
|
84
85
|
- lib/sourcify.rb
|
85
86
|
- lib/sourcify/proc.rb
|
87
|
+
- lib/sourcify/proc/methods.rb
|
88
|
+
- lib/sourcify/proc/methods/source_location.rb
|
89
|
+
- lib/sourcify/proc/methods/to_sexp.rb
|
90
|
+
- lib/sourcify/proc/methods/to_source.rb
|
86
91
|
- lib/sourcify/proc/parser.rb
|
87
92
|
- lib/sourcify/proc/scanner.rb
|
88
93
|
- lib/sourcify/proc/scanner.rl
|
@@ -97,7 +102,10 @@ files:
|
|
97
102
|
- spec/proc/created_on_the_fly_proc_spec.rb
|
98
103
|
- spec/proc/others_spec.rb
|
99
104
|
- spec/proc/readme
|
105
|
+
- spec/proc/spec_helper.rb
|
106
|
+
- spec/proc/to_sexp_from_multi_blocks_w_specified_attached_to_spec.rb
|
100
107
|
- spec/proc/to_sexp_variables_spec.rb
|
108
|
+
- spec/proc/to_sexp_w_specified_strip_enclosure_spec.rb
|
101
109
|
- spec/proc/to_sexp_within_irb_spec.rb
|
102
110
|
- spec/proc/to_source_from_braced_block_w_nested_braced_block_spec.rb
|
103
111
|
- spec/proc/to_source_from_braced_block_w_nested_hash_spec.rb
|
@@ -117,10 +125,19 @@ files:
|
|
117
125
|
- spec/proc/to_source_from_do_end_block_wo_nesting_complication_spec.rb
|
118
126
|
- spec/proc/to_source_from_multi_blocks_w_many_matches_spec.rb
|
119
127
|
- spec/proc/to_source_from_multi_blocks_w_single_match_spec.rb
|
128
|
+
- spec/proc/to_source_from_multi_blocks_w_specified_attached_to_and_many_matches_spec.rb
|
129
|
+
- spec/proc/to_source_from_multi_blocks_w_specified_attached_to_and_no_match_spec.rb
|
130
|
+
- spec/proc/to_source_from_multi_blocks_w_specified_attached_to_and_single_match_spec.rb
|
131
|
+
- spec/proc/to_source_from_multi_blocks_w_specified_attached_to_spec.rb
|
132
|
+
- spec/proc/to_source_from_multi_blocks_w_specified_body_matcher_and_many_matches_spec.rb
|
133
|
+
- spec/proc/to_source_from_multi_blocks_w_specified_body_matcher_and_no_match_spec.rb
|
134
|
+
- spec/proc/to_source_from_multi_blocks_w_specified_body_matcher_and_single_match_spec.rb
|
135
|
+
- spec/proc/to_source_from_multi_blocks_w_specified_ignore_nested_spec.rb
|
120
136
|
- spec/proc/to_source_from_multi_do_end_blocks_w_single_match_spec.rb
|
121
137
|
- spec/proc/to_source_magic_file_var_spec.rb
|
122
138
|
- spec/proc/to_source_magic_line_var_spec.rb
|
123
139
|
- spec/proc/to_source_variables_spec.rb
|
140
|
+
- spec/proc/to_source_w_specified_strip_enclosure_spec.rb
|
124
141
|
- spec/proc/to_source_within_irb_spec.rb
|
125
142
|
- spec/proc_scanner/block_comment_spec.rb
|
126
143
|
- spec/proc_scanner/double_colons_spec.rb
|
@@ -131,9 +148,9 @@ files:
|
|
131
148
|
- spec/proc_scanner/kw_do_alias2_spec.rb
|
132
149
|
- spec/proc_scanner/per_line_comment_spec.rb
|
133
150
|
- spec/proc_scanner/single_quote_str_spec.rb
|
151
|
+
- spec/proc_scanner/slash_operator_spec.rb
|
134
152
|
- spec/proc_scanner/spec_helper.rb
|
135
153
|
- spec/spec_helper.rb
|
136
|
-
- ext/sourcify/extconf.rb
|
137
154
|
has_rdoc: true
|
138
155
|
homepage: http://github.com/ngty/sourcify
|
139
156
|
licenses: []
|
@@ -173,6 +190,7 @@ summary: Workarounds before ruby-core officially supports Proc#to_source (& frie
|
|
173
190
|
test_files:
|
174
191
|
- spec/proc_scanner/kw_do_alias1_spec.rb
|
175
192
|
- spec/proc_scanner/single_quote_str_spec.rb
|
193
|
+
- spec/proc_scanner/slash_operator_spec.rb
|
176
194
|
- spec/proc_scanner/kw_do_alias2_spec.rb
|
177
195
|
- spec/proc_scanner/double_colons_spec.rb
|
178
196
|
- spec/proc_scanner/block_comment_spec.rb
|
@@ -182,6 +200,8 @@ test_files:
|
|
182
200
|
- spec/proc_scanner/spec_helper.rb
|
183
201
|
- spec/proc_scanner/double_quote_str_wo_interpolation_spec.rb
|
184
202
|
- spec/proc/to_source_from_do_end_block_w_nested_until_spec.rb
|
203
|
+
- spec/proc/to_source_from_multi_blocks_w_specified_body_matcher_and_single_match_spec.rb
|
204
|
+
- spec/proc/to_source_from_multi_blocks_w_specified_attached_to_and_no_match_spec.rb
|
185
205
|
- spec/proc/to_source_from_do_end_block_w_nested_begin_spec.rb
|
186
206
|
- spec/proc/to_source_from_braced_block_w_nested_hash_spec.rb
|
187
207
|
- spec/proc/created_on_the_fly_proc_spec.rb
|
@@ -193,18 +213,28 @@ test_files:
|
|
193
213
|
- spec/proc/to_sexp_within_irb_spec.rb
|
194
214
|
- spec/proc/to_source_from_do_end_block_w_nested_module_spec.rb
|
195
215
|
- spec/proc/to_source_from_do_end_block_w_nested_do_end_block_spec.rb
|
216
|
+
- spec/proc/to_source_from_multi_blocks_w_specified_attached_to_spec.rb
|
196
217
|
- spec/proc/to_source_from_do_end_block_w_nested_method_spec.rb
|
197
218
|
- spec/proc/to_source_from_do_end_block_w_nested_class_spec.rb
|
198
219
|
- spec/proc/to_source_within_irb_spec.rb
|
199
220
|
- spec/proc/to_source_from_do_end_block_w_nested_case_spec.rb
|
200
221
|
- spec/proc/to_source_magic_line_var_spec.rb
|
222
|
+
- spec/proc/to_sexp_w_specified_strip_enclosure_spec.rb
|
223
|
+
- spec/proc/to_source_from_multi_blocks_w_specified_body_matcher_and_many_matches_spec.rb
|
201
224
|
- spec/proc/to_source_from_do_end_block_w_nested_literal_keyword_spec.rb
|
202
225
|
- spec/proc/to_source_from_do_end_block_w_nested_unless_spec.rb
|
226
|
+
- spec/proc/to_source_from_multi_blocks_w_specified_body_matcher_and_no_match_spec.rb
|
203
227
|
- spec/proc/others_spec.rb
|
204
228
|
- spec/proc/19x_extras.rb
|
229
|
+
- spec/proc/to_source_from_multi_blocks_w_specified_attached_to_and_many_matches_spec.rb
|
205
230
|
- spec/proc/to_source_from_braced_block_w_nested_braced_block_spec.rb
|
206
231
|
- spec/proc/to_source_from_do_end_block_wo_nesting_complication_spec.rb
|
207
232
|
- spec/proc/to_source_variables_spec.rb
|
233
|
+
- spec/proc/to_source_w_specified_strip_enclosure_spec.rb
|
234
|
+
- spec/proc/to_source_from_multi_blocks_w_specified_attached_to_and_single_match_spec.rb
|
235
|
+
- spec/proc/to_sexp_from_multi_blocks_w_specified_attached_to_spec.rb
|
236
|
+
- spec/proc/to_source_from_multi_blocks_w_specified_ignore_nested_spec.rb
|
237
|
+
- spec/proc/spec_helper.rb
|
208
238
|
- spec/proc/to_sexp_variables_spec.rb
|
209
239
|
- spec/proc/to_source_magic_file_var_spec.rb
|
210
240
|
- spec/proc/to_source_from_do_end_block_w_nested_if_spec.rb
|
data/ext/sourcify/extconf.rb
DELETED