Skip to content

Commit

Permalink
Add VSCode remote container setting files (#138)
Browse files Browse the repository at this point in the history
* rubyforge_project option is deprecated

* Adding Dockerfile for VSCode remote development

* simplify .gemspec
  • Loading branch information
smaeda-ks committed Dec 30, 2019
1 parent 4e8b5f9 commit 23a8374
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM ruby:latest

WORKDIR /usr/src/app

COPY . .
RUN bundle install
13 changes: 13 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "twurl dev container",
"dockerFile": "Dockerfile",
"context": "..",
"workspaceFolder": "/usr/src/app",
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
"shutdownAction": "none",
"extensions": [
"rebornix.Ruby"
]
}
10 changes: 5 additions & 5 deletions twurl.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ Gem::Specification.new do |spec|
spec.add_dependency 'oauth', '~> 0.4'
spec.authors = ["Marcel Molina", "Erik Michaels-Ober", "@TwitterDev team"]
spec.description = %q{Curl for the Twitter API}
spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
spec.extra_rdoc_files = %w(CODE_OF_CONDUCT.md CONTRIBUTING.md INSTALL.md LICENSE README.md)
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.start_with?('test/') }
spec.homepage = 'http://github.com/twitter/twurl'
spec.bindir = 'bin'
spec.executables << 'twurl'
spec.extra_rdoc_files = Dir["*.md", "LICENSE"]
spec.files = Dir["*.md", "LICENSE", "twurl.gemspec", "bin/*", "lib/**/*"]
spec.homepage = 'http://github.com/twitter/twurl'
spec.licenses = ['MIT']
spec.name = 'twurl'
spec.rdoc_options = ['--title', 'twurl -- OAuth-enabled curl for the Twitter API', '--main', 'README.md', '--line-numbers', '--inline-source']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.4.0'
spec.rubyforge_project = 'twurl'
spec.summary = spec.description
spec.version = Twurl::Version
end

0 comments on commit 23a8374

Please sign in to comment.