simple_record 1.1.34 → 1.1.35

Sign up to get free protection for your applications and to get access to all the features.
data/test/conversions.rb CHANGED
@@ -1,14 +1,16 @@
1
-
2
-
3
- require File.expand_path(File.dirname(__FILE__) + "/../lib/simple_record")
4
- require "yaml"
5
- require 'right_aws'
6
- require 'my_model'
7
- require 'my_child_model'
8
-
9
- x = 0
10
- puts SimpleRecord::Base.pad_and_offset(x)
11
-
12
- x = 1
13
- puts SimpleRecord::Base.pad_and_offset(x)
14
-
1
+
2
+
3
+ require File.expand_path(File.dirname(__FILE__) + "/../lib/simple_record")
4
+ require "yaml"
5
+ require 'right_aws'
6
+ require 'my_model'
7
+ require 'my_child_model'
8
+
9
+ x = 0
10
+ puts SimpleRecord::Base.pad_and_offset(x)
11
+
12
+ x = 1
13
+ puts SimpleRecord::Base.pad_and_offset(x)
14
+
15
+ x = "09223372036854775838"
16
+ puts SimpleRecord::Base.un_offset_int(x)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.34
4
+ version: 1.1.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2009-11-15 00:00:00 -08:00
14
+ date: 2009-11-18 00:00:00 -08:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency