brice 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -1
- data/lib/brice/version.rb +1 -1
- data/lib/rc/005_added_methods.rb +5 -6
- metadata +5 -5
data/README
CHANGED
data/lib/brice/version.rb
CHANGED
data/lib/rc/005_added_methods.rb
CHANGED
@@ -1,23 +1,22 @@
|
|
1
|
-
# Load
|
2
|
-
#
|
3
|
-
# environment variables has been set:
|
1
|
+
# Load AddedMethods[http://added_methods.rubyforge.org/] if one
|
2
|
+
# (or both) of the following environment variables has been set:
|
4
3
|
#
|
5
4
|
# <tt>WATCH_FOR_ADDED_METHODS</tt>:: Regular expression or <tt>true</tt>
|
6
5
|
# <tt>WATCH_FOR_ADDED_METHODS_IN</tt>:: Space-delimited list of class names
|
7
6
|
|
8
|
-
brice 'added_methods'
|
7
|
+
brice 'added_methods' do |config|
|
9
8
|
|
10
9
|
regexp = ENV['WATCH_FOR_ADDED_METHODS']
|
11
10
|
klasses = ENV['WATCH_FOR_ADDED_METHODS_IN']
|
12
11
|
|
13
12
|
if regexp || klasses
|
14
13
|
if regexp == 'true'
|
15
|
-
|
14
|
+
AddedMethods.init
|
16
15
|
else
|
17
16
|
regexp = Regexp.new(regexp || '')
|
18
17
|
klasses = (klasses || '').split
|
19
18
|
|
20
|
-
|
19
|
+
AddedMethods.init(regexp, klasses)
|
21
20
|
end
|
22
21
|
end
|
23
22
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Wille
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-03-
|
12
|
+
date: 2009-03-27 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -55,15 +55,15 @@ has_rdoc: true
|
|
55
55
|
homepage: http://prometheus.rubyforge.org/brice
|
56
56
|
post_install_message:
|
57
57
|
rdoc_options:
|
58
|
-
- --main
|
59
|
-
- README
|
60
58
|
- --line-numbers
|
61
59
|
- --inline-source
|
62
|
-
- --all
|
63
60
|
- --title
|
64
61
|
- brice Application documentation
|
62
|
+
- --main
|
63
|
+
- README
|
65
64
|
- --charset
|
66
65
|
- UTF-8
|
66
|
+
- --all
|
67
67
|
require_paths:
|
68
68
|
- lib
|
69
69
|
required_ruby_version: !ruby/object:Gem::Requirement
|