gatherable 2.0.0 → 2.0.1

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.
@@ -116,16 +116,16 @@ end
116
116
  let(:file_content) do
117
117
  <<-content
118
118
  var Price = {
119
- create: function(global_identifier, options){
119
+ create: function(options){
120
120
  $.ajax({
121
- url: '/gatherable/' + global_identifier + '/prices',
121
+ url: '/gatherable/prices',
122
122
  method: 'POST',
123
123
  data: { price: options }
124
124
  });
125
125
  },
126
126
  get: function(global_identifier, id) {
127
127
  $.ajax({
128
- url: '/gatherable/' + global_identifier + '/price/' + options[price_id]
128
+ url: '/gatherable/price/' + options[price_id]
129
129
  });
130
130
  }
131
131
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gatherable
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Schepers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-03 00:00:00.000000000 Z
11
+ date: 2016-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails