rack-queries 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.babelrc +2 -1
- data/.github/workflows/main.yml +47 -0
- data/.mergify.yml +11 -0
- data/.rubocop.yml +20 -2
- data/CHANGELOG.md +12 -1
- data/Gemfile.lock +25 -23
- data/README.md +22 -1
- data/bin/example +19 -1
- data/lib/rack/queries/app.rb +4 -2
- data/lib/rack/queries/cache.rb +57 -22
- data/lib/rack/queries/static/app.css +9 -4
- data/lib/rack/queries/static/app.js +8 -8
- data/lib/rack/queries/version.rb +1 -1
- data/package.json +25 -13
- data/rack-queries.gemspec +3 -3
- data/tsconfig.json +14 -0
- data/webpack.config.babel.js +17 -0
- data/yarn.lock +3246 -2948
- metadata +25 -23
- data/.travis.yml +0 -18
- data/webpack.config.js +0 -14
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-queries
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Deisz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -25,89 +25,89 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: bundler-audit
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0.6'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0.6'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: minitest
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '5.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '5.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name: rack
|
56
|
+
name: rack
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '2.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '2.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rack-test
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '1.1'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '1.1'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0
|
89
|
+
version: '13.0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '0
|
96
|
+
version: '13.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name: rubocop
|
98
|
+
name: rubocop
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '0.78'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '0.78'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: simplecov
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -145,9 +145,10 @@ extra_rdoc_files: []
|
|
145
145
|
files:
|
146
146
|
- ".babelrc"
|
147
147
|
- ".eslintignore"
|
148
|
+
- ".github/workflows/main.yml"
|
148
149
|
- ".gitignore"
|
150
|
+
- ".mergify.yml"
|
149
151
|
- ".rubocop.yml"
|
150
|
-
- ".travis.yml"
|
151
152
|
- CHANGELOG.md
|
152
153
|
- CODE_OF_CONDUCT.md
|
153
154
|
- Gemfile
|
@@ -169,7 +170,8 @@ files:
|
|
169
170
|
- lib/rack/queries/version.rb
|
170
171
|
- package.json
|
171
172
|
- rack-queries.gemspec
|
172
|
-
-
|
173
|
+
- tsconfig.json
|
174
|
+
- webpack.config.babel.js
|
173
175
|
- yarn.lock
|
174
176
|
homepage: https://github.com/CultureHQ/rack-queries
|
175
177
|
licenses:
|
@@ -190,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
192
|
- !ruby/object:Gem::Version
|
191
193
|
version: '0'
|
192
194
|
requirements: []
|
193
|
-
rubygems_version: 3.
|
195
|
+
rubygems_version: 3.1.2
|
194
196
|
signing_key:
|
195
197
|
specification_version: 4
|
196
198
|
summary: A page in your app for pre-built queries
|
data/.travis.yml
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm: 2.6.3
|
3
|
-
branches:
|
4
|
-
only: master
|
5
|
-
before_install:
|
6
|
-
- gem update --system
|
7
|
-
- gem install bundler
|
8
|
-
install:
|
9
|
-
- bundle install --jobs=3 --retry=3 --deployment
|
10
|
-
- yarn install --ignore-engines
|
11
|
-
script:
|
12
|
-
- bundle exec rake
|
13
|
-
- bundle exec rubocop
|
14
|
-
- yarn test
|
15
|
-
- yarn lint
|
16
|
-
cache:
|
17
|
-
- bundler
|
18
|
-
- yarn
|
data/webpack.config.js
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
const path = require("path");
|
2
|
-
|
3
|
-
module.exports = {
|
4
|
-
output: {
|
5
|
-
path: path.resolve(__dirname, "lib/rack/queries/static"),
|
6
|
-
filename: "app.js"
|
7
|
-
},
|
8
|
-
entry: path.join(__dirname, "src", "app.js"),
|
9
|
-
module: {
|
10
|
-
rules: [
|
11
|
-
{ test: /\.js$/, use: "babel-loader", exclude: /node_modules/ }
|
12
|
-
]
|
13
|
-
}
|
14
|
-
};
|