property_sets 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -17
- data/Gemfile.lock +12 -19
- data/Rakefile +130 -33
- data/lib/property_sets.rb +2 -0
- data/property_sets.gemspec +87 -81
- data/test/helper.rb +0 -1
- metadata +31 -39
- data/.document +0 -5
- data/VERSION +0 -1
data/Gemfile
CHANGED
@@ -2,20 +2,4 @@ source "http://rubygems.org"
|
|
2
2
|
# Add dependencies required to use your gem here.
|
3
3
|
# Example:
|
4
4
|
|
5
|
-
|
6
|
-
gem "activerecord", "~> 2.3.14"
|
7
|
-
gem "actionpack", "~> 2.3.14"
|
8
|
-
|
9
|
-
# Add dependencies to develop your gem here.
|
10
|
-
# Include everything needed to run rake, tests, features, etc.
|
11
|
-
group :development do
|
12
|
-
gem "shoulda", ">= 0"
|
13
|
-
gem "bundler", "~> 1.0.0"
|
14
|
-
gem "jeweler", "~> 1.5.1"
|
15
|
-
gem "ruby-debug"
|
16
|
-
end
|
17
|
-
|
18
|
-
group :test do
|
19
|
-
gem "sqlite3"
|
20
|
-
gem "mocha"
|
21
|
-
end
|
5
|
+
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
property_sets (0.5.6)
|
5
|
+
actionpack (~> 2.3.14)
|
6
|
+
activerecord (~> 2.3.14)
|
7
|
+
activesupport (~> 2.3.14)
|
8
|
+
|
1
9
|
GEM
|
2
10
|
remote: http://rubygems.org/
|
3
11
|
specs:
|
@@ -7,21 +15,9 @@ GEM
|
|
7
15
|
activerecord (2.3.14)
|
8
16
|
activesupport (= 2.3.14)
|
9
17
|
activesupport (2.3.14)
|
10
|
-
columnize (0.3.2)
|
11
|
-
git (1.2.5)
|
12
|
-
jeweler (1.5.2)
|
13
|
-
bundler (~> 1.0.0)
|
14
|
-
git (>= 1.2.5)
|
15
|
-
rake
|
16
|
-
linecache (0.43)
|
17
18
|
mocha (0.9.12)
|
18
19
|
rack (1.1.2)
|
19
|
-
rake (0.
|
20
|
-
ruby-debug (0.10.4)
|
21
|
-
columnize (>= 0.1)
|
22
|
-
ruby-debug-base (~> 0.10.4.0)
|
23
|
-
ruby-debug-base (0.10.4)
|
24
|
-
linecache (>= 0.3)
|
20
|
+
rake (0.9.2.2)
|
25
21
|
shoulda (2.11.3)
|
26
22
|
sqlite3 (1.3.3)
|
27
23
|
|
@@ -29,12 +25,9 @@ PLATFORMS
|
|
29
25
|
ruby
|
30
26
|
|
31
27
|
DEPENDENCIES
|
32
|
-
|
33
|
-
activerecord (~> 2.3.14)
|
34
|
-
activesupport (~> 2.3.14)
|
35
|
-
bundler (~> 1.0.0)
|
36
|
-
jeweler (~> 1.5.1)
|
28
|
+
bundler
|
37
29
|
mocha
|
38
|
-
|
30
|
+
property_sets!
|
31
|
+
rake
|
39
32
|
shoulda
|
40
33
|
sqlite3
|
data/Rakefile
CHANGED
@@ -1,23 +1,50 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'rake'
|
3
|
+
require 'date'
|
3
4
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
5
|
+
#############################################################################
|
6
|
+
#
|
7
|
+
# Helper functions
|
8
|
+
#
|
9
|
+
#############################################################################
|
10
|
+
|
11
|
+
def name
|
12
|
+
@name ||= Dir['*.gemspec'].first.split('.').first
|
13
|
+
end
|
14
|
+
|
15
|
+
def version
|
16
|
+
line = File.read("lib/#{name}.rb")[/^\s*VERSION\s*=\s*.*/]
|
17
|
+
line.match(/.*VERSION\s*=\s*['"](.*)['"]/)[1]
|
18
|
+
end
|
19
|
+
|
20
|
+
def date
|
21
|
+
Date.today.to_s
|
19
22
|
end
|
20
23
|
|
24
|
+
def rubyforge_project
|
25
|
+
name
|
26
|
+
end
|
27
|
+
|
28
|
+
def gemspec_file
|
29
|
+
"#{name}.gemspec"
|
30
|
+
end
|
31
|
+
|
32
|
+
def gem_file
|
33
|
+
"#{name}-#{version}.gem"
|
34
|
+
end
|
35
|
+
|
36
|
+
def replace_header(head, header_name)
|
37
|
+
head.sub!(/(\.#{header_name}\s*= ').*'/) { "#{$1}#{send(header_name)}'"}
|
38
|
+
end
|
39
|
+
|
40
|
+
#############################################################################
|
41
|
+
#
|
42
|
+
# Standard tasks
|
43
|
+
#
|
44
|
+
#############################################################################
|
45
|
+
|
46
|
+
task :default => :test
|
47
|
+
|
21
48
|
require 'rake/testtask'
|
22
49
|
Rake::TestTask.new(:test) do |test|
|
23
50
|
test.libs << 'lib' << 'test'
|
@@ -25,29 +52,99 @@ Rake::TestTask.new(:test) do |test|
|
|
25
52
|
test.verbose = true
|
26
53
|
end
|
27
54
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
end
|
35
|
-
rescue LoadError
|
36
|
-
task :rcov do
|
37
|
-
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
38
|
-
end
|
55
|
+
desc "Generate RCov test coverage and open in your browser"
|
56
|
+
task :coverage do
|
57
|
+
require 'rcov'
|
58
|
+
sh "rm -fr coverage"
|
59
|
+
sh "rcov test/test_*.rb"
|
60
|
+
sh "open coverage/index.html"
|
39
61
|
end
|
40
62
|
|
41
|
-
task :test
|
42
|
-
|
43
|
-
task :default => :test
|
44
|
-
|
45
63
|
require 'rake/rdoctask'
|
46
64
|
Rake::RDocTask.new do |rdoc|
|
47
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
48
|
-
|
49
65
|
rdoc.rdoc_dir = 'rdoc'
|
50
|
-
rdoc.title = "
|
66
|
+
rdoc.title = "#{name} #{version}"
|
51
67
|
rdoc.rdoc_files.include('README*')
|
52
68
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
53
69
|
end
|
70
|
+
|
71
|
+
desc "Open an irb session preloaded with this library"
|
72
|
+
task :console do
|
73
|
+
sh "irb -rubygems -r ./lib/#{name}.rb"
|
74
|
+
end
|
75
|
+
|
76
|
+
#############################################################################
|
77
|
+
#
|
78
|
+
# Custom tasks (add your own tasks here)
|
79
|
+
#
|
80
|
+
#############################################################################
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
#############################################################################
|
85
|
+
#
|
86
|
+
# Packaging tasks
|
87
|
+
#
|
88
|
+
#############################################################################
|
89
|
+
|
90
|
+
desc "Create tag v#{version} and build and push #{gem_file} to Rubygems"
|
91
|
+
task :release => :build do
|
92
|
+
unless `git branch` =~ /^\* master$/
|
93
|
+
puts "You must be on the master branch to release!"
|
94
|
+
exit!
|
95
|
+
end
|
96
|
+
sh "git commit --allow-empty -a -m 'Release #{version}'"
|
97
|
+
sh "git tag v#{version}"
|
98
|
+
sh "git push origin master"
|
99
|
+
sh "git push origin v#{version}"
|
100
|
+
sh "gem push pkg/#{name}-#{version}.gem"
|
101
|
+
end
|
102
|
+
|
103
|
+
desc "Build #{gem_file} into the pkg directory"
|
104
|
+
task :build => :gemspec do
|
105
|
+
sh "mkdir -p pkg"
|
106
|
+
sh "gem build #{gemspec_file}"
|
107
|
+
sh "mv #{gem_file} pkg"
|
108
|
+
end
|
109
|
+
|
110
|
+
desc "Generate #{gemspec_file}"
|
111
|
+
task :gemspec => :validate do
|
112
|
+
# read spec file and split out manifest section
|
113
|
+
spec = File.read(gemspec_file)
|
114
|
+
head, manifest, tail = spec.split(" # = MANIFEST =\n")
|
115
|
+
|
116
|
+
# replace name version and date
|
117
|
+
replace_header(head, :name)
|
118
|
+
replace_header(head, :version)
|
119
|
+
replace_header(head, :date)
|
120
|
+
#comment this out if your rubyforge_project has a different name
|
121
|
+
replace_header(head, :rubyforge_project)
|
122
|
+
|
123
|
+
# determine file list from git ls-files
|
124
|
+
files = `git ls-files`.
|
125
|
+
split("\n").
|
126
|
+
sort.
|
127
|
+
reject { |file| file =~ /^\./ }.
|
128
|
+
reject { |file| file =~ /^(rdoc|pkg)/ }.
|
129
|
+
map { |file| " #{file}" }.
|
130
|
+
join("\n")
|
131
|
+
|
132
|
+
# piece file back together and write
|
133
|
+
manifest = " s.files = %w[\n#{files}\n ]\n"
|
134
|
+
spec = [head, manifest, tail].join(" # = MANIFEST =\n")
|
135
|
+
File.open(gemspec_file, 'w') { |io| io.write(spec) }
|
136
|
+
puts "Updated #{gemspec_file}"
|
137
|
+
end
|
138
|
+
|
139
|
+
desc "Validate #{gemspec_file}"
|
140
|
+
task :validate do
|
141
|
+
libfiles = Dir['lib/*'] - ["lib/#{name}.rb", "lib/#{name}"]
|
142
|
+
unless libfiles.empty?
|
143
|
+
puts "Directory `lib` should only contain a `#{name}.rb` file and `#{name}` dir."
|
144
|
+
exit!
|
145
|
+
end
|
146
|
+
unless Dir['VERSION*'].empty?
|
147
|
+
puts "A `VERSION` file at root level violates Gem best practices."
|
148
|
+
exit!
|
149
|
+
end
|
150
|
+
end
|
data/lib/property_sets.rb
CHANGED
@@ -3,6 +3,8 @@ require 'property_sets/active_record_extension'
|
|
3
3
|
require 'property_sets/action_view_extension'
|
4
4
|
|
5
5
|
module PropertySets
|
6
|
+
VERSION = "0.5.6"
|
7
|
+
|
6
8
|
def self.ensure_property_set_class(association, owner_class)
|
7
9
|
const_name = "#{owner_class.name}#{association.to_s.singularize.capitalize}".to_sym
|
8
10
|
unless Object.const_defined?(const_name)
|
data/property_sets.gemspec
CHANGED
@@ -1,86 +1,92 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
## This is the rakegem gemspec template. Make sure you read and understand
|
2
|
+
## all of the comments. Some sections require modification, and others can
|
3
|
+
## be deleted if you don't need them. Once you understand the contents of
|
4
|
+
## this file, feel free to delete any comments that begin with two hash marks.
|
5
|
+
## You can find comprehensive Gem::Specification documentation, at
|
6
|
+
## http://docs.rubygems.org/read/chapter/20
|
6
7
|
Gem::Specification.new do |s|
|
7
|
-
s.
|
8
|
-
s.version = "0.5.5"
|
9
|
-
|
8
|
+
s.specification_version = 2 if s.respond_to? :specification_version=
|
10
9
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
s.
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
"Rakefile",
|
26
|
-
"VERSION",
|
27
|
-
"db/.gitignore",
|
28
|
-
"lib/property_sets.rb",
|
29
|
-
"lib/property_sets/action_view_extension.rb",
|
30
|
-
"lib/property_sets/active_record_extension.rb",
|
31
|
-
"lib/property_sets/property_set_model.rb",
|
32
|
-
"property_sets.gemspec",
|
33
|
-
"test/database.yml",
|
34
|
-
"test/fixtures/account_settings.yml",
|
35
|
-
"test/fixtures/account_texts.yml",
|
36
|
-
"test/fixtures/accounts.yml",
|
37
|
-
"test/helper.rb",
|
38
|
-
"test/schema.rb",
|
39
|
-
"test/test_property_sets.rb",
|
40
|
-
"test/test_view_extensions.rb"
|
41
|
-
]
|
42
|
-
s.homepage = %q{http://github.com/morten/property_sets}
|
43
|
-
s.require_paths = ["lib"]
|
44
|
-
s.rubygems_version = %q{1.5.3}
|
45
|
-
s.summary = %q{Property sets for ActiveRecord}
|
46
|
-
s.test_files = [
|
47
|
-
"test/helper.rb",
|
48
|
-
"test/schema.rb",
|
49
|
-
"test/test_property_sets.rb",
|
50
|
-
"test/test_view_extensions.rb"
|
51
|
-
]
|
10
|
+
s.rubygems_version = '1.3.5'
|
11
|
+
|
12
|
+
## Leave these as is they will be modified for you by the rake gemspec task.
|
13
|
+
## If your rubyforge_project name is different, then edit it and comment out
|
14
|
+
## the sub! line in the Rakefile
|
15
|
+
s.name = 'property_sets'
|
16
|
+
s.version = '0.5.6'
|
17
|
+
s.date = '2011-11-30'
|
18
|
+
s.rubyforge_project = 'property_sets'
|
19
|
+
|
20
|
+
## Make sure your summary is short. The description may be as long
|
21
|
+
## as you like.
|
22
|
+
s.summary = "Property sets for ActiveRecord."
|
23
|
+
s.description = "This gem is an ActiveRecord extension which provides a convenient interface for managing per row properties."
|
52
24
|
|
53
|
-
|
54
|
-
|
25
|
+
## List the primary authors. If there are a bunch of authors, it's probably
|
26
|
+
## better to set the email to an email list or something. If you don't have
|
27
|
+
## a custom homepage, consider using your GitHub URL or the like.
|
28
|
+
s.authors = ["Morten Primdahl"]
|
29
|
+
s.email = 'primdahl@me.com'
|
30
|
+
s.homepage = 'http://github.com/morten/property_sets'
|
55
31
|
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
32
|
+
## This gets added to the $LOAD_PATH so that 'lib/NAME.rb' can be required as
|
33
|
+
## require 'NAME.rb' or'/lib/NAME/file.rb' can be as require 'NAME/file.rb'
|
34
|
+
s.require_paths = %w[lib]
|
35
|
+
|
36
|
+
## This sections is only necessary if you have C extensions.
|
37
|
+
# s.require_paths << 'ext'
|
38
|
+
# s.extensions = %w[ext/extconf.rb]
|
39
|
+
|
40
|
+
## If your gem includes any executables, list them here.
|
41
|
+
# s.executables = ["name"]
|
42
|
+
|
43
|
+
## Specify any RDoc options here. You'll want to add your README and
|
44
|
+
## LICENSE files to the extra_rdoc_files list.
|
45
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
46
|
+
s.extra_rdoc_files = %w[README.rdoc LICENSE.txt]
|
47
|
+
|
48
|
+
## List your runtime dependencies here. Runtime dependencies are those
|
49
|
+
## that are needed for an end user to actually USE your code.
|
50
|
+
s.add_runtime_dependency("activesupport", ["~> 2.3.14"])
|
51
|
+
s.add_runtime_dependency("activerecord", ["~> 2.3.14"])
|
52
|
+
s.add_runtime_dependency("actionpack", ["~> 2.3.14"])
|
53
|
+
|
54
|
+
## List your development dependencies here. Development dependencies are
|
55
|
+
## those that are only needed during development
|
56
|
+
s.add_development_dependency('rake')
|
57
|
+
s.add_development_dependency('bundler')
|
58
|
+
s.add_development_dependency('shoulda')
|
59
|
+
s.add_development_dependency('mocha')
|
60
|
+
s.add_development_dependency('sqlite3')
|
61
|
+
|
62
|
+
## Leave this section as-is. It will be automatically generated from the
|
63
|
+
## contents of your Git repository via the gemspec task. DO NOT REMOVE
|
64
|
+
## THE MANIFEST COMMENTS, they are used as delimiters by the task.
|
65
|
+
# = MANIFEST =
|
66
|
+
s.files = %w[
|
67
|
+
Gemfile
|
68
|
+
Gemfile.lock
|
69
|
+
LICENSE.txt
|
70
|
+
README.rdoc
|
71
|
+
Rakefile
|
72
|
+
db/.gitignore
|
73
|
+
lib/property_sets.rb
|
74
|
+
lib/property_sets/action_view_extension.rb
|
75
|
+
lib/property_sets/active_record_extension.rb
|
76
|
+
lib/property_sets/property_set_model.rb
|
77
|
+
property_sets.gemspec
|
78
|
+
test/database.yml
|
79
|
+
test/fixtures/account_settings.yml
|
80
|
+
test/fixtures/account_texts.yml
|
81
|
+
test/fixtures/accounts.yml
|
82
|
+
test/helper.rb
|
83
|
+
test/schema.rb
|
84
|
+
test/test_property_sets.rb
|
85
|
+
test/test_view_extensions.rb
|
86
|
+
]
|
87
|
+
# = MANIFEST =
|
86
88
|
|
89
|
+
## Test files will be grabbed from the file list. Make sure the path glob
|
90
|
+
## matches what you actually use.
|
91
|
+
s.test_files = s.files.select { |path| path =~ /^test\/test_.*\.rb/ }
|
92
|
+
end
|
data/test/helper.rb
CHANGED
@@ -4,7 +4,6 @@ require 'test/unit'
|
|
4
4
|
require 'active_record'
|
5
5
|
require 'active_record/fixtures'
|
6
6
|
require 'shoulda'
|
7
|
-
require 'ruby-debug'
|
8
7
|
|
9
8
|
ActiveRecord::Base.configurations = YAML::load(IO.read(File.dirname(__FILE__) + '/database.yml'))
|
10
9
|
ActiveRecord::Base.establish_connection('test')
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: property_sets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 6
|
10
|
+
version: 0.5.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Morten Primdahl
|
@@ -15,11 +15,12 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-11-
|
18
|
+
date: 2011-11-30 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: activesupport
|
23
|
+
type: :runtime
|
23
24
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
24
25
|
none: false
|
25
26
|
requirements:
|
@@ -32,10 +33,10 @@ dependencies:
|
|
32
33
|
- 14
|
33
34
|
version: 2.3.14
|
34
35
|
prerelease: false
|
35
|
-
type: :runtime
|
36
36
|
requirement: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: activerecord
|
39
|
+
type: :runtime
|
39
40
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
41
|
none: false
|
41
42
|
requirements:
|
@@ -48,10 +49,10 @@ dependencies:
|
|
48
49
|
- 14
|
49
50
|
version: 2.3.14
|
50
51
|
prerelease: false
|
51
|
-
type: :runtime
|
52
52
|
requirement: *id002
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: actionpack
|
55
|
+
type: :runtime
|
55
56
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
56
57
|
none: false
|
57
58
|
requirements:
|
@@ -64,10 +65,10 @@ dependencies:
|
|
64
65
|
- 14
|
65
66
|
version: 2.3.14
|
66
67
|
prerelease: false
|
67
|
-
type: :runtime
|
68
68
|
requirement: *id003
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rake
|
71
|
+
type: :development
|
71
72
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
72
73
|
none: false
|
73
74
|
requirements:
|
@@ -78,42 +79,38 @@ dependencies:
|
|
78
79
|
- 0
|
79
80
|
version: "0"
|
80
81
|
prerelease: false
|
81
|
-
type: :development
|
82
82
|
requirement: *id004
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: bundler
|
85
|
+
type: :development
|
85
86
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
86
87
|
none: false
|
87
88
|
requirements:
|
88
|
-
- -
|
89
|
+
- - ">="
|
89
90
|
- !ruby/object:Gem::Version
|
90
|
-
hash:
|
91
|
+
hash: 3
|
91
92
|
segments:
|
92
|
-
- 1
|
93
|
-
- 0
|
94
93
|
- 0
|
95
|
-
version:
|
94
|
+
version: "0"
|
96
95
|
prerelease: false
|
97
|
-
type: :development
|
98
96
|
requirement: *id005
|
99
97
|
- !ruby/object:Gem::Dependency
|
100
|
-
name:
|
98
|
+
name: shoulda
|
99
|
+
type: :development
|
101
100
|
version_requirements: &id006 !ruby/object:Gem::Requirement
|
102
101
|
none: false
|
103
102
|
requirements:
|
104
|
-
- -
|
103
|
+
- - ">="
|
105
104
|
- !ruby/object:Gem::Version
|
106
|
-
hash:
|
105
|
+
hash: 3
|
107
106
|
segments:
|
108
|
-
-
|
109
|
-
|
110
|
-
- 1
|
111
|
-
version: 1.5.1
|
107
|
+
- 0
|
108
|
+
version: "0"
|
112
109
|
prerelease: false
|
113
|
-
type: :development
|
114
110
|
requirement: *id006
|
115
111
|
- !ruby/object:Gem::Dependency
|
116
|
-
name:
|
112
|
+
name: mocha
|
113
|
+
type: :development
|
117
114
|
version_requirements: &id007 !ruby/object:Gem::Requirement
|
118
115
|
none: false
|
119
116
|
requirements:
|
@@ -124,10 +121,10 @@ dependencies:
|
|
124
121
|
- 0
|
125
122
|
version: "0"
|
126
123
|
prerelease: false
|
127
|
-
type: :development
|
128
124
|
requirement: *id007
|
129
125
|
- !ruby/object:Gem::Dependency
|
130
|
-
name:
|
126
|
+
name: sqlite3
|
127
|
+
type: :development
|
131
128
|
version_requirements: &id008 !ruby/object:Gem::Requirement
|
132
129
|
none: false
|
133
130
|
requirements:
|
@@ -138,25 +135,22 @@ dependencies:
|
|
138
135
|
- 0
|
139
136
|
version: "0"
|
140
137
|
prerelease: false
|
141
|
-
type: :development
|
142
138
|
requirement: *id008
|
143
|
-
description: This gem is an ActiveRecord extension which provides a convenient interface for managing per row properties
|
144
|
-
email:
|
139
|
+
description: This gem is an ActiveRecord extension which provides a convenient interface for managing per row properties.
|
140
|
+
email: primdahl@me.com
|
145
141
|
executables: []
|
146
142
|
|
147
143
|
extensions: []
|
148
144
|
|
149
145
|
extra_rdoc_files:
|
150
|
-
- LICENSE.txt
|
151
146
|
- README.rdoc
|
147
|
+
- LICENSE.txt
|
152
148
|
files:
|
153
|
-
- .document
|
154
149
|
- Gemfile
|
155
150
|
- Gemfile.lock
|
156
151
|
- LICENSE.txt
|
157
152
|
- README.rdoc
|
158
153
|
- Rakefile
|
159
|
-
- VERSION
|
160
154
|
- db/.gitignore
|
161
155
|
- lib/property_sets.rb
|
162
156
|
- lib/property_sets/action_view_extension.rb
|
@@ -176,8 +170,8 @@ homepage: http://github.com/morten/property_sets
|
|
176
170
|
licenses: []
|
177
171
|
|
178
172
|
post_install_message:
|
179
|
-
rdoc_options:
|
180
|
-
|
173
|
+
rdoc_options:
|
174
|
+
- --charset=UTF-8
|
181
175
|
require_paths:
|
182
176
|
- lib
|
183
177
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -200,13 +194,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
200
194
|
version: "0"
|
201
195
|
requirements: []
|
202
196
|
|
203
|
-
rubyforge_project:
|
197
|
+
rubyforge_project: property_sets
|
204
198
|
rubygems_version: 1.5.3
|
205
199
|
signing_key:
|
206
|
-
specification_version:
|
207
|
-
summary: Property sets for ActiveRecord
|
200
|
+
specification_version: 2
|
201
|
+
summary: Property sets for ActiveRecord.
|
208
202
|
test_files:
|
209
|
-
- test/helper.rb
|
210
|
-
- test/schema.rb
|
211
203
|
- test/test_property_sets.rb
|
212
204
|
- test/test_view_extensions.rb
|
data/.document
DELETED
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.5.5
|