repo
string
commit
string
message
string
diff
string
nateware/dotfiles
ec6190b9d38e9e7e4bfb4315c0f885f2dd726c47
added mongodb
diff --git a/.bash_profile b/.bash_profile index 5ecf4f3..00f2ffa 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,7 +1,7 @@ [ -f $HOME/.bashrc ] && . $HOME/.bashrc -use_ruby=ruby-1.9.2 +use_ruby=ruby-1.9.2-p180 echo "Setting rvm ruby to: $use_ruby" rvm $use_ruby type ruby diff --git a/.bashrc b/.bashrc ind...
nateware/dotfiles
f8b5dde06805b3949d1645374fb3a5da048ae71a
basics
diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..2bf37b9 --- /dev/null +++ b/.bash_profile @@ -0,0 +1,7 @@ +[ -f $HOME/.bashrc ] && . $HOME/.bashrc + +use_ruby=ruby-1.9.2-head +echo "Setting rvm ruby to: $use_ruby" +rvm $use_ruby +type ruby + diff --git a/.bashrc b/.bashrc new file mode 1...
froydnj/chipz
75dfbc660a5a28161c57f115adf74c8a926bfc4d
ECL support
diff --git a/chipz.asd b/chipz.asd index 09f665e..b29747c 100644 --- a/chipz.asd +++ b/chipz.asd @@ -1,48 +1,48 @@ ; -*- mode: lisp -*- (cl:defpackage :chipz-system (:use :cl :asdf) (:export #:gray-streams)) (cl:in-package :chipz-system) (defclass txt-file (doc-file) ((type :initform "txt"))) (defclass css...
froydnj/chipz
c440d671e1fe8e25781de161b86baa26b5bb9f01
accommodate lists in DECOMPRESS
diff --git a/decompress.lisp b/decompress.lisp index c6f7249..e48aab8 100644 --- a/decompress.lisp +++ b/decompress.lisp @@ -1,216 +1,221 @@ (in-package :chipz) ;;; We provide several convenience functions for decompression: ;;; ;;; * decompress a buffer to a newly-consed buffer; ;;; * decompress a stream to a n...
froydnj/chipz
3cff04d1a3fdc400a7f37bb0239341cb30885952
fix typo in decompress.lisp
diff --git a/decompress.lisp b/decompress.lisp index ef50948..c6f7249 100644 --- a/decompress.lisp +++ b/decompress.lisp @@ -1,216 +1,216 @@ (in-package :chipz) ;;; We provide several convenience functions for decompression: ;;; ;;; * decompress a buffer to a newly-consed buffer; ;;; * decompress a stream to a n...
froydnj/chipz
3402c94df1d0af7742df08d3ffa23fd5c04c9bf2
release 0.8
diff --git a/NEWS b/NEWS index c4fba3b..3e96b13 100644 --- a/NEWS +++ b/NEWS @@ -1,111 +1,125 @@ hey emacs, show me an -*- mode: outline -*- -* Version +* Version 0.8, released 2013-01-14 ** bug fixes Stack overflow problems on several implementations have been fixed. (Thanks to Zach Beane for pointing this o...
froydnj/chipz
40cb950db9ba26d8f28ca1b03c19ef06e8006d67
fix Allegro Gray streams support, fixes #6
diff --git a/stream.lisp b/stream.lisp index 3d47e0a..41d0018 100644 --- a/stream.lisp +++ b/stream.lisp @@ -1,199 +1,199 @@ ;;;; stream.lisp -- gray stream wrappers for INFLATE (in-package :chipz) (eval-when (:compile-toplevel :load-toplevel) #-chipz-system:gray-streams (error "gray streams are not suppor...
froydnj/chipz
a82dc649fbcfd754abde657f79e87a28ea5a724a
Cleanup the .asd file for ASDF 2.27.
diff --git a/chipz.asd b/chipz.asd index 5e2a6ba..668cd32 100644 --- a/chipz.asd +++ b/chipz.asd @@ -1,52 +1,48 @@ ; -*- mode: lisp -*- (cl:defpackage :chipz-system (:use :cl :asdf) (:export #:gray-streams)) (cl:in-package :chipz-system) -(defclass txt-file (doc-file) ()) -(defclass css-file (doc-file) ()) -...
froydnj/chipz
329dadf670a0780daf92af743d482e4f4230a1b0
stream: add support for make-decompressing-stream on clisp
diff --git a/chipz.asd b/chipz.asd index 6130e60..5e2a6ba 100644 --- a/chipz.asd +++ b/chipz.asd @@ -1,52 +1,52 @@ ; -*- mode: lisp -*- (cl:defpackage :chipz-system (:use :cl :asdf) (:export #:gray-streams)) (cl:in-package :chipz-system) (defclass txt-file (doc-file) ()) (defclass css-file (doc-file) ()) ...
froydnj/chipz
b3552b02578219be74a7184ea4b63d9c85403400
fallback implementation for make-decompressing-stream that signals a proper error
diff --git a/chipz.asd b/chipz.asd index 840cad3..6130e60 100644 --- a/chipz.asd +++ b/chipz.asd @@ -1,49 +1,52 @@ ; -*- mode: lisp -*- (cl:defpackage :chipz-system (:use :cl :asdf) (:export #:gray-streams)) (cl:in-package :chipz-system) (defclass txt-file (doc-file) ()) (defclass css-file (doc-file) ()) ...
froydnj/chipz
24cd0b55d9ae11cbdf11b7bfc41cdf026dfc61b6
push 'chipz-system:gray-streams into *features* on supported implementations
diff --git a/chipz.asd b/chipz.asd index 47e6ee6..840cad3 100644 --- a/chipz.asd +++ b/chipz.asd @@ -1,44 +1,49 @@ ; -*- mode: lisp -*- (cl:defpackage :chipz-system - (:use :cl :asdf)) + (:use :cl :asdf) + (:export #:gray-streams)) (cl:in-package :chipz-system) (defclass txt-file (doc-file) ()) (defclass css-...
froydnj/chipz
b5e2a2d18be6421dc0a3b810741bebf01065d776
stream: fix minor read-sequence bug
diff --git a/stream.lisp b/stream.lisp index 324c466..8db34d7 100644 --- a/stream.lisp +++ b/stream.lisp @@ -1,218 +1,218 @@ ;;;; stream.lisp -- gray stream wrappers for INFLATE (in-package :chipz) ;;; portability definitions #+cmu (eval-when (:compile-toplevel :load-toplevel :execute) (require :gray-s...
froydnj/chipz
2db490428c2d4be95e9076d05cbe7146beb3bba8
Fixed READ-AND-DECOMPRESS-BYTE: don't give up too early, refill input as many times as possible if output is empty; the logic is similar to STREAM-READ-SEQUENCE.
diff --git a/stream.lisp b/stream.lisp index 3868dbc..324c466 100644 --- a/stream.lisp +++ b/stream.lisp @@ -1,210 +1,218 @@ ;;;; stream.lisp -- gray stream wrappers for INFLATE (in-package :chipz) ;;; portability definitions #+cmu (eval-when (:compile-toplevel :load-toplevel :execute) (require :gray-s...
froydnj/chipz
082b437d2188d162f4549138578f1b9e8149853b
Fixed BZIP2-BLOCK-CRC32 in %bzip2-state-machine: don't read 32 bits at once:
diff --git a/bzip2.lisp b/bzip2.lisp index d1c99f4..6a51535 100644 --- a/bzip2.lisp +++ b/bzip2.lisp @@ -1,944 +1,946 @@ (in-package :chipz) ;;; bzip2's decompress.c looks relatively simple, but a great deal of ;;; complexity and cleverness is hidden behind C preprpocessor macro. ;;; The single biggest help in un...
froydnj/chipz
c522fb97eec8bd9fb53f04781db20fbf8336a9a9
Fixed BZIP2-PREPARE-CFTAB in %bzip2-state-machine:
diff --git a/bzip2.lisp b/bzip2.lisp index 04990b5..d1c99f4 100644 --- a/bzip2.lisp +++ b/bzip2.lisp @@ -310,655 +310,658 @@ ;;; going to be memory-intensive and always pick the large option. Maybe ;;; someday we can come back and add the small option. (defun %bzip2-state-machine (state) (declare (type bzip2-s...
froydnj/chipz
1a1ab9eaf0140a3d34882c4c489b2e653e791430
add more methods on DECOMPRESS from a pathname
diff --git a/decompress.lisp b/decompress.lisp index 1f3ae39..ef50948 100644 --- a/decompress.lisp +++ b/decompress.lisp @@ -1,195 +1,216 @@ (in-package :chipz) ;;; We provide several convenience functions for decompression: ;;; ;;; * decompress a buffer to a newly-consed buffer; ;;; * decompress a stream to a n...
froydnj/chipz
ab76d48ad6e683d78e9f4b870c64602594aabf96
workaround ABCL structure accessor + VALUES bug
diff --git a/crc32.lisp b/crc32.lisp index d5f0c56..3f62ca0 100644 --- a/crc32.lisp +++ b/crc32.lisp @@ -1,85 +1,88 @@ ;;;; crc32.lisp -- implementation of the CRC32 checksum (in-package :chipz) #+sbcl (progn (defstruct (crc32 (:copier copy-crc32)) (crc #xffffffff :type (unsigned-byte 32))) ...
froydnj/chipz
ebf13979e2947772d61b42df5aa774c35fa0b791
fix thinko in new DECOMPRESS method
diff --git a/decompress.lisp b/decompress.lisp index d851f99..1f3ae39 100644 --- a/decompress.lisp +++ b/decompress.lisp @@ -1,194 +1,195 @@ (in-package :chipz) ;;; We provide several convenience functions for decompression: ;;; ;;; * decompress a buffer to a newly-consed buffer; ;;; * decompress a stream to a n...
froydnj/chipz
b5c2feed6a83ab2a3dd94de49fbd1aaf5dcb8765
switch crc32 over to salza's crc32 algorithm
diff --git a/NEWS b/NEWS index 4f8dd45..c4fba3b 100644 --- a/NEWS +++ b/NEWS @@ -1,106 +1,111 @@ hey emacs, show me an -*- mode: outline -*- * Version ** bug fixes Stack overflow problems on several implementations have been fixed. (Thanks to Zach Beane for pointing this out.) +** improvements + +consing w...
froydnj/chipz
1550f1df08ccc7827d6a1a349c28405c4c70c76f
add convenience function for decompressing files
diff --git a/NEWS b/NEWS index 01ecc6e..4f8dd45 100644 --- a/NEWS +++ b/NEWS @@ -1,101 +1,106 @@ hey emacs, show me an -*- mode: outline -*- * Version ** bug fixes Stack overflow problems on several implementations have been fixed. (Thanks to Zach Beane for pointing this out.) +** new features + +A new met...
froydnj/chipz
9a4ba87ad053c210e1a9c77be97a9e171da199f8
make stack overflow less likely in state machines
diff --git a/NEWS b/NEWS index 62a8e08..01ecc6e 100644 --- a/NEWS +++ b/NEWS @@ -1,94 +1,101 @@ hey emacs, show me an -*- mode: outline -*- +* Version + +** bug fixes + +Stack overflow problems on several implementations have been fixed. +(Thanks to Zach Beane for pointing this out.) + * Version 0.7.4, released 200...
froydnj/chipz
d5d41cc5f37666433dab39013525096c1a002521
remove &ALLOW-OTHER-KEYS from method lambda lists
diff --git a/decompress.lisp b/decompress.lisp index 387b637..9f0e6fa 100644 --- a/decompress.lisp +++ b/decompress.lisp @@ -1,189 +1,188 @@ (in-package :chipz) ;;; We provide several convenience functions for decompression: ;;; ;;; * decompress a buffer to a newly-consed buffer; ;;; * decompress a stream to a n...
froydnj/chipz
0ae865833a6acec0089fe71be81852bf092fe94b
reduce number of methods for DECOMPRESS
diff --git a/decompress.lisp b/decompress.lisp index 1fdcf87..387b637 100644 --- a/decompress.lisp +++ b/decompress.lisp @@ -1,205 +1,189 @@ (in-package :chipz) ;;; We provide several convenience functions for decompression: ;;; ;;; * decompress a buffer to a newly-consed buffer; ;;; * decompress a stream to a n...
validates-email-format-of/validates_email_format_of
aaf74d350f296d77edf41462ae6bab14a94bcb62
Version 1.8.2
diff --git a/CHANGELOG.md b/CHANGELOG.md index fd7fb6f..a27857f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,53 +1,59 @@ # CHANGELOG ## [Unreleased] -[Unreleased]: https://github.com/validates-email-format-of/validates_email_format_of/compare/v1.8.1...master +[Unreleased]: https://github.com/validates-email...
validates-email-format-of/validates_email_format_of
997f519ecd894b983171ee59d41299d2d2b2f6e5
Fix German locale
diff --git a/config/locales/de.yml b/config/locales/de.yml index d35e068..ca794fa 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -1,8 +1,8 @@ de: activemodel: &errors errors: messages: - invalid_email_address: 'ist offensichtlich keine gültige EMail-Adresse' + invalid_e...
validates-email-format-of/validates_email_format_of
51be4bcb97f7e7fbdf6580c943777e73bd348ccb
Version bump to 1.8.1
diff --git a/CHANGELOG.md b/CHANGELOG.md index cd076c1..fd7fb6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,49 +1,53 @@ # CHANGELOG ## [Unreleased] +[Unreleased]: https://github.com/validates-email-format-of/validates_email_format_of/compare/v1.8.1...master + +## [1.8.1] + * Fix IDN->Punycode conversion w...
validates-email-format-of/validates_email_format_of
425251e16213b51ec3bd395a7d18e7928d0e1510
Split domain parts before punycode conversion
diff --git a/lib/validates_email_format_of.rb b/lib/validates_email_format_of.rb index 8f8a7b4..2e7e6f2 100644 --- a/lib/validates_email_format_of.rb +++ b/lib/validates_email_format_of.rb @@ -1,308 +1,308 @@ require "validates_email_format_of/version" require "simpleidn" module ValidatesEmailFormatOf def self....
validates-email-format-of/validates_email_format_of
0306e4c3cc4f298993b760ec16d7cf3352039eff
Fix deprecation warnings without Rails
diff --git a/lib/validates_email_format_of.rb b/lib/validates_email_format_of.rb index f742e32..8f8a7b4 100644 --- a/lib/validates_email_format_of.rb +++ b/lib/validates_email_format_of.rb @@ -1,308 +1,308 @@ require "validates_email_format_of/version" require "simpleidn" module ValidatesEmailFormatOf def self....
validates-email-format-of/validates_email_format_of
c03314012f7e7ce466a17d01b206f6974bbe2a32
Remove debugger entirely
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index ea5b44c..bfd05e4 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,26 +1,25 @@ require "active_model" require "active_support" -require "debug" RSpec::Matchers.define :have_errors_on_email do match do |user| actual = user.errors.fu...
validates-email-format-of/validates_email_format_of
f403300edbcf30db9391312037e71ae1d7021ca9
Switch from byebug to debug.rb
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 8b96462..ea5b44c 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,27 +1,26 @@ require "active_model" require "active_support" -require "pry" -require "byebug" +require "debug" RSpec::Matchers.define :have_errors_on_email do match do |u...
validates-email-format-of/validates_email_format_of
ba31c388f41eae951220dce1c77b4acf660c68fb
Only run CI on PRs instead of every push
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 258130e..0d4ac55 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,98 +1,97 @@ name: CI on: - - push - pull_request permissions: contents: read jobs: test: name: "Ruby ${{ matrix.ruby }}, Rails ${{ m...
validates-email-format-of/validates_email_format_of
7dc14c739bd24d4d1ef1fdaa7e57e99b1ddc363c
Add jruby-head to CI
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 258130e..bde2425 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,98 +1,106 @@ name: CI on: - push - pull_request permissions: contents: read jobs: test: name: "Ruby ${{ matrix.ruby }}, Rails ${{ ...
validates-email-format-of/validates_email_format_of
333f466e738a67bedc0983df51876d31e5ed3250
Bump version
diff --git a/lib/validates_email_format_of/version.rb b/lib/validates_email_format_of/version.rb index 858d528..29d8cbf 100644 --- a/lib/validates_email_format_of/version.rb +++ b/lib/validates_email_format_of/version.rb @@ -1,3 +1,3 @@ module ValidatesEmailFormatOf - VERSION = "1.7.2" + VERSION = "1.8.0" end
validates-email-format-of/validates_email_format_of
bab26b0fe817643bd8bf7c2b57b12d182688e850
Add Ruby 3.3 and Rails 7.1
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90b0a2a..258130e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,66 +1,98 @@ name: CI on: - push - pull_request permissions: contents: read jobs: test: name: "Ruby ${{ matrix.ruby }}, Rails ${{ m...
validates-email-format-of/validates_email_format_of
5392e64dac5e8c1f50f3a69090ccf71ea159e263
Fix overriding generate_message option in validate_each
diff --git a/lib/validates_email_format_of/active_model.rb b/lib/validates_email_format_of/active_model.rb index fcb289c..430401c 100644 --- a/lib/validates_email_format_of/active_model.rb +++ b/lib/validates_email_format_of/active_model.rb @@ -1,24 +1,24 @@ require "validates_email_format_of" require "active_model" ...
validates-email-format-of/validates_email_format_of
0467b3fb131d21c58605e83ba8ab1fc0f99ee141
Improve specs to allow inspecting the subject model
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index d6cc154..8b96462 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,25 +1,27 @@ require "active_model" require "active_support" require "pry" require "byebug" RSpec::Matchers.define :have_errors_on_email do - match do |actual| + match d...
validates-email-format-of/validates_email_format_of
6d57b47de9a9b455052e745e0128cf2fea126da9
Bump actions/checkout from 3 to 4
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94bcf0e..90b0a2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,66 +1,66 @@ name: CI on: - push - pull_request permissions: contents: read jobs: test: name: "Ruby ${{ matrix.ruby }}, Rails ${{ m...
validates-email-format-of/validates_email_format_of
bce4ca9151f34b1ec567eaca87e6b53ad1bdf4e3
Reduce dependabot frequency
diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5ace460..8ac6b8c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,6 @@ version: 2 updates: - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "weekly" + interval: "monthly"
validates-email-format-of/validates_email_format_of
03ed2f8a8d529c3230548a84974cb91f5e3c40a7
Remove redundant regexp escapes
diff --git a/lib/validates_email_format_of.rb b/lib/validates_email_format_of.rb index f207855..f742e32 100644 --- a/lib/validates_email_format_of.rb +++ b/lib/validates_email_format_of.rb @@ -1,308 +1,308 @@ require "validates_email_format_of/version" require "simpleidn" module ValidatesEmailFormatOf def self....
validates-email-format-of/validates_email_format_of
c71f6266026265cbf85fb16cf5a9b396a4dca492
Make IDN support configurable
diff --git a/README.md b/README.md index 364e63d..5ae8096 100644 --- a/README.md +++ b/README.md @@ -1,110 +1,111 @@ # validates_email_format_of [![Build Status](https://github.com/validates-email-format-of/validates_email_format_of/actions/workflows/ci.yml/badge.svg)]( https://github.com/validates-email-format-of/...
validates-email-format-of/validates_email_format_of
3f0de9073206fbfeeb91323159dae706ec66e442
CI: Skip StandardRb on EOL Ruby versions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e12f27..94bcf0e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,65 +1,66 @@ name: CI on: - push - pull_request permissions: contents: read jobs: test: name: "Ruby ${{ matrix.ruby }}, Rails ${{ m...
validates-email-format-of/validates_email_format_of
9999da992a715a4d5f921868b5c9de6b1d66fbb1
CI: tell dependabot to update GH Actions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..5ace460 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly"
validates-email-format-of/validates_email_format_of
089ab75c3359f7d0543fb178aacefb77ea117c94
Fix Turkish locale
diff --git a/config/locales/tr.yml b/config/locales/tr.yml index 12e2949..5e68171 100644 --- a/config/locales/tr.yml +++ b/config/locales/tr.yml @@ -1,8 +1,8 @@ -en: +tr: activemodel: &errors errors: messages: invalid_email_address: 'geçerli bir eposta adresi değil' email_address_not_...
validates-email-format-of/validates_email_format_of
608d90362e1fedd612936acc7ade3dc65ddcb043
Fix a couple of typos in README.md
diff --git a/README.md b/README.md index 6998da3..364e63d 100644 --- a/README.md +++ b/README.md @@ -1,110 +1,110 @@ # validates_email_format_of [![Build Status](https://github.com/validates-email-format-of/validates_email_format_of/actions/workflows/ci.yml/badge.svg)]( https://github.com/validates-email-format-of/...
validates-email-format-of/validates_email_format_of
2224dfbf841d4d959ed2686b200f6c404b0a5c4e
Add Turkish locale
diff --git a/config/locales/tr.yml b/config/locales/tr.yml new file mode 100644 index 0000000..12e2949 --- /dev/null +++ b/config/locales/tr.yml @@ -0,0 +1,8 @@ +en: + activemodel: &errors + errors: + messages: + invalid_email_address: 'geçerli bir eposta adresi değil' + email_address_not_routa...
validates-email-format-of/validates_email_format_of
3972f3b9f0f8b09900c1debf6060cc352ec4e36e
Fix typo in README: useage -> usage
diff --git a/README.md b/README.md index 6998da3..9570a13 100644 --- a/README.md +++ b/README.md @@ -1,110 +1,110 @@ # validates_email_format_of [![Build Status](https://github.com/validates-email-format-of/validates_email_format_of/actions/workflows/ci.yml/badge.svg)]( https://github.com/validates-email-format-of/...
validates-email-format-of/validates_email_format_of
129ebfc3a3b432b4df0334bcbdd74b1d17d765e0
Add Indonesian locale
diff --git a/config/locales/id.yml b/config/locales/id.yml new file mode 100644 index 0000000..c41f487 --- /dev/null +++ b/config/locales/id.yml @@ -0,0 +1,8 @@ +id: + activemodel: &errors + errors: + messages: + invalid_email_address: 'tampaknya bukan alamat email yang valid' + email_address_not...
validates-email-format-of/validates_email_format_of
0f8a1c3305f39e84c55f01c6c59ec47997d2e744
Run GitHub actions on all push and pull_requests events
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b68b3e8..0e12f27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,67 +1,65 @@ name: CI on: - push: - branches: [master] - pull_request: - branches: [master] + - push + - pull_request permissions: content...
validates-email-format-of/validates_email_format_of
42e65a56158b06cae6d751aba6dbe13d600abe0b
Enforce i18n >= 0.8.0 in modern Ruby versions
diff --git a/CHANGELOG.md b/CHANGELOG.md index d05da99..36b6d15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,37 +1,38 @@ # CHANGELOG ## [Unreleased] * ⚠️ Deprecate `:with` option - https://github.com/validates-email-format-of/validates_email_format_of/issues/42 +* Require i18n >= 0.8.0 in modern Ruby v...
validates-email-format-of/validates_email_format_of
279c23504b9b79c046de45c43b95f82d7fb9ead9
Improve handling of quoted local parts
diff --git a/lib/validates_email_format_of.rb b/lib/validates_email_format_of.rb index 876b1bf..9505f18 100644 --- a/lib/validates_email_format_of.rb +++ b/lib/validates_email_format_of.rb @@ -1,270 +1,302 @@ require "validates_email_format_of/version" module ValidatesEmailFormatOf def self.load_i18n_locales ...
validates-email-format-of/validates_email_format_of
669f1bf773eb29514509b978998a625da5c19883
Fix RFC names in the README
diff --git a/README.md b/README.md index 320a61d..003e5e9 100644 --- a/README.md +++ b/README.md @@ -1,110 +1,110 @@ # validates_email_format_of [![Build Status](https://github.com/validates-email-format-of/validates_email_format_of/actions/workflows/ci.yml/badge.svg)]( https://github.com/validates-email-format-of/...
validates-email-format-of/validates_email_format_of
7b9600272cfc59491acb7d1219fe122243dbe76b
Deprecate `:with` option
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fdc199..d05da99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,35 +1,37 @@ # CHANGELOG ## [Unreleased] +* ⚠️ Deprecate `:with` option - https://github.com/validates-email-format-of/validates_email_format_of/issues/42 + [Unreleased]: https://github.com/valid...
validates-email-format-of/validates_email_format_of
2cef2491122ba71bfd78dcee0c74bbb030814222
v1.7.2
diff --git a/CHANGELOG.md b/CHANGELOG.md index de880eb..4fdc199 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,31 +1,35 @@ # CHANGELOG ## [Unreleased] +[Unreleased]: https://github.com/validates-email-format-of/validates_email_format_of/compare/v1.7.2...master + +## [1.7.2] + * Fix regression that disallowed...
validates-email-format-of/validates_email_format_of
bf6ac3e7be326b6872b77958167b596c5555b2c2
Allow domain parts beginning with numbers
diff --git a/lib/validates_email_format_of.rb b/lib/validates_email_format_of.rb index 88b7521..2b472a2 100644 --- a/lib/validates_email_format_of.rb +++ b/lib/validates_email_format_of.rb @@ -1,255 +1,262 @@ require "validates_email_format_of/version" module ValidatesEmailFormatOf def self.load_i18n_locales ...
validates-email-format-of/validates_email_format_of
21e0aff1c78514f611c236757d44f8ab1e93e529
v1.7.1
diff --git a/lib/validates_email_format_of/version.rb b/lib/validates_email_format_of/version.rb index 8c8dc37..82e02bf 100644 --- a/lib/validates_email_format_of/version.rb +++ b/lib/validates_email_format_of/version.rb @@ -1,3 +1,3 @@ module ValidatesEmailFormatOf - VERSION = "1.7.0" + VERSION = "1.7.1" end
validates-email-format-of/validates_email_format_of
fee02366adca3f67ddd2e635386ba260de9db056
Fix allowed symbols in atom-text
diff --git a/lib/validates_email_format_of.rb b/lib/validates_email_format_of.rb index 6b067a1..88b7521 100644 --- a/lib/validates_email_format_of.rb +++ b/lib/validates_email_format_of.rb @@ -1,253 +1,255 @@ require "validates_email_format_of/version" module ValidatesEmailFormatOf def self.load_i18n_locales ...
validates-email-format-of/validates_email_format_of
868c8ca1776b69f2bf52406f8956c84ed60b2a60
Fix rspec run fail when using custom error message
diff --git a/lib/validates_email_format_of/rspec_matcher.rb b/lib/validates_email_format_of/rspec_matcher.rb index 4ae6638..3498c36 100644 --- a/lib/validates_email_format_of/rspec_matcher.rb +++ b/lib/validates_email_format_of/rspec_matcher.rb @@ -1,14 +1,14 @@ require "validates_email_format_of" RSpec::Matchers.d...
validates-email-format-of/validates_email_format_of
bdd5048e7b36637d381c36b050873a79b1d61567
Bump version to 1.7.0
diff --git a/lib/validates_email_format_of/version.rb b/lib/validates_email_format_of/version.rb index ac9b371..8c8dc37 100644 --- a/lib/validates_email_format_of/version.rb +++ b/lib/validates_email_format_of/version.rb @@ -1,3 +1,3 @@ module ValidatesEmailFormatOf - VERSION = "1.6.3" + VERSION = "1.7.0" end
validates-email-format-of/validates_email_format_of
7cebb48a6d22c51d6184bba4526e3ed9e8301b86
Always run specs with activemodel
diff --git a/spec/rspec_matcher_spec.rb b/spec/rspec_matcher_spec.rb index 37ee2f6..a80c1ff 100644 --- a/spec/rspec_matcher_spec.rb +++ b/spec/rspec_matcher_spec.rb @@ -1,14 +1,12 @@ require "#{__dir__}/spec_helper" -if defined?(ActiveModel) - require "validates_email_format_of/rspec_matcher" +require "validates_emai...
validates-email-format-of/validates_email_format_of
85752fb63ae964af19c5fdd3adef9206335aa295
Use && and || for boolean logic
diff --git a/lib/validates_email_format_of.rb b/lib/validates_email_format_of.rb index e672203..6b067a1 100644 --- a/lib/validates_email_format_of.rb +++ b/lib/validates_email_format_of.rb @@ -1,253 +1,253 @@ require "validates_email_format_of/version" module ValidatesEmailFormatOf def self.load_i18n_locales ...
validates-email-format-of/validates_email_format_of
89191552d4a6fb5dc5d7a988a54e942ca6cc5ff3
Simplify key lookup
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 2bf92ef..795d852 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,24 +1,24 @@ -require "active_model" if Gem.loaded_specs.keys.include?("activemodel") +require "active_model" if Gem.loaded_specs.key?("activemodel") require "pry" require "bye...
validates-email-format-of/validates_email_format_of
1ba27695f0260e6e9a130017ec22f9fea35dcf26
Swap comparison order for standard.rb
diff --git a/lib/validates_email_format_of.rb b/lib/validates_email_format_of.rb index cee6606..e672203 100644 --- a/lib/validates_email_format_of.rb +++ b/lib/validates_email_format_of.rb @@ -1,253 +1,253 @@ require "validates_email_format_of/version" module ValidatesEmailFormatOf def self.load_i18n_locales ...
validates-email-format-of/validates_email_format_of
bfb41134b7e44a43874ee5a16189dd64ca3c4848
Remove unused variable assignments
diff --git a/spec/validates_email_format_of_spec.rb b/spec/validates_email_format_of_spec.rb index 98e0fb6..7e4220e 100644 --- a/spec/validates_email_format_of_spec.rb +++ b/spec/validates_email_format_of_spec.rb @@ -1,338 +1,338 @@ require "#{__dir__}/spec_helper" require "validates_email_format_of" RSpec.configu...
validates-email-format-of/validates_email_format_of
9035c8ab03edfacf0e4c61df8d66e0cf75aeb6c0
Rename constants for standard.rb
diff --git a/lib/validates_email_format_of.rb b/lib/validates_email_format_of.rb index 925a868..cee6606 100644 --- a/lib/validates_email_format_of.rb +++ b/lib/validates_email_format_of.rb @@ -1,253 +1,253 @@ require "validates_email_format_of/version" module ValidatesEmailFormatOf def self.load_i18n_locales ...
validates-email-format-of/validates_email_format_of
99fea1232e464eb2ce7891abd1f2dddc2ce9f880
Define model_name instead of assigning a constant
diff --git a/spec/validates_email_format_of_spec.rb b/spec/validates_email_format_of_spec.rb index a335889..98e0fb6 100644 --- a/spec/validates_email_format_of_spec.rb +++ b/spec/validates_email_format_of_spec.rb @@ -1,332 +1,338 @@ require "#{__dir__}/spec_helper" require "validates_email_format_of" RSpec.configu...
validates-email-format-of/validates_email_format_of
e9bfff3cecba90a664805ce6a75295fc898f57ff
Wire up standard.rb to run automatically
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1051f7d..b68b3e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,64 +1,67 @@ name: CI on: push: branches: [master] pull_request: branches: [master] permissions: contents: read jobs: test: ...
validates-email-format-of/validates_email_format_of
a6c93e31dbea7d2f25c08b3e3d74bab121a1e1d4
Standard.rb style updates
diff --git a/Appraisals b/Appraisals index 122b1d6..51ed0d6 100644 --- a/Appraisals +++ b/Appraisals @@ -1,32 +1,32 @@ # run `bundle exec appraisal install` after making changes here appraise "rails-7.0" do gem "rails", "~> 7.0" end appraise "rails-6.1" do gem "rails", "~> 6.1.0" end appraise "rails-6.0...
validates-email-format-of/validates_email_format_of
2cbb0ee183a2631de817c035a4cee3330ef6773d
Setup Standard.rb
diff --git a/rakefile.rb b/rakefile.rb index c702cfc..1e1a3f7 100644 --- a/rakefile.rb +++ b/rakefile.rb @@ -1 +1,2 @@ require 'bundler/gem_tasks' +require 'standard/rake' diff --git a/validates_email_format_of.gemspec b/validates_email_format_of.gemspec index 19d9413..e5e6062 100644 --- a/validates_email_format_of.ge...
validates-email-format-of/validates_email_format_of
8fa9d4ff01e3119ba3a50949b6445d67193f9999
Add support for quoted text (QTEXT)
diff --git a/lib/validates_email_format_of.rb b/lib/validates_email_format_of.rb index d20cf3b..a68ec16 100644 --- a/lib/validates_email_format_of.rb +++ b/lib/validates_email_format_of.rb @@ -1,230 +1,252 @@ # encoding: utf-8 require 'validates_email_format_of/version' module ValidatesEmailFormatOf def self.lo...
validates-email-format-of/validates_email_format_of
9fd6d99a51e85097732874502dbec8bc59fc3000
Add support for comments in the local part
diff --git a/lib/validates_email_format_of.rb b/lib/validates_email_format_of.rb index fb9bd6b..d20cf3b 100644 --- a/lib/validates_email_format_of.rb +++ b/lib/validates_email_format_of.rb @@ -1,186 +1,230 @@ # encoding: utf-8 require 'validates_email_format_of/version' module ValidatesEmailFormatOf def self.lo...
validates-email-format-of/validates_email_format_of
2554b55e547c1fae6599d13b0c99296752888c91
Tighten up domain-part syntax validation
diff --git a/lib/validates_email_format_of.rb b/lib/validates_email_format_of.rb index a43eec4..fb9bd6b 100644 --- a/lib/validates_email_format_of.rb +++ b/lib/validates_email_format_of.rb @@ -1,151 +1,186 @@ # encoding: utf-8 require 'validates_email_format_of/version' module ValidatesEmailFormatOf def self.lo...
validates-email-format-of/validates_email_format_of
20b6b1cf814602f7c85459d09490859ee2fb158a
Allow setting check_mx_timeout and reduce the default timeout to 3 seconds
diff --git a/README.rdoc b/README.rdoc index 5476fc8..1f05e9d 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1,98 +1,100 @@ = validates_email_format_of Gem and Rails Plugin Validate e-mail addresses against RFC 2822 and RFC 3696. == Installation Installing as a gem: gem install validates_email_format_of ...
validates-email-format-of/validates_email_format_of
aee22f58141952a2704d49852a3e1698be52fb98
Do not strip spaces before validating
diff --git a/lib/validates_email_format_of.rb b/lib/validates_email_format_of.rb index 6262b8f..92e5c4b 100644 --- a/lib/validates_email_format_of.rb +++ b/lib/validates_email_format_of.rb @@ -1,150 +1,148 @@ # encoding: utf-8 require 'validates_email_format_of/version' module ValidatesEmailFormatOf def self.lo...
validates-email-format-of/validates_email_format_of
ca1a97d1a9fe85e57f3a105ae73d6b06aad5acb2
Fix YAML quoting
diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 0e38089..c303e0a 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -1,8 +1,8 @@ fr: activemodel: &errors errors: messages: - invalid_email_address: 'ne semble pas être une adresse email valide' - email_addres...
validates-email-format-of/validates_email_format_of
5a0f59fc6c6f109e6b024126a26b0e2bfad58ddf
Use proper test domain for MX record tests
diff --git a/spec/validates_email_format_of_spec.rb b/spec/validates_email_format_of_spec.rb index c277658..733c929 100644 --- a/spec/validates_email_format_of_spec.rb +++ b/spec/validates_email_format_of_spec.rb @@ -1,323 +1,323 @@ # -*- encoding : utf-8 -*- require "#{File.expand_path(File.dirname(__FILE__))}/spec_...
validates-email-format-of/validates_email_format_of
d5f7dd3dd9d97a1291f42b259d3b84f5319c7edb
Add pry-byebug
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index f37dab1..29cd87e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,22 +1,24 @@ require 'active_model' if Gem.loaded_specs.keys.include?('activemodel') +require 'pry' +require 'byebug' RSpec::Matchers.define :have_errors_on_email do match...
validates-email-format-of/validates_email_format_of
d1df803172c5b09c36b7b2c614732b164cf252be
Simplify rspec matcher test
diff --git a/lib/validates_email_format_of/rspec_matcher.rb b/lib/validates_email_format_of/rspec_matcher.rb index f96a367..4ae6638 100644 --- a/lib/validates_email_format_of/rspec_matcher.rb +++ b/lib/validates_email_format_of/rspec_matcher.rb @@ -1,14 +1,14 @@ require "validates_email_format_of" RSpec::Matchers.d...
validates-email-format-of/validates_email_format_of
86ffcdeb05adb8c2765c06d293dd41181c731298
Switch to Github CI and use Appraisals to manage tests
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..1051f7d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,64 @@ +name: CI + +on: + push: + branches: [master] + pull_request: + branches: [master] + +permissions: + contents: read + +jobs: + test: + n...
validates-email-format-of/validates_email_format_of
0a6193f105bcfcd65feafd2880d978b0feac3a7f
Drop now-unused directive from gemspec
diff --git a/validates_email_format_of.gemspec b/validates_email_format_of.gemspec index 5273197..3687539 100644 --- a/validates_email_format_of.gemspec +++ b/validates_email_format_of.gemspec @@ -1,26 +1,25 @@ # -*- encoding: utf-8 -*- $:.unshift File.expand_path('../lib', __FILE__) require 'validates_email_format_...
validates-email-format-of/validates_email_format_of
929f1d3c85aa37ac61d3a8b372f812372cce95df
Suppress warning
diff --git a/lib/validates_email_format_of.rb b/lib/validates_email_format_of.rb index ab2a6dc..6262b8f 100644 --- a/lib/validates_email_format_of.rb +++ b/lib/validates_email_format_of.rb @@ -1,150 +1,150 @@ # encoding: utf-8 require 'validates_email_format_of/version' module ValidatesEmailFormatOf def self.lo...
validates-email-format-of/validates_email_format_of
d68c82ca98ab8090d3f7f35eeb37494ce89e232b
Italian localization
diff --git a/config/locales/it.yml b/config/locales/it.yml index 9a7379c..986c64a 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -1,8 +1,8 @@ it: activemodel: &errors errors: messages: invalid_email_address: 'non sembra un indirizzo e-mail valido' - email_address_not_r...
validates-email-format-of/validates_email_format_of
f939d17e06e7ccbbe727b76475ea5d2cfb92ffd4
Italian localization
diff --git a/config/locales/it.yml b/config/locales/it.yml new file mode 100644 index 0000000..9a7379c --- /dev/null +++ b/config/locales/it.yml @@ -0,0 +1,8 @@ +it: + activemodel: &errors + errors: + messages: + invalid_email_address: 'non sembra un indirizzo e-mail valido' + email_address_not_r...
validates-email-format-of/validates_email_format_of
b1753d30f604b00da002cf498284a89945a8592d
Use SimpleIDN gem to support international domain names
diff --git a/lib/validates_email_format_of.rb b/lib/validates_email_format_of.rb index ab2a6dc..be46527 100644 --- a/lib/validates_email_format_of.rb +++ b/lib/validates_email_format_of.rb @@ -1,150 +1,151 @@ # encoding: utf-8 require 'validates_email_format_of/version' +require 'simpleidn' module ValidatesEmailFo...
validates-email-format-of/validates_email_format_of
88a1d1e675b138f3cff80365a2f964bc64e0a9ec
Add activerecord key to FR locale
diff --git a/config/locales/fr.yml b/config/locales/fr.yml new file mode 100644 index 0000000..0e38089 --- /dev/null +++ b/config/locales/fr.yml @@ -0,0 +1,8 @@ +fr: + activemodel: &errors + errors: + messages: + invalid_email_address: 'ne semble pas être une adresse email valide' + email_addres...
validates-email-format-of/validates_email_format_of
6a6e9807168de0b48820a365df46a49cd3e51dd1
Creating locale messages for pt and pt-BR
diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml new file mode 100644 index 0000000..73415ac --- /dev/null +++ b/config/locales/pt-BR.yml @@ -0,0 +1,8 @@ +pt-BR: + activemodel: &errors + errors: + messages: + invalid_email_address: 'não parece ser um endereço de e-mail válido' + ...
validates-email-format-of/validates_email_format_of
14dd0630d21172e0a03128501a9380633226c6ff
incremented release number
diff --git a/lib/validates_email_format_of/version.rb b/lib/validates_email_format_of/version.rb index 6c6a4ab..ff8a9d4 100644 --- a/lib/validates_email_format_of/version.rb +++ b/lib/validates_email_format_of/version.rb @@ -1,3 +1,3 @@ module ValidatesEmailFormatOf - VERSION = '1.6.2' + VERSION = '1.6.3' end
validates-email-format-of/validates_email_format_of
3fdc5eeebd445e6650707769055b94eb302944f7
just because ::Rails is defined doesn't mean we should load a Railtie
diff --git a/lib/validates_email_format_of.rb b/lib/validates_email_format_of.rb index bc82732..ab2a6dc 100644 --- a/lib/validates_email_format_of.rb +++ b/lib/validates_email_format_of.rb @@ -1,150 +1,150 @@ # encoding: utf-8 require 'validates_email_format_of/version' module ValidatesEmailFormatOf def self.lo...
validates-email-format-of/validates_email_format_of
b0e21e62bc8bb3858ba9b49539f5abaea1d1cbc5
Create ja.yml
diff --git a/config/locales/ja.yml b/config/locales/ja.yml new file mode 100644 index 0000000..d8226b2 --- /dev/null +++ b/config/locales/ja.yml @@ -0,0 +1,8 @@ +ja: + activemodel: &errors + errors: + messages: + invalid_email_address: 'は妥当なメールアドレスでは無いようです。' + ...
validates-email-format-of/validates_email_format_of
4c62754b4f31f1e9c7b9b2bf6d55185d0d8fe54c
bumped release version [ci skip]
diff --git a/lib/validates_email_format_of/version.rb b/lib/validates_email_format_of/version.rb index d9097a2..6c6a4ab 100644 --- a/lib/validates_email_format_of/version.rb +++ b/lib/validates_email_format_of/version.rb @@ -1,3 +1,3 @@ module ValidatesEmailFormatOf - VERSION = '1.6.1' + VERSION = '1.6.2' end
validates-email-format-of/validates_email_format_of
708476a6453a63a0d0f68404993074bde46221f8
restricted i18n to an allowed version for older versions of Ruby
diff --git a/validates_email_format_of.gemspec b/validates_email_format_of.gemspec index 248f355..5273197 100644 --- a/validates_email_format_of.gemspec +++ b/validates_email_format_of.gemspec @@ -1,21 +1,26 @@ # -*- encoding: utf-8 -*- $:.unshift File.expand_path('../lib', __FILE__) require 'validates_email_format_...
validates-email-format-of/validates_email_format_of
55347a4949bb5f2d97346e9c06a8c5b9888e7f2c
made it possible to override subject when using rspec matcher
diff --git a/lib/validates_email_format_of/rspec_matcher.rb b/lib/validates_email_format_of/rspec_matcher.rb index 5b1aff6..f96a367 100644 --- a/lib/validates_email_format_of/rspec_matcher.rb +++ b/lib/validates_email_format_of/rspec_matcher.rb @@ -1,15 +1,14 @@ require "validates_email_format_of" RSpec::Matchers.d...
validates-email-format-of/validates_email_format_of
22549b2a51dfa177b6e40a89bf408e4b1a190ecd
made it possible to run rspec_mathcher_spec in isolation
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 36dec55..f37dab1 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,29 +1,22 @@ require 'active_model' if Gem.loaded_specs.keys.include?('activemodel') RSpec::Matchers.define :have_errors_on_email do match do |actual| expect(actual)....
validates-email-format-of/validates_email_format_of
9e6e3531d0d711b60032a6248180f9feaf8b7cff
added activerecord key to DE locale
diff --git a/config/locales/de.yml b/config/locales/de.yml index 9725c37..643c6cb 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -1,6 +1,8 @@ de: - activemodel: + activemodel: &errors errors: messages: invalid_email_address: 'ist offensichtlich keine gültige E-Mail-Adresse' ...
validates-email-format-of/validates_email_format_of
5a0a2a11aafb8eaa268a67232bbd945ba02880fe
bumped release number
diff --git a/lib/validates_email_format_of/version.rb b/lib/validates_email_format_of/version.rb index b83f3d4..d9097a2 100644 --- a/lib/validates_email_format_of/version.rb +++ b/lib/validates_email_format_of/version.rb @@ -1,3 +1,3 @@ module ValidatesEmailFormatOf - VERSION = '1.6.0' + VERSION = '1.6.1' end
validates-email-format-of/validates_email_format_of
537dc9e23174bee6c64f33dd77a5738ccd958c1c
using ActiveModel / ActiveRecord default I18n keys, to get the most out of defaults
diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 0000000..d344bcc --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,3 @@ +== 1.6.1 (8 Sept 2014) + +* In a Rails context, this gem now uses ActiveModel's default logic for constructing I18n keys, to make it easier to override them on a model/attribute basis. diff --gi...
validates-email-format-of/validates_email_format_of
08e8af5f8355f4eb30993c8ebc5a83d69d2bf0c4
Create de.yml
diff --git a/config/locales/de.yml b/config/locales/de.yml new file mode 100644 index 0000000..9725c37 --- /dev/null +++ b/config/locales/de.yml @@ -0,0 +1,6 @@ +de: + activemodel: + errors: + messages: + invalid_email_address: 'ist offensichtlich keine gültige E-Mail-Adresse' + email_address_no...
validates-email-format-of/validates_email_format_of
8493531b956ee51fdea38ea52bbcef81a9896104
downcasing domain name before checking MX record -- fixes #40
diff --git a/lib/validates_email_format_of.rb b/lib/validates_email_format_of.rb index e2b6bad..78d92ab 100644 --- a/lib/validates_email_format_of.rb +++ b/lib/validates_email_format_of.rb @@ -1,145 +1,145 @@ # encoding: utf-8 require 'validates_email_format_of/version' module ValidatesEmailFormatOf def self.lo...
validates-email-format-of/validates_email_format_of
e6c8b406cfc76122344885579520899b216dbfb7
removed unneeded code from Rakefile
diff --git a/rakefile.rb b/rakefile.rb index f0fb986..c702cfc 100644 --- a/rakefile.rb +++ b/rakefile.rb @@ -1,29 +1 @@ -require 'bundler' -Bundler::GemHelper.install_tasks - -require 'rake/testtask' -require 'rdoc/task' - -desc 'Default: run unit tests.' -task :default => [:clean_log, :test] - -desc 'Remove the old lo...
validates-email-format-of/validates_email_format_of
7974daffc1971c7055874f94cc3ec087d060e202
added Rspec custom matcher -- fixes #24
diff --git a/README.rdoc b/README.rdoc index 263f0b2..a85c35e 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1,90 +1,96 @@ = validates_email_format_of Gem and Rails Plugin Validate e-mail addresses against RFC 2822 and RFC 3696. == Installation Installing as a gem: gem install validates_email_format_of ...
validates-email-format-of/validates_email_format_of
228c95614e9f5ac5046201289b370d05602fe832
moved loading of I18n into spec_helper so that it happens before any specs run
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index f37dab1..36dec55 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,22 +1,29 @@ require 'active_model' if Gem.loaded_specs.keys.include?('activemodel') RSpec::Matchers.define :have_errors_on_email do match do |actual| expect(actual)....