sord 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/exe/sord +10 -8
- data/lib/sord/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f5c3d1135923a51f529b350dc7fd3c9f42300ab1fda040269b4d9a4d44bd271
|
4
|
+
data.tar.gz: 3bbd67ff8649ffb37cb50b2082ca62ae2affaea24ed69c9f502a52ccfbf42315
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b54a2809ce34de42b24abd32b5a69df07f4461dde01089eb2be35ed480b1e63e57be424882d4d934ca4ecca6de4783b116b913a49484af05df22a30f1c01589
|
7
|
+
data.tar.gz: 2bc7a9731b69a894432ed65859376169dfdd61bebc9ed87b69b0951b7f7c2b2f41a937a7ecbb48a1f67c0baf34f47cbc0b5c23b8ce39d7551e6124fc41a64022
|
data/CHANGELOG.md
CHANGED
@@ -3,7 +3,11 @@ All notable changes to this project will be documented in this file.
|
|
3
3
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
5
5
|
|
6
|
-
## [0.7.
|
6
|
+
## [0.7.1] - 2019-06-24
|
7
|
+
### Fixed
|
8
|
+
- Fix bug where `--no-regenerate` flag was ignored.
|
9
|
+
|
10
|
+
## [0.7.0] - 2019-06-24
|
7
11
|
### Added
|
8
12
|
- A warning message is now shown if the YARD registry has no objects. (#31)
|
9
13
|
- Integer, Float and Symbol literals are now supported as types. (#26)
|
data/exe/sord
CHANGED
@@ -21,14 +21,16 @@ command :gen do |c|
|
|
21
21
|
exit 1
|
22
22
|
end
|
23
23
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
24
|
+
if options.regenerate
|
25
|
+
begin
|
26
|
+
Sord::Logging.info('Running YARD...')
|
27
|
+
`yard`
|
28
|
+
rescue Errno::ENOENT
|
29
|
+
Sord::Logging.error('The YARD tool could not be found on your PATH.')
|
30
|
+
Sord::Logging.error('You may need to run \'gem install yard\'.')
|
31
|
+
Sord::Logging.error('If documentation has already been generated, pass --no-regenerate to Sord.')
|
32
|
+
exit 1
|
33
|
+
end
|
32
34
|
end
|
33
35
|
|
34
36
|
Sord::RbiGenerator.new(options).run(args.first)
|
data/lib/sord/version.rb
CHANGED