tapioca 0.0.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +11 -2
- data/README.md +51 -7
- data/Rakefile +11 -1
- data/exe/tapioca +6 -0
- data/lib/t.rb +50 -0
- data/lib/tapioca.rb +18 -1
- data/lib/tapioca/cli.rb +58 -0
- data/lib/tapioca/compilers/symbol_table/symbol_generator.rb +571 -0
- data/lib/tapioca/compilers/symbol_table/symbol_loader.rb +100 -0
- data/lib/tapioca/compilers/symbol_table_compiler.rb +23 -0
- data/lib/tapioca/gemfile.rb +136 -0
- data/lib/tapioca/generator.rb +286 -0
- data/lib/tapioca/version.rb +4 -1
- metadata +170 -21
- data/.gitignore +0 -17
- data/LICENSE +0 -22
- data/tapioca.gemspec +0 -17
data/lib/tapioca/version.rb
CHANGED
metadata
CHANGED
@@ -1,53 +1,202 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tapioca
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
|
-
-
|
7
|
+
- Ufuk Kayserilioglu
|
8
|
+
- Alan Wu
|
9
|
+
- Alexandre Terrasa
|
10
|
+
- Peter Zhu
|
9
11
|
autorequire:
|
10
|
-
bindir:
|
12
|
+
bindir: exe
|
11
13
|
cert_chain: []
|
12
|
-
date:
|
13
|
-
dependencies:
|
14
|
-
|
14
|
+
date: 2019-07-03 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: pry
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.12.2
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.12.2
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: sorbet-static
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - "~>"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 0.4.4371
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.4.4371
|
44
|
+
- !ruby/object:Gem::Dependency
|
45
|
+
name: thor
|
46
|
+
requirement: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - "~>"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 0.20.3
|
51
|
+
type: :runtime
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - "~>"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 0.20.3
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: zeitwerk
|
60
|
+
requirement: !ruby/object:Gem::Requirement
|
61
|
+
requirements:
|
62
|
+
- - "~>"
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '2.1'
|
65
|
+
type: :runtime
|
66
|
+
prerelease: false
|
67
|
+
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - "~>"
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '2.1'
|
72
|
+
- !ruby/object:Gem::Dependency
|
73
|
+
name: bundler
|
74
|
+
requirement: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - "~>"
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '1.17'
|
79
|
+
type: :development
|
80
|
+
prerelease: false
|
81
|
+
version_requirements: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - "~>"
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '1.17'
|
86
|
+
- !ruby/object:Gem::Dependency
|
87
|
+
name: pry-byebug
|
88
|
+
requirement: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '0'
|
93
|
+
type: :development
|
94
|
+
prerelease: false
|
95
|
+
version_requirements: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
100
|
+
- !ruby/object:Gem::Dependency
|
101
|
+
name: rspec
|
102
|
+
requirement: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
104
|
+
- - "~>"
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: '3.7'
|
107
|
+
type: :development
|
108
|
+
prerelease: false
|
109
|
+
version_requirements: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - "~>"
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '3.7'
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
|
+
name: rubocop
|
116
|
+
requirement: !ruby/object:Gem::Requirement
|
117
|
+
requirements:
|
118
|
+
- - "~>"
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: 0.70.0
|
121
|
+
type: :development
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - "~>"
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: 0.70.0
|
128
|
+
- !ruby/object:Gem::Dependency
|
129
|
+
name: sorbet
|
130
|
+
requirement: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
135
|
+
type: :development
|
136
|
+
prerelease: false
|
137
|
+
version_requirements: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - ">="
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: zeitwerk
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - "~>"
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '2.1'
|
149
|
+
type: :development
|
150
|
+
prerelease: false
|
151
|
+
version_requirements: !ruby/object:Gem::Requirement
|
152
|
+
requirements:
|
153
|
+
- - "~>"
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: '2.1'
|
156
|
+
description:
|
15
157
|
email:
|
16
|
-
-
|
17
|
-
executables:
|
158
|
+
- rails@shopify.com
|
159
|
+
executables:
|
160
|
+
- tapioca
|
18
161
|
extensions: []
|
19
162
|
extra_rdoc_files: []
|
20
163
|
files:
|
21
|
-
- .gitignore
|
22
164
|
- Gemfile
|
23
|
-
- LICENSE
|
24
165
|
- README.md
|
25
166
|
- Rakefile
|
167
|
+
- exe/tapioca
|
168
|
+
- lib/t.rb
|
26
169
|
- lib/tapioca.rb
|
170
|
+
- lib/tapioca/cli.rb
|
171
|
+
- lib/tapioca/compilers/symbol_table/symbol_generator.rb
|
172
|
+
- lib/tapioca/compilers/symbol_table/symbol_loader.rb
|
173
|
+
- lib/tapioca/compilers/symbol_table_compiler.rb
|
174
|
+
- lib/tapioca/gemfile.rb
|
175
|
+
- lib/tapioca/generator.rb
|
27
176
|
- lib/tapioca/version.rb
|
28
|
-
|
29
|
-
|
30
|
-
|
177
|
+
homepage: https://github.com/Shopify/tapioca
|
178
|
+
licenses:
|
179
|
+
- MIT
|
180
|
+
metadata: {}
|
31
181
|
post_install_message:
|
32
182
|
rdoc_options: []
|
33
183
|
require_paths:
|
34
184
|
- lib
|
35
185
|
required_ruby_version: !ruby/object:Gem::Requirement
|
36
|
-
none: false
|
37
186
|
requirements:
|
38
|
-
- -
|
187
|
+
- - ">="
|
39
188
|
- !ruby/object:Gem::Version
|
40
189
|
version: '0'
|
41
190
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
191
|
requirements:
|
44
|
-
- -
|
192
|
+
- - ">="
|
45
193
|
- !ruby/object:Gem::Version
|
46
194
|
version: '0'
|
47
195
|
requirements: []
|
48
196
|
rubyforge_project:
|
49
|
-
rubygems_version:
|
197
|
+
rubygems_version: 2.7.6
|
50
198
|
signing_key:
|
51
|
-
specification_version:
|
52
|
-
summary:
|
199
|
+
specification_version: 4
|
200
|
+
summary: A Ruby Interface file generator for gems, core types and the Ruby standard
|
201
|
+
library
|
53
202
|
test_files: []
|
data/.gitignore
DELETED
data/LICENSE
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
Copyright (c) 2012 Rafael Mendonça França
|
2
|
-
|
3
|
-
MIT License
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
a copy of this software and associated documentation files (the
|
7
|
-
"Software"), to deal in the Software without restriction, including
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
included in all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/tapioca.gemspec
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
require File.expand_path('../lib/tapioca/version', __FILE__)
|
3
|
-
|
4
|
-
Gem::Specification.new do |gem|
|
5
|
-
gem.authors = ["Rafael Mendonça França"]
|
6
|
-
gem.email = ["rafaelmfranca@gmail.com"]
|
7
|
-
gem.description = %q{One project to glue them all}
|
8
|
-
gem.summary = %q{Glue here}
|
9
|
-
gem.homepage = ""
|
10
|
-
|
11
|
-
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
12
|
-
gem.files = `git ls-files`.split("\n")
|
13
|
-
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
14
|
-
gem.name = "tapioca"
|
15
|
-
gem.require_paths = ["lib"]
|
16
|
-
gem.version = Tapioca::VERSION
|
17
|
-
end
|