what_is 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/what_is/version.rb +1 -1
  3. data/lib/what_is.rb +11 -10
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ecae092953989984e4c4f514812e0420614662f9
4
- data.tar.gz: 0f7df402005cfc6822bbaf840ebe2168e7421b20
3
+ metadata.gz: 4c401f91649f02ab63ee8cd4819794050ffabc14
4
+ data.tar.gz: 6353c0ce49f59955e4555117844460210816146a
5
5
  SHA512:
6
- metadata.gz: 056846dbfbe2d35a410b88bf70b06bc90138afa636b556ff142cca978b9331b7d85d4627d604b9187a71de0cf49819404928fe7afc7bc3fdcea217652c180249
7
- data.tar.gz: d37b28cf9f8e17edc17f07d3699345207e52c1cd964bff2dd409311953cc67f0b85d8702beb87dfa27d281f30a283fc5666070ebd07a87fbec243dbdcba97ab8
6
+ metadata.gz: 92318a6ce0576bb43e5e363aede6ed54467af58785bd82543bf9a1d47bef3d1bee8c57b5f0ee18853a94f3eb77bdcf9c2b3e3b191db8240291ff94459a6b7e97
7
+ data.tar.gz: cef044a128a8804a53b02c199a1eccb9bda541a78540a0f973a879c87693e5097796db737919e3674666230bbbf1d9a8093a84e6dadcc63654e52a2be0064d99
@@ -1,3 +1,3 @@
1
1
  module WhatIs
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
data/lib/what_is.rb CHANGED
@@ -5,19 +5,20 @@ require "uri"
5
5
  require "nokogiri"
6
6
 
7
7
  module WhatIs
8
- class Define
9
- class << self
10
- attr_writer :configuration
11
- end
12
8
 
13
- def self.configuration
14
- @configuration ||= Configuration.new
15
- end
9
+ class << self
10
+ attr_writer :configuration
11
+ end
16
12
 
17
- def self.configure
18
- yield(configuration)
19
- end
13
+ def self.configuration
14
+ @configuration ||= Configuration.new
15
+ end
16
+
17
+ def self.configure
18
+ yield(configuration)
19
+ end
20
20
 
21
+ class Define
21
22
  def initialize(word)
22
23
  @word = word.to_s
23
24
  @has_definition = false
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: what_is
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Chavez