flay 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/History.txt +7 -0
- data/Rakefile +14 -2
- data/lib/flay.rb +2 -2
- metadata +11 -12
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -5,7 +5,9 @@ require 'hoe'
|
|
5
5
|
|
6
6
|
Hoe::add_include_dirs("../../sexp_processor/dev/lib",
|
7
7
|
"../../ruby_parser/dev/lib",
|
8
|
-
"../../ruby2ruby/dev/lib"
|
8
|
+
"../../ruby2ruby/dev/lib",
|
9
|
+
"../../ZenTest/dev/lib",
|
10
|
+
"lib")
|
9
11
|
|
10
12
|
Hoe.plugin :seattlerb
|
11
13
|
|
@@ -16,7 +18,17 @@ Hoe.spec 'flay' do
|
|
16
18
|
self.flay_threshold = 250
|
17
19
|
|
18
20
|
dependency 'sexp_processor', '~> 4.0'
|
19
|
-
dependency 'ruby_parser', '~> 3.0
|
21
|
+
dependency 'ruby_parser', '~> 3.0'
|
22
|
+
end
|
23
|
+
|
24
|
+
task :debug do
|
25
|
+
require "flay"
|
26
|
+
|
27
|
+
file = ENV["F"]
|
28
|
+
|
29
|
+
flay = Flay.new
|
30
|
+
flay.process(*Flay.expand_dirs_to_files(file))
|
31
|
+
flay.report
|
20
32
|
end
|
21
33
|
|
22
34
|
# vim: syntax=ruby
|
data/lib/flay.rb
CHANGED
@@ -7,7 +7,7 @@ require 'ruby_parser'
|
|
7
7
|
require 'timeout'
|
8
8
|
|
9
9
|
class File
|
10
|
-
RUBY19 = "<3".respond_to? :encoding
|
10
|
+
RUBY19 = "<3".respond_to? :encoding unless defined? RUBY19
|
11
11
|
|
12
12
|
class << self
|
13
13
|
alias :binread :read unless RUBY19
|
@@ -15,7 +15,7 @@ class File
|
|
15
15
|
end
|
16
16
|
|
17
17
|
class Flay
|
18
|
-
VERSION = '2.0.
|
18
|
+
VERSION = '2.0.1'
|
19
19
|
|
20
20
|
def self.default_options
|
21
21
|
{
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 2.0.
|
9
|
+
- 1
|
10
|
+
version: 2.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ryan Davis
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
FBHgymkyj/AOSqKRIpXPhjC6
|
37
37
|
-----END CERTIFICATE-----
|
38
38
|
|
39
|
-
date: 2012-
|
39
|
+
date: 2012-12-19 00:00:00 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sexp_processor
|
@@ -65,8 +65,7 @@ dependencies:
|
|
65
65
|
segments:
|
66
66
|
- 3
|
67
67
|
- 0
|
68
|
-
|
69
|
-
version: 3.0.0
|
68
|
+
version: "3.0"
|
70
69
|
type: :runtime
|
71
70
|
version_requirements: *id002
|
72
71
|
- !ruby/object:Gem::Dependency
|
@@ -77,11 +76,11 @@ dependencies:
|
|
77
76
|
requirements:
|
78
77
|
- - ~>
|
79
78
|
- !ruby/object:Gem::Version
|
80
|
-
hash:
|
79
|
+
hash: 29
|
81
80
|
segments:
|
82
81
|
- 4
|
83
|
-
-
|
84
|
-
version: "4.
|
82
|
+
- 3
|
83
|
+
version: "4.3"
|
85
84
|
type: :development
|
86
85
|
version_requirements: *id003
|
87
86
|
- !ruby/object:Gem::Dependency
|
@@ -107,11 +106,11 @@ dependencies:
|
|
107
106
|
requirements:
|
108
107
|
- - ~>
|
109
108
|
- !ruby/object:Gem::Version
|
110
|
-
hash:
|
109
|
+
hash: 15
|
111
110
|
segments:
|
112
111
|
- 3
|
113
|
-
-
|
114
|
-
version: "3.
|
112
|
+
- 4
|
113
|
+
version: "3.4"
|
115
114
|
type: :development
|
116
115
|
version_requirements: *id005
|
117
116
|
description: |-
|
metadata.gz.sig
CHANGED
Binary file
|