cerulean 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cerulean.rb +9 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 613d12d6dfd8bcf13d8cfbb2780fac908e91cc35
4
- data.tar.gz: 5675ffac3951f9496a381ad2fb9faa2a9bd844a1
3
+ metadata.gz: 2832093c83fe1a7ea7fd5085f472225316671c02
4
+ data.tar.gz: 360cf066301789c50d7cdb523e4d2e4672c54393
5
5
  SHA512:
6
- metadata.gz: 39cd304299549ebe005c140f5828515d67db5fd4080c80ba328babf1d41d632d8002032f59ba7d258be6add6f6b492aeff8818a51a9656cac0c6f83fc00d829f
7
- data.tar.gz: cd3e5668bc99ba6ea6dc33c1854d5e3bc01d998b6b08fc7c183b13003084c3f1bc0bdca74cc660018cce1b711874a7ad46b523fdeae5d4d309051d86d824cc30
6
+ metadata.gz: b368ed9c73bca4e11fd3c18422ba0b3897fdcb72934edb1442944a507ff997db7fa232a05fed5ea787222a71e78f1338f3c39ee59d8cc6cff082418f47a18c6a
7
+ data.tar.gz: f453577231ac84ba507fca160a57f2f0874965660519330c46daaa039974f0ffdd6a120d59fb2ec96fca49db6d8cba786543192c85bfa5e7751eed765bc976e9
data/lib/cerulean.rb CHANGED
@@ -50,6 +50,14 @@ module Cerulean
50
50
  endpoint(name, &block)
51
51
  end
52
52
 
53
+ def put(name, &block)
54
+ endpoint(name, &block)
55
+ end
56
+
57
+ def delete(name, &block)
58
+ endpoint(name, &block)
59
+ end
60
+
53
61
  def endpoint(name, &block)
54
62
  self.class_variable_set(:@@meta, {}) unless self.class_variable_defined?(:@@meta)
55
63
 
@@ -143,4 +151,4 @@ module Cerulean
143
151
  end
144
152
  end
145
153
  end
146
- end
154
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cerulean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kestell