app_rail-airtable 0.3.6 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile +7 -5
- data/Gemfile.lock +19 -33
- data/README.md +39 -5
- data/Rakefile +5 -3
- data/app_rail-airtable.gemspec +22 -18
- data/bin/ara_generator +4 -2
- data/bin/console +4 -3
- data/examples/schemas/daily_logs.json +86 -0
- data/examples/schemas/locations.json +85 -0
- data/examples/schemas/users.json +51 -0
- data/lib/app_rail/airtable/application_record.rb +24 -21
- data/lib/app_rail/airtable/authenticatable.rb +31 -18
- data/lib/app_rail/airtable/authentication_helpers.rb +10 -7
- data/lib/app_rail/airtable/generator.rb +17 -2
- data/lib/app_rail/airtable/sinatra.rb +37 -25
- data/lib/app_rail/airtable/string_ext.rb +4 -2
- data/lib/app_rail/airtable/version.rb +3 -1
- data/lib/app_rail/airtable.rb +9 -7
- data/templates/project/Gemfile +2 -1
- data/templates/project/config.ru +2 -0
- data/templates/project/lib/server.rb.tt +6 -0
- data/templates/project/spec/server_spec.rb.tt +34 -0
- data/templates/project/spec/spec_helper.rb +56 -56
- metadata +40 -9
- data/templates/project/Gemfile.lock +0 -96
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: app_rail-airtable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brooke-Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: airrecord
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: bcrypt
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -53,7 +53,35 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: faraday
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.2'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.2'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: faraday-net_http_persistent
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '2.0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '2.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: sinatra
|
57
85
|
requirement: !ruby/object:Gem::Requirement
|
58
86
|
requirements:
|
59
87
|
- - ">="
|
@@ -67,7 +95,7 @@ dependencies:
|
|
67
95
|
- !ruby/object:Gem::Version
|
68
96
|
version: '0'
|
69
97
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
98
|
+
name: thor
|
71
99
|
requirement: !ruby/object:Gem::Requirement
|
72
100
|
requirements:
|
73
101
|
- - ">="
|
@@ -81,7 +109,7 @@ dependencies:
|
|
81
109
|
- !ruby/object:Gem::Version
|
82
110
|
version: '0'
|
83
111
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
112
|
+
name: rack-test
|
85
113
|
requirement: !ruby/object:Gem::Requirement
|
86
114
|
requirements:
|
87
115
|
- - ">="
|
@@ -95,7 +123,7 @@ dependencies:
|
|
95
123
|
- !ruby/object:Gem::Version
|
96
124
|
version: '0'
|
97
125
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
126
|
+
name: rspec
|
99
127
|
requirement: !ruby/object:Gem::Requirement
|
100
128
|
requirements:
|
101
129
|
- - ">="
|
@@ -120,6 +148,7 @@ files:
|
|
120
148
|
- ".gitignore"
|
121
149
|
- ".rspec"
|
122
150
|
- ".travis.yml"
|
151
|
+
- CHANGELOG.md
|
123
152
|
- Gemfile
|
124
153
|
- Gemfile.lock
|
125
154
|
- LICENSE.txt
|
@@ -129,6 +158,9 @@ files:
|
|
129
158
|
- bin/ara_generator
|
130
159
|
- bin/console
|
131
160
|
- bin/setup
|
161
|
+
- examples/schemas/daily_logs.json
|
162
|
+
- examples/schemas/locations.json
|
163
|
+
- examples/schemas/users.json
|
132
164
|
- lib/app_rail/airtable.rb
|
133
165
|
- lib/app_rail/airtable/application_record.rb
|
134
166
|
- lib/app_rail/airtable/authenticatable.rb
|
@@ -140,7 +172,6 @@ files:
|
|
140
172
|
- templates/project/.env.tt
|
141
173
|
- templates/project/.gitignore
|
142
174
|
- templates/project/Gemfile
|
143
|
-
- templates/project/Gemfile.lock
|
144
175
|
- templates/project/app.json
|
145
176
|
- templates/project/config.ru
|
146
177
|
- templates/project/lib/server.rb.tt
|
@@ -1,96 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: https://rubygems.org/
|
3
|
-
specs:
|
4
|
-
activesupport (6.1.4.1)
|
5
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
6
|
-
i18n (>= 1.6, < 2)
|
7
|
-
minitest (>= 5.1)
|
8
|
-
tzinfo (~> 2.0)
|
9
|
-
zeitwerk (~> 2.3)
|
10
|
-
airrecord (1.0.7)
|
11
|
-
faraday (>= 0.10, < 2.0)
|
12
|
-
net-http-persistent
|
13
|
-
app_rail-airtable (0.3.3)
|
14
|
-
activesupport
|
15
|
-
airrecord
|
16
|
-
bcrypt
|
17
|
-
sinatra
|
18
|
-
thor
|
19
|
-
bcrypt (3.1.16)
|
20
|
-
byebug (11.1.3)
|
21
|
-
concurrent-ruby (1.1.9)
|
22
|
-
connection_pool (2.2.5)
|
23
|
-
diff-lcs (1.4.4)
|
24
|
-
dotenv (2.7.6)
|
25
|
-
faraday (1.8.0)
|
26
|
-
faraday-em_http (~> 1.0)
|
27
|
-
faraday-em_synchrony (~> 1.0)
|
28
|
-
faraday-excon (~> 1.1)
|
29
|
-
faraday-httpclient (~> 1.0.1)
|
30
|
-
faraday-net_http (~> 1.0)
|
31
|
-
faraday-net_http_persistent (~> 1.1)
|
32
|
-
faraday-patron (~> 1.0)
|
33
|
-
faraday-rack (~> 1.0)
|
34
|
-
multipart-post (>= 1.2, < 3)
|
35
|
-
ruby2_keywords (>= 0.0.4)
|
36
|
-
faraday-em_http (1.0.0)
|
37
|
-
faraday-em_synchrony (1.0.0)
|
38
|
-
faraday-excon (1.1.0)
|
39
|
-
faraday-httpclient (1.0.1)
|
40
|
-
faraday-net_http (1.0.1)
|
41
|
-
faraday-net_http_persistent (1.2.0)
|
42
|
-
faraday-patron (1.0.0)
|
43
|
-
faraday-rack (1.0.0)
|
44
|
-
i18n (1.8.11)
|
45
|
-
concurrent-ruby (~> 1.0)
|
46
|
-
minitest (5.14.4)
|
47
|
-
multipart-post (2.1.1)
|
48
|
-
mustermann (1.1.1)
|
49
|
-
ruby2_keywords (~> 0.0.1)
|
50
|
-
net-http-persistent (4.0.1)
|
51
|
-
connection_pool (~> 2.2)
|
52
|
-
rack (2.2.3)
|
53
|
-
rack-protection (2.1.0)
|
54
|
-
rack
|
55
|
-
rack-test (1.1.0)
|
56
|
-
rack (>= 1.0, < 3)
|
57
|
-
rspec (3.10.0)
|
58
|
-
rspec-core (~> 3.10.0)
|
59
|
-
rspec-expectations (~> 3.10.0)
|
60
|
-
rspec-mocks (~> 3.10.0)
|
61
|
-
rspec-core (3.10.1)
|
62
|
-
rspec-support (~> 3.10.0)
|
63
|
-
rspec-expectations (3.10.1)
|
64
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
65
|
-
rspec-support (~> 3.10.0)
|
66
|
-
rspec-mocks (3.10.2)
|
67
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
68
|
-
rspec-support (~> 3.10.0)
|
69
|
-
rspec-support (3.10.3)
|
70
|
-
ruby2_keywords (0.0.5)
|
71
|
-
sinatra (2.1.0)
|
72
|
-
mustermann (~> 1.0)
|
73
|
-
rack (~> 2.2)
|
74
|
-
rack-protection (= 2.1.0)
|
75
|
-
tilt (~> 2.0)
|
76
|
-
thor (1.1.0)
|
77
|
-
tilt (2.0.10)
|
78
|
-
tzinfo (2.0.4)
|
79
|
-
concurrent-ruby (~> 1.0)
|
80
|
-
zeitwerk (2.5.1)
|
81
|
-
|
82
|
-
PLATFORMS
|
83
|
-
ruby
|
84
|
-
|
85
|
-
DEPENDENCIES
|
86
|
-
app_rail-airtable (~> 0.3.3)
|
87
|
-
byebug
|
88
|
-
dotenv
|
89
|
-
rack-test
|
90
|
-
rspec
|
91
|
-
|
92
|
-
RUBY VERSION
|
93
|
-
ruby 2.7.4p191
|
94
|
-
|
95
|
-
BUNDLED WITH
|
96
|
-
2.1.4
|