rakuna 0.4.0 → 0.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: 9bea8f21cf161d285bc1bb0cff7298f9145ff876
4
- data.tar.gz: ab9fd50a96ab403a2df63fc0f990c13c4806239f
3
+ metadata.gz: e8b78d7f63277b51639ec08ef8554b0cfa5ef534
4
+ data.tar.gz: 1b2947acdef78ed277d288a537672fccf1c74347
5
5
  SHA512:
6
- metadata.gz: 737f4007ad93b065bc2aa81c4be318a425a69ad090cb59d50e52f402a272debffe3929f4438d987f408c4de59aed17e327376414e7b63a29fd1b7e8ca174cffe
7
- data.tar.gz: 6ba5d370f03310a34a75cbe80cdbaf4469bbd1588c3a9c34ddc4d1a43e197ad39e34b879c0aaf9ca07f1abffc7f63da185e11d7d0550876ddbf7d98a6bb963c6
6
+ metadata.gz: 6b4a2391d3930ebe6cb85837a0713e7753d55a093288a7ec334c4171dd8e8b96f1036a9c43818b5f25ebc0ff9e84242fb81d906644f282ca6c7274d03332de38
7
+ data.tar.gz: 4da2df4a4b46a6c33fcdbd02b73f49acac1df334bfdce1e9146a2a9f88d43362abfcdb6b4e0f42dd3a4265c305c68db56bf1e489c8d6ca082326033863a678b1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.5.0
@@ -1 +1,2 @@
1
1
  require 'rakuna/resource/action'
2
+ require 'rakuna/resource/item'
@@ -0,0 +1,12 @@
1
+ require 'webmachine/resource'
2
+
3
+ module Rakuna
4
+ module Resource
5
+ # Item Resources allow specific items to be fetched/deleted/replaced.
6
+ class Item < Webmachine::Resource
7
+ def allowed_methods
8
+ %w(HEAD GET PUT DELETE)
9
+ end
10
+ end
11
+ end
12
+ end
data/rakuna.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: rakuna 0.4.0 ruby lib
5
+ # stub: rakuna 0.5.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "rakuna"
9
- s.version = "0.4.0"
9
+ s.version = "0.5.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
@@ -33,6 +33,7 @@ Gem::Specification.new do |s|
33
33
  "lib/rakuna/content/validation.rb",
34
34
  "lib/rakuna/resource.rb",
35
35
  "lib/rakuna/resource/action.rb",
36
+ "lib/rakuna/resource/item.rb",
36
37
  "rakuna.gemspec",
37
38
  "spec/rakuna_spec.rb",
38
39
  "spec/spec_helper.rb"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rakuna
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Olstrom
@@ -214,6 +214,7 @@ files:
214
214
  - lib/rakuna/content/validation.rb
215
215
  - lib/rakuna/resource.rb
216
216
  - lib/rakuna/resource/action.rb
217
+ - lib/rakuna/resource/item.rb
217
218
  - rakuna.gemspec
218
219
  - spec/rakuna_spec.rb
219
220
  - spec/spec_helper.rb