foaas-client 1.4.0 → 1.5.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: ef08efde730819ccda5292e6f515665268f21992
4
- data.tar.gz: 3265ea2b2ab0bdd8ed8681cbef06a8472a5a984f
3
+ metadata.gz: 0623e2847687ee8449e883c6391d008b4c5b6e3b
4
+ data.tar.gz: bce3122bb279cb14b001d08f39d04d60df3b46b2
5
5
  SHA512:
6
- metadata.gz: 428ef8421e1e1044e26b123d8013498ae9b304d1e751531b6ff55b76c3e4fd53704eba1e0feac77b8bfdec4cad12c55e4566fb6f84acab3758fd4ec7b19e99ae
7
- data.tar.gz: 5249a2cd7a69d89cd2faac247f5abfe41c3d1ec36e3f84e017e0c38d9167df9f1f69d2885a69a1b3377c0496f27e13a53a8d5854ca51e83ed8b3d424f865b141
6
+ metadata.gz: 0c1f793a53702f74f04bf72bc1b71977c716e7ffe6ef1536e5e08eec2964d45d77e2d0eb408e02af15a16b485965761832eba7f73bea5a0ddaa13088a087392e
7
+ data.tar.gz: 274180e2d5a2a99fe6a3bf116078d2bbacec4bac76490fae2588778ac6a7e1982990cee2aed0a29b9f409006673942d1f731228209111be98d17d9c1ad1268f5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.5.0
4
+
5
+ * Implement the following FOAAS methods:
6
+ * Do something
7
+ * Retard
8
+ * Thumbs
9
+
3
10
  ## v1.4.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.7` of the FOAAS API is supported.
10
+ Version `0.1.8` of the FOAAS API is supported.
11
11
 
12
12
  ## Usage
13
13
 
@@ -139,6 +139,13 @@ fuck.donut('Bob', 'Alice')
139
139
  #=> { 'message' => 'Bob, go and take a flying fuck at a rolling donut.', 'subtitle' => '- Alice' }
140
140
  ```
141
141
 
142
+ #### Do something
143
+
144
+ ```ruby
145
+ fuck.dosomething('Write', 'Code', 'Alice')
146
+ #=> { 'message' => ' 'Write the fucking code!', 'subtitle' => '- Alice' }
147
+ ```
148
+
142
149
  #### Everyone
143
150
 
144
151
  ```ruby
@@ -170,7 +177,7 @@ fuck.fascinating('Alice')
170
177
  #### Field
171
178
 
172
179
  ```ruby
173
- fuck.field('Alicew', 'Bob', 'Clara')
180
+ fuck.field('Alice', 'Bob', 'Clara')
174
181
  #=> { 'message' => 'And Alice said on to Bob, "Verily, cast thine eyes upon the field in which I grow my fucks", and Bobgave witness onto the field, and saw that it was barren.', 'subtitle' => '- Clara' }
175
182
  ```
176
183
 
@@ -246,6 +253,13 @@ fuck.pink('Alice')
246
253
  #=> { 'message' => 'Well, Fuck me pink.', 'subtitle' => '- Alice' }
247
254
  ```
248
255
 
256
+ #### Retard
257
+
258
+ ```ruby
259
+ fuck.retard('Alice')
260
+ #=> { 'message' => 'You Fucktard!', 'subtitle' => '- Alice' }
261
+ ```
262
+
249
263
  #### Shakespeare
250
264
 
251
265
  ```ruby
@@ -295,6 +309,13 @@ fuck.tucker('Alice')
295
309
  #=> { 'message' => 'Come the fuck in or fuck the fuck off.', 'subtitle' => '- Alice' }
296
310
  ```
297
311
 
312
+ #### Thumbs
313
+
314
+ ```ruby
315
+ fuck.thumbs('Alice')
316
+ #=> { 'message' => 'Who has two thumbs and doesn't give a fuck? Alice.', 'subtitle' => '- Alice' }
317
+ ```
318
+
298
319
  #### Version
299
320
 
300
321
  __Note:__ This is not an "insult" method, it returns the version of the service.
@@ -7,9 +7,9 @@ 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, :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
- METHODS_THREE_PARAMS = [:ballmer, :field]
10
+ METHODS_ONE_PARAM = [:awesome, :because, :bucket, :bye, :cool, :diabetes, :everyone, :everything, :family, :fascinating, :flying, :life, :pink, :retard, :thanks, :this, :tucker, :thumbs,:what, :zayn]
11
+ METHODS_TWO_PARAMS = [:bus, :caniuse, :chainsaw, :dalton, :donut, :king, :linus, :madison, :nugget, :off, :outside, :shakespeare, :shutup, :you, :xmas, :yoda]
12
+ METHODS_THREE_PARAMS = [:ballmer, :dosomething, :field]
13
13
 
14
14
  def method_missing(sym, *args, &block)
15
15
  kwargs = {}
@@ -1,3 +1,3 @@
1
1
  module Foaas
2
- VERSION = '1.4.0'
2
+ VERSION = '1.5.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.4.0
4
+ version: 1.5.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-07-09 00:00:00.000000000 Z
11
+ date: 2015-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client