danger-prose 2.0.0 → 2.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cbe1a62aa5863906f879c31de1e4a73bc60cba7d
4
- data.tar.gz: 4374a4456fcefe699660edf4ad3dcde8fbe2911e
3
+ metadata.gz: dc260b303651593c1b4762ac80c27135f0cf8e86
4
+ data.tar.gz: 6ad261ba04f42a195143eb57f6d29a538c1825aa
5
5
  SHA512:
6
- metadata.gz: 4dbb3ac28eeff44f3c1d7ba4f374011520b81d8aa2b7ef199ea0f9e075c396dc706ebfb1727cef203cf87dc3e21674fea0f4765b535d56155140f2dff9235419
7
- data.tar.gz: 1e5a007df22b038d54b87a6919f3693a3a89d3609680bd59ca5b561b2ba515b467a4074c44ce485c6a3ec58ed6d4caac03a265137f2e75472274f3cad1a51655
6
+ metadata.gz: ebe2d67a10208462cee51ee3335000dda6b6fef3cf86c594503c79fad3ed2bacaabd5910a9514aec988349063246556ae93d0a833a365f9ad4b141bc811067b2
7
+ data.tar.gz: 5da6bfa3c329aa73613fc576195f79309d7eed13c08dad4c9a1483d219a8942856a60a7dc6e60971d3605f95e0cb0760c7870601ececea1d35f05fc33649d079
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- danger-prose (2.0.0)
4
+ danger-prose (2.0.1)
5
5
  danger
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -7,31 +7,45 @@ A description of danger-proselint.
7
7
  $ gem install danger-proselint
8
8
 
9
9
 
10
-
11
10
  ### prose
12
11
 
13
12
  Lint markdown files inside your projects.
14
13
  This is done using the [proselint](http://proselint.com) python egg.
15
14
  Results are passed out as a table in markdown.
16
15
 
17
- <blockquote>Specifying custom CocoaPods installation options
16
+ <blockquote>Running linter with custom disabled linters
18
17
  <pre>
19
- # Runs a linter with comma style disabled
20
- proselint.disable_linters = ["misc.scare_quotes", "misc.tense_present"]
21
- proselint.lint_files "_posts/*.md"
18
+ # Runs a linter with comma style and tense present disabled
19
+ prose.disable_linters = ["misc.scare_quotes", "misc.tense_present"]
20
+ prose.lint_files "_posts/*.md"</pre>
21
+ </blockquote>
22
22
 
23
+ <blockquote>Running linter with default linters
24
+ <pre>
23
25
  # Runs a linter with all styles, on modified and added markdown files in this PR
24
- proselint.lint_files</pre>
26
+ prose.lint_files</pre>
27
+ </blockquote>
28
+
29
+ <blockquote>Running the spell checker
30
+ <pre>
31
+ # Runs a spell checker on all files in `_post`
32
+ prose.check_spelling "_posts/*.md"</pre>
33
+ </blockquote>
34
+
35
+ <blockquote>Running the spell checker, with some words whitelisted
36
+ <pre>
37
+ prose.ignored_words = ["orta", "artsy"]
38
+ prose.lint_files</pre>
25
39
  </blockquote>
26
40
 
27
41
 
28
42
 
29
43
  #### Attributes
30
- <tr>
44
+ <br>
31
45
  `disable_linters` - Allows you to disable a collection of linters from running. Doesn't work yet.
32
46
  You can get a list of [them here](https://github.com/amperser/proselint#checks)
33
47
  defaults to `["misc.scare_quotes", "typography.symbols"]` when it's nil.
34
- <tr>
48
+ <br>
35
49
  `ignored_words` - Allows you to add a collection of words to skip in spellchecking.
36
50
  defaults to `[""]` when it's nil.
37
51
 
data/lib/danger_plugin.rb CHANGED
@@ -24,7 +24,7 @@ module Danger
24
24
  # @example Running the spell checker, with some words whitelisted
25
25
  #
26
26
  # prose.ignored_words = ["orta", "artsy"]
27
- # prose.lint_files
27
+ # prose.check_spelling
28
28
  #
29
29
  # @see artsy/artsy.github.io
30
30
  # @tags blogging, blog, writing, jekyll, middleman, hugo, metalsmith, gatsby, express
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module DangerProse
2
- VERSION = '2.0.0'.freeze
2
+ VERSION = '2.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-prose
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Grandinetti
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-07-12 00:00:00.000000000 Z
12
+ date: 2016-07-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: danger