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.
- checksums.yaml +4 -4
- data/app/controllers/gatherable/application_controller.rb +13 -2
- data/app/models/data_table.rb +6 -2
- data/app/writers/javascript_writer.rb +7 -3
- data/lib/gatherable/version.rb +1 -1
- data/spec/controllers/gatherable/application_controller_spec.rb +1 -1
- data/spec/dummy/log/test.log +4021 -0
- data/spec/lib/generators/gatherable_generator_spec.rb +3 -3
- metadata +2 -2
@@ -116,16 +116,16 @@ end
|
|
116
116
|
let(:file_content) do
|
117
117
|
<<-content
|
118
118
|
var Price = {
|
119
|
-
create: function(
|
119
|
+
create: function(options){
|
120
120
|
$.ajax({
|
121
|
-
url: '/gatherable/
|
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/
|
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.
|
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-
|
11
|
+
date: 2016-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|