rubyls 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rubyls/version.rb +1 -1
- data/lib/rubyls.rb +3 -2
- data/rubyls.gemspec +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4091cce60b24bf02ce5e3fe6da3c9112ee1c9bc
|
4
|
+
data.tar.gz: 68d767083dc19605610aac9a9705fb355eb66ce6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75aa13d7650fd73b03a3cce3f1c3871da33ce099b9f605e71ecf1ffc3c093cd4fe7a844b17a66cc94b3c6391a871cebcb24a2c43b30c562a5dc0e126ecafe608
|
7
|
+
data.tar.gz: 24dd60603b448ea1f75ee3f46aa6eef968c5d7e79ef8d9200b2ce2bfdb99e31cd5cbbb722c7b77866942dbd840c37437af4e70531713f0aa341abdd217b95ac1
|
data/Gemfile.lock
CHANGED
data/lib/rubyls/version.rb
CHANGED
data/lib/rubyls.rb
CHANGED
@@ -3,7 +3,8 @@ require "rubyls/version"
|
|
3
3
|
module Rubyls
|
4
4
|
class Error < StandardError; end
|
5
5
|
|
6
|
-
def self.ls(path)
|
6
|
+
def self.ls(path = '.')
|
7
|
+
path.nil?
|
7
8
|
begin
|
8
9
|
if RUBY_VERSION.to_f >= 2.5
|
9
10
|
Dir.children(path).each do |c|
|
@@ -16,7 +17,7 @@ module Rubyls
|
|
16
17
|
end
|
17
18
|
puts
|
18
19
|
rescue Errno::ENOENT
|
19
|
-
puts "ls: #{
|
20
|
+
puts "ls: #{path}: No such file or directory"
|
20
21
|
end
|
21
22
|
end
|
22
23
|
end
|
data/rubyls.gemspec
CHANGED
@@ -13,6 +13,8 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = "https://github.com/kazu-horie/rubyls.git"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
|
+
spec.required_ruby_version = '>= 2.0.0'
|
17
|
+
|
16
18
|
spec.metadata["homepage_uri"] = spec.homepage
|
17
19
|
spec.metadata["source_code_uri"] = "https://github.com/kazu-horie/rubyls.git"
|
18
20
|
spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kazuki Horie
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -90,7 +90,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
90
90
|
requirements:
|
91
91
|
- - ">="
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version:
|
93
|
+
version: 2.0.0
|
94
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
96
|
- - ">="
|