tableling-rails 0.0.19 → 0.0.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Tableling
2
- VERSION = "0.0.19"
2
+ VERSION = "0.0.20"
3
3
  end
@@ -111,7 +111,7 @@ module Tableling
111
111
  end
112
112
 
113
113
  def serialize_record record
114
- @serialize_record_block ? @serialize_record_block.call(record) : @fields.inject({}){ |memo,f| memo[f.name] = f.extract(record); memo }
114
+ @serialize_record_block ? @serialize_record_block.call(record) : @fields.inject({}){ |memo,f| memo[f.working_name] = f.extract(record); memo }
115
115
  end
116
116
  end
117
117
  end
Binary file
@@ -50,3 +50,10 @@ Connecting to database specified by database.yml
50
50
   (0.8ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "author" varchar(255) NOT NULL, "year" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
51
51
   (0.7ms) CREATE UNIQUE INDEX "index_books_on_title" ON "books" ("title")
52
52
   (0.1ms) SELECT version FROM "schema_migrations"
53
+ Connecting to database specified by database.yml
54
+  (2.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
55
+  (0.2ms) select sqlite_version(*)
56
+  (1.0ms) DROP TABLE "books"
57
+  (0.8ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "author" varchar(255) NOT NULL, "year" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
58
+  (0.8ms) CREATE UNIQUE INDEX "index_books_on_title" ON "books" ("title")
59
+  (0.1ms) SELECT version FROM "schema_migrations"
@@ -21,3 +21,10 @@ Migrating to CreateBooks (20121008115302)
21
21
   (0.1ms) rollback transaction
22
22
   (0.0ms) begin transaction
23
23
   (0.0ms) rollback transaction
24
+ Connecting to database specified by database.yml
25
+  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
26
+ Migrating to CreateBooks (20121008115302)
27
+  (0.1ms) begin transaction
28
+  (0.0ms) rollback transaction
29
+  (0.0ms) begin transaction
30
+  (0.0ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tableling-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19
4
+ version: 0.0.20
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-18 00:00:00.000000000 Z
12
+ date: 2013-07-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -112,7 +112,8 @@ files:
112
112
  - spec/spec_helper.rb
113
113
  - spec/version_spec.rb
114
114
  homepage: https://github.com/AlphaHydrae/tableling-rails
115
- licenses: []
115
+ licenses:
116
+ - MIT
116
117
  post_install_message:
117
118
  rdoc_options: []
118
119
  require_paths:
@@ -125,7 +126,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
126
  version: '0'
126
127
  segments:
127
128
  - 0
128
- hash: -4441844229467767142
129
+ hash: 1244003446696768491
129
130
  required_rubygems_version: !ruby/object:Gem::Requirement
130
131
  none: false
131
132
  requirements:
@@ -134,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
135
  version: '0'
135
136
  segments:
136
137
  - 0
137
- hash: -4441844229467767142
138
+ hash: 1244003446696768491
138
139
  requirements: []
139
140
  rubyforge_project:
140
141
  rubygems_version: 1.8.25