commonthread-rails 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 3935a6dc07c2b7a430842eb885dbbadf6866252bd1cd921115e727569ef4f3bc
4
+ data.tar.gz: 13764562ed3379dc4123810370390648a7ecac0c7d561c6f65bce7176b8bfd7d
5
+ SHA512:
6
+ metadata.gz: dfe335897a3ee5cf31d9997f253d0f9b40918861ef9b53059be6cf66c5ba14f7e432933692d15f23ef0a0395f642d3aeb2cc87c57393b5316f4d7a4550bce195
7
+ data.tar.gz: b361474a82d0777c4ec2526f72baa4fddb73810ea86503d7aac3a4acfc27b3c53e7e0598953e22648c71f4b046aa325f32a7126575d865f5caaab61ad60e5df5
data/Rakefile CHANGED
@@ -43,7 +43,7 @@ task :test => :check_dependencies
43
43
 
44
44
  task :default => :test
45
45
 
46
- require 'rake/rdoctask'
46
+ require 'rdoc/task'
47
47
  gem 'darkfish-rdoc'
48
48
 
49
49
  Rake::RDocTask.new do |rdoc|
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{commonthread-rails}
8
- s.version = "0.4.1"
8
+ s.version = "0.4.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["CommonThread"]
@@ -56,7 +56,7 @@ class String
56
56
  end
57
57
 
58
58
  def email?
59
- if self =~ /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
59
+ if self =~ /^[A-Z0-9.'_%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
60
60
  return true
61
61
  else
62
62
  return false
@@ -48,6 +48,7 @@ class TestMonkeyPatches < Test::Unit::TestCase
48
48
 
49
49
  should "check if string is an email" do
50
50
  assert "ben@commonthread.com".email?
51
+ assert "ben.o'neil@commonthread.com".email?
51
52
  assert ! "ben.commonthread.com".email?
52
53
  end
53
54
 
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commonthread-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
5
- prerelease:
4
+ version: 0.4.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - CommonThread
@@ -14,33 +13,29 @@ dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: thoughtbot-shoulda
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: otherinbox-crypt19
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  description: commonthread-rails is a collection of things that make rails development
@@ -53,7 +48,7 @@ extra_rdoc_files:
53
48
  - LICENSE
54
49
  - README.rdoc
55
50
  files:
56
- - .document
51
+ - ".document"
57
52
  - LICENSE
58
53
  - README.rdoc
59
54
  - Rakefile
@@ -71,25 +66,23 @@ files:
71
66
  - test/test_monkey_patches.rb
72
67
  homepage: http://github.com/commonthread/commonthread-rails
73
68
  licenses: []
69
+ metadata: {}
74
70
  post_install_message:
75
71
  rdoc_options: []
76
72
  require_paths:
77
73
  - lib
78
74
  required_ruby_version: !ruby/object:Gem::Requirement
79
- none: false
80
75
  requirements:
81
- - - ! '>='
76
+ - - ">="
82
77
  - !ruby/object:Gem::Version
83
78
  version: '0'
84
79
  required_rubygems_version: !ruby/object:Gem::Requirement
85
- none: false
86
80
  requirements:
87
- - - ! '>='
81
+ - - ">="
88
82
  - !ruby/object:Gem::Version
89
83
  version: '0'
90
84
  requirements: []
91
- rubyforge_project:
92
- rubygems_version: 1.8.24
85
+ rubygems_version: 3.0.3
93
86
  signing_key:
94
87
  specification_version: 3
95
88
  summary: commonthread-rails is a collection of things that make rails development