data_store 0.1.3 → 0.1.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.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ##0.1.4
2
+
3
+ * Remove caching operators in Table, in order to prevent weird errors in production with Sinatra and Unicorn configutation
4
+
1
5
  ##0.1.3
2
6
 
3
7
  * Sequel.single_threaded = true
@@ -12,12 +12,12 @@ module DataStore
12
12
 
13
13
  # Return a the corresponding parent class, i.e the settings from the data_stores table
14
14
  def parent
15
- @parent ||= DataStore::Base.find(identifier: identifier)
15
+ DataStore::Base.find(identifier: identifier)
16
16
  end
17
17
 
18
18
  # Return a table object enriched with Sequel::Model behaviour
19
19
  def model
20
- @model ||= Class.new(Sequel::Model(dataset))
20
+ Class.new(Sequel::Model(dataset))
21
21
  end
22
22
 
23
23
  # Add a new datapoint to the table
@@ -107,7 +107,7 @@ module DataStore
107
107
  end
108
108
 
109
109
  def database
110
- @database ||= DataStore::Base.db
110
+ DataStore::Base.db
111
111
  end
112
112
 
113
113
  def table_name
@@ -1,3 +1,3 @@
1
1
  module DataStore
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
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.3
4
+ version: 0.1.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-04-12 00:00:00.000000000 Z
12
+ date: 2013-04-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sequel
@@ -78,7 +78,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  segments:
80
80
  - 0
81
- hash: -1016682811247673146
81
+ hash: -234328838285590322
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: -1016682811247673146
90
+ hash: -234328838285590322
91
91
  requirements: []
92
92
  rubyforge_project:
93
93
  rubygems_version: 1.8.25