foaas-client 1.3.0 → 1.4.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04c54f2594453c1f9cf589f9370e120053c42205
4
- data.tar.gz: 250571c42300d73287270b5aa71711b9bbb3e666
3
+ metadata.gz: ef08efde730819ccda5292e6f515665268f21992
4
+ data.tar.gz: 3265ea2b2ab0bdd8ed8681cbef06a8472a5a984f
5
5
  SHA512:
6
- metadata.gz: c0376f029f605c089cd30793ef834ed77398b61217f181873bc613ac02ffbce91f6125f3071e0482aac44bbb55f60e125d31405b26b73f85d7281181f920596a
7
- data.tar.gz: 39bc5a5b440b4e9aad9e7522f31f31a5d7ab29935392c0f73dd9858e6da67ff895fbeef30d78bc1d67310161019770c328527cae7b9a11f6179edc7a9fbc0f75
6
+ metadata.gz: 428ef8421e1e1044e26b123d8013498ae9b304d1e751531b6ff55b76c3e4fd53704eba1e0feac77b8bfdec4cad12c55e4566fb6f84acab3758fd4ec7b19e99ae
7
+ data.tar.gz: 5249a2cd7a69d89cd2faac247f5abfe41c3d1ec36e3f84e017e0c38d9167df9f1f69d2885a69a1b3377c0496f27e13a53a8d5854ca51e83ed8b3d424f865b141
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.4.0
4
+
5
+ * Implement the following FOAAS methods:
6
+ * Family
7
+ * Shutup
8
+ * Zayn
9
+
3
10
  ## v1.3.0
4
11
 
5
12
  * Implement the following FOAAS methods:
data/README.md CHANGED
@@ -7,7 +7,7 @@ A client for [FOAAS](http://foaas.com).
7
7
 
8
8
  ## API Version
9
9
 
10
- Version `0.1.5` of the FOAAS API is supported.
10
+ Version `0.1.7` of the FOAAS API is supported.
11
11
 
12
12
  ## Usage
13
13
 
@@ -153,6 +153,13 @@ fuck.everything('Alice')
153
153
  #=> { 'message' => 'Fuck everything.', 'subtitle' => '- Alice' }
154
154
  ```
155
155
 
156
+ #### Family
157
+
158
+ ```ruby
159
+ fuck.family('Alice')
160
+ #=> { 'message' => 'Fuck you, your whole family, your pets, and your feces', 'subtitle' => '- Alice'}
161
+ ```
162
+
156
163
  #### Fascinating
157
164
 
158
165
  ```ruby
@@ -246,6 +253,13 @@ fuck.shakespeare('Bob', 'Alice')
246
253
  #=> { 'message' => 'Thou clay-brained guts, thou knotty-pated fool, thou whoreson obscene greasy tallow-catch!', 'subtitle' => '- Alice' }
247
254
  ```
248
255
 
256
+ #### Shutup
257
+
258
+ ```ruby
259
+ fuck.shutup('Bob', 'Alice')
260
+ #=> { 'messasge' => 'Bob, shut the fuck up.', 'subtitle' => '- Alice' }
261
+ ```
262
+
249
263
  #### Thanks
250
264
 
251
265
  ```ruby
@@ -317,3 +331,10 @@ fuck.yoda('Bob', 'Alice')
317
331
  fuck.you('Bob', 'Alice')
318
332
  #=> { 'message' => 'Fuck you, Bob.', 'subtitle' => '- Alice' }
319
333
  ```
334
+
335
+ #### Zayn
336
+
337
+ ```ruby
338
+ fuck.zayn('Alice')
339
+ #=> { 'message' => ''Ask me if I give a motherfuck ?!!', 'subtitle' => '- Alice' }
340
+ ```
@@ -7,8 +7,8 @@ module Foaas
7
7
 
8
8
  URL = Addressable::Template.new("http://foaas.com/{method}{/name}/{from}{/other}")
9
9
 
10
- METHODS_ONE_PARAM = [:awesome, :because, :bucket, :bye, :cool, :diabetes, :everyone, :everything, :fascinating, :flying, :life, :pink, :thanks, :this, :tucker, :what]
11
- METHODS_TWO_PARAMS = [:bus, :donut, :caniuse, :chainsaw, :dalton, :king, :linus, :madison, :nugget, :off, :outside, :shakespeare, :you, :xmas, :yoda]
10
+ METHODS_ONE_PARAM = [:awesome, :because, :bucket, :bye, :cool, :diabetes, :everyone, :everything, :family, :fascinating, :flying, :life, :pink, :thanks, :this, :tucker, :what, :zayn]
11
+ METHODS_TWO_PARAMS = [:bus, :donut, :caniuse, :chainsaw, :dalton, :king, :linus, :madison, :nugget, :off, :outside, :shakespeare, :shutup, :you, :xmas, :yoda]
12
12
  METHODS_THREE_PARAMS = [:ballmer, :field]
13
13
 
14
14
  def method_missing(sym, *args, &block)
@@ -1,3 +1,3 @@
1
1
  module Foaas
2
- VERSION = '1.3.0'
2
+ VERSION = '1.4.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foaas-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Marsh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-23 00:00:00.000000000 Z
11
+ date: 2015-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client