rubyls 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -0
- data/Gemfile.lock +1 -1
- data/exe/rubyls +2 -1
- data/lib/rubyls/version.rb +1 -1
- data/lib/rubyls.rb +4 -11
- data/rubyls.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f77945fbbece2732870b17afeb8fae5403f777b
|
4
|
+
data.tar.gz: 01bfa6b7b70a6d00c6ce114fa932f4f0a49d19d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88c751f650c65acee20bda1cabc2478dffa883040fbb27671dff8e44c79d5a2e9206499492766d70cf2423a0092c6cc43c54fdac6ffcc96263aa6ddb7316d669
|
7
|
+
data.tar.gz: 312462b912542f9f37b572ef41c37f114e1f80a135a1926be8894ba35c97e832c9267b3438d4034ba05f25e0fb1c80e441a73cf868ed83feb2e45e49c72a4178
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# Changelog
|
data/Gemfile.lock
CHANGED
data/exe/rubyls
CHANGED
data/lib/rubyls/version.rb
CHANGED
data/lib/rubyls.rb
CHANGED
@@ -3,19 +3,12 @@ require "rubyls/version"
|
|
3
3
|
module Rubyls
|
4
4
|
class Error < StandardError; end
|
5
5
|
|
6
|
-
def self.ls(path
|
7
|
-
path.nil?
|
6
|
+
def self.ls(path)
|
8
7
|
begin
|
9
|
-
|
10
|
-
|
11
|
-
print "#{c}\t"
|
12
|
-
end
|
13
|
-
else
|
14
|
-
Dir.entries(path)[2..-1].each do |c|
|
15
|
-
print "#{c}\t"
|
16
|
-
end
|
8
|
+
Dir.entries(path)[2..-1].each do |c|
|
9
|
+
print "#{c}\t"
|
17
10
|
end
|
18
|
-
|
11
|
+
print "\n"
|
19
12
|
rescue Errno::ENOENT
|
20
13
|
puts "ls: #{path}: No such file or directory"
|
21
14
|
end
|
data/rubyls.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
|
18
18
|
spec.metadata["homepage_uri"] = spec.homepage
|
19
19
|
spec.metadata["source_code_uri"] = "https://github.com/kazu-horie/rubyls.git"
|
20
|
-
spec.metadata["changelog_uri"] = "
|
20
|
+
spec.metadata["changelog_uri"] = "https://github.com/kazu-horie/rubyls/CHANGELOG.md"
|
21
21
|
|
22
22
|
# Specify which files should be added to the gem when it is released.
|
23
23
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
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.2
|
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-
|
11
|
+
date: 2019-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -63,6 +63,7 @@ files:
|
|
63
63
|
- ".gitignore"
|
64
64
|
- ".rspec"
|
65
65
|
- ".travis.yml"
|
66
|
+
- CHANGELOG.md
|
66
67
|
- CODE_OF_CONDUCT.md
|
67
68
|
- Gemfile
|
68
69
|
- Gemfile.lock
|
@@ -81,7 +82,7 @@ licenses:
|
|
81
82
|
metadata:
|
82
83
|
homepage_uri: https://github.com/kazu-horie/rubyls.git
|
83
84
|
source_code_uri: https://github.com/kazu-horie/rubyls.git
|
84
|
-
changelog_uri:
|
85
|
+
changelog_uri: https://github.com/kazu-horie/rubyls/CHANGELOG.md
|
85
86
|
post_install_message:
|
86
87
|
rdoc_options: []
|
87
88
|
require_paths:
|