sadie 0.0.50 → 0.0.51

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.
Files changed (4) hide show
  1. data/CHANGELOG +2 -1
  2. data/lib/sadie.rb +6 -6
  3. data/lib/sadie/version.rb +1 -1
  4. metadata +6 -6
data/CHANGELOG CHANGED
@@ -22,4 +22,5 @@
22
22
  [0.0.47] eachers now sane and can be set on any key, even other eacher provided keys
23
23
  [0.0.48] fixed bug that limited to one the number of eachers that could be associated with a key.
24
24
  [0.0.49] botched the upload...resubmitting
25
- [0.0.50] fixed isset? bug (was only working for non-expensive keys)
25
+ [0.0.50] fixed isset? bug (was only working for non-expensive keys)
26
+ [0.0.51] eacher bugfix. now correctly handles specific keys.
data/lib/sadie.rb CHANGED
@@ -172,18 +172,18 @@ class Sadie
172
172
  _checkClassSanity
173
173
 
174
174
  Sadie::setCurrentSadieInstance( self )
175
-
175
+
176
176
  # internalize defaults to shortterm
177
177
  DEFAULTS.each do |key, value|
178
178
  _set( key, value )
179
179
  end
180
-
180
+
181
181
  # iterate over constructor args, but do primers_dirpath last since it
182
182
  # causes a call to initializePrimers
183
183
  options.each do |key, value|
184
184
  set( key, value )
185
185
  end
186
-
186
+
187
187
  # if a path to a session is given, init using session file
188
188
  if options.has_key?( "sadie.session_filepath" )
189
189
  set( "sadie.session_filepath", options["sadie.session_filepath"] )
@@ -257,8 +257,8 @@ class Sadie
257
257
  basefilename = filepath.gsub(/^.*\//,"")
258
258
  sadiekey = key_prefix + "." + basefilename.gsub(/\.each(?:\..*)*$/,"")
259
259
  sadiekey = sadiekey.gsub( /^\.+/,"" )
260
- if params.has_key? "sadiekey"
261
- sadiekey = params["sadiekey"]
260
+ if params.has_key? :sadiekey
261
+ sadiekey = params[:sadiekey]
262
262
  end
263
263
 
264
264
  whichEacherFrame != Sadie::EACH and debug! 10, "whicheacherframe: #{whichEacherFrame}, occur_at: #{occur_at}"
@@ -809,7 +809,7 @@ class Sadie
809
809
 
810
810
 
811
811
  def memorizeEacherFileLocation( sadiekey, filepath )
812
- debug! 10, "memorizing eacher file location: #{filepath} for #{sadiekey}"
812
+ debug! 8, "memorizing eacher file location: #{filepath} for #{sadiekey}"
813
813
  # store the file path
814
814
  defined? @eacher_filepaths or @eacher_filepaths = Hash.new
815
815
  if ! @eacher_filepaths.has_key? sadiekey
data/lib/sadie/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Sadie
2
- VERSION = "0.0.50"
2
+ VERSION = "0.0.51"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sadie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.50
4
+ version: 0.0.51
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-30 00:00:00.000000000Z
12
+ date: 2012-05-01 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dbi
16
- requirement: &24189020 !ruby/object:Gem::Requirement
16
+ requirement: &19570920 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *24189020
24
+ version_requirements: *19570920
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: dbd-mysql
27
- requirement: &24188600 !ruby/object:Gem::Requirement
27
+ requirement: &19570500 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *24188600
35
+ version_requirements: *19570500
36
36
  description: Sadie is a data framework intended to ease the pain of managing related
37
37
  data.
38
38
  email: