any_query 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/any_query/adapters/base.rb +173 -0
- data/lib/any_query/adapters/csv.rb +61 -0
- data/lib/any_query/adapters/fixed_length.rb +71 -0
- data/lib/any_query/adapters/http.rb +213 -0
- data/lib/any_query/adapters/sql.rb +100 -0
- data/lib/any_query/adapters.rb +13 -0
- data/lib/any_query/config.rb +12 -0
- data/lib/any_query/field.rb +7 -0
- data/lib/any_query/query.rb +70 -0
- data/lib/any_query/version.rb +5 -0
- data/lib/any_query.rb +58 -0
- data/spec/any_query/csv_spec.rb +44 -0
- data/spec/any_query/fixed_length_spec.rb +47 -0
- data/spec/any_query/http_spec.rb +161 -0
- data/spec/any_query/sql_spec.rb +58 -0
- data/spec/fixtures/sample.csv +3 -0
- data/spec/fixtures/sample.txt +2 -0
- data/spec/spec_helper.rb +32 -0
- data/spec/support/schema.rb +146 -0
- metadata +137 -0
metadata
ADDED
@@ -0,0 +1,137 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: any_query
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mònade
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-04-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activesupport
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '5'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '8'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '5'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '8'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: activemodel
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '5'
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '8'
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '5'
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '8'
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: rspec-rails
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '3'
|
60
|
+
type: :development
|
61
|
+
prerelease: false
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - "~>"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '3'
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: rubocop
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0'
|
74
|
+
type: :development
|
75
|
+
prerelease: false
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
description: An ORM for any data source (SQL, CSV, TSV, REST API).
|
82
|
+
email: team@monade.io
|
83
|
+
executables: []
|
84
|
+
extensions: []
|
85
|
+
extra_rdoc_files: []
|
86
|
+
files:
|
87
|
+
- lib/any_query.rb
|
88
|
+
- lib/any_query/adapters.rb
|
89
|
+
- lib/any_query/adapters/base.rb
|
90
|
+
- lib/any_query/adapters/csv.rb
|
91
|
+
- lib/any_query/adapters/fixed_length.rb
|
92
|
+
- lib/any_query/adapters/http.rb
|
93
|
+
- lib/any_query/adapters/sql.rb
|
94
|
+
- lib/any_query/config.rb
|
95
|
+
- lib/any_query/field.rb
|
96
|
+
- lib/any_query/query.rb
|
97
|
+
- lib/any_query/version.rb
|
98
|
+
- spec/any_query/csv_spec.rb
|
99
|
+
- spec/any_query/fixed_length_spec.rb
|
100
|
+
- spec/any_query/http_spec.rb
|
101
|
+
- spec/any_query/sql_spec.rb
|
102
|
+
- spec/fixtures/sample.csv
|
103
|
+
- spec/fixtures/sample.txt
|
104
|
+
- spec/spec_helper.rb
|
105
|
+
- spec/support/schema.rb
|
106
|
+
homepage: https://rubygems.org/gems/anyquery
|
107
|
+
licenses:
|
108
|
+
- MIT
|
109
|
+
metadata: {}
|
110
|
+
post_install_message:
|
111
|
+
rdoc_options: []
|
112
|
+
require_paths:
|
113
|
+
- lib
|
114
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: 3.0.0
|
119
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
requirements: []
|
125
|
+
rubygems_version: 3.4.6
|
126
|
+
signing_key:
|
127
|
+
specification_version: 4
|
128
|
+
summary: An ORM for any data source (SQL, CSV, TSV, REST API).
|
129
|
+
test_files:
|
130
|
+
- spec/any_query/csv_spec.rb
|
131
|
+
- spec/any_query/fixed_length_spec.rb
|
132
|
+
- spec/any_query/http_spec.rb
|
133
|
+
- spec/any_query/sql_spec.rb
|
134
|
+
- spec/fixtures/sample.csv
|
135
|
+
- spec/fixtures/sample.txt
|
136
|
+
- spec/spec_helper.rb
|
137
|
+
- spec/support/schema.rb
|