data_store 0.1.4 → 0.1.5

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.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ##0.1.5
2
+
3
+ * Partial rollback of caching operator, in order to maintain proper calculation of averages.
4
+
1
5
  ##0.1.4
2
6
 
3
7
  * Remove caching operators in Table, in order to prevent weird errors in production with Sinatra and Unicorn configutation
@@ -17,7 +17,7 @@ module DataStore
17
17
 
18
18
  # Return a table object enriched with Sequel::Model behaviour
19
19
  def model
20
- Class.new(Sequel::Model(dataset))
20
+ @model ||= Class.new(Sequel::Model(dataset))
21
21
  end
22
22
 
23
23
  # Add a new datapoint to the table
@@ -1,3 +1,3 @@
1
1
  module DataStore
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -78,7 +78,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  segments:
80
80
  - 0
81
- hash: -234328838285590322
81
+ hash: -1199792226810511698
82
82
  required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  version: '0'
88
88
  segments:
89
89
  - 0
90
- hash: -234328838285590322
90
+ hash: -1199792226810511698
91
91
  requirements: []
92
92
  rubyforge_project:
93
93
  rubygems_version: 1.8.25