acts_as_citable 5.0.0.beta → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +47 -0
- data/Rakefile +1 -1
- data/lib/acts_as_citable/version.rb +1 -1
- metadata +8 -10
- data/README.rdoc +0 -3
- data/test/dummy/log/test.log +0 -605
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c91d19f9204e04e6aeef89cd75a2342752ea365eb53b6b8f2f1ae2670bf54007
|
4
|
+
data.tar.gz: 4b45e5408398c1ac83e271e7fabaa6edd462ae9c929666942712f7069944ed4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5aa84f5fb374d431c4271eaa5ae35443c53415af2ecf90832dc23706617fbb5e42b8e036c85774b54105387a9f5be5fdbcb2319355217e861771e4265a5f6f0f
|
7
|
+
data.tar.gz: 2ba7184dc60699eea885614b8ed5397c5107b284bfd2cc777ddcbdda0332381496e3ba1f5881d55215668d987b1d74719f907cad4c61be0c862094f18e1af11d
|
data/README.md
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
acts_as_citable
|
2
|
+
===============
|
3
|
+
[![Build Status](https://travis-ci.org/NYULibraries/acts_as_citable.svg?branch=master)](https://travis-ci.org/NYULibraries/acts_as_citable)
|
4
|
+
[![Coverage Status](https://coveralls.io/repos/github/NYULibraries/acts_as_citable/badge.svg?branch=master)](https://coveralls.io/github/NYULibraries/acts_as_citable?branch=master)
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/acts_as_citable.svg)](https://badge.fury.io/rb/acts_as_citable)
|
6
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/c0f67ceb0bd39473a368/maintainability)](https://codeclimate.com/github/NYULibraries/acts_as_citable/maintainability)
|
7
|
+
|
8
|
+
Acts as gem for Citero. This gem allows an object to utilize Citero's translating properties.
|
9
|
+
|
10
|
+
Config
|
11
|
+
======
|
12
|
+
Simply put acts_as_citable in your model. If you have attributes named _data_ and _format_, you are set. If you must configure, do the following.
|
13
|
+
|
14
|
+
```
|
15
|
+
acts_as_citable do |c|
|
16
|
+
c.format_field = 'your_format_field_name'
|
17
|
+
c.data_field = 'your_data_field_name'
|
18
|
+
end
|
19
|
+
```
|
20
|
+
How to use
|
21
|
+
==========
|
22
|
+
Using acts_as_citable is easy! Once you have your model configured, simply use the _to\_format_ method on your model where _format_ is one of the desired formats.
|
23
|
+
|
24
|
+
* BibTeX
|
25
|
+
* RIS
|
26
|
+
* OpenURL
|
27
|
+
* EasyBib
|
28
|
+
* CSF (**C**itero **S**tandard **F**ormat)
|
29
|
+
|
30
|
+
The results are returned as string. Additionally, you can have it render the format with a responds with action. You must have something like this in your controller.
|
31
|
+
|
32
|
+
class TestController < ApplicationController
|
33
|
+
respond_to :ris, :bibtex, :json
|
34
|
+
def test
|
35
|
+
rec = Record.create(:data => "itemType: book", :format => "csf")
|
36
|
+
arr = Array.new
|
37
|
+
arr << rec
|
38
|
+
respond_with(arr)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
Finally, to interact with the CSF object, you can call the _csf_ method.
|
43
|
+
|
44
|
+
rec = Record.create(:data => "itemType: book", :format => "csf")
|
45
|
+
csf = rec.csf
|
46
|
+
p csf.itemType # => Prints ['book']
|
47
|
+
p csf.keys # => Prints ['itemType']
|
data/Rakefile
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_citable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hab278
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 4.0.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '6'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 4.0.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '6'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: citero
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,13 +80,12 @@ extensions: []
|
|
80
80
|
extra_rdoc_files: []
|
81
81
|
files:
|
82
82
|
- MIT-LICENSE
|
83
|
-
- README.
|
83
|
+
- README.md
|
84
84
|
- Rakefile
|
85
85
|
- lib/acts_as_citable.rb
|
86
86
|
- lib/acts_as_citable/base.rb
|
87
87
|
- lib/acts_as_citable/version.rb
|
88
88
|
- lib/tasks/acts_as_citable_tasks.rake
|
89
|
-
- test/dummy/log/test.log
|
90
89
|
homepage: https://github.com/NYULibraries/acts_as_citable
|
91
90
|
licenses: []
|
92
91
|
metadata: {}
|
@@ -101,14 +100,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
101
100
|
version: '0'
|
102
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
102
|
requirements:
|
104
|
-
- - "
|
103
|
+
- - ">="
|
105
104
|
- !ruby/object:Gem::Version
|
106
|
-
version:
|
105
|
+
version: '0'
|
107
106
|
requirements: []
|
108
107
|
rubyforge_project:
|
109
|
-
rubygems_version: 2.6
|
108
|
+
rubygems_version: 2.7.6
|
110
109
|
signing_key:
|
111
110
|
specification_version: 4
|
112
111
|
summary: Acts As gem for allowing models to be used as citable objects.
|
113
|
-
test_files:
|
114
|
-
- test/dummy/log/test.log
|
112
|
+
test_files: []
|
data/README.rdoc
DELETED
data/test/dummy/log/test.log
DELETED
@@ -1,605 +0,0 @@
|
|
1
|
-
[1m[36m (4.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
2
|
-
[1m[35mActiveRecord::SchemaMigration Load (1.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
3
|
-
[1m[36m (2.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "record_changed_fields"[0m
|
4
|
-
[1m[35m (4.0ms)[0m CREATE TABLE "record_changed_fields" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "data" varchar(255), "from_format" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
5
|
-
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "records"[0m
|
6
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "records" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "data" varchar(255), "format" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
7
|
-
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
8
|
-
[1m[35m (2.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
9
|
-
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
10
|
-
[1m[35m (1.0ms)[0m SELECT sqlite_version(*)
|
11
|
-
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
12
|
-
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
13
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130221214225')[0m
|
14
|
-
[1m[35m (0.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130221210429')
|
15
|
-
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
16
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
17
|
-
-------------------------------------------------------------
|
18
|
-
RecordTest: test_should_be_able_to_convert_to_an_export_STYLE
|
19
|
-
-------------------------------------------------------------
|
20
|
-
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'[0m
|
21
|
-
------------------------------------------------------
|
22
|
-
RecordTest: test_should_be_able_to_create_a_new_Record
|
23
|
-
------------------------------------------------------
|
24
|
-
--------------------------------------------------
|
25
|
-
RecordTest: test_should_be_available_to_convert_to
|
26
|
-
--------------------------------------------------
|
27
|
-
-----------------------------------------------------
|
28
|
-
RecordTest: test_should_check_if_i_can_use_the_record
|
29
|
-
-----------------------------------------------------
|
30
|
-
[1m[35mSavepoint (3.0ms)[0m SAVEPOINT active_record_1
|
31
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
32
|
-
-------------------------------------------------------------
|
33
|
-
RecordTest: test_should_check_to_see_if_format_fields_are_set
|
34
|
-
-------------------------------------------------------------
|
35
|
-
----------------------------------------------------------------
|
36
|
-
RecordTest: test_should_check_to_see_if_records_can_be_converted
|
37
|
-
----------------------------------------------------------------
|
38
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
39
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40
|
-
---------------------------------------------------------------
|
41
|
-
RecordTest: test_should_check_to_see_if_you_cannot_convert_from
|
42
|
-
---------------------------------------------------------------
|
43
|
-
---------------------------------------------
|
44
|
-
RecordTest: test_should_raise_no_method_error
|
45
|
-
---------------------------------------------
|
46
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
47
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48
|
-
-------------------------------------------------
|
49
|
-
ActsAsCitableTest: test_new_nokogiri_xml_document
|
50
|
-
-------------------------------------------------
|
51
|
-
-----------------------------
|
52
|
-
ActsAsCitableTest: test_truth
|
53
|
-
-----------------------------
|
54
|
-
-------------------------------------------------------------------------
|
55
|
-
RecordChangedFieldTest: test_should_be_able_to_convert_to_an_export_STYLE
|
56
|
-
-------------------------------------------------------------------------
|
57
|
-
--------------------------------------------------------------------------------------
|
58
|
-
RecordChangedFieldTest: test_should_be_able_to_create_a_new_Record_with_changed_fields
|
59
|
-
--------------------------------------------------------------------------------------
|
60
|
-
--------------------------------------------------------------
|
61
|
-
RecordChangedFieldTest: test_should_be_available_to_convert_to
|
62
|
-
--------------------------------------------------------------
|
63
|
-
-------------------------------------------------------------------------------------
|
64
|
-
RecordChangedFieldTest: test_should_check_if_i_can_use_the_record_with_changed_fields
|
65
|
-
-------------------------------------------------------------------------------------
|
66
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
67
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68
|
-
------------------------------------------------------------------------------
|
69
|
-
RecordChangedFieldTest: test_should_check_to_see_if_from_format_fields_are_set
|
70
|
-
------------------------------------------------------------------------------
|
71
|
-
------------------------------------------------------------------------------------------------
|
72
|
-
RecordChangedFieldTest: test_should_check_to_see_if_records_with_changed_fields_can_be_converted
|
73
|
-
------------------------------------------------------------------------------------------------
|
74
|
-
[1m[35mSavepoint (2.0ms)[0m SAVEPOINT active_record_1
|
75
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76
|
-
---------------------------------------------------------------------------
|
77
|
-
RecordChangedFieldTest: test_should_check_to_see_if_you_cannot_convert_from
|
78
|
-
---------------------------------------------------------------------------
|
79
|
-
---------------------------------------------------------
|
80
|
-
RecordChangedFieldTest: test_should_raise_no_method_error
|
81
|
-
---------------------------------------------------------
|
82
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
83
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
84
|
-
----------------------------------------------------------------------
|
85
|
-
InheritedRecordTest: test_should_be_able_to_convert_to_an_export_STYLE
|
86
|
-
----------------------------------------------------------------------
|
87
|
-
-------------------------------------------------------------------------
|
88
|
-
InheritedRecordTest: test_should_be_able_to_create_a_new_Inherited_Record
|
89
|
-
-------------------------------------------------------------------------
|
90
|
-
-----------------------------------------------------------
|
91
|
-
InheritedRecordTest: test_should_be_available_to_convert_to
|
92
|
-
-----------------------------------------------------------
|
93
|
-
------------------------------------------------------------------------
|
94
|
-
InheritedRecordTest: test_should_check_if_i_can_use_the_Inherited_record
|
95
|
-
------------------------------------------------------------------------
|
96
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
97
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
98
|
-
-----------------------------------------------------------------------------------
|
99
|
-
InheritedRecordTest: test_should_check_to_see_if_Inherited_records_can_be_converted
|
100
|
-
-----------------------------------------------------------------------------------
|
101
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
102
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
103
|
-
----------------------------------------------------------------------
|
104
|
-
InheritedRecordTest: test_should_check_to_see_if_format_fields_are_set
|
105
|
-
----------------------------------------------------------------------
|
106
|
-
------------------------------------------------------------------------
|
107
|
-
InheritedRecordTest: test_should_check_to_see_if_you_cannot_convert_from
|
108
|
-
------------------------------------------------------------------------
|
109
|
-
------------------------------------------------------
|
110
|
-
InheritedRecordTest: test_should_raise_no_method_error
|
111
|
-
------------------------------------------------------
|
112
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
113
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
114
|
-
[1m[36m (12.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
115
|
-
[1m[35mActiveRecord::SchemaMigration Load (3.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
116
|
-
[1m[36m (11.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "record_changed_fields"[0m
|
117
|
-
[1m[35m (15.0ms)[0m CREATE TABLE "record_changed_fields" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "data" varchar(255), "from_format" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
118
|
-
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "records"[0m
|
119
|
-
[1m[35m (2.0ms)[0m CREATE TABLE "records" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "data" varchar(255), "format" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
120
|
-
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
121
|
-
[1m[35m (3.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
122
|
-
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
123
|
-
[1m[35m (3.0ms)[0m SELECT sqlite_version(*)
|
124
|
-
[1m[36m (3.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
125
|
-
[1m[35m (1.0ms)[0m SELECT version FROM "schema_migrations"
|
126
|
-
[1m[36m (3.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130221214225')[0m
|
127
|
-
[1m[35m (2.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130221210429')
|
128
|
-
[1m[36m (2.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
129
|
-
[1m[35mActiveRecord::SchemaMigration Load (1.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
130
|
-
----------------------------------------------------------------------
|
131
|
-
InheritedRecordTest: test_should_be_able_to_convert_to_an_export_STYLE
|
132
|
-
----------------------------------------------------------------------
|
133
|
-
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'[0m
|
134
|
-
-------------------------------------------------------------------------
|
135
|
-
InheritedRecordTest: test_should_be_able_to_create_a_new_Inherited_Record
|
136
|
-
-------------------------------------------------------------------------
|
137
|
-
-----------------------------------------------------------
|
138
|
-
InheritedRecordTest: test_should_be_available_to_convert_to
|
139
|
-
-----------------------------------------------------------
|
140
|
-
[1m[35mSavepoint (21.0ms)[0m SAVEPOINT active_record_1
|
141
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
142
|
-
------------------------------------------------------------------------
|
143
|
-
InheritedRecordTest: test_should_check_if_i_can_use_the_Inherited_record
|
144
|
-
------------------------------------------------------------------------
|
145
|
-
[1m[35mSavepoint (1.0ms)[0m SAVEPOINT active_record_1
|
146
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
147
|
-
-----------------------------------------------------------------------------------
|
148
|
-
InheritedRecordTest: test_should_check_to_see_if_Inherited_records_can_be_converted
|
149
|
-
-----------------------------------------------------------------------------------
|
150
|
-
[1m[35mSavepoint (1.0ms)[0m SAVEPOINT active_record_1
|
151
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
152
|
-
----------------------------------------------------------------------
|
153
|
-
InheritedRecordTest: test_should_check_to_see_if_format_fields_are_set
|
154
|
-
----------------------------------------------------------------------
|
155
|
-
------------------------------------------------------------------------
|
156
|
-
InheritedRecordTest: test_should_check_to_see_if_you_cannot_convert_from
|
157
|
-
------------------------------------------------------------------------
|
158
|
-
------------------------------------------------------
|
159
|
-
InheritedRecordTest: test_should_raise_no_method_error
|
160
|
-
------------------------------------------------------
|
161
|
-
[1m[35mSavepoint (1.0ms)[0m SAVEPOINT active_record_1
|
162
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
163
|
-
-------------------------------------------------------------------------
|
164
|
-
RecordChangedFieldTest: test_should_be_able_to_convert_to_an_export_STYLE
|
165
|
-
-------------------------------------------------------------------------
|
166
|
-
--------------------------------------------------------------------------------------
|
167
|
-
RecordChangedFieldTest: test_should_be_able_to_create_a_new_Record_with_changed_fields
|
168
|
-
--------------------------------------------------------------------------------------
|
169
|
-
--------------------------------------------------------------
|
170
|
-
RecordChangedFieldTest: test_should_be_available_to_convert_to
|
171
|
-
--------------------------------------------------------------
|
172
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
173
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
174
|
-
-------------------------------------------------------------------------------------
|
175
|
-
RecordChangedFieldTest: test_should_check_if_i_can_use_the_record_with_changed_fields
|
176
|
-
-------------------------------------------------------------------------------------
|
177
|
-
[1m[35mSavepoint (1.0ms)[0m SAVEPOINT active_record_1
|
178
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
179
|
-
------------------------------------------------------------------------------
|
180
|
-
RecordChangedFieldTest: test_should_check_to_see_if_from_format_fields_are_set
|
181
|
-
------------------------------------------------------------------------------
|
182
|
-
------------------------------------------------------------------------------------------------
|
183
|
-
RecordChangedFieldTest: test_should_check_to_see_if_records_with_changed_fields_can_be_converted
|
184
|
-
------------------------------------------------------------------------------------------------
|
185
|
-
[1m[35mSavepoint (1.0ms)[0m SAVEPOINT active_record_1
|
186
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
187
|
-
---------------------------------------------------------------------------
|
188
|
-
RecordChangedFieldTest: test_should_check_to_see_if_you_cannot_convert_from
|
189
|
-
---------------------------------------------------------------------------
|
190
|
-
---------------------------------------------------------
|
191
|
-
RecordChangedFieldTest: test_should_raise_no_method_error
|
192
|
-
---------------------------------------------------------
|
193
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
194
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
195
|
-
-------------------------------------------------
|
196
|
-
ActsAsCitableTest: test_new_nokogiri_xml_document
|
197
|
-
-------------------------------------------------
|
198
|
-
-----------------------------
|
199
|
-
ActsAsCitableTest: test_truth
|
200
|
-
-----------------------------
|
201
|
-
-------------------------------------------------------------
|
202
|
-
RecordTest: test_should_be_able_to_convert_to_an_export_STYLE
|
203
|
-
-------------------------------------------------------------
|
204
|
-
------------------------------------------------------
|
205
|
-
RecordTest: test_should_be_able_to_create_a_new_Record
|
206
|
-
------------------------------------------------------
|
207
|
-
--------------------------------------------------
|
208
|
-
RecordTest: test_should_be_available_to_convert_to
|
209
|
-
--------------------------------------------------
|
210
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
211
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
212
|
-
-----------------------------------------------------
|
213
|
-
RecordTest: test_should_check_if_i_can_use_the_record
|
214
|
-
-----------------------------------------------------
|
215
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
216
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
217
|
-
-------------------------------------------------------------
|
218
|
-
RecordTest: test_should_check_to_see_if_format_fields_are_set
|
219
|
-
-------------------------------------------------------------
|
220
|
-
----------------------------------------------------------------
|
221
|
-
RecordTest: test_should_check_to_see_if_records_can_be_converted
|
222
|
-
----------------------------------------------------------------
|
223
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
224
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
225
|
-
---------------------------------------------------------------
|
226
|
-
RecordTest: test_should_check_to_see_if_you_cannot_convert_from
|
227
|
-
---------------------------------------------------------------
|
228
|
-
---------------------------------------------
|
229
|
-
RecordTest: test_should_raise_no_method_error
|
230
|
-
---------------------------------------------
|
231
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
232
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
233
|
-
[1m[36m (3.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
234
|
-
[1m[35mActiveRecord::SchemaMigration Load (1.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
235
|
-
[1m[36m (4.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "record_changed_fields"[0m
|
236
|
-
[1m[35m (5.0ms)[0m CREATE TABLE "record_changed_fields" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "data" varchar(255), "from_format" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
237
|
-
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "records"[0m
|
238
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "records" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "data" varchar(255), "format" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
239
|
-
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
240
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
241
|
-
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
242
|
-
[1m[35m (1.0ms)[0m SELECT sqlite_version(*)
|
243
|
-
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
244
|
-
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
245
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130221214225')[0m
|
246
|
-
[1m[35m (0.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130221210429')
|
247
|
-
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
248
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
249
|
-
-------------------------------------------------------------
|
250
|
-
RecordTest: test_should_be_able_to_convert_to_an_export_STYLE
|
251
|
-
-------------------------------------------------------------
|
252
|
-
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'[0m
|
253
|
-
------------------------------------------------------
|
254
|
-
RecordTest: test_should_be_able_to_create_a_new_Record
|
255
|
-
------------------------------------------------------
|
256
|
-
--------------------------------------------------
|
257
|
-
RecordTest: test_should_be_available_to_convert_to
|
258
|
-
--------------------------------------------------
|
259
|
-
[1m[35mSavepoint (4.0ms)[0m SAVEPOINT active_record_1
|
260
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
261
|
-
-----------------------------------------------------
|
262
|
-
RecordTest: test_should_check_if_i_can_use_the_record
|
263
|
-
-----------------------------------------------------
|
264
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
265
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
266
|
-
-------------------------------------------------------------
|
267
|
-
RecordTest: test_should_check_to_see_if_format_fields_are_set
|
268
|
-
-------------------------------------------------------------
|
269
|
-
----------------------------------------------------------------
|
270
|
-
RecordTest: test_should_check_to_see_if_records_can_be_converted
|
271
|
-
----------------------------------------------------------------
|
272
|
-
[1m[35mSavepoint (1.0ms)[0m SAVEPOINT active_record_1
|
273
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
274
|
-
---------------------------------------------------------------
|
275
|
-
RecordTest: test_should_check_to_see_if_you_cannot_convert_from
|
276
|
-
---------------------------------------------------------------
|
277
|
-
---------------------------------------------
|
278
|
-
RecordTest: test_should_raise_no_method_error
|
279
|
-
---------------------------------------------
|
280
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
281
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
282
|
-
-------------------------------------------------
|
283
|
-
ActsAsCitableTest: test_new_nokogiri_xml_document
|
284
|
-
-------------------------------------------------
|
285
|
-
-----------------------------
|
286
|
-
ActsAsCitableTest: test_truth
|
287
|
-
-----------------------------
|
288
|
-
-------------------------------------------------------------------------
|
289
|
-
RecordChangedFieldTest: test_should_be_able_to_convert_to_an_export_STYLE
|
290
|
-
-------------------------------------------------------------------------
|
291
|
-
--------------------------------------------------------------------------------------
|
292
|
-
RecordChangedFieldTest: test_should_be_able_to_create_a_new_Record_with_changed_fields
|
293
|
-
--------------------------------------------------------------------------------------
|
294
|
-
--------------------------------------------------------------
|
295
|
-
RecordChangedFieldTest: test_should_be_available_to_convert_to
|
296
|
-
--------------------------------------------------------------
|
297
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
298
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
299
|
-
-------------------------------------------------------------------------------------
|
300
|
-
RecordChangedFieldTest: test_should_check_if_i_can_use_the_record_with_changed_fields
|
301
|
-
-------------------------------------------------------------------------------------
|
302
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
303
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
304
|
-
------------------------------------------------------------------------------
|
305
|
-
RecordChangedFieldTest: test_should_check_to_see_if_from_format_fields_are_set
|
306
|
-
------------------------------------------------------------------------------
|
307
|
-
------------------------------------------------------------------------------------------------
|
308
|
-
RecordChangedFieldTest: test_should_check_to_see_if_records_with_changed_fields_can_be_converted
|
309
|
-
------------------------------------------------------------------------------------------------
|
310
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
311
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
312
|
-
---------------------------------------------------------------------------
|
313
|
-
RecordChangedFieldTest: test_should_check_to_see_if_you_cannot_convert_from
|
314
|
-
---------------------------------------------------------------------------
|
315
|
-
---------------------------------------------------------
|
316
|
-
RecordChangedFieldTest: test_should_raise_no_method_error
|
317
|
-
---------------------------------------------------------
|
318
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
319
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
320
|
-
----------------------------------------------------------------------
|
321
|
-
InheritedRecordTest: test_should_be_able_to_convert_to_an_export_STYLE
|
322
|
-
----------------------------------------------------------------------
|
323
|
-
-------------------------------------------------------------------------
|
324
|
-
InheritedRecordTest: test_should_be_able_to_create_a_new_Inherited_Record
|
325
|
-
-------------------------------------------------------------------------
|
326
|
-
-----------------------------------------------------------
|
327
|
-
InheritedRecordTest: test_should_be_available_to_convert_to
|
328
|
-
-----------------------------------------------------------
|
329
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
330
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
331
|
-
------------------------------------------------------------------------
|
332
|
-
InheritedRecordTest: test_should_check_if_i_can_use_the_Inherited_record
|
333
|
-
------------------------------------------------------------------------
|
334
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
335
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
336
|
-
-----------------------------------------------------------------------------------
|
337
|
-
InheritedRecordTest: test_should_check_to_see_if_Inherited_records_can_be_converted
|
338
|
-
-----------------------------------------------------------------------------------
|
339
|
-
[1m[35mSavepoint (1.0ms)[0m SAVEPOINT active_record_1
|
340
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341
|
-
----------------------------------------------------------------------
|
342
|
-
InheritedRecordTest: test_should_check_to_see_if_format_fields_are_set
|
343
|
-
----------------------------------------------------------------------
|
344
|
-
------------------------------------------------------------------------
|
345
|
-
InheritedRecordTest: test_should_check_to_see_if_you_cannot_convert_from
|
346
|
-
------------------------------------------------------------------------
|
347
|
-
------------------------------------------------------
|
348
|
-
InheritedRecordTest: test_should_raise_no_method_error
|
349
|
-
------------------------------------------------------
|
350
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
351
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
352
|
-
[1m[36m (4.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
353
|
-
[1m[35mActiveRecord::SchemaMigration Load (1.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
354
|
-
[1m[36m (6.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "record_changed_fields"[0m
|
355
|
-
[1m[35m (6.0ms)[0m CREATE TABLE "record_changed_fields" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "data" varchar(255), "from_format" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
356
|
-
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "records"[0m
|
357
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "records" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "data" varchar(255), "format" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
358
|
-
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
359
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
360
|
-
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
361
|
-
[1m[35m (1.0ms)[0m SELECT sqlite_version(*)
|
362
|
-
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
363
|
-
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
364
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130221214225')[0m
|
365
|
-
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130221210429')
|
366
|
-
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
367
|
-
[1m[35mActiveRecord::SchemaMigration Load (1.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
368
|
-
-------------------------------------------------------------
|
369
|
-
RecordTest: test_should_be_able_to_convert_to_an_export_STYLE
|
370
|
-
-------------------------------------------------------------
|
371
|
-
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'[0m
|
372
|
-
------------------------------------------------------
|
373
|
-
RecordTest: test_should_be_able_to_create_a_new_Record
|
374
|
-
------------------------------------------------------
|
375
|
-
--------------------------------------------------
|
376
|
-
RecordTest: test_should_be_available_to_convert_to
|
377
|
-
--------------------------------------------------
|
378
|
-
[1m[35mSavepoint (2.0ms)[0m SAVEPOINT active_record_1
|
379
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
380
|
-
-----------------------------------------------------
|
381
|
-
RecordTest: test_should_check_if_i_can_use_the_record
|
382
|
-
-----------------------------------------------------
|
383
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
384
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
385
|
-
-------------------------------------------------------------
|
386
|
-
RecordTest: test_should_check_to_see_if_format_fields_are_set
|
387
|
-
-------------------------------------------------------------
|
388
|
-
----------------------------------------------------------------
|
389
|
-
RecordTest: test_should_check_to_see_if_records_can_be_converted
|
390
|
-
----------------------------------------------------------------
|
391
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
392
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
393
|
-
---------------------------------------------------------------
|
394
|
-
RecordTest: test_should_check_to_see_if_you_cannot_convert_from
|
395
|
-
---------------------------------------------------------------
|
396
|
-
---------------------------------------------
|
397
|
-
RecordTest: test_should_raise_no_method_error
|
398
|
-
---------------------------------------------
|
399
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
400
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
401
|
-
-------------------------------------------------------------------------
|
402
|
-
RecordChangedFieldTest: test_should_be_able_to_convert_to_an_export_STYLE
|
403
|
-
-------------------------------------------------------------------------
|
404
|
-
--------------------------------------------------------------------------------------
|
405
|
-
RecordChangedFieldTest: test_should_be_able_to_create_a_new_Record_with_changed_fields
|
406
|
-
--------------------------------------------------------------------------------------
|
407
|
-
--------------------------------------------------------------
|
408
|
-
RecordChangedFieldTest: test_should_be_available_to_convert_to
|
409
|
-
--------------------------------------------------------------
|
410
|
-
[1m[35mSavepoint (1.0ms)[0m SAVEPOINT active_record_1
|
411
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
412
|
-
-------------------------------------------------------------------------------------
|
413
|
-
RecordChangedFieldTest: test_should_check_if_i_can_use_the_record_with_changed_fields
|
414
|
-
-------------------------------------------------------------------------------------
|
415
|
-
[1m[35mSavepoint (1.0ms)[0m SAVEPOINT active_record_1
|
416
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
417
|
-
------------------------------------------------------------------------------
|
418
|
-
RecordChangedFieldTest: test_should_check_to_see_if_from_format_fields_are_set
|
419
|
-
------------------------------------------------------------------------------
|
420
|
-
------------------------------------------------------------------------------------------------
|
421
|
-
RecordChangedFieldTest: test_should_check_to_see_if_records_with_changed_fields_can_be_converted
|
422
|
-
------------------------------------------------------------------------------------------------
|
423
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
424
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
425
|
-
---------------------------------------------------------------------------
|
426
|
-
RecordChangedFieldTest: test_should_check_to_see_if_you_cannot_convert_from
|
427
|
-
---------------------------------------------------------------------------
|
428
|
-
---------------------------------------------------------
|
429
|
-
RecordChangedFieldTest: test_should_raise_no_method_error
|
430
|
-
---------------------------------------------------------
|
431
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
432
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
433
|
-
-------------------------------------------------
|
434
|
-
ActsAsCitableTest: test_new_nokogiri_xml_document
|
435
|
-
-------------------------------------------------
|
436
|
-
-----------------------------
|
437
|
-
ActsAsCitableTest: test_truth
|
438
|
-
-----------------------------
|
439
|
-
----------------------------------------------------------------------
|
440
|
-
InheritedRecordTest: test_should_be_able_to_convert_to_an_export_STYLE
|
441
|
-
----------------------------------------------------------------------
|
442
|
-
-------------------------------------------------------------------------
|
443
|
-
InheritedRecordTest: test_should_be_able_to_create_a_new_Inherited_Record
|
444
|
-
-------------------------------------------------------------------------
|
445
|
-
-----------------------------------------------------------
|
446
|
-
InheritedRecordTest: test_should_be_available_to_convert_to
|
447
|
-
-----------------------------------------------------------
|
448
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
449
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
450
|
-
------------------------------------------------------------------------
|
451
|
-
InheritedRecordTest: test_should_check_if_i_can_use_the_Inherited_record
|
452
|
-
------------------------------------------------------------------------
|
453
|
-
[1m[35mSavepoint (1.0ms)[0m SAVEPOINT active_record_1
|
454
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
455
|
-
-----------------------------------------------------------------------------------
|
456
|
-
InheritedRecordTest: test_should_check_to_see_if_Inherited_records_can_be_converted
|
457
|
-
-----------------------------------------------------------------------------------
|
458
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
459
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
460
|
-
----------------------------------------------------------------------
|
461
|
-
InheritedRecordTest: test_should_check_to_see_if_format_fields_are_set
|
462
|
-
----------------------------------------------------------------------
|
463
|
-
------------------------------------------------------------------------
|
464
|
-
InheritedRecordTest: test_should_check_to_see_if_you_cannot_convert_from
|
465
|
-
------------------------------------------------------------------------
|
466
|
-
------------------------------------------------------
|
467
|
-
InheritedRecordTest: test_should_raise_no_method_error
|
468
|
-
------------------------------------------------------
|
469
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
470
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
471
|
-
[1m[36m (5.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
472
|
-
[1m[35mActiveRecord::SchemaMigration Load (1.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
473
|
-
[1m[36m (4.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "record_changed_fields"[0m
|
474
|
-
[1m[35m (4.0ms)[0m CREATE TABLE "record_changed_fields" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "data" varchar, "from_format" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
475
|
-
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "records"[0m
|
476
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "records" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "data" varchar, "format" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
477
|
-
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
478
|
-
[1m[35m (0.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
479
|
-
[1m[36m (2.0ms)[0m [1mSELECT sqlite_version(*)[0m
|
480
|
-
[1m[35m (1.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"
|
481
|
-
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
482
|
-
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
483
|
-
[1m[36m (2.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130221214225')[0m
|
484
|
-
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130221210429')
|
485
|
-
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
486
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
487
|
-
-------------------------------------------------------------
|
488
|
-
RecordTest: test_should_be_able_to_convert_to_an_export_STYLE
|
489
|
-
-------------------------------------------------------------
|
490
|
-
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'[0m
|
491
|
-
------------------------------------------------------
|
492
|
-
RecordTest: test_should_be_able_to_create_a_new_Record
|
493
|
-
------------------------------------------------------
|
494
|
-
--------------------------------------------------
|
495
|
-
RecordTest: test_should_be_available_to_convert_to
|
496
|
-
--------------------------------------------------
|
497
|
-
[1m[35mSavepoint (4.0ms)[0m SAVEPOINT active_record_1
|
498
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
499
|
-
-----------------------------------------------------
|
500
|
-
RecordTest: test_should_check_if_i_can_use_the_record
|
501
|
-
-----------------------------------------------------
|
502
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
503
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
504
|
-
-------------------------------------------------------------
|
505
|
-
RecordTest: test_should_check_to_see_if_format_fields_are_set
|
506
|
-
-------------------------------------------------------------
|
507
|
-
----------------------------------------------------------------
|
508
|
-
RecordTest: test_should_check_to_see_if_records_can_be_converted
|
509
|
-
----------------------------------------------------------------
|
510
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
511
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
512
|
-
---------------------------------------------------------------
|
513
|
-
RecordTest: test_should_check_to_see_if_you_cannot_convert_from
|
514
|
-
---------------------------------------------------------------
|
515
|
-
---------------------------------------------
|
516
|
-
RecordTest: test_should_raise_no_method_error
|
517
|
-
---------------------------------------------
|
518
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
519
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
520
|
-
-------------------------------------------------
|
521
|
-
ActsAsCitableTest: test_new_nokogiri_xml_document
|
522
|
-
-------------------------------------------------
|
523
|
-
-----------------------------
|
524
|
-
ActsAsCitableTest: test_truth
|
525
|
-
-----------------------------
|
526
|
-
-------------------------------------------------------------------------
|
527
|
-
RecordChangedFieldTest: test_should_be_able_to_convert_to_an_export_STYLE
|
528
|
-
-------------------------------------------------------------------------
|
529
|
-
--------------------------------------------------------------------------------------
|
530
|
-
RecordChangedFieldTest: test_should_be_able_to_create_a_new_Record_with_changed_fields
|
531
|
-
--------------------------------------------------------------------------------------
|
532
|
-
--------------------------------------------------------------
|
533
|
-
RecordChangedFieldTest: test_should_be_available_to_convert_to
|
534
|
-
--------------------------------------------------------------
|
535
|
-
[1m[35mSavepoint (1.0ms)[0m SAVEPOINT active_record_1
|
536
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
537
|
-
-------------------------------------------------------------------------------------
|
538
|
-
RecordChangedFieldTest: test_should_check_if_i_can_use_the_record_with_changed_fields
|
539
|
-
-------------------------------------------------------------------------------------
|
540
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
541
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
542
|
-
------------------------------------------------------------------------------
|
543
|
-
RecordChangedFieldTest: test_should_check_to_see_if_from_format_fields_are_set
|
544
|
-
------------------------------------------------------------------------------
|
545
|
-
------------------------------------------------------------------------------------------------
|
546
|
-
RecordChangedFieldTest: test_should_check_to_see_if_records_with_changed_fields_can_be_converted
|
547
|
-
------------------------------------------------------------------------------------------------
|
548
|
-
[1m[35mSavepoint (1.0ms)[0m SAVEPOINT active_record_1
|
549
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
550
|
-
---------------------------------------------------------------------------
|
551
|
-
RecordChangedFieldTest: test_should_check_to_see_if_you_cannot_convert_from
|
552
|
-
---------------------------------------------------------------------------
|
553
|
-
---------------------------------------------------------
|
554
|
-
RecordChangedFieldTest: test_should_raise_no_method_error
|
555
|
-
---------------------------------------------------------
|
556
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
557
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
558
|
-
----------------------------------------------------------------------
|
559
|
-
InheritedRecordTest: test_should_be_able_to_convert_to_an_export_STYLE
|
560
|
-
----------------------------------------------------------------------
|
561
|
-
-------------------------------------------------------------------------
|
562
|
-
InheritedRecordTest: test_should_be_able_to_create_a_new_Inherited_Record
|
563
|
-
-------------------------------------------------------------------------
|
564
|
-
-----------------------------------------------------------
|
565
|
-
InheritedRecordTest: test_should_be_available_to_convert_to
|
566
|
-
-----------------------------------------------------------
|
567
|
-
[1m[35mSavepoint (1.0ms)[0m SAVEPOINT active_record_1
|
568
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
569
|
-
------------------------------------------------------------------------
|
570
|
-
InheritedRecordTest: test_should_check_if_i_can_use_the_Inherited_record
|
571
|
-
------------------------------------------------------------------------
|
572
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
573
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
574
|
-
-----------------------------------------------------------------------------------
|
575
|
-
InheritedRecordTest: test_should_check_to_see_if_Inherited_records_can_be_converted
|
576
|
-
-----------------------------------------------------------------------------------
|
577
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
578
|
-
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
579
|
-
----------------------------------------------------------------------
|
580
|
-
InheritedRecordTest: test_should_check_to_see_if_format_fields_are_set
|
581
|
-
----------------------------------------------------------------------
|
582
|
-
------------------------------------------------------------------------
|
583
|
-
InheritedRecordTest: test_should_check_to_see_if_you_cannot_convert_from
|
584
|
-
------------------------------------------------------------------------
|
585
|
-
------------------------------------------------------
|
586
|
-
InheritedRecordTest: test_should_raise_no_method_error
|
587
|
-
------------------------------------------------------
|
588
|
-
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
589
|
-
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
590
|
-
[1m[36m (4.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
591
|
-
[1m[35mActiveRecord::SchemaMigration Load (1.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
592
|
-
[1m[36m (4.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "record_changed_fields"[0m
|
593
|
-
[1m[35m (4.0ms)[0m CREATE TABLE "record_changed_fields" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "data" varchar, "from_format" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
594
|
-
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "records"[0m
|
595
|
-
[1m[35m (0.0ms)[0m CREATE TABLE "records" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "data" varchar, "format" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
596
|
-
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
597
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
598
|
-
[1m[36m (1.0ms)[0m [1mSELECT sqlite_version(*)[0m
|
599
|
-
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"
|
600
|
-
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
601
|
-
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
602
|
-
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130221214225')[0m
|
603
|
-
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130221210429')
|
604
|
-
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
605
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|