middleman-livereload 3.4.7 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +25 -0
- data/CHANGELOG.md +77 -26
- data/Gemfile +6 -8
- data/README.md +22 -31
- data/Rakefile +5 -22
- data/lib/middleman-livereload/version.rb +1 -1
- data/lib/middleman-livereload.rb +1 -1
- data/middleman-livereload.gemspec +6 -9
- data/spec/spec_helper.rb +1 -12
- metadata +11 -16
- data/.devcontainer/Dockerfile +0 -20
- data/.devcontainer/devcontainer.json +0 -35
- data/.rspec +0 -2
- data/.travis.yml +0 -15
- data/features/.gitkeep +0 -0
- data/fixtures/.gitkeep +0 -0
- /data/lib/middleman-livereload/{extension_3_1.rb → extension.rb} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93fd6db7ae7294c5d3fbd3c07810d27bcf23702409f87c0faadb685c0a30ce74
|
4
|
+
data.tar.gz: ed0a3654767bf3a960c6e35a8ba527e2bc720ab0073f79badda023337dbd87a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc24dcaeb59264ec9912520015ed612a1af8b1b1a4be851b5adad4714920485256914822e287d8ce3745f4e9bea112cc9247026823e027664f1d1f44f5f96198
|
7
|
+
data.tar.gz: 9e469b3f0a16cc99a26f464c4cf460b5ec39c136b07d7364daaa61aef4c7e433062576093541506b6fc9e2d63c9e9fea0d7683563baaa9e8493aa94927617042
|
@@ -0,0 +1,25 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [master]
|
6
|
+
pull_request:
|
7
|
+
branches: [master]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
test:
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
name: ubuntu-ruby-${{ matrix.ruby-version }}
|
13
|
+
strategy:
|
14
|
+
fail-fast: false
|
15
|
+
matrix:
|
16
|
+
ruby-version: ["3.3", "3.2", "3.1", "3.0", "2.7"]
|
17
|
+
steps:
|
18
|
+
- uses: actions/checkout@v4
|
19
|
+
- name: Set up Ruby
|
20
|
+
uses: ruby/setup-ruby@v1
|
21
|
+
with:
|
22
|
+
ruby-version: ${{ matrix.ruby-version }}
|
23
|
+
bundler-cache: true
|
24
|
+
- name: Runs tests
|
25
|
+
run: bundle exec rake test
|
data/CHANGELOG.md
CHANGED
@@ -1,38 +1,89 @@
|
|
1
|
-
|
2
|
-
===
|
1
|
+
# Changelog
|
3
2
|
|
4
|
-
|
3
|
+
All notable changes to this project will be documented in this file.
|
5
4
|
|
6
|
-
3.
|
7
|
-
===
|
5
|
+
## 3.5.0
|
8
6
|
|
9
|
-
*
|
10
|
-
*
|
11
|
-
*
|
12
|
-
* Send logging to the logger rather than STDOUT.
|
13
|
-
* No longer rely on MultiJson.
|
14
|
-
* Require Ruby 1.9.3 or greater.
|
7
|
+
* Upgade `rack-livereload` gem
|
8
|
+
* Migrate to GitHub Actions
|
9
|
+
* Match supported Ruby versions with MM ecosystem
|
15
10
|
|
16
|
-
3.
|
17
|
-
===
|
11
|
+
## 3.4.7
|
18
12
|
|
19
|
-
*
|
13
|
+
* Support secure sockets (WSS) with options for TLS certificate & private key
|
14
|
+
* Fix crash when reloading `config.rb`
|
15
|
+
* Fix ignore files specificed in `:ignore` config
|
20
16
|
|
21
|
-
3.
|
22
|
-
===
|
17
|
+
## 3.4.6
|
23
18
|
|
24
|
-
*
|
19
|
+
* Fix `Thread.exclusive` deprecation in older Rubies
|
20
|
+
|
21
|
+
## 3.4.5
|
22
|
+
|
23
|
+
* Fix pathname bug
|
24
|
+
|
25
|
+
## 3.4.4
|
26
|
+
|
27
|
+
* Add `:js_host` and `:js_port` options
|
28
|
+
* Fix CSS live reloading when @imported partials change
|
29
|
+
|
30
|
+
## 3.4.3
|
31
|
+
|
32
|
+
* Add `:ignore` option
|
33
|
+
|
34
|
+
## 3.4.2
|
35
|
+
|
36
|
+
* Safety check
|
37
|
+
|
38
|
+
## 3.4.1
|
39
|
+
|
40
|
+
* Tweak extension initialization
|
41
|
+
|
42
|
+
## 3.4.0
|
43
|
+
|
44
|
+
* Require new `middleman-core` gem
|
45
|
+
|
46
|
+
## 3.3.4
|
47
|
+
|
48
|
+
* Fall back to localhost if there's no private IP
|
49
|
+
|
50
|
+
## 3.3.3
|
51
|
+
|
52
|
+
* Upgrade `em-websocket` gem
|
53
|
+
|
54
|
+
## 3.3.2
|
55
|
+
|
56
|
+
* Add other authors in gemspec
|
57
|
+
|
58
|
+
## 3.3.1
|
59
|
+
|
60
|
+
* Default host is now autodetected
|
61
|
+
|
62
|
+
## 3.3.0
|
63
|
+
|
64
|
+
* Explicitly use the vendored livereload.js - otherwise it will attempt to load it from a location that doesn't exist
|
65
|
+
* Remove `:grace_period` setting, which was unnecessary
|
66
|
+
* Properly ignore changes to files that should not cause a reload, and pay attention to some files that used to be ignored but shouldn't have been
|
67
|
+
* Send logging to the logger rather than STDOUT
|
68
|
+
* No longer rely on MultiJson
|
69
|
+
* Require Ruby 1.9.3 or greater
|
70
|
+
|
71
|
+
## 3.2.1
|
72
|
+
|
73
|
+
* Loosen dependency on `middleman-core`
|
74
|
+
|
75
|
+
## 3.2.0
|
76
|
+
|
77
|
+
* Only run in `:development` environment
|
25
78
|
* No longer compatible with Middleman < 3.2
|
26
79
|
|
27
|
-
3.1.1
|
28
|
-
===
|
80
|
+
## 3.1.1
|
29
81
|
|
30
|
-
* Added `:no_swf` option to disable Flash websockets polyfill
|
82
|
+
* Added `:no_swf` option to disable Flash websockets polyfill
|
31
83
|
|
32
|
-
3.1.0
|
33
|
-
===
|
84
|
+
## 3.1.0
|
34
85
|
|
35
|
-
* Compatibility with Middleman 3.1+ style extension API
|
36
|
-
* Ignore ignored sitemap files
|
37
|
-
* Preserve the reactor thread across preview server reloads
|
38
|
-
* Implement a `:grace_period` setting
|
86
|
+
* Compatibility with Middleman 3.1+ style extension API
|
87
|
+
* Ignore ignored sitemap files
|
88
|
+
* Preserve the reactor thread across preview server reloads
|
89
|
+
* Implement a `:grace_period` setting
|
data/Gemfile
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
source "https://rubygems.org"
|
2
2
|
|
3
|
-
gem "middleman", github: "middleman/middleman"
|
3
|
+
gem "middleman", github: "middleman/middleman"
|
4
4
|
|
5
5
|
# Specify your gem's dependencies in middleman-blog.gemspec
|
6
6
|
gemspec
|
7
7
|
|
8
|
-
|
9
|
-
gem
|
10
|
-
gem
|
8
|
+
# Build and doc tools
|
9
|
+
gem 'rake', '~> 13.1', require: false
|
10
|
+
gem 'yard', '~> 0.9', require: false
|
11
11
|
|
12
|
-
|
13
|
-
gem '
|
14
|
-
gem 'aruba', '~> 0.5.1'
|
15
|
-
gem 'rspec', '~> 2.12'
|
12
|
+
# Test tools
|
13
|
+
gem 'rspec', '~> 3'
|
data/README.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# Middleman-Livereload
|
2
2
|
|
3
|
-
middleman-livereload
|
3
|
+
[](https://rubygems.org/gems/middleman-livereload)
|
4
|
+
[](https://github.com/middleman/middleman-livereload/actions/workflows/ci.yml)
|
5
|
+
[](https://qlty.sh/gh/middleman/projects/middleman-livereload)
|
6
|
+
|
7
|
+
`middleman-livereload` is an extension for the [Middleman](https://middlemanapp.com) static site generator that adds livereloading functionality.
|
4
8
|
|
5
9
|
## Installation
|
6
10
|
|
@@ -11,7 +15,7 @@ gem install middleman
|
|
11
15
|
middleman init MY_PROJECT
|
12
16
|
```
|
13
17
|
|
14
|
-
If you already have a Middleman project
|
18
|
+
If you already have a Middleman project, add the `gem "middleman-blog"` line to your `Gemfile` and then run `bundle install`.
|
15
19
|
|
16
20
|
## Configuration
|
17
21
|
|
@@ -25,51 +29,44 @@ The extension supports a number of options that can be given to the `activate` s
|
|
25
29
|
activate :livereload, apply_js_live: false
|
26
30
|
```
|
27
31
|
|
28
|
-
|
32
|
+
- `:host` and `:port`
|
29
33
|
|
30
34
|
Livereload's listener host/port, these options get passed to ::Rack::LiveReload middleware. Defaults:`'0.0.0.0'` and `'35729'`.
|
31
35
|
|
32
|
-
|
36
|
+
- `:js_host` and `:js_port`
|
33
37
|
|
34
38
|
Similar to the `:host` and `:port` options, but allow you to specify a different host and port at the frontend Javascript level than at the backend EventMachine level. Useful when running behind a proxy or on a Docker VM. Defaults to `:host` and `:port`.
|
35
39
|
|
36
|
-
|
40
|
+
- `:apply_js_live` and `:apply_css_live`
|
37
41
|
|
38
42
|
Whether live reload should attempt to reload javascript / css 'in-place', without complete reload of the page. Both default to `true`.
|
39
43
|
|
40
44
|
:warning: It does *not* work with `@import`'ed CSS files or `require`'d JS files (because of LiveReload not providing enough information regarding dependencies). On those kind of files, a full page reload will be triggered.
|
41
45
|
|
42
|
-
|
46
|
+
- `:no_swf`
|
43
47
|
|
44
48
|
Disable Flash polyfil for browsers that support native WebSockets.
|
45
49
|
|
46
|
-
|
50
|
+
- `:ignore`
|
47
51
|
|
48
52
|
Array of patterns for paths that must be ignored. These files will not be injected with the LiveReload script.
|
49
53
|
|
50
54
|
`String#match` is used for ignoring, so you can use any valid Ruby regular expression in this array.
|
51
55
|
|
52
|
-
|
56
|
+
- `:livereload_css_target`
|
53
57
|
|
54
58
|
CSS file to reload when detecting @imported partial was modified. Default `stylesheets/all.css`).
|
55
59
|
To opt out set `livereload_css_target: nil`.
|
56
60
|
|
57
|
-
|
61
|
+
- `:livereload_css_pattern`
|
58
62
|
|
59
63
|
Regexp matching filenames that should trigger reload of :livereload_css_target when changed. Default: `Regexp.new('_.*\.css')`.
|
60
64
|
|
61
|
-
|
65
|
+
- `:wss_certificate` and `:wss_private_key`
|
62
66
|
|
63
67
|
Support secure sockets (WSS) by passing TLS certificate & private key, for
|
64
68
|
example if you're using `middleman server --https` in development.
|
65
69
|
|
66
|
-
## Build & Dependency Status
|
67
|
-
|
68
|
-
[][gem]
|
69
|
-
[][travis]
|
70
|
-
[][gemnasium]
|
71
|
-
[][codeclimate]
|
72
|
-
|
73
70
|
## Community
|
74
71
|
|
75
72
|
The official community forum is available at: https://forum.middlemanapp.com
|
@@ -80,24 +77,18 @@ Github Issues are used for managing bug reports and feature requests. If you run
|
|
80
77
|
|
81
78
|
The best way to get quick responses to your issues and swift fixes to your bugs is to submit detailed bug reports, include test cases and respond to developer questions in a timely manner. Even better, if you know Ruby, you can submit [Pull Requests](https://help.github.com/articles/using-pull-requests) containing Cucumber Features which describe how your feature should work or exploit the bug you are submitting.
|
82
79
|
|
83
|
-
##
|
80
|
+
## Testing
|
84
81
|
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
82
|
+
`bundle exec rake test`
|
83
|
+
|
84
|
+
## Creating documentation
|
85
|
+
|
86
|
+
`bundle exec rake doc`
|
89
87
|
|
90
88
|
## Donate
|
91
89
|
|
92
|
-
[Click here to lend your support to Middleman](https://
|
90
|
+
[Click here to lend your support to Middleman](https://github.com/sponsors/tdreyno)
|
93
91
|
|
94
92
|
## License
|
95
93
|
|
96
|
-
Copyright (c) 2010-
|
97
|
-
|
98
|
-
[middleman]: https://middlemanapp.com
|
99
|
-
[gem]: https://rubygems.org/gems/middleman-livereload
|
100
|
-
[travis]: https://travis-ci.org/middleman/middleman-livereload
|
101
|
-
[gemnasium]: https://gemnasium.com/middleman/middleman-livereload
|
102
|
-
[codeclimate]: https://codeclimate.com/github/middleman/middleman-livereload
|
103
|
-
[LICENSE]: https://github.com/middleman/middleman-livereload/blob/master/LICENSE.md
|
94
|
+
Copyright (c) 2010-2017 Thomas Reynolds. MIT Licensed, see [LICENSE](LICENSE.md) for details.
|
data/Rakefile
CHANGED
@@ -1,28 +1,11 @@
|
|
1
|
-
require 'bundler'
|
2
|
-
Bundler::GemHelper.install_tasks
|
1
|
+
require 'bundler/gem_tasks'
|
3
2
|
|
4
|
-
|
5
|
-
|
6
|
-
RSpec::Core::RakeTask.new(:spec)
|
7
|
-
rescue LoadError
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'cucumber/rake/task'
|
11
|
-
|
12
|
-
Cucumber::Rake::Task.new(:cucumber, 'Run features that should pass') do |t|
|
13
|
-
ENV["TEST"] = "true"
|
14
|
-
|
15
|
-
exempt_tags = ""
|
16
|
-
exempt_tags << "--tags ~@nojava" if RUBY_PLATFORM == "java"
|
3
|
+
require 'rspec/core/rake_task'
|
4
|
+
RSpec::Core::RakeTask.new(:spec)
|
17
5
|
|
18
|
-
|
19
|
-
end
|
20
|
-
|
21
|
-
require 'rake/clean'
|
22
|
-
|
23
|
-
task :test => ["spec", "cucumber"]
|
6
|
+
task :test => ["spec"]
|
24
7
|
|
25
8
|
desc "Build HTML documentation"
|
26
9
|
task :doc do
|
27
10
|
sh 'bundle exec yard'
|
28
|
-
end
|
11
|
+
end
|
data/lib/middleman-livereload.rb
CHANGED
@@ -1,22 +1,19 @@
|
|
1
|
-
|
2
|
-
$:.push File.expand_path("../lib", __FILE__)
|
3
|
-
require "middleman-livereload/version"
|
1
|
+
require "./lib/middleman-livereload/version"
|
4
2
|
|
5
3
|
Gem::Specification.new do |s|
|
6
4
|
s.name = "middleman-livereload"
|
7
5
|
s.version = Middleman::LiveReload::VERSION
|
8
6
|
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors
|
10
|
-
s.email
|
7
|
+
s.authors = ["Thomas Reynolds", "Ben Hollis", "Karl Freeman"]
|
8
|
+
s.email = ["me@tdreyno.com", "ben@benhollis.net", "karlfreeman@gmail.com"]
|
11
9
|
s.homepage = "https://github.com/middleman/middleman-livereload"
|
12
10
|
s.summary = %q{LiveReload support for Middleman}
|
13
11
|
s.description = %q{LiveReload support for Middleman}
|
14
12
|
s.license = "MIT"
|
15
13
|
s.files = `git ls-files -z`.split("\0")
|
16
14
|
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0")
|
17
|
-
s.
|
18
|
-
s.
|
19
|
-
s.
|
20
|
-
s.add_runtime_dependency('rack-livereload', ['~> 0.3.15'])
|
15
|
+
s.required_ruby_version = '>= 2.7.0'
|
16
|
+
s.add_runtime_dependency("middleman-core", [">= 3.3"])
|
17
|
+
s.add_runtime_dependency('rack-livereload', ['~> 0.6.1'])
|
21
18
|
s.add_runtime_dependency('em-websocket', ['~> 0.5.1'])
|
22
19
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,17 +1,6 @@
|
|
1
|
-
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
-
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
-
# Require this file using `require "spec_helper"` to ensure that it is only
|
4
|
-
# loaded once.
|
5
|
-
#
|
6
|
-
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
7
1
|
RSpec.configure do |config|
|
8
|
-
config.treat_symbols_as_metadata_keys_with_true_values = true
|
9
2
|
config.run_all_when_everything_filtered = true
|
10
3
|
config.filter_run :focus
|
11
|
-
|
12
|
-
# Run specs in random order to surface order dependencies. If you find an
|
13
|
-
# order dependency and want to debug it, you can fix the order by providing
|
14
|
-
# the seed, which is printed after each run.
|
15
|
-
# --seed 1234
|
16
4
|
config.order = 'random'
|
5
|
+
config.color = true
|
17
6
|
end
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-livereload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Reynolds
|
8
8
|
- Ben Hollis
|
9
9
|
- Karl Freeman
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2025-07-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: middleman-core
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.6.1
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.6.1
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: em-websocket
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -63,21 +63,16 @@ executables: []
|
|
63
63
|
extensions: []
|
64
64
|
extra_rdoc_files: []
|
65
65
|
files:
|
66
|
-
- ".
|
67
|
-
- ".devcontainer/devcontainer.json"
|
66
|
+
- ".github/workflows/ci.yml"
|
68
67
|
- ".gitignore"
|
69
|
-
- ".rspec"
|
70
|
-
- ".travis.yml"
|
71
68
|
- CHANGELOG.md
|
72
69
|
- CONTRIBUTING.md
|
73
70
|
- Gemfile
|
74
71
|
- LICENSE.md
|
75
72
|
- README.md
|
76
73
|
- Rakefile
|
77
|
-
- features/.gitkeep
|
78
|
-
- fixtures/.gitkeep
|
79
74
|
- lib/middleman-livereload.rb
|
80
|
-
- lib/middleman-livereload/
|
75
|
+
- lib/middleman-livereload/extension.rb
|
81
76
|
- lib/middleman-livereload/reactor.rb
|
82
77
|
- lib/middleman-livereload/version.rb
|
83
78
|
- lib/middleman-livereload/wss.rb
|
@@ -89,7 +84,7 @@ homepage: https://github.com/middleman/middleman-livereload
|
|
89
84
|
licenses:
|
90
85
|
- MIT
|
91
86
|
metadata: {}
|
92
|
-
post_install_message:
|
87
|
+
post_install_message:
|
93
88
|
rdoc_options: []
|
94
89
|
require_paths:
|
95
90
|
- lib
|
@@ -97,15 +92,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
97
92
|
requirements:
|
98
93
|
- - ">="
|
99
94
|
- !ruby/object:Gem::Version
|
100
|
-
version:
|
95
|
+
version: 2.7.0
|
101
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
102
97
|
requirements:
|
103
98
|
- - ">="
|
104
99
|
- !ruby/object:Gem::Version
|
105
100
|
version: '0'
|
106
101
|
requirements: []
|
107
|
-
rubygems_version: 3.
|
108
|
-
signing_key:
|
102
|
+
rubygems_version: 3.5.16
|
103
|
+
signing_key:
|
109
104
|
specification_version: 4
|
110
105
|
summary: LiveReload support for Middleman
|
111
106
|
test_files: []
|
data/.devcontainer/Dockerfile
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.166.1/containers/ruby/.devcontainer/base.Dockerfile
|
2
|
-
|
3
|
-
# [Choice] Ruby version: 3, 3.0, 2, 2.7, 2.6, 2.5
|
4
|
-
ARG VARIANT="3"
|
5
|
-
FROM mcr.microsoft.com/vscode/devcontainers/ruby:0-${VARIANT}
|
6
|
-
|
7
|
-
# [Option] Install Node.js
|
8
|
-
ARG INSTALL_NODE="true"
|
9
|
-
ARG NODE_VERSION="lts/*"
|
10
|
-
RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
|
11
|
-
|
12
|
-
# [Optional] Uncomment this section to install additional OS packages.
|
13
|
-
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
14
|
-
# && apt-get -y install --no-install-recommends <your-package-list-here>
|
15
|
-
|
16
|
-
# [Optional] Uncomment this line to install additional gems.
|
17
|
-
# RUN gem install <your-gem-names-here>
|
18
|
-
|
19
|
-
# [Optional] Uncomment this line to install global node packages.
|
20
|
-
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1
|
@@ -1,35 +0,0 @@
|
|
1
|
-
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
2
|
-
// https://github.com/microsoft/vscode-dev-containers/tree/v0.166.1/containers/ruby
|
3
|
-
{
|
4
|
-
"name": "Ruby",
|
5
|
-
"build": {
|
6
|
-
"dockerfile": "Dockerfile",
|
7
|
-
"args": {
|
8
|
-
// Update 'VARIANT' to pick a Ruby version: 3, 3.0, 2, 2.7, 2.6, 2.5
|
9
|
-
"VARIANT": "2.7",
|
10
|
-
// Options
|
11
|
-
"INSTALL_NODE": "true",
|
12
|
-
"NODE_VERSION": "lts/*"
|
13
|
-
}
|
14
|
-
},
|
15
|
-
|
16
|
-
// Set *default* container specific settings.json values on container create.
|
17
|
-
"settings": {
|
18
|
-
"terminal.integrated.shell.linux": "/bin/bash"
|
19
|
-
},
|
20
|
-
|
21
|
-
// Add the IDs of extensions you want installed when the container is created.
|
22
|
-
"extensions": [
|
23
|
-
"rebornix.Ruby"
|
24
|
-
],
|
25
|
-
|
26
|
-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
27
|
-
// "forwardPorts": [],
|
28
|
-
|
29
|
-
// Use 'postCreateCommand' to run commands after the container is created.
|
30
|
-
// "postCreateCommand": "ruby --version",
|
31
|
-
|
32
|
-
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
33
|
-
"remoteUser": "vscode"
|
34
|
-
|
35
|
-
}
|
data/.rspec
DELETED
data/.travis.yml
DELETED
data/features/.gitkeep
DELETED
File without changes
|
data/fixtures/.gitkeep
DELETED
File without changes
|
File without changes
|