standard-faker 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5f25adfef09b4354b979a12be0fd102d28729161c1c97ed1bb0aa089487ba27
4
- data.tar.gz: 8db7ddb6cfe399ae89089dd5d474101fce6dfad3104c5562797a848389d8fabb
3
+ metadata.gz: 4074ab4c95b510be27383d573b3ba36c40b5d5cb5bc3787f148e75e3e512b92f
4
+ data.tar.gz: a2295c9aa1a9760166f3429f9c9ccd4b34329a93eeebc84e114311e6aaf368d6
5
5
  SHA512:
6
- metadata.gz: 98346d31d275b8762c62c6404a46ad6b262694bc5cacdb2a820c4b4d379b133d4160d010ddaaa39590a28035c35536a970a3f66dc375c80490b145f950765406
7
- data.tar.gz: 4661edccb69a596c1a1d38f9e1e41212c145513e96bf4e5d918ac66822d555c58e7d8cf5d7192f6e7796daa8e8b25655851e0aaf798c2f178c02330e06d81577
6
+ metadata.gz: 43da097e1c1aea5b3817a3910f502e0b9326ca700e7c62dc6950083c226775d1547e7296707d4949a35d966cf674267b4f71576db0185f4d166609ffc8850a9c
7
+ data.tar.gz: 9420b5d0858b4ac8024fe3fe04dec05728d5118775d097f5fd524c15c098cb94fb012b47aaec910c1f25c1b6cf487530502439488cafdba221dd65eb6d4445a0
data/README.md CHANGED
@@ -1,24 +1,18 @@
1
1
  # Standard::Faker
2
2
 
3
- TODO: Delete this and the text below, and describe your gem
3
+ This gem provides a [lint_roller](https://github.com/standardrb/lint_roller) plugin configuration for the [rubocop-faker](https://github.com/koic/rubocop-faker) ruleset as an extension to the Standard Ruby gem.
4
4
 
5
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/standard/faker`. To experiment with that code, run `bin/console` for an interactive prompt.
5
+ Add this to your Gemfile, to install:
6
6
 
7
- ## Installation
8
-
9
- TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
-
11
- Install the gem and add to the application's Gemfile by executing:
12
-
13
- $ bundle add UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
14
-
15
- If bundler is not being used to manage dependencies, install the gem by executing:
16
-
17
- $ gem install UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
7
+ `gem "standard-faker"`
18
8
 
19
9
  ## Usage
20
10
 
21
- TODO: Write usage instructions here
11
+ In your `.standard.yml` file, you can list standard-faker as a plugin:
12
+ ```
13
+ plugins:
14
+ - standard-faker
15
+ ```
22
16
 
23
17
  ## Development
24
18
 
@@ -28,7 +22,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
28
22
 
29
23
  ## Contributing
30
24
 
31
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/standard-faker.
25
+ Bug reports and pull requests are welcome on GitHub at https://github.com/shilin-anton/standard-faker.
32
26
 
33
27
  ## License
34
28
 
@@ -8,7 +8,7 @@ module Standard
8
8
  name: "standard-faker",
9
9
  version: VERSION,
10
10
  homepage: "https://github.com/shilin-anton/standard-faker",
11
- description: "Configuration for rubocop-faker rules"
11
+ description: "Configuration for rubocop-faker rules."
12
12
  )
13
13
  end
14
14
 
@@ -36,11 +36,11 @@ module Standard
36
36
  #
37
37
  # See: https://github.com/koic/rubocop-faker/blob/master/lib/rubocop-faker.rb#L9
38
38
  #
39
- # As an alternative, standard-rspec loads the cops directly, and then
39
+ # As an alternative, standard-faker loads the cops directly, and then
40
40
  # simply tells the RuboCop config loader that it's been loaded. This is
41
41
  # taking advantage of a private API of an `attr_reader` that probably wasn't
42
42
  # meant to be mutated externally, but it's better than the `Inject` monkey
43
- # patching that rubocop-rspec does (and many other RuboCop plugins do)
43
+ # patching that rubocop-faker does (and many other RuboCop plugins do)
44
44
  def trick_rubocop_into_thinking_we_required_rubocop_faker!
45
45
  without_warnings do
46
46
  require_relative "load_rubocop_faker_without_the_monkey_patch"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Standard
4
4
  module Faker
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard-faker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - shilin-anton