sadie 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- Sadie::registerPrimerPlugin( { "match" => /\.sql$/,
1
+ Sadie::registerPrimerPlugin( { "match" => /\.sql2ar$/,
2
2
  "accepts-block" => false,
3
3
  "prime-on-init" => false } ) do |sadie, key_prefix, primer_file_filepath|
4
4
  primer_file_basename = File.basename( primer_file_filepath )
@@ -7,7 +7,7 @@ Sadie::registerPrimerPlugin( { "match" => /\.sql$/,
7
7
 
8
8
  Sadie::prime( { "provides" => [ sadie_key ] }) do |sadie|
9
9
 
10
- if ( matches = primer_file_basename.match( /^(.*)\.([^\.]+)\.sql$/ ) )
10
+ if ( matches = primer_file_basename.match( /^(.*)\.([^\.]+)\.sql2ar$/ ) )
11
11
  dbi_sadie_key = key_prefix + '.' + matches[2] + ".dbi.conx"
12
12
  # puts "dbi_sadie_key: #{dbi_sadie_key}, connecting..."
13
13
  dbconx = sadie.get( dbi_sadie_key )
data/lib/sadie/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  # this file sets the version of the Sadie gem
3
3
 
4
4
  class Sadie
5
- VERSION = "0.0.9"
5
+ VERSION = "0.0.10"
6
6
  end
@@ -26,7 +26,7 @@ class TestSadieTwoDeep < Test::Unit::TestCase
26
26
  assert_not_nil( dbconx )
27
27
 
28
28
  # test sql22darray
29
- tablearray = sadie.get( "two.deep.testquery.test.sql" )
29
+ tablearray = sadie.get( "two.deep.testquery.test.sql2ar" )
30
30
  assert_not_nil( tablearray )
31
31
  assert_equal( tablearray[0][0], 1 )
32
32
  assert_equal( tablearray[1][1], "testing456" )
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sadie
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 9
10
- version: 0.0.9
9
+ - 10
10
+ version: 0.0.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Fred McDavid
@@ -110,7 +110,7 @@ files:
110
110
  - test/test_primers/two/deep/expensive.res
111
111
  - test/test_primers/two/deep/test.dbi.conx
112
112
  - test/test_primers/two/deep/test_template.txt.tmpl
113
- - test/test_primers/two/deep/testquery.test.sql
113
+ - test/test_primers/two/deep/testquery.test.sql2ar
114
114
  - test/test_primers/two/deep/two_results.res
115
115
  homepage: http://www.landmetrics.com/Sadie
116
116
  licenses: []