common_name 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -10,7 +10,7 @@ begin
10
10
  gem.email = "seamus@abshere.net"
11
11
  gem.homepage = "http://github.com/seamusabshere/common_name"
12
12
  gem.authors = ["Seamus Abshere"]
13
- gem.add_dependency 'activesupport'
13
+ gem.add_dependency 'activesupport', '>=2.3.4'
14
14
  gem.rubyforge_project = "commonname"
15
15
  end
16
16
  Jeweler::GemcutterTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
data/common_name.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{common_name}
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Seamus Abshere"]
12
- s.date = %q{2009-10-30}
12
+ s.date = %q{2010-03-30}
13
13
  s.description = %q{Provides methods like User.common_name (#=> "user") and User.common_plural_symbol (#=> :users) so that you don't have to chain humanize/downcase/etc. etc.'}
14
14
  s.email = %q{seamus@abshere.net}
15
15
  s.extra_rdoc_files = [
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
32
32
  s.rdoc_options = ["--charset=UTF-8"]
33
33
  s.require_paths = ["lib"]
34
34
  s.rubyforge_project = %q{commonname}
35
- s.rubygems_version = %q{1.3.5}
35
+ s.rubygems_version = %q{1.3.6}
36
36
  s.summary = %q{DRY up humanize/downcase/underscore/pluralize/to_sym/etc for names that we use all the time.}
37
37
  s.test_files = [
38
38
  "test/common_name_test.rb",
@@ -44,12 +44,12 @@ Gem::Specification.new do |s|
44
44
  s.specification_version = 3
45
45
 
46
46
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
47
- s.add_runtime_dependency(%q<activesupport>, [">= 0"])
47
+ s.add_runtime_dependency(%q<activesupport>, [">= 2.3.4"])
48
48
  else
49
- s.add_dependency(%q<activesupport>, [">= 0"])
49
+ s.add_dependency(%q<activesupport>, [">= 2.3.4"])
50
50
  end
51
51
  else
52
- s.add_dependency(%q<activesupport>, [">= 0"])
52
+ s.add_dependency(%q<activesupport>, [">= 2.3.4"])
53
53
  end
54
54
  end
55
55
 
data/lib/common_name.rb CHANGED
@@ -8,8 +8,7 @@
8
8
  #
9
9
  # Copyright (c) 2009 Seamus Abshere. See LICENSE for details.
10
10
 
11
- require 'rubygems'
12
- require 'activesupport'
11
+ require 'active_support'
13
12
 
14
13
  module CommonName
15
14
  def self.included(klass)
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: common_name
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 5
9
+ version: 0.1.5
5
10
  platform: ruby
6
11
  authors:
7
12
  - Seamus Abshere
@@ -9,19 +14,23 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2009-10-30 00:00:00 -04:00
17
+ date: 2010-03-30 00:00:00 -04:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: activesupport
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
23
- version: "0"
24
- version:
27
+ segments:
28
+ - 2
29
+ - 3
30
+ - 4
31
+ version: 2.3.4
32
+ type: :runtime
33
+ version_requirements: *id001
25
34
  description: Provides methods like User.common_name (#=> "user") and User.common_plural_symbol (#=> :users) so that you don't have to chain humanize/downcase/etc. etc.'
26
35
  email: seamus@abshere.net
27
36
  executables: []
@@ -55,18 +64,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
55
64
  requirements:
56
65
  - - ">="
57
66
  - !ruby/object:Gem::Version
67
+ segments:
68
+ - 0
58
69
  version: "0"
59
- version:
60
70
  required_rubygems_version: !ruby/object:Gem::Requirement
61
71
  requirements:
62
72
  - - ">="
63
73
  - !ruby/object:Gem::Version
74
+ segments:
75
+ - 0
64
76
  version: "0"
65
- version:
66
77
  requirements: []
67
78
 
68
79
  rubyforge_project: commonname
69
- rubygems_version: 1.3.5
80
+ rubygems_version: 1.3.6
70
81
  signing_key:
71
82
  specification_version: 3
72
83
  summary: DRY up humanize/downcase/underscore/pluralize/to_sym/etc for names that we use all the time.