what 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76f5b8ecf552ae3e9be47ddb3dac0bc0563a1fec
4
- data.tar.gz: d09ff6b7677d83e629bab958b5d5c4802505714b
3
+ metadata.gz: 940a626b5f7b54661ad92819017999027ec5fe50
4
+ data.tar.gz: ac845b0e48d39fe2efdedb0ca5446bc64196948c
5
5
  SHA512:
6
- metadata.gz: e2664f1e98896d28f1d5f55b2f28bf83ff781f3d1d2529ebbffe9c67048e2de981a6ef1bf8618d3431596a5614f6796f5019d95c84a21b1b521b2f7545bd0cfd
7
- data.tar.gz: b471ae59e93c4d062f88aac1d5bfe8b59fc56e7e1c6c733bfd75c57e3003f7aa4aaa14cd4a201a8c2ff8fb2c821a207e9b84316f4f57edbffe719c4446bff169
6
+ metadata.gz: f63c71beff391dc5819cc3062eb987efe620575bd5a93bf09d1fa2617e844a7182fc8d0fd3836d85a193a924c83bb0cf115664a01ed90cbdddd888d5d0e8f193
7
+ data.tar.gz: 08f141f69131e0832a5c0a26f5f1155624c35b497f71d9405a23ad783be7e6c45bd48a19dfb6139d6fab0a71335c337f128859e86b5e1c6d8c7f21e874087257
data/lib/what/helpers.rb CHANGED
@@ -32,5 +32,9 @@ module What
32
32
  word.downcase!
33
33
  word
34
34
  end
35
+
36
+ def self.curl(uri)
37
+ yield(open(uri).read)
38
+ end
35
39
  end
36
40
  end
data/lib/what/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module What
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: what
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Fitzgerald