sord 0.7.0 → 0.7.1

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -1
  3. data/exe/sord +10 -8
  4. data/lib/sord/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ea0cd169aa8fb78913ee6547177fcf31665bd776846f29652f3a1c156caf856
4
- data.tar.gz: 9ac77d33766f851ffdaac0c3fe34e238a432e57ea8d4518ff1e095382ac9dc4a
3
+ metadata.gz: 0f5c3d1135923a51f529b350dc7fd3c9f42300ab1fda040269b4d9a4d44bd271
4
+ data.tar.gz: 3bbd67ff8649ffb37cb50b2082ca62ae2affaea24ed69c9f502a52ccfbf42315
5
5
  SHA512:
6
- metadata.gz: 9ae4e4cfba74c8bfcdb7f91296d18f1aa4ccfd6545d407b8997df4516a181e5b4aa85277bbdef623aed16de060a3479a9c5b7c6b4b34658ae328dd62f9cba929
7
- data.tar.gz: cba4988403819d61a068adb45105941951a172d96997258f92848b014e51f657d65dacd7963d27dd1b3803baf3c78cf5a3764593201954c47e4abc4ebe4b9c8c
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.0]
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
- begin
25
- Sord::Logging.info('Running YARD...')
26
- `yard`
27
- rescue Errno::ENOENT
28
- Sord::Logging.error('The YARD tool could not be found on your PATH.')
29
- Sord::Logging.error('You may need to run \'gem install yard\'.')
30
- Sord::Logging.error('If documentation has already been generated, pass --no-regenerate to Sord.')
31
- exit 1
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
@@ -1,4 +1,4 @@
1
1
  # typed: strong
2
2
  module Sord
3
- VERSION = '0.7.0'
3
+ VERSION = '0.7.1'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Christiansen