pullentity-backbone 0.0.3 → 0.0.4

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.
@@ -1,5 +1,5 @@
1
1
  module Pullentity
2
2
  module Backbone
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -1,11 +1,12 @@
1
1
  class Pullentity.Models.Project extends Backbone.Model
2
2
 
3
+
3
4
  class Pullentity.Collections.Projects extends Backbone.Collection
4
5
 
5
6
  model: Pullentity.Models.Project
6
7
 
7
8
  url : ()->
8
9
  if @id
9
- "#{Pullentity.Domain}.#{Pullentity.host}/api/v1/site/projects/#{@id}"
10
+ "#{Pullentity.Domain}/api/v1/site/projects/#{@id}"
10
11
  else
11
- "#{Pullentity.Domain}.#{Pullentity.host}/api/v1/site/projects"
12
+ "#{Pullentity.Domain}/api/v1/site/projects"
@@ -7,7 +7,7 @@ class Pullentity.Collections.Sections extends Backbone.Collection
7
7
 
8
8
  url : ()->
9
9
  if @id
10
- "#{Pullentity.Domain}.#{Pullentity.host}/api/v1/site/sections/#{@id}"
10
+ "#{Pullentity.Domain}/api/v1/site/sections/#{@id}"
11
11
  else
12
- "#{Pullentity.Domain}.#{Pullentity.host}/api/v1/site/sections"
12
+ "#{Pullentity.Domain}/api/v1/site/sections"
13
13
 
@@ -1,7 +1,7 @@
1
1
  class Pullentity.Models.Site extends Backbone.Model
2
2
  url : ()->
3
3
  if @id
4
- "#{Pullentity.Domain}.#{Pullentity.host}/api/v1/site"
4
+ "#{Pullentity.Domain}/api/v1/site"
5
5
  else
6
- "#{Pullentity.Domain}.#{Pullentity.host}/api/v1/sites"
6
+ "#{Pullentity.Domain}/api/v1/sites"
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pullentity-backbone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-30 00:00:00.000000000 Z
12
+ date: 2013-09-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler