chusaku 0.6.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -16
  3. data/lib/chusaku/version.rb +1 -1
  4. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 714c60f9b5f8e9ebd4db391daa894dfa96a1ec95b7773900988df7b9a24677da
4
- data.tar.gz: 1d7adffa9c39bb7dd7cd2f6d6b86fd7844bfbe77a207988eebd1469d5a74d0de
3
+ metadata.gz: fcb89484056aea5e8df6216ee630a385e433aa1fe8e375f76dc1b9ec67a03792
4
+ data.tar.gz: 377a1e400e828cd026a8dd75c2f1b592af71ce5a53c35d868fa3b173bc5357ba
5
5
  SHA512:
6
- metadata.gz: 0bc70bbe88b4cde24d236ac000bf13533fdad892413dc03cf8b8c4eca9f6eb7f21bd8f5a6df382521898a7baddc07f74e1444067ec0f2febd828603c79cfe020
7
- data.tar.gz: 9a51c9476b1585c1f382f3845a202b6ea4eeed70e30d2cb450de4d01ed59c084ec2d7c1b11930bd6f62a9264129d21b545e0270bf9ea52d2cb92724d520cf924
6
+ metadata.gz: 4656041fd2672f6c1c9c5c641d8489a0744b9de679971553d4c99a12934a97ad269264e34001801b10e22773bc8e5589c45225a46f55c239030b8d2b999fc416
7
+ data.tar.gz: f97fd735b824e51cf45ab1e33fd6e2862e6c53530e52cacd23b400087759bece2210111493190f36c60ef2bf673055d58fbd5a66c4dc6a69922638416f40cf14
data/README.md CHANGED
@@ -61,25 +61,10 @@ Usage: chusaku [options]
61
61
  ```
62
62
 
63
63
 
64
- ## Pre-commit Hook
65
-
66
- Here's an example setup that you could use for automating Chusaku as a Git hook
67
- with the [Lefthook](https://github.com/Arkweid/lefthook) gem.
68
-
69
- ```yaml
70
- pre-commit:
71
- commands:
72
- chusaku:
73
- run: eval "! git diff --staged --name-only | grep -q 'routes.rb' && exit 0 || bundle exec chusaku --exit-with-error-on-annotation"
74
- ```
75
-
76
- This example config only runs Chusaku if `routes.rb` was modified.
77
-
78
-
79
64
  ## Development
80
65
 
81
66
  Read the blog post explaining how the gem works at a high level:
82
- https://nshki.com/chusaku-a-controller-annotation-gem/.
67
+ https://nshki.com/chusaku-a-controller-annotation-gem.
83
68
 
84
69
  After checking out the repo, run `bin/setup` to install dependencies. Then, run
85
70
  `bundle exec rake test` to run the tests. You can also run `bin/console` for an
@@ -1,3 +1,3 @@
1
1
  module Chusaku
2
- VERSION = "0.6.1"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chusaku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nishiki Liu
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-13 00:00:00.000000000 Z
11
+ date: 2023-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -113,7 +113,7 @@ metadata:
113
113
  homepage_uri: https://github.com/nshki/chusaku
114
114
  source_code_uri: https://github.com/nshki/chusaku
115
115
  changelog_uri: https://github.com/nshki/chusaku
116
- post_install_message:
116
+ post_install_message:
117
117
  rdoc_options: []
118
118
  require_paths:
119
119
  - lib
@@ -128,8 +128,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  - !ruby/object:Gem::Version
129
129
  version: '0'
130
130
  requirements: []
131
- rubygems_version: 3.1.6
132
- signing_key:
131
+ rubygems_version: 3.4.17
132
+ signing_key:
133
133
  specification_version: 4
134
134
  summary: Annotate your Rails controllers with route info.
135
135
  test_files: []