dbcommit 0.0.1 → 0.0.2

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: 026e1025ce52cd10a968f8f70aaff581736d41a9
4
- data.tar.gz: eccbc1eeb11c65aac4caf226ebf395788d3ad895
3
+ metadata.gz: 88ea0f055d8bcb9c0346e973305c4514bcb05bb1
4
+ data.tar.gz: 1004777a2468535dbc8ca1a73b7d7939bdf05b3c
5
5
  SHA512:
6
- metadata.gz: 3889523bb0ca9b9c1c281a6246df128454cb3c4dea5a8cbc1c0547b15524e5010054c111891df96f9090a7a872447043492f3012e3db9dcd16b2b853759d6777
7
- data.tar.gz: e29eef93d860c86ece2926ae2581df28139419627109436168f01edd9c19bc65832321c9e56c145e317a07a9b3cdcb3539764898fbbc733508149c17acc6f11f
6
+ metadata.gz: 0ea38ee3d2f594429dee91d60b6a30b1644569df12dd2d37758974d0dc764d9e9e7d2a98fa50598628783517c9ac0ad2343653811cdbd327b2a5c8d0c07069b7
7
+ data.tar.gz: f63add89f8dcf7591102c574773cfb6638d3d90866bcb5ed2b67e065c6152cfe45640a03e81ad088ecdd16f33ff3844095f590e7c46a92d163ed6a422c108710
data/bin/dbcommit CHANGED
@@ -21,7 +21,6 @@ if files != 0
21
21
  Dbcommit::check_number_of_files(files)
22
22
  Dbcommit::check_number_of_changes(changes)
23
23
  Dbcommit::check_capitalized_first_word(message)
24
- Dbcommit::check_spelling_of_each_word(message)
25
24
  else
26
25
  print red("Commit Failed."), "\n"
27
26
  end
Binary file
@@ -1,3 +1,3 @@
1
1
  module Dbcommit
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/dbcommit.rb CHANGED
@@ -27,16 +27,6 @@ module Dbcommit
27
27
  end
28
28
  end
29
29
 
30
- def self.check_spelling_of_each_word(message)
31
- words = []
32
- message.split.each do |word|
33
- if speller.correct?(word) == false
34
- words << word
35
- end
36
- end
37
- print "* Misspelled words in your commit message: #{words.join(,)}".red, "\n"
38
- end
39
-
40
30
  def self.check_capitalized_first_word(message)
41
31
  if message[0] != message[0].upcase
42
32
  print "* Always begin your commit message with a capital letter of.".red, "\n"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dbcommit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Shine
@@ -53,6 +53,7 @@ files:
53
53
  - README.md
54
54
  - Rakefile
55
55
  - bin/dbcommit
56
+ - dbcommit-0.0.1.gem
56
57
  - dbcommit.gemspec
57
58
  - ext/dbcommit/extconf.rb
58
59
  - lib/dbcommit.rb