hungrynoodle 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/hungrynoodle.rb +6 -1
  2. metadata +3 -3
data/hungrynoodle.rb CHANGED
@@ -71,7 +71,12 @@ class HungryNoodle
71
71
  '#{File.mtime(file)}',
72
72
  '#{File.size(file)}')")
73
73
  end
74
- end
74
+ end
75
+
76
+ # Provides a simple pass-thru mechansim for SQL to the underlying db
77
+ def execute(sql)
78
+ @db.execute(sql)
79
+ end
75
80
 
76
81
  # Does this file exists in the cache ? This method performs a lookup
77
82
  # based on filename and size. If a matching file is found, the contents
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hungrynoodle
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Philip Mcmahon