storage_room 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +3 -0
- data/VERSION +1 -1
- data/lib/storage_room.rb +4 -0
- data/lib/storage_room/resource.rb +1 -1
- data/spec/storage_room_spec.rb +6 -0
- data/storage_room.gemspec +2 -2
- metadata +3 -3
data/History.txt
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.3
|
data/lib/storage_room.rb
CHANGED
@@ -102,6 +102,10 @@ module StorageRoom
|
|
102
102
|
self.entry_class_mappings[name] || name.gsub(/\s+/, "").classify
|
103
103
|
end
|
104
104
|
|
105
|
+
def version
|
106
|
+
@version ||= ::File.read(::File.expand_path(::File.dirname(__FILE__) + '/../VERSION'))
|
107
|
+
end
|
108
|
+
|
105
109
|
# Requests are made with SSL
|
106
110
|
def ssl=(ssl)
|
107
111
|
@ssl = ssl
|
@@ -8,7 +8,7 @@ module StorageRoom
|
|
8
8
|
|
9
9
|
plugin IdentityMap
|
10
10
|
|
11
|
-
headers 'User-Agent' =>
|
11
|
+
headers 'User-Agent' => "StorageRoom Ruby Gem (#{StorageRoom.version})", 'Accept' => 'application/json', 'Content-Type' => 'application/json'
|
12
12
|
format :json
|
13
13
|
|
14
14
|
class << self
|
data/spec/storage_room_spec.rb
CHANGED
data/storage_room.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{storage_room}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Sascha Konietzke"]
|
12
|
-
s.date = %q{2011-07-
|
12
|
+
s.date = %q{2011-07-07}
|
13
13
|
s.description = %q{StorageRoom is a CMS system for Mobile Applications (iPhone, Android, BlackBerry, ...). This library gives you an ActiveModel-like interface to your data.}
|
14
14
|
s.email = %q{sascha@thriventures.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 3
|
9
|
+
version: 0.3.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Sascha Konietzke
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-07-
|
17
|
+
date: 2011-07-07 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|