Current section

18 Versions

Jump to

Compare versions

4 files changed
+25 additions
-20 deletions
  @@ -1,16 +1,18 @@
1 1 {<<"name">>,<<"epgsql">>}.
2 - {<<"version">>,<<"3.1.0">>}.
2 + {<<"version">>,<<"3.1.1">>}.
3 3 {<<"app">>,<<"epgsql">>}.
4 4 {<<"precompiled">>,false}.
5 5 {<<"description">>,<<"PostgreSQL Client">>}.
6 6 {<<"files">>,
7 7 [{<<"src/epgsql.app.src">>,
8 - <<"{application,epgsql,\n [{description,\"PostgreSQL Client\"},\n {vsn,\"3.1.0\"},\n {modules,[]},\n {registered,[]},\n {applications,[kernel,stdlib,ssl]},\n {env,[]},\n {included_applications,[]}]}.\n">>},
8 + <<"{application,epgsql,\n [{description,\"PostgreSQL Client\"},\n {vsn,\"3.1.1\"},\n {modules,[]},\n {registered,[]},\n {applications,[kernel,stdlib,ssl]},\n {env,[]},\n {included_applications,[]},\n {licenses,[\"BSD\"]},\n {links,[{\"Github\",\"https://github.com/epgsql/epgsql\"}]}]}.\n">>},
9 9 <<"src/epgsql.erl">>,<<"src/epgsql_binary.erl">>,
10 10 <<"src/epgsql_fdatetime.erl">>,<<"src/epgsql_idatetime.erl">>,
11 11 <<"src/epgsql_sock.erl">>,<<"src/epgsql_types.erl">>,
12 12 <<"src/epgsql_wire.erl">>,<<"src/epgsqla.erl">>,<<"src/epgsqli.erl">>,
13 13 <<"src/ewkb.erl">>,<<"include/epgsql.hrl">>,<<"include/epgsql_binary.hrl">>,
14 - <<"include/epgsql_geometry.hrl">>,<<"rebar.config">>,<<"README.md">>,
15 - <<"LICENSE">>]}.
14 + <<"include/epgsql_geometry.hrl">>,<<"rebar.config">>,<<"rebar.lock">>,
15 + <<"README.md">>,<<"LICENSE">>]}.
16 + {<<"licenses">>,[<<"BSD">>]}.
17 + {<<"links">>,[{<<"Github">>,<<"https://github.com/epgsql/epgsql">>}]}.
16 18 {<<"build_tools">>,[<<"rebar3">>]}.
  @@ -1,7 +1,7 @@
1 1 -type point_type() :: '2d' | '3d' | '2dm' | '3dm'.
2 2
3 3 -record(point,{
4 - point_type :: point_type(),
4 + point_type :: any(),
5 5 x :: float(),
6 6 y :: float(),
7 7 z :: float(),
  @@ -11,77 +11,77 @@
11 11 -type point(PointType) :: #point{ point_type :: PointType }.
12 12
13 13 -record(multi_point,{
14 - point_type :: point_type() ,
14 + point_type :: any(),
15 15 points :: [point(point_type())]
16 16 }).
17 17
18 18 -type multi_point(PointType) :: #multi_point{ point_type :: PointType }.
19 19
20 20 -record(line_string,{
21 - point_type :: point_type(),
21 + point_type :: any(),
22 22 points :: [point(point_type())]
23 23 }).
24 24
25 25 -type line_string(PointType) :: #line_string{ point_type :: PointType }.
26 26
27 27 -record(multi_line_string,{
28 - point_type :: point_type(),
28 + point_type :: any(),
29 29 line_strings :: [line_string(point_type())]
30 30 }).
31 31
32 32 -type multi_line_string(PointType) :: #multi_line_string{ point_type :: PointType }.
33 33
34 34 -record(circular_string,{
35 - point_type :: point_type(),
35 + point_type :: any(),
36 36 points :: [point(point_type())]
37 37 }).
38 38
39 39 -type basic_string(PointType) :: #circular_string{ point_type :: PointType } | #line_string{ point_type :: PointType }.
40 40
41 41 -record(compound_curve,{
42 - point_type :: point_type(),
42 + point_type :: any(),
43 43 lines :: [basic_string(point_type())]
44 44 }).
45 45
46 46 -type curve(PointType) :: #circular_string{ point_type :: PointType } | #line_string{ point_type :: PointType } | #compound_curve{ point_type :: PointType }.
47 47
48 48 -record(multi_curve,{
49 - point_type :: point_type(),
49 + point_type :: any(),
50 50 curves :: [curve(point_type())]
51 51 }).
52 52
53 53 -type multi_curve(PointType) :: #multi_curve{ point_type :: PointType }.
54 54
55 55 -record(polygon,{
56 - point_type :: point_type(),
56 + point_type :: any(),
57 57 rings :: [line_string(point_type())]
58 58 }).
59 59
60 60 -type polygon(PointType) :: #polygon{ point_type :: PointType }.
61 61
62 62 -record(multi_polygon,{
63 - point_type :: point_type(),
63 + point_type :: any(),
64 64 polygons :: [polygon(point_type())]
65 65 }).
66 66
67 67 -type multi_polygon(PointType) :: #multi_polygon{ point_type :: PointType }.
68 68
69 69 -record(triangle,{
70 - point_type :: point_type(),
70 + point_type :: any(),
71 71 rings :: [line_string(point_type())]
72 72 }).
73 73
74 74 -type triangle(PointType) :: #triangle{ point_type :: PointType }.
75 75
76 76 -record(curve_polygon,{
77 - point_type :: point_type(),
77 + point_type :: any(),
78 78 rings :: [curve(point_type())]
79 79 }).
80 80
81 81 -type curve_polygon(PointType) :: #curve_polygon{ point_type :: PointType }.
82 82
83 83 -record(polyhedral_surface,{
84 - point_type :: point_type(),
84 + point_type :: any(),
85 85 polygons :: [polygon(point_type())]
86 86 }).
87 87
  @@ -90,14 +90,14 @@
90 90 -type surface(PointType) :: polygon(PointType) | curve_polygon(PointType) | polyhedral_surface(PointType).
91 91
92 92 -record(multi_surface,{
93 - point_type :: point_type(),
93 + point_type :: any(),
94 94 surfaces :: [surface(point_type())]
95 95 }).
96 96
97 97 -type multi_surface(PointType) :: #multi_surface{ point_type :: PointType }.
98 98
99 99 -record(tin,{
100 - point_type :: point_type(),
100 + point_type :: any(),
101 101 triangles :: [triangle(point_type())]
102 102 }).
  @@ -0,0 +1 @@
1 + [].
  @@ -1,8 +1,10 @@
1 1 {application,epgsql,
2 2 [{description,"PostgreSQL Client"},
3 - {vsn,"3.1.0"},
3 + {vsn,"3.1.1"},
4 4 {modules,[]},
5 5 {registered,[]},
6 6 {applications,[kernel,stdlib,ssl]},
7 7 {env,[]},
8 - {included_applications,[]}]}.
8 + {included_applications,[]},
9 + {licenses,["BSD"]},
10 + {links,[{"Github","https://github.com/epgsql/epgsql"}]}]}.