olam 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/lib/olam.rb +0 -3
  4. data/lib/olam/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37da38348d0651df8e2f2e14b93af2c679156bd1
4
- data.tar.gz: 731855aacc22b675fc3c5dbdf61f81638806e272
3
+ metadata.gz: aedef96ac02db7108172c4fec04de2a58d5ed1e2
4
+ data.tar.gz: 3105d279dcc0b1becaff7929f4547f4a0a2a4458
5
5
  SHA512:
6
- metadata.gz: bc602fcb5a664bb0abd93ac9d37d2c9968a4b7cf3a258758d22b525f0d3e9e9f1257bd23c07ee07692c38cd448d036fc56fafe5eb187eac6063a2e58780aed2f
7
- data.tar.gz: 938057efe375224a585f806d928f754ac7ea26b235451239d02eaaeee113176c0b7e9e99713037e5700b0f3062a55352250d3cf60a88fb8b5f1efd976ca14092
6
+ metadata.gz: c33155e44437bd2e7909a07291d80f2bb176cec48a7131032e4388ee44e275cc3c96643aee57c7b2789c2eab49e268db664f32664a5eb0d2b649f7e924a88896
7
+ data.tar.gz: 7c013abc260ed51623f3596ed87bd46f735b25e10f3654f06b596b1c016b09e77f7ff5076d8b132c71bc1e920a748d0f8aa35411e87867253b3d1e8056d1d137
data/Gemfile CHANGED
@@ -5,4 +5,4 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
5
5
  # Specify your gem's dependencies in olam.gemspec
6
6
  gemspec
7
7
 
8
- gem 'nokogiri'
8
+ gem 'httparty'
data/lib/olam.rb CHANGED
@@ -1,6 +1,4 @@
1
1
  require "olam/version"
2
- require 'nokogiri'
3
- require 'open-uri'
4
2
 
5
3
  module Olam
6
4
  class Api
@@ -9,7 +7,6 @@ module Olam
9
7
 
10
8
  response = HTTParty.post('http://mashithantu.com/dictionary/ajaxdict.php', body: request_body)
11
9
  str = sanitize(response.to_s)
12
- p str
13
10
  (str.scan(/&nbsp;(\w+)<br>/) + str.scan(/&nbsp;(\w+)<br \/>/)).join('|')
14
11
  end
15
12
 
data/lib/olam/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Olam
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: olam
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Unnikrishnan KP