obvious_data 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/lib/obvious_data/version.rb +1 -1
- data/spec/dummy/db/structure.sql +5 -6
- metadata +40 -22
- data/spec/dummy/log/test.log +0 -76
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
YjZlZjUwNzJkYmIxYTcwMTE0N2FhYmU4ODM0ODZlYTRlMTIxMmM4Nw==
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 10c8c46db825f68b8b622ff2ad72d3d0fd951a6502a74a47c635ae11aacf46d6
|
4
|
+
data.tar.gz: edb6d0121fdba012b7ff928bb43f03150056cf3e5600fdc7f6028aac9743036d
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
Y2EwNWI3ZTVlOTMxYWM1OThjN2QxMGE4MGRhYjVmNGE1Zjc1OTRhMmNjZDRh
|
11
|
-
YjU0ODc1NTc2YTYxYjJmNWQ3NzcxYTg0MmMzODZhMTc3MjJkZWQ=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
OGYzMTNjM2NiOTJkNzZlN2IyODhkY2VhMjAyODJkOGJiNzAzMGEzNmZiYTY3
|
14
|
-
ZGJkNjhkYWU5Y2Y0ZDNlMDFiMThiNWM3ODQ2MTIwNjNkOGUyYjg5YmU2NjZl
|
15
|
-
Y2FiYjUyMzllY2NiMWFiMTdkNDhmZDAwMTdlODFjM2VmODA0OTU=
|
6
|
+
metadata.gz: e62bbed63eb679fee1501ca54e78a2712b655e095c6799b004985b7aae451644edd8be24e1c149aabd52db8a0d4bf6f5e1141758d49644e394076f13a6deefc5
|
7
|
+
data.tar.gz: 6f4b9269232d1b880c9ff9b748f357b93c7e34e4157c6a26938aed8f769cabf35aa1235e0a8f8f9d952ddef6c716d5cb2152fd8a70672a0a01129bbf68ab3676
|
data/lib/obvious_data/version.rb
CHANGED
data/spec/dummy/db/structure.sql
CHANGED
@@ -3,7 +3,6 @@
|
|
3
3
|
--
|
4
4
|
|
5
5
|
SET statement_timeout = 0;
|
6
|
-
SET lock_timeout = 0;
|
7
6
|
SET client_encoding = 'UTF8';
|
8
7
|
SET standard_conforming_strings = on;
|
9
8
|
SET check_function_bodies = false;
|
@@ -43,7 +42,7 @@ SET default_tablespace = '';
|
|
43
42
|
SET default_with_oids = false;
|
44
43
|
|
45
44
|
--
|
46
|
-
-- Name: dummy; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
45
|
+
-- Name: dummy; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
47
46
|
--
|
48
47
|
|
49
48
|
CREATE TABLE dummy (
|
@@ -71,7 +70,7 @@ ALTER SEQUENCE dummy_id_seq OWNED BY dummy.id;
|
|
71
70
|
|
72
71
|
|
73
72
|
--
|
74
|
-
-- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
73
|
+
-- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
75
74
|
--
|
76
75
|
|
77
76
|
CREATE TABLE schema_migrations (
|
@@ -87,7 +86,7 @@ ALTER TABLE ONLY dummy ALTER COLUMN id SET DEFAULT nextval('dummy_id_seq'::regcl
|
|
87
86
|
|
88
87
|
|
89
88
|
--
|
90
|
-
-- Name: dummy_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
89
|
+
-- Name: dummy_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
91
90
|
--
|
92
91
|
|
93
92
|
ALTER TABLE ONLY dummy
|
@@ -95,7 +94,7 @@ ALTER TABLE ONLY dummy
|
|
95
94
|
|
96
95
|
|
97
96
|
--
|
98
|
-
-- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
97
|
+
-- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
99
98
|
--
|
100
99
|
|
101
100
|
CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations USING btree (version);
|
@@ -109,4 +108,4 @@ SET search_path TO "$user",public;
|
|
109
108
|
|
110
109
|
INSERT INTO schema_migrations (version) VALUES ('20140724185749');
|
111
110
|
|
112
|
-
INSERT INTO schema_migrations (version) VALUES ('20140724192457');
|
111
|
+
INSERT INTO schema_migrations (version) VALUES ('20140724192457');
|
metadata
CHANGED
@@ -1,89 +1,109 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: obvious_data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Suan-Aik Yeo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: railties
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 3.2.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
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: 3.2.0
|
30
|
-
- - <
|
30
|
+
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: '6'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: activerecord
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 3.2.0
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '6'
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 3.2.0
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '6'
|
33
53
|
- !ruby/object:Gem::Dependency
|
34
54
|
name: pg
|
35
55
|
requirement: !ruby/object:Gem::Requirement
|
36
56
|
requirements:
|
37
|
-
- - ~>
|
57
|
+
- - "~>"
|
38
58
|
- !ruby/object:Gem::Version
|
39
59
|
version: '0.18'
|
40
60
|
type: :development
|
41
61
|
prerelease: false
|
42
62
|
version_requirements: !ruby/object:Gem::Requirement
|
43
63
|
requirements:
|
44
|
-
- - ~>
|
64
|
+
- - "~>"
|
45
65
|
- !ruby/object:Gem::Version
|
46
66
|
version: '0.18'
|
47
67
|
- !ruby/object:Gem::Dependency
|
48
68
|
name: rspec
|
49
69
|
requirement: !ruby/object:Gem::Requirement
|
50
70
|
requirements:
|
51
|
-
- - ~>
|
71
|
+
- - "~>"
|
52
72
|
- !ruby/object:Gem::Version
|
53
73
|
version: '3.4'
|
54
74
|
type: :development
|
55
75
|
prerelease: false
|
56
76
|
version_requirements: !ruby/object:Gem::Requirement
|
57
77
|
requirements:
|
58
|
-
- - ~>
|
78
|
+
- - "~>"
|
59
79
|
- !ruby/object:Gem::Version
|
60
80
|
version: '3.4'
|
61
81
|
- !ruby/object:Gem::Dependency
|
62
82
|
name: pry
|
63
83
|
requirement: !ruby/object:Gem::Requirement
|
64
84
|
requirements:
|
65
|
-
- - ~>
|
85
|
+
- - "~>"
|
66
86
|
- !ruby/object:Gem::Version
|
67
87
|
version: '0.10'
|
68
88
|
type: :development
|
69
89
|
prerelease: false
|
70
90
|
version_requirements: !ruby/object:Gem::Requirement
|
71
91
|
requirements:
|
72
|
-
- - ~>
|
92
|
+
- - "~>"
|
73
93
|
- !ruby/object:Gem::Version
|
74
94
|
version: '0.10'
|
75
95
|
- !ruby/object:Gem::Dependency
|
76
96
|
name: coveralls
|
77
97
|
requirement: !ruby/object:Gem::Requirement
|
78
98
|
requirements:
|
79
|
-
- - ~>
|
99
|
+
- - "~>"
|
80
100
|
- !ruby/object:Gem::Version
|
81
101
|
version: '0.8'
|
82
102
|
type: :development
|
83
103
|
prerelease: false
|
84
104
|
version_requirements: !ruby/object:Gem::Requirement
|
85
105
|
requirements:
|
86
|
-
- - ~>
|
106
|
+
- - "~>"
|
87
107
|
- !ruby/object:Gem::Version
|
88
108
|
version: '0.8'
|
89
109
|
description: Rails gem to treat DB functions, triggers, etc more like code, and make
|
@@ -123,7 +143,6 @@ files:
|
|
123
143
|
- spec/dummy/db/migrate/20140724192457_create_dummy_trigger_func.rb
|
124
144
|
- spec/dummy/db/structure.sql
|
125
145
|
- spec/dummy/db/test.sqlite3
|
126
|
-
- spec/dummy/log/test.log
|
127
146
|
- spec/dummy/public/404.html
|
128
147
|
- spec/dummy/public/422.html
|
129
148
|
- spec/dummy/public/500.html
|
@@ -144,17 +163,17 @@ require_paths:
|
|
144
163
|
- lib
|
145
164
|
required_ruby_version: !ruby/object:Gem::Requirement
|
146
165
|
requirements:
|
147
|
-
- -
|
166
|
+
- - ">="
|
148
167
|
- !ruby/object:Gem::Version
|
149
168
|
version: '0'
|
150
169
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
170
|
requirements:
|
152
|
-
- -
|
171
|
+
- - ">="
|
153
172
|
- !ruby/object:Gem::Version
|
154
173
|
version: '0'
|
155
174
|
requirements: []
|
156
175
|
rubyforge_project:
|
157
|
-
rubygems_version: 2.
|
176
|
+
rubygems_version: 2.7.5
|
158
177
|
signing_key:
|
159
178
|
specification_version: 4
|
160
179
|
summary: Treat DB functions, triggers, etc more like code, and make them more discoverable
|
@@ -179,7 +198,6 @@ test_files:
|
|
179
198
|
- spec/dummy/db/migrate/20140724192457_create_dummy_trigger_func.rb
|
180
199
|
- spec/dummy/db/structure.sql
|
181
200
|
- spec/dummy/db/test.sqlite3
|
182
|
-
- spec/dummy/log/test.log
|
183
201
|
- spec/dummy/public/404.html
|
184
202
|
- spec/dummy/public/422.html
|
185
203
|
- spec/dummy/public/500.html
|
data/spec/dummy/log/test.log
DELETED
@@ -1,76 +0,0 @@
|
|
1
|
-
Connecting to database specified by database.yml
|
2
|
-
[1m[36m (0.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
3
|
-
Connecting to database specified by database.yml
|
4
|
-
[1m[36m (1.2ms)[0m [1mcreate or replace view one_v as
|
5
|
-
select 1;
|
6
|
-
[0m
|
7
|
-
[1m[35m (0.3ms)[0m select * from one_v
|
8
|
-
[1m[36m (0.9ms)[0m [1mDROP VIEW IF EXISTS one_v;[0m
|
9
|
-
[1m[35m (0.3ms)[0m select * from one_v
|
10
|
-
PG::UndefinedTable: ERROR: relation "one_v" does not exist
|
11
|
-
LINE 1: select * from one_v
|
12
|
-
^
|
13
|
-
: select * from one_v
|
14
|
-
[1m[36m (0.2ms)[0m [1mdrop function if exists one()[0m
|
15
|
-
[1m[35m (0.1ms)[0m drop view if exists one_v
|
16
|
-
[1m[36m (0.2ms)[0m [1mdrop trigger if exists one_t on dummy[0m
|
17
|
-
[1m[35m (0.4ms)[0m CREATE FUNCTION one() RETURNS integer AS $$
|
18
|
-
SELECT 1 AS result;
|
19
|
-
$$ LANGUAGE SQL;
|
20
|
-
|
21
|
-
[1m[36m (0.2ms)[0m [1mselect * from one()[0m
|
22
|
-
[1m[35m (0.2ms)[0m DROP FUNCTION IF EXISTS one();
|
23
|
-
[1m[36m (0.2ms)[0m [1mselect * from one()[0m
|
24
|
-
PG::UndefinedFunction: ERROR: function one() does not exist
|
25
|
-
LINE 1: select * from one()
|
26
|
-
^
|
27
|
-
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
28
|
-
: select * from one()
|
29
|
-
[1m[35m (0.1ms)[0m drop function if exists one()
|
30
|
-
[1m[36m (0.1ms)[0m [1mdrop view if exists one_v[0m
|
31
|
-
[1m[35m (0.1ms)[0m drop trigger if exists one_t on dummy
|
32
|
-
[1m[36m (0.3ms)[0m [1mselect * from one()[0m
|
33
|
-
PG::UndefinedFunction: ERROR: function one() does not exist
|
34
|
-
LINE 1: select * from one()
|
35
|
-
^
|
36
|
-
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
37
|
-
: select * from one()
|
38
|
-
[1m[35m (0.2ms)[0m CREATE FUNCTION one() RETURNS integer AS $$
|
39
|
-
SELECT 1 AS result;
|
40
|
-
$$ LANGUAGE SQL;
|
41
|
-
|
42
|
-
[1m[36m (0.2ms)[0m [1mselect * from one()[0m
|
43
|
-
[1m[35m (0.2ms)[0m drop function if exists one()
|
44
|
-
[1m[36m (0.1ms)[0m [1mdrop view if exists one_v[0m
|
45
|
-
[1m[35m (0.1ms)[0m drop trigger if exists one_t on dummy
|
46
|
-
[1m[36m (0.5ms)[0m [1mselect true from pg_trigger where tgname = 'one_t'[0m
|
47
|
-
[1m[35m (0.6ms)[0m create trigger one_t
|
48
|
-
after update on dummy
|
49
|
-
for each row execute procedure do_dummy();
|
50
|
-
|
51
|
-
[1m[36m (0.3ms)[0m [1mselect true from pg_trigger where tgname = 'one_t'[0m
|
52
|
-
[1m[35m (0.1ms)[0m drop function if exists one()
|
53
|
-
[1m[36m (0.1ms)[0m [1mdrop view if exists one_v[0m
|
54
|
-
[1m[35m (0.2ms)[0m drop trigger if exists one_t on dummy
|
55
|
-
[1m[36m (0.5ms)[0m [1mselect * from one_v[0m
|
56
|
-
PG::UndefinedTable: ERROR: relation "one_v" does not exist
|
57
|
-
LINE 1: select * from one_v
|
58
|
-
^
|
59
|
-
: select * from one_v
|
60
|
-
[1m[35m (0.5ms)[0m create or replace view one_v as
|
61
|
-
select 1;
|
62
|
-
|
63
|
-
[1m[36m (0.2ms)[0m [1mselect * from one_v[0m
|
64
|
-
[1m[35m (0.1ms)[0m drop function if exists one()
|
65
|
-
[1m[36m (0.3ms)[0m [1mdrop view if exists one_v[0m
|
66
|
-
[1m[35m (0.1ms)[0m drop trigger if exists one_t on dummy
|
67
|
-
[1m[36m (0.2ms)[0m [1mcreate trigger one_t
|
68
|
-
after update on dummy
|
69
|
-
for each row execute procedure do_dummy();
|
70
|
-
[0m
|
71
|
-
[1m[35m (0.2ms)[0m select true from pg_trigger where tgname = 'one_t'
|
72
|
-
[1m[36m (0.2ms)[0m [1mDROP TRIGGER IF EXISTS one_t ON dummy;[0m
|
73
|
-
[1m[35m (0.1ms)[0m select true from pg_trigger where tgname = 'one_t'
|
74
|
-
[1m[36m (0.1ms)[0m [1mdrop function if exists one()[0m
|
75
|
-
[1m[35m (0.1ms)[0m drop view if exists one_v
|
76
|
-
[1m[36m (0.1ms)[0m [1mdrop trigger if exists one_t on dummy[0m
|