friendly 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,15 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
- ### 0.4.0 (master)
4
+ ### 0.4.2
5
+
6
+ * (nullstyle) convert UUID to SQL::Blob so that Sequel can properly escape it in databases that don't treat binary strings like regular strings.
7
+
8
+ ### 0.4.1
9
+
10
+ * (jamesgolick) Fix for ruby 1.9.1.
11
+
12
+ ### 0.4.0
5
13
 
6
14
  * (jamesgolick) Add scope chaining. See the README and the docs for Friendly::Scope.
7
15
  * (jamesgolick) Add has_many association.
data/TODO.md ADDED
@@ -0,0 +1,5 @@
1
+ Ideas
2
+ =====
3
+
4
+ * Setup observers
5
+
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.4.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{friendly}
8
- s.version = "0.4.1"
8
+ s.version = "0.4.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["James Golick"]
12
- s.date = %q{2009-12-22}
12
+ s.date = %q{2009-12-23}
13
13
  s.description = %q{}
14
14
  s.email = %q{jamesgolick@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -25,6 +25,7 @@ Gem::Specification.new do |s|
25
25
  "LICENSE",
26
26
  "README.md",
27
27
  "Rakefile",
28
+ "TODO.md",
28
29
  "VERSION",
29
30
  "examples/friendly.yml",
30
31
  "friendly.gemspec",
@@ -131,7 +131,7 @@ module Friendly
131
131
  end
132
132
 
133
133
  def sql_literal(dataset)
134
- dataset.literal(to_s)
134
+ dataset.literal(to_s.to_sequel_blob)
135
135
  end
136
136
 
137
137
  private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: friendly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Golick
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-22 00:00:00 -06:00
12
+ date: 2009-12-23 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -110,6 +110,7 @@ files:
110
110
  - LICENSE
111
111
  - README.md
112
112
  - Rakefile
113
+ - TODO.md
113
114
  - VERSION
114
115
  - examples/friendly.yml
115
116
  - friendly.gemspec