model_set 0.10.6 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +46 -0
  2. data/VERSION.yml +2 -2
  3. data/model_set.gemspec +144 -0
  4. metadata +25 -4
data/Rakefile ADDED
@@ -0,0 +1,46 @@
1
+ require 'rake'
2
+ require 'rake/testtask'
3
+ require 'rake/rdoctask'
4
+
5
+ begin
6
+ require 'jeweler'
7
+ Jeweler::Tasks.new do |s|
8
+ s.name = "model_set"
9
+ s.summary = %Q{Easy manipulation of sets of ActiveRecord models}
10
+ s.email = "code@justinbalthrop.com"
11
+ s.homepage = "http://github.com/ninjudd/model_set"
12
+ s.description = "Easy manipulation of sets of ActiveRecord models"
13
+ s.authors = ["Justin Balthrop"]
14
+ s.add_dependency('ordered_set', '>= 1.0.0')
15
+ s.add_dependency('deep_clonable', '>= 1.0.2')
16
+ end
17
+ Jeweler::GemcutterTasks.new
18
+ rescue LoadError
19
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
20
+ end
21
+
22
+ Rake::TestTask.new do |t|
23
+ t.libs << 'lib'
24
+ t.pattern = 'test/**/*_test.rb'
25
+ t.verbose = false
26
+ end
27
+
28
+ Rake::RDocTask.new do |rdoc|
29
+ rdoc.rdoc_dir = 'rdoc'
30
+ rdoc.title = 'model_set'
31
+ rdoc.options << '--line-numbers' << '--inline-source'
32
+ rdoc.rdoc_files.include('README*')
33
+ rdoc.rdoc_files.include('lib/**/*.rb')
34
+ end
35
+
36
+ begin
37
+ require 'rcov/rcovtask'
38
+ Rcov::RcovTask.new do |t|
39
+ t.libs << 'test'
40
+ t.test_files = FileList['test/**/*_test.rb']
41
+ t.verbose = true
42
+ end
43
+ rescue LoadError
44
+ end
45
+
46
+ task :default => :test
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :build:
3
- :patch: 6
3
+ :patch: 0
4
4
  :major: 0
5
- :minor: 10
5
+ :minor: 11
data/model_set.gemspec ADDED
@@ -0,0 +1,144 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{model_set}
8
+ s.version = "0.11.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Justin Balthrop"]
12
+ s.date = %q{2010-04-13}
13
+ s.description = %q{Easy manipulation of sets of ActiveRecord models}
14
+ s.email = %q{code@justinbalthrop.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ "LICENSE",
21
+ "README.rdoc",
22
+ "Rakefile",
23
+ "VERSION.yml",
24
+ "lib/model_set.rb",
25
+ "lib/model_set/conditioned.rb",
26
+ "lib/model_set/conditions.rb",
27
+ "lib/model_set/query.rb",
28
+ "lib/model_set/raw_query.rb",
29
+ "lib/model_set/raw_sql_query.rb",
30
+ "lib/model_set/set_query.rb",
31
+ "lib/model_set/solr_query.rb",
32
+ "lib/model_set/sphinx_query.rb",
33
+ "lib/model_set/sql_base_query.rb",
34
+ "lib/model_set/sql_query.rb",
35
+ "lib/multi_set.rb",
36
+ "model_set.gemspec",
37
+ "test/model_set_test.rb",
38
+ "test/multi_set_test.rb",
39
+ "test/test_helper.rb",
40
+ "vendor/sphinx_client/README.rdoc",
41
+ "vendor/sphinx_client/Rakefile",
42
+ "vendor/sphinx_client/init.rb",
43
+ "vendor/sphinx_client/install.rb",
44
+ "vendor/sphinx_client/lib/sphinx.rb",
45
+ "vendor/sphinx_client/lib/sphinx/client.rb",
46
+ "vendor/sphinx_client/lib/sphinx/request.rb",
47
+ "vendor/sphinx_client/lib/sphinx/response.rb",
48
+ "vendor/sphinx_client/spec/client_response_spec.rb",
49
+ "vendor/sphinx_client/spec/client_spec.rb",
50
+ "vendor/sphinx_client/spec/fixtures/default_search.php",
51
+ "vendor/sphinx_client/spec/fixtures/default_search_index.php",
52
+ "vendor/sphinx_client/spec/fixtures/excerpt_custom.php",
53
+ "vendor/sphinx_client/spec/fixtures/excerpt_default.php",
54
+ "vendor/sphinx_client/spec/fixtures/excerpt_flags.php",
55
+ "vendor/sphinx_client/spec/fixtures/field_weights.php",
56
+ "vendor/sphinx_client/spec/fixtures/filter.php",
57
+ "vendor/sphinx_client/spec/fixtures/filter_exclude.php",
58
+ "vendor/sphinx_client/spec/fixtures/filter_float_range.php",
59
+ "vendor/sphinx_client/spec/fixtures/filter_float_range_exclude.php",
60
+ "vendor/sphinx_client/spec/fixtures/filter_range.php",
61
+ "vendor/sphinx_client/spec/fixtures/filter_range_exclude.php",
62
+ "vendor/sphinx_client/spec/fixtures/filter_range_int64.php",
63
+ "vendor/sphinx_client/spec/fixtures/filter_ranges.php",
64
+ "vendor/sphinx_client/spec/fixtures/filters.php",
65
+ "vendor/sphinx_client/spec/fixtures/filters_different.php",
66
+ "vendor/sphinx_client/spec/fixtures/geo_anchor.php",
67
+ "vendor/sphinx_client/spec/fixtures/group_by_attr.php",
68
+ "vendor/sphinx_client/spec/fixtures/group_by_attrpair.php",
69
+ "vendor/sphinx_client/spec/fixtures/group_by_day.php",
70
+ "vendor/sphinx_client/spec/fixtures/group_by_day_sort.php",
71
+ "vendor/sphinx_client/spec/fixtures/group_by_month.php",
72
+ "vendor/sphinx_client/spec/fixtures/group_by_week.php",
73
+ "vendor/sphinx_client/spec/fixtures/group_by_year.php",
74
+ "vendor/sphinx_client/spec/fixtures/group_distinct.php",
75
+ "vendor/sphinx_client/spec/fixtures/id_range.php",
76
+ "vendor/sphinx_client/spec/fixtures/id_range64.php",
77
+ "vendor/sphinx_client/spec/fixtures/index_weights.php",
78
+ "vendor/sphinx_client/spec/fixtures/keywords.php",
79
+ "vendor/sphinx_client/spec/fixtures/limits.php",
80
+ "vendor/sphinx_client/spec/fixtures/limits_cutoff.php",
81
+ "vendor/sphinx_client/spec/fixtures/limits_max.php",
82
+ "vendor/sphinx_client/spec/fixtures/limits_max_cutoff.php",
83
+ "vendor/sphinx_client/spec/fixtures/match_all.php",
84
+ "vendor/sphinx_client/spec/fixtures/match_any.php",
85
+ "vendor/sphinx_client/spec/fixtures/match_boolean.php",
86
+ "vendor/sphinx_client/spec/fixtures/match_extended.php",
87
+ "vendor/sphinx_client/spec/fixtures/match_extended2.php",
88
+ "vendor/sphinx_client/spec/fixtures/match_fullscan.php",
89
+ "vendor/sphinx_client/spec/fixtures/match_phrase.php",
90
+ "vendor/sphinx_client/spec/fixtures/max_query_time.php",
91
+ "vendor/sphinx_client/spec/fixtures/miltiple_queries.php",
92
+ "vendor/sphinx_client/spec/fixtures/ranking_bm25.php",
93
+ "vendor/sphinx_client/spec/fixtures/ranking_none.php",
94
+ "vendor/sphinx_client/spec/fixtures/ranking_proximity.php",
95
+ "vendor/sphinx_client/spec/fixtures/ranking_proximity_bm25.php",
96
+ "vendor/sphinx_client/spec/fixtures/ranking_wordcount.php",
97
+ "vendor/sphinx_client/spec/fixtures/retries.php",
98
+ "vendor/sphinx_client/spec/fixtures/retries_delay.php",
99
+ "vendor/sphinx_client/spec/fixtures/select.php",
100
+ "vendor/sphinx_client/spec/fixtures/set_override.php",
101
+ "vendor/sphinx_client/spec/fixtures/sort_attr_asc.php",
102
+ "vendor/sphinx_client/spec/fixtures/sort_attr_desc.php",
103
+ "vendor/sphinx_client/spec/fixtures/sort_expr.php",
104
+ "vendor/sphinx_client/spec/fixtures/sort_extended.php",
105
+ "vendor/sphinx_client/spec/fixtures/sort_relevance.php",
106
+ "vendor/sphinx_client/spec/fixtures/sort_time_segments.php",
107
+ "vendor/sphinx_client/spec/fixtures/sphinxapi.php",
108
+ "vendor/sphinx_client/spec/fixtures/update_attributes.php",
109
+ "vendor/sphinx_client/spec/fixtures/update_attributes_mva.php",
110
+ "vendor/sphinx_client/spec/fixtures/weights.php",
111
+ "vendor/sphinx_client/spec/sphinx/sphinx-id64.conf",
112
+ "vendor/sphinx_client/spec/sphinx/sphinx.conf",
113
+ "vendor/sphinx_client/spec/sphinx/sphinx_test.sql",
114
+ "vendor/sphinx_client/sphinx.yml.tpl",
115
+ "vendor/sphinx_client/tasks/sphinx.rake"
116
+ ]
117
+ s.homepage = %q{http://github.com/ninjudd/model_set}
118
+ s.rdoc_options = ["--charset=UTF-8"]
119
+ s.require_paths = ["lib"]
120
+ s.rubygems_version = %q{1.3.5}
121
+ s.summary = %q{Easy manipulation of sets of ActiveRecord models}
122
+ s.test_files = [
123
+ "test/model_set_test.rb",
124
+ "test/multi_set_test.rb",
125
+ "test/test_helper.rb"
126
+ ]
127
+
128
+ if s.respond_to? :specification_version then
129
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
130
+ s.specification_version = 3
131
+
132
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
133
+ s.add_runtime_dependency(%q<ordered_set>, [">= 1.0.0"])
134
+ s.add_runtime_dependency(%q<deep_clonable>, [">= 1.0.2"])
135
+ else
136
+ s.add_dependency(%q<ordered_set>, [">= 1.0.0"])
137
+ s.add_dependency(%q<deep_clonable>, [">= 1.0.2"])
138
+ end
139
+ else
140
+ s.add_dependency(%q<ordered_set>, [">= 1.0.0"])
141
+ s.add_dependency(%q<deep_clonable>, [">= 1.0.2"])
142
+ end
143
+ end
144
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: model_set
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.6
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Balthrop
@@ -9,10 +9,29 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-03-31 00:00:00 -07:00
12
+ date: 2010-04-13 00:00:00 -07:00
13
13
  default_executable:
14
- dependencies: []
15
-
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: ordered_set
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.0.0
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: deep_clonable
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.2
34
+ version:
16
35
  description: Easy manipulation of sets of ActiveRecord models
17
36
  email: code@justinbalthrop.com
18
37
  executables: []
@@ -25,6 +44,7 @@ extra_rdoc_files:
25
44
  files:
26
45
  - LICENSE
27
46
  - README.rdoc
47
+ - Rakefile
28
48
  - VERSION.yml
29
49
  - lib/model_set.rb
30
50
  - lib/model_set/conditioned.rb
@@ -38,6 +58,7 @@ files:
38
58
  - lib/model_set/sql_base_query.rb
39
59
  - lib/model_set/sql_query.rb
40
60
  - lib/multi_set.rb
61
+ - model_set.gemspec
41
62
  - test/model_set_test.rb
42
63
  - test/multi_set_test.rb
43
64
  - test/test_helper.rb