brice 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README +4 -4
- data/Rakefile +2 -5
- data/lib/brice/dsl.rb +15 -13
- data/lib/brice/rc/020_libs.rb +0 -1
- data/lib/brice/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17a8fb5226397ca8922e81decc7ac9257a2f55b2
|
4
|
+
data.tar.gz: b982e783401e4135050b3c9a050cb4a6886b4d36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ea3bf6fdbd2e9e78a4d007d648e0bd708fdaed2738ffd335dd1c17a91552a84743b5c0cde32effe076c517844bf9ebbc9d23f87c002514398ffe1907c4f10e7
|
7
|
+
data.tar.gz: 6e36c1b51e274c1b804cfbc0806530cb2aa0d80277248c723bfecaa54dd66a399ba1c0cd59fe95b999aeabf5f1b163f308ae8f9033e18df58ab238364845c225
|
data/README
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
== VERSION
|
4
4
|
|
5
|
-
This documentation refers to brice version 0.2.
|
5
|
+
This documentation refers to brice version 0.2.8
|
6
6
|
|
7
7
|
|
8
8
|
== DESCRIPTION
|
@@ -65,9 +65,9 @@ guaranteed to have any effect after <tt>Brice.init</tt> has been called.
|
|
65
65
|
== LINKS
|
66
66
|
|
67
67
|
<b></b>
|
68
|
-
Documentation::
|
69
|
-
Source code::
|
70
|
-
|
68
|
+
Documentation:: http://blackwinter.github.com/brice
|
69
|
+
Source code:: http://github.com/blackwinter/brice
|
70
|
+
RubyGem:: http://rubygems.org/gems/brice
|
71
71
|
|
72
72
|
|
73
73
|
== AUTHORS
|
data/Rakefile
CHANGED
@@ -4,16 +4,13 @@ begin
|
|
4
4
|
require 'hen'
|
5
5
|
|
6
6
|
Hen.lay! {{
|
7
|
-
:rubyforge => {
|
8
|
-
:project => %q{prometheus},
|
9
|
-
:package => %q{brice}
|
10
|
-
},
|
11
|
-
|
12
7
|
:gem => {
|
8
|
+
:name => %q{brice},
|
13
9
|
:version => Brice::VERSION,
|
14
10
|
:summary => %q{Extra cool IRb goodness for the masses},
|
15
11
|
:author => %q{Jens Wille},
|
16
12
|
:email => %q{jens.wille@gmail.com},
|
13
|
+
:homepage => :blackwinter,
|
17
14
|
:dependencies => [['ruby-nuggets', '>= 0.5.2']]
|
18
15
|
}
|
19
16
|
}}
|
data/lib/brice/dsl.rb
CHANGED
@@ -74,19 +74,21 @@ module Brice
|
|
74
74
|
res = send(what, *args)
|
75
75
|
|
76
76
|
block_given? ? yield : res
|
77
|
-
rescue
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
77
|
+
rescue error => err
|
78
|
+
return if quiet
|
79
|
+
|
80
|
+
# ideally, we'd want the __FILE__ and __LINE__
|
81
|
+
# of the rc file where the error occurred.
|
82
|
+
location = caller.find { |c|
|
83
|
+
c =~ %r{(?:\A|/)lib/brice/rc/} ||
|
84
|
+
c !~ %r{(?:\A|/)lib/brice[/.]}
|
85
|
+
}
|
86
|
+
|
87
|
+
warn "#{err.class}: #{err} [#{location}]"
|
88
|
+
|
89
|
+
warn err.backtrace.map { |line|
|
90
|
+
" from #{line}"
|
91
|
+
}.join("\n") if Brice.verbose
|
90
92
|
end
|
91
93
|
|
92
94
|
# call-seq:
|
data/lib/brice/rc/020_libs.rb
CHANGED
data/lib/brice/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Wille
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-nuggets
|
@@ -60,7 +60,7 @@ files:
|
|
60
60
|
- spec/brice/history_spec.rb
|
61
61
|
- spec/spec_helper.rb
|
62
62
|
- .rspec
|
63
|
-
homepage: http://
|
63
|
+
homepage: http://github.com/blackwinter/brice
|
64
64
|
licenses: []
|
65
65
|
metadata: {}
|
66
66
|
post_install_message:
|
@@ -70,7 +70,7 @@ rdoc_options:
|
|
70
70
|
- --line-numbers
|
71
71
|
- --all
|
72
72
|
- --title
|
73
|
-
- brice Application documentation (v0.2.
|
73
|
+
- brice Application documentation (v0.2.8)
|
74
74
|
- --main
|
75
75
|
- README
|
76
76
|
require_paths:
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
|
-
rubyforge_project:
|
89
|
+
rubyforge_project:
|
90
90
|
rubygems_version: 2.0.3
|
91
91
|
signing_key:
|
92
92
|
specification_version: 4
|