acts_as_localizable 0.3.3 → 0.3.5

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 0.3.5
@@ -1,51 +1,44 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{acts_as_localizable}
8
- s.version = "0.3.3"
7
+ s.name = "acts_as_localizable"
8
+ s.version = "0.3.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["davydotcom"]
12
- s.date = %q{2010-11-11}
13
- s.description = %q{Set ActiveRecord field values or retrieve them based on the I18n current locale or by manually specifying}
14
- s.email = %q{david.estes@just1word.com}
12
+ s.date = "2012-01-19"
13
+ s.description = "Set ActiveRecord field values or retrieve them based on the I18n current locale or by manually specifying"
14
+ s.email = "david.estes@just1word.com"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
- "README",
18
- "README.textile"
17
+ "README",
18
+ "README.textile"
19
19
  ]
20
20
  s.files = [
21
21
  ".document",
22
- ".gitignore",
23
- "LICENSE",
24
- "README",
25
- "README.textile",
26
- "Rakefile",
27
- "VERSION",
28
- "acts_as_localizable.gemspec",
29
- "app/models/localized_field.rb",
30
- "lib/acts_as_localizable.rb",
31
- "lib/acts_as_localizable/engine.rb",
32
- "lib/generators/localized_fields/localized_fields_generator.rb",
33
- "lib/generators/localized_fields/templates/migration.rb",
34
- "test/helper.rb",
35
- "test/test_acts_as_localizable.rb"
36
- ]
37
- s.homepage = %q{http://github.com/davydotcom/acts_as_localizable}
38
- s.rdoc_options = ["--charset=UTF-8"]
39
- s.require_paths = ["lib"]
40
- s.rubygems_version = %q{1.3.7}
41
- s.summary = %q{Used to store localized fields in your rails database for individual tables}
42
- s.test_files = [
22
+ "LICENSE",
23
+ "README",
24
+ "README.textile",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "acts_as_localizable.gemspec",
28
+ "app/models/localized_field.rb",
29
+ "lib/acts_as_localizable.rb",
30
+ "lib/acts_as_localizable/engine.rb",
31
+ "lib/generators/localized_fields/localized_fields_generator.rb",
32
+ "lib/generators/localized_fields/templates/migration.rb",
43
33
  "test/helper.rb",
44
- "test/test_acts_as_localizable.rb"
34
+ "test/test_acts_as_localizable.rb"
45
35
  ]
36
+ s.homepage = "http://github.com/davydotcom/acts_as_localizable"
37
+ s.require_paths = ["lib"]
38
+ s.rubygems_version = "1.8.10"
39
+ s.summary = "Used to store localized fields in your rails database for individual tables"
46
40
 
47
41
  if s.respond_to? :specification_version then
48
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
42
  s.specification_version = 3
50
43
 
51
44
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -55,7 +55,7 @@ module ActsAsLocalizable::AR
55
55
  end
56
56
  self.class_eval do
57
57
  has_many :localized_fields, :as => :localized_object,:dependent => :destroy
58
- default_scope :include => [:localized_fields]
58
+ # default_scope :include => [:localized_fields]
59
59
  attr_accessor :localized_cache
60
60
  after_save :save_localized_attributes
61
61
  private
metadata CHANGED
@@ -1,50 +1,38 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: acts_as_localizable
3
- version: !ruby/object:Gem::Version
4
- hash: 21
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.5
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 3
9
- - 3
10
- version: 0.3.3
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - davydotcom
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2010-11-11 00:00:00 -05:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-01-19 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: thoughtbot-shoulda
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70116500721740 !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
33
22
  type: :development
34
- version_requirements: *id001
35
- description: Set ActiveRecord field values or retrieve them based on the I18n current locale or by manually specifying
23
+ prerelease: false
24
+ version_requirements: *70116500721740
25
+ description: Set ActiveRecord field values or retrieve them based on the I18n current
26
+ locale or by manually specifying
36
27
  email: david.estes@just1word.com
37
28
  executables: []
38
-
39
29
  extensions: []
40
-
41
- extra_rdoc_files:
30
+ extra_rdoc_files:
42
31
  - LICENSE
43
32
  - README
44
33
  - README.textile
45
- files:
34
+ files:
46
35
  - .document
47
- - .gitignore
48
36
  - LICENSE
49
37
  - README
50
38
  - README.textile
@@ -58,40 +46,28 @@ files:
58
46
  - lib/generators/localized_fields/templates/migration.rb
59
47
  - test/helper.rb
60
48
  - test/test_acts_as_localizable.rb
61
- has_rdoc: true
62
49
  homepage: http://github.com/davydotcom/acts_as_localizable
63
50
  licenses: []
64
-
65
51
  post_install_message:
66
- rdoc_options:
67
- - --charset=UTF-8
68
- require_paths:
52
+ rdoc_options: []
53
+ require_paths:
69
54
  - lib
70
- required_ruby_version: !ruby/object:Gem::Requirement
55
+ required_ruby_version: !ruby/object:Gem::Requirement
71
56
  none: false
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- hash: 3
76
- segments:
77
- - 0
78
- version: "0"
79
- required_rubygems_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ! '>='
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
80
62
  none: false
81
- requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- hash: 3
85
- segments:
86
- - 0
87
- version: "0"
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
88
67
  requirements: []
89
-
90
68
  rubyforge_project:
91
- rubygems_version: 1.6.2
69
+ rubygems_version: 1.8.10
92
70
  signing_key:
93
71
  specification_version: 3
94
72
  summary: Used to store localized fields in your rails database for individual tables
95
- test_files:
96
- - test/helper.rb
97
- - test/test_acts_as_localizable.rb
73
+ test_files: []
data/.gitignore DELETED
@@ -1,21 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC