neocities 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/neocities/cli.rb +5 -1
- data/lib/neocities/version.rb +1 -1
- data/neocities.gemspec +1 -0
- metadata +21 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9d71c9bd0c1d52be5e1f9635298ba028245f497a59ae728341a0d937622ded4
|
4
|
+
data.tar.gz: 798343676b96640a2dcb9cd9fbeabf02dc2c35d2eb6de6c1058594872c496bf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 417ae94070d578e70688d28420871275b68b24fd434295619e05a98c88047e0a71eb77bc2d0101b25d386222a168d17adc440d084e92683d00f6b03f1ade01dc
|
7
|
+
data.tar.gz: 36e04b76185dbc706c0717d9ff5ee2d1eae1a1c063e2a525f8920474c1adadd2a5f1988da224dbc586675db203297b1f78c145cd7adfb7ace642b6cbc9a4b142
|
data/lib/neocities/cli.rb
CHANGED
@@ -114,7 +114,7 @@ module Neocities
|
|
114
114
|
out = []
|
115
115
|
|
116
116
|
resp[:info].each do |k,v|
|
117
|
-
v = Time.parse(v).localtime if k == :created_at || k == :last_updated
|
117
|
+
v = Time.parse(v).localtime if v && (k == :created_at || k == :last_updated)
|
118
118
|
out.push [@pastel.bold(k), v]
|
119
119
|
end
|
120
120
|
|
@@ -206,6 +206,10 @@ module Neocities
|
|
206
206
|
|
207
207
|
paths.select! {|p| !@excluded_files.include?(p)}
|
208
208
|
|
209
|
+
paths.select! {|p|
|
210
|
+
!excluded_files.include?(Pathname.new(p).dirname.to_s)
|
211
|
+
}
|
212
|
+
|
209
213
|
paths.collect! {|path| Pathname path}
|
210
214
|
|
211
215
|
paths.each do |path|
|
data/lib/neocities/version.rb
CHANGED
data/neocities.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neocities
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Drake
|
@@ -90,6 +90,26 @@ dependencies:
|
|
90
90
|
- - ">="
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: 2.8.3
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: rake
|
95
|
+
requirement: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '12.3'
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 12.3.1
|
103
|
+
type: :runtime
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '12.3'
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 12.3.1
|
93
113
|
description:
|
94
114
|
email:
|
95
115
|
- contact@neocities.org
|