basecamp 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/basecamp/resource.rb +0 -4
- metadata +4 -4
data/lib/basecamp/resource.rb
CHANGED
@@ -4,10 +4,6 @@ module Basecamp; class Resource < ActiveResource::Base
|
|
4
4
|
@parent_resources = parents
|
5
5
|
end
|
6
6
|
|
7
|
-
def element_name
|
8
|
-
name.split(/::/).last.underscore
|
9
|
-
end
|
10
|
-
|
11
7
|
def prefix_source
|
12
8
|
if @parent_resources
|
13
9
|
@parent_resources.map { |resource| "/#{resource.to_s.pluralize}/:#{resource}_id" }.join + '/'
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: basecamp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 9
|
10
|
+
version: 0.0.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Anibal Cucco
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-01-
|
19
|
+
date: 2012-01-27 00:00:00 -03:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|