boss 0.3.1 → 0.4

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.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/boss.rb +4 -0
  3. metadata +1 -1
data/Rakefile CHANGED
@@ -11,7 +11,7 @@ spec = Gem::Specification.new do |s|
11
11
  s.name = 'boss'
12
12
  s.rubyforge_project = 'uipoet'
13
13
  s.summary = 'Yahoo BOSS for Ruby'
14
- s.version = '0.3.1'
14
+ s.version = '0.4'
15
15
  end
16
16
 
17
17
  Rake::GemPackageTask.new(spec) do |pkg|
@@ -294,6 +294,10 @@ module Boss
294
294
  end
295
295
  end
296
296
 
297
+ def keyterms
298
+ @result['keyterms']['terms']
299
+ end
300
+
297
301
  def size
298
302
  @result['size'].to_i
299
303
  end
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.3.1
4
+ version: "0.4"
5
5
  platform: ruby
6
6
  authors:
7
7
  - UiPoet