Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
yui-knk committed Jun 22, 2024
0 parents commit 6935b6c
Show file tree
Hide file tree
Showing 11 changed files with 1,821 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/.DS_Store
/.bundle/
/.gem_rbs_collection/
/.irbrc
/.vscode/
/Gemfile.lock
/coverage/
/parser.output
/pkg/
/tmp/
/vendor/bundle
/.idea/
2 changes: 2 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--color
--require spec_helper
9 changes: 9 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# frozen_string_literal: true

source 'https://rubygems.org'

gemspec

gem "rake"
gem "rspec"
gem "simplecov", require: false
21 changes: 21 additions & 0 deletions MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2024 Yuichiro Kaneko

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Empty file added Rakefile
Empty file.
32 changes: 32 additions & 0 deletions ast_to_prism.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# frozen_string_literal: true

require_relative "lib/ast_to_prism/version.rb"

Gem::Specification.new do |spec|
spec.name = "ast_to_prism"
spec.version = AstToPrism::VERSION
spec.authors = ["Yuichiro Kaneko"]
spec.email = ["[email protected]"]

spec.summary = ""
spec.description = ""
spec.homepage = "https://github.com/yui-knk/ast_to_prism"
spec.license = "MIT"
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")

spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
end

spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["documentation_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "#{spec.homepage}/releases"
spec.metadata["bug_tracker_uri"] = "#{spec.homepage}/issues"

spec.add_runtime_dependency "prism"

spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
end
4 changes: 4 additions & 0 deletions lib/ast_to_prism.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# frozen_string_literal: true

require_relative "ast_to_prism/parser"
require_relative "ast_to_prism/version"
Loading

0 comments on commit 6935b6c

Please sign in to comment.