boss 0.1.1 → 0.2
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/Rakefile +1 -1
- data/lib/boss.rb +7 -2
- metadata +2 -2
data/Rakefile
CHANGED
data/lib/boss.rb
CHANGED
|
@@ -252,8 +252,13 @@ module Boss
|
|
|
252
252
|
@result['date']
|
|
253
253
|
end
|
|
254
254
|
|
|
255
|
-
def dispurl
|
|
256
|
-
@result['dispurl']
|
|
255
|
+
def dispurl(options = {})
|
|
256
|
+
data = @result['dispurl']
|
|
257
|
+
if options[:wbr] == false
|
|
258
|
+
data.gsub(/<wbr>/, '')
|
|
259
|
+
else
|
|
260
|
+
data
|
|
261
|
+
end
|
|
257
262
|
end
|
|
258
263
|
|
|
259
264
|
def size
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: boss
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: "0.2"
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UiPoet
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2008-12-
|
|
12
|
+
date: 2008-12-16 00:00:00 -08:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|