sourcify 0.4.2 → 0.5.0
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.
- data/.gitignore +23 -0
- data/.rvmrc +1 -1
- data/Gemfile +5 -0
- data/HISTORY.txt +13 -0
- data/README.rdoc +22 -5
- data/Rakefile +41 -78
- data/lib/sourcify.rb +5 -3
- data/lib/sourcify/facets.rb +28 -0
- data/lib/sourcify/proc.rb +23 -2
- data/lib/sourcify/proc/methods.rb +1 -1
- data/lib/sourcify/proc/methods/to_raw_source.rb +20 -0
- data/lib/sourcify/proc/parser.rb +9 -2
- data/lib/sourcify/proc/parser/code_scanner.rb +1 -1
- data/lib/sourcify/proc/parser/normalizer.rb +2 -2
- data/lib/sourcify/proc/scanner.rb +117 -117
- data/lib/sourcify/version.rb +3 -0
- data/sourcify.gemspec +22 -178
- data/spec/proc/to_raw_source_spec.rb +33 -0
- data/spec/proc/to_raw_source_w_specified_strip_enclosure_spec.rb +69 -0
- data/spec/run_spec.sh +6 -0
- data/spec/spec_helper.rb +7 -0
- metadata +77 -85
- data/.infinity_test +0 -42
data/.infinity_test
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
# Hacking RVM
|
2
|
-
module RVM
|
3
|
-
module Shell
|
4
|
-
class AbstractWrapper
|
5
|
-
def raw_stdout_to_parts(c)
|
6
|
-
raise IncompleteCommandError if !command_complete?(c)
|
7
|
-
before, after = c.split(COMMAND_EPILOG_START, 2)
|
8
|
-
epilog, after = after.split(COMMAND_EPILOG_END, 2)
|
9
|
-
# HACK .. need to apply gsub to prevent yaml-related error
|
10
|
-
return before, YAML.load(epilog.strip.gsub("\\\"\n","\"\n")), after
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
# See http://github.com/tomas-stefano/infinity_test/wiki/Customize-Infinity-Test
|
17
|
-
infinity_test do
|
18
|
-
|
19
|
-
# Sets bacon mute to avoid excessive noise that makes it hard to pinpoint errors
|
20
|
-
ENV['MUTE_BACON'] = 'true'
|
21
|
-
|
22
|
-
# Avoids ParseTree's segmentation fault
|
23
|
-
require 'fileutils'
|
24
|
-
before(:each_ruby) do
|
25
|
-
Dir["#{ENV['HOME']}/.ruby_inline/*ParseTree*"].each{|f| FileUtils.rm(f) }
|
26
|
-
end
|
27
|
-
|
28
|
-
use \
|
29
|
-
:test_framework => :bacon,
|
30
|
-
:rubies => %w(
|
31
|
-
ruby-1.9.2-p136@sourcify
|
32
|
-
ruby-1.9.2-p0@sourcify
|
33
|
-
ruby-1.9.1-p378@sourcify
|
34
|
-
ruby-1.8.7-p330@sourcify
|
35
|
-
ree-1.8.7-2010.02@sourcify
|
36
|
-
ruby-1.8.7-p330@sourcify-parsetree
|
37
|
-
ree-1.8.7-2010.02@sourcify-parsetree
|
38
|
-
ruby-1.8.6-p420@sourcify-parsetree
|
39
|
-
ree-1.8.6-20090610@sourcify-parsetree
|
40
|
-
jruby-1.5.6@sourcify
|
41
|
-
)
|
42
|
-
end
|