built_in_data 1.0.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/Rakefile +5 -27
- data/lib/built_in_data.rb +25 -3
- data/lib/built_in_data/version.rb +1 -1
- data/test/built_in_data_test.rb +17 -0
- data/test/dummy/app/assets/config/manifest.js +4 -0
- data/test/dummy/config/application.rb +0 -1
- data/test/dummy/config/environments/test.rb +6 -3
- data/test/dummy/db/built_in_data/national_parks.yml +5 -0
- data/test/dummy/db/migrate/20141113214328_add_active_to_national_parks.rb +5 -0
- data/test/dummy/db/schema.rb +2 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1540 -3449
- data/test/test_helper.rb +5 -0
- metadata +44 -60
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -12
data/test/test_helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,49 +1,34 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: built_in_data
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aaron Baldwin
|
|
8
|
-
-
|
|
9
|
-
|
|
10
|
-
autorequire:
|
|
8
|
+
- Brightways Learning
|
|
9
|
+
autorequire:
|
|
11
10
|
bindir: bin
|
|
12
11
|
cert_chain: []
|
|
13
|
-
date:
|
|
12
|
+
date: 2020-10-22 00:00:00.000000000 Z
|
|
14
13
|
dependencies:
|
|
15
14
|
- !ruby/object:Gem::Dependency
|
|
16
|
-
name:
|
|
15
|
+
name: activerecord
|
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
|
18
17
|
requirements:
|
|
19
|
-
- -
|
|
18
|
+
- - ">="
|
|
20
19
|
- !ruby/object:Gem::Version
|
|
21
|
-
version:
|
|
20
|
+
version: 5.0.0
|
|
22
21
|
type: :runtime
|
|
23
22
|
prerelease: false
|
|
24
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
24
|
requirements:
|
|
26
|
-
- -
|
|
25
|
+
- - ">="
|
|
27
26
|
- !ruby/object:Gem::Version
|
|
28
|
-
version:
|
|
29
|
-
- !ruby/object:Gem::Dependency
|
|
30
|
-
name: sqlite3
|
|
31
|
-
requirement: !ruby/object:Gem::Requirement
|
|
32
|
-
requirements:
|
|
33
|
-
- - ~>
|
|
34
|
-
- !ruby/object:Gem::Version
|
|
35
|
-
version: '1.3'
|
|
36
|
-
type: :development
|
|
37
|
-
prerelease: false
|
|
38
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
39
|
-
requirements:
|
|
40
|
-
- - ~>
|
|
41
|
-
- !ruby/object:Gem::Version
|
|
42
|
-
version: '1.3'
|
|
27
|
+
version: 5.0.0
|
|
43
28
|
description: BuiltInData is a simple tool for loading and updating data in a Rails
|
|
44
29
|
application.
|
|
45
30
|
email:
|
|
46
|
-
- developers@
|
|
31
|
+
- developers@brightwayslearning.org
|
|
47
32
|
executables: []
|
|
48
33
|
extensions: []
|
|
49
34
|
extra_rdoc_files: []
|
|
@@ -56,6 +41,7 @@ files:
|
|
|
56
41
|
- test/built_in_data_test.rb
|
|
57
42
|
- test/dummy/README.rdoc
|
|
58
43
|
- test/dummy/Rakefile
|
|
44
|
+
- test/dummy/app/assets/config/manifest.js
|
|
59
45
|
- test/dummy/app/assets/javascripts/application.js
|
|
60
46
|
- test/dummy/app/assets/stylesheets/application.css
|
|
61
47
|
- test/dummy/app/controllers/application_controller.rb
|
|
@@ -85,14 +71,13 @@ files:
|
|
|
85
71
|
- test/dummy/config/routes.rb
|
|
86
72
|
- test/dummy/config/secrets.yml
|
|
87
73
|
- test/dummy/db/built_in_data/national_parks.yml
|
|
88
|
-
- test/dummy/db/development.sqlite3
|
|
89
74
|
- test/dummy/db/migrate/20121024195810_create_national_parks.rb
|
|
90
75
|
- test/dummy/db/migrate/20121024201818_add_built_in_key_to_national_parks.rb
|
|
91
76
|
- test/dummy/db/migrate/20121101224000_add_protected_attribute_column_to_national_parks.rb
|
|
92
77
|
- test/dummy/db/migrate/20141111224715_remove_protected_attribute_column_from_national_parks.rb
|
|
78
|
+
- test/dummy/db/migrate/20141113214328_add_active_to_national_parks.rb
|
|
93
79
|
- test/dummy/db/schema.rb
|
|
94
80
|
- test/dummy/db/test.sqlite3
|
|
95
|
-
- test/dummy/log/development.log
|
|
96
81
|
- test/dummy/log/test.log
|
|
97
82
|
- test/dummy/public/404.html
|
|
98
83
|
- test/dummy/public/422.html
|
|
@@ -103,70 +88,69 @@ homepage: https://github.com/wwidea/built_in_data
|
|
|
103
88
|
licenses:
|
|
104
89
|
- MIT
|
|
105
90
|
metadata: {}
|
|
106
|
-
post_install_message:
|
|
91
|
+
post_install_message:
|
|
107
92
|
rdoc_options: []
|
|
108
93
|
require_paths:
|
|
109
94
|
- lib
|
|
110
95
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
111
96
|
requirements:
|
|
112
|
-
- -
|
|
97
|
+
- - ">="
|
|
113
98
|
- !ruby/object:Gem::Version
|
|
114
99
|
version: '0'
|
|
115
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
101
|
requirements:
|
|
117
|
-
- -
|
|
102
|
+
- - ">="
|
|
118
103
|
- !ruby/object:Gem::Version
|
|
119
104
|
version: '0'
|
|
120
105
|
requirements: []
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
signing_key:
|
|
106
|
+
rubygems_version: 3.0.3
|
|
107
|
+
signing_key:
|
|
124
108
|
specification_version: 4
|
|
125
109
|
summary: Data management for Rails models.
|
|
126
110
|
test_files:
|
|
127
|
-
- test/
|
|
111
|
+
- test/dummy/app/models/national_park.rb
|
|
112
|
+
- test/dummy/app/controllers/application_controller.rb
|
|
113
|
+
- test/dummy/app/views/layouts/application.html.erb
|
|
114
|
+
- test/dummy/app/assets/config/manifest.js
|
|
128
115
|
- test/dummy/app/assets/javascripts/application.js
|
|
129
116
|
- test/dummy/app/assets/stylesheets/application.css
|
|
130
|
-
- test/dummy/app/controllers/application_controller.rb
|
|
131
117
|
- test/dummy/app/helpers/application_helper.rb
|
|
132
|
-
- test/dummy/
|
|
133
|
-
- test/dummy/app/views/layouts/application.html.erb
|
|
118
|
+
- test/dummy/bin/rake
|
|
134
119
|
- test/dummy/bin/bundle
|
|
135
120
|
- test/dummy/bin/rails
|
|
136
|
-
- test/dummy/
|
|
137
|
-
- test/dummy/config/
|
|
138
|
-
- test/dummy/config/
|
|
139
|
-
- test/dummy/config/database.yml
|
|
140
|
-
- test/dummy/config/environment.rb
|
|
141
|
-
- test/dummy/config/environments/development.rb
|
|
121
|
+
- test/dummy/config/secrets.yml
|
|
122
|
+
- test/dummy/config/routes.rb
|
|
123
|
+
- test/dummy/config/locales/en.yml
|
|
142
124
|
- test/dummy/config/environments/production.rb
|
|
125
|
+
- test/dummy/config/environments/development.rb
|
|
143
126
|
- test/dummy/config/environments/test.rb
|
|
144
|
-
- test/dummy/config/
|
|
127
|
+
- test/dummy/config/environment.rb
|
|
128
|
+
- test/dummy/config/application.rb
|
|
129
|
+
- test/dummy/config/database.yml
|
|
130
|
+
- test/dummy/config/boot.rb
|
|
145
131
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
|
146
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
|
147
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
|
148
|
-
- test/dummy/config/initializers/inflections.rb
|
|
149
132
|
- test/dummy/config/initializers/mime_types.rb
|
|
133
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
|
150
134
|
- test/dummy/config/initializers/session_store.rb
|
|
151
135
|
- test/dummy/config/initializers/wrap_parameters.rb
|
|
152
|
-
- test/dummy/config/
|
|
153
|
-
- test/dummy/config/
|
|
154
|
-
- test/dummy/config/
|
|
136
|
+
- test/dummy/config/initializers/assets.rb
|
|
137
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
|
138
|
+
- test/dummy/config/initializers/inflections.rb
|
|
155
139
|
- test/dummy/config.ru
|
|
140
|
+
- test/dummy/Rakefile
|
|
141
|
+
- test/dummy/public/favicon.ico
|
|
142
|
+
- test/dummy/public/422.html
|
|
143
|
+
- test/dummy/public/500.html
|
|
144
|
+
- test/dummy/public/404.html
|
|
145
|
+
- test/dummy/db/schema.rb
|
|
146
|
+
- test/dummy/db/test.sqlite3
|
|
156
147
|
- test/dummy/db/built_in_data/national_parks.yml
|
|
157
|
-
- test/dummy/db/
|
|
148
|
+
- test/dummy/db/migrate/20121101224000_add_protected_attribute_column_to_national_parks.rb
|
|
158
149
|
- test/dummy/db/migrate/20121024195810_create_national_parks.rb
|
|
159
150
|
- test/dummy/db/migrate/20121024201818_add_built_in_key_to_national_parks.rb
|
|
160
|
-
- test/dummy/db/migrate/20121101224000_add_protected_attribute_column_to_national_parks.rb
|
|
161
151
|
- test/dummy/db/migrate/20141111224715_remove_protected_attribute_column_from_national_parks.rb
|
|
162
|
-
- test/dummy/db/
|
|
163
|
-
- test/dummy/db/test.sqlite3
|
|
164
|
-
- test/dummy/log/development.log
|
|
152
|
+
- test/dummy/db/migrate/20141113214328_add_active_to_national_parks.rb
|
|
165
153
|
- test/dummy/log/test.log
|
|
166
|
-
- test/dummy/public/404.html
|
|
167
|
-
- test/dummy/public/422.html
|
|
168
|
-
- test/dummy/public/500.html
|
|
169
|
-
- test/dummy/public/favicon.ico
|
|
170
|
-
- test/dummy/Rakefile
|
|
171
154
|
- test/dummy/README.rdoc
|
|
155
|
+
- test/built_in_data_test.rb
|
|
172
156
|
- test/test_helper.rb
|
|
Binary file
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
2
|
-
Migrating to RemoveProtectedAttributeColumnFromNationalParks (20141111224715)
|
|
3
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
4
|
-
[1m[36m (1.0ms)[0m [1mCREATE TEMPORARY TABLE "anational_parks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "established" date, "url" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "built_in_key" varchar(255), "protected_attribute_column" varchar(255)) [0m
|
|
5
|
-
[1m[35m (0.2ms)[0m SELECT * FROM "national_parks"
|
|
6
|
-
[1m[36m (0.4ms)[0m [1mDROP TABLE "national_parks"[0m
|
|
7
|
-
[1m[35m (0.1ms)[0m CREATE TABLE "national_parks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "established" date, "url" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "built_in_key" varchar(255))
|
|
8
|
-
[1m[36m (0.0ms)[0m [1mSELECT * FROM "anational_parks"[0m
|
|
9
|
-
[1m[35m (0.2ms)[0m DROP TABLE "anational_parks"
|
|
10
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141111224715"]]
|
|
11
|
-
[1m[35m (1.7ms)[0m commit transaction
|
|
12
|
-
[1m[36mActiveRecord::SchemaMigration Load (1.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|