olek-libcraigscrape 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/bin/craigwatch +2 -2
  3. metadata +33 -94
data/Rakefile CHANGED
@@ -11,7 +11,7 @@ include FileUtils
11
11
  RbConfig = Config unless defined? RbConfig
12
12
 
13
13
  NAME = "olek-libcraigscrape"
14
- VERS = ENV['VERSION'] || "1.0.2"
14
+ VERS = ENV['VERSION'] || "1.0.3"
15
15
  PKG = "#{NAME}-#{VERS}"
16
16
 
17
17
  RDOC_OPTS = ['--quiet', '--title', 'The libcraigscrape Reference', '--main', 'README', '--inline-source']
data/bin/craigwatch CHANGED
@@ -290,12 +290,12 @@ class CraigReportDefinition #:nodoc:
290
290
  private
291
291
 
292
292
  def matches_all?(conditions, against)
293
- against = against.to_a
293
+ against = against.to_a.compact
294
294
  (conditions.nil? or conditions.all?{|c| against.any?{|a| match_against c, a } }) ? true : false
295
295
  end
296
296
 
297
297
  def doesnt_match_any?(conditions, against)
298
- against = against.to_a
298
+ against = against.to_a.compact
299
299
  (conditions.nil? or conditions.all?{|c| against.any?{|a| !match_against c, a } }) ? true : false
300
300
  end
301
301
 
metadata CHANGED
@@ -1,13 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: olek-libcraigscrape
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
5
- prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 2
10
- version: 1.0.2
4
+ version: 1.0.3
11
5
  platform: ruby
12
6
  authors:
13
7
  - Chris DeRose, DeRose Technologies, Inc.
@@ -15,137 +9,88 @@ autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
11
 
18
- date: 2011-07-04 00:00:00 -04:00
12
+ date: 2012-04-07 00:00:00 -04:00
19
13
  default_executable:
20
14
  dependencies:
21
15
  - !ruby/object:Gem::Dependency
22
16
  name: nokogiri
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
26
20
  requirements:
27
21
  - - ">="
28
22
  - !ruby/object:Gem::Version
29
- hash: 15
30
- segments:
31
- - 1
32
- - 4
33
- - 4
34
23
  version: 1.4.4
35
- type: :runtime
36
- version_requirements: *id001
24
+ version:
37
25
  - !ruby/object:Gem::Dependency
38
26
  name: htmlentities
39
- prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
42
30
  requirements:
43
31
  - - ">="
44
32
  - !ruby/object:Gem::Version
45
- hash: 63
46
- segments:
47
- - 4
48
- - 0
49
- - 0
50
33
  version: 4.0.0
51
- type: :runtime
52
- version_requirements: *id002
34
+ version:
53
35
  - !ruby/object:Gem::Dependency
54
36
  name: activesupport
55
- prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
57
- none: false
37
+ type: :runtime
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
58
40
  requirements:
59
41
  - - ">="
60
42
  - !ruby/object:Gem::Version
61
- hash: 3
62
- segments:
63
- - 2
64
- - 3
65
- - 0
66
43
  version: 2.3.0
67
44
  - - <
68
45
  - !ruby/object:Gem::Version
69
- hash: 5
70
- segments:
71
- - 3
72
46
  version: "3"
73
- type: :runtime
74
- version_requirements: *id003
47
+ version:
75
48
  - !ruby/object:Gem::Dependency
76
49
  name: activerecord
77
- prerelease: false
78
- requirement: &id004 !ruby/object:Gem::Requirement
79
- none: false
50
+ type: :runtime
51
+ version_requirement:
52
+ version_requirements: !ruby/object:Gem::Requirement
80
53
  requirements:
81
54
  - - ">="
82
55
  - !ruby/object:Gem::Version
83
- hash: 3
84
- segments:
85
- - 2
86
- - 3
87
- - 0
88
56
  version: 2.3.0
89
57
  - - <
90
58
  - !ruby/object:Gem::Version
91
- hash: 5
92
- segments:
93
- - 3
94
59
  version: "3"
95
- type: :runtime
96
- version_requirements: *id004
60
+ version:
97
61
  - !ruby/object:Gem::Dependency
98
62
  name: actionmailer
99
- prerelease: false
100
- requirement: &id005 !ruby/object:Gem::Requirement
101
- none: false
63
+ type: :runtime
64
+ version_requirement:
65
+ version_requirements: !ruby/object:Gem::Requirement
102
66
  requirements:
103
67
  - - ">="
104
68
  - !ruby/object:Gem::Version
105
- hash: 3
106
- segments:
107
- - 2
108
- - 3
109
- - 0
110
69
  version: 2.3.0
111
70
  - - <
112
71
  - !ruby/object:Gem::Version
113
- hash: 5
114
- segments:
115
- - 3
116
72
  version: "3"
117
- type: :runtime
118
- version_requirements: *id005
73
+ version:
119
74
  - !ruby/object:Gem::Dependency
120
75
  name: kwalify
121
- prerelease: false
122
- requirement: &id006 !ruby/object:Gem::Requirement
123
- none: false
76
+ type: :runtime
77
+ version_requirement:
78
+ version_requirements: !ruby/object:Gem::Requirement
124
79
  requirements:
125
80
  - - ">="
126
81
  - !ruby/object:Gem::Version
127
- hash: 7
128
- segments:
129
- - 0
130
- - 7
131
- - 2
132
82
  version: 0.7.2
133
- type: :runtime
134
- version_requirements: *id006
83
+ version:
135
84
  - !ruby/object:Gem::Dependency
136
85
  name: sqlite3
137
- prerelease: false
138
- requirement: &id007 !ruby/object:Gem::Requirement
139
- none: false
86
+ type: :runtime
87
+ version_requirement:
88
+ version_requirements: !ruby/object:Gem::Requirement
140
89
  requirements:
141
90
  - - ">="
142
91
  - !ruby/object:Gem::Version
143
- hash: 3
144
- segments:
145
- - 0
146
92
  version: "0"
147
- type: :runtime
148
- version_requirements: *id007
93
+ version:
149
94
  description: quick, easy, craigslist parsing library that takes the monotony out of working with craigslist posts and listings
150
95
  email: cderose@derosetechnologies.com
151
96
  executables:
@@ -243,27 +188,21 @@ rdoc_options:
243
188
  require_paths:
244
189
  - lib
245
190
  required_ruby_version: !ruby/object:Gem::Requirement
246
- none: false
247
191
  requirements:
248
192
  - - ">="
249
193
  - !ruby/object:Gem::Version
250
- hash: 3
251
- segments:
252
- - 0
253
194
  version: "0"
195
+ version:
254
196
  required_rubygems_version: !ruby/object:Gem::Requirement
255
- none: false
256
197
  requirements:
257
198
  - - ">="
258
199
  - !ruby/object:Gem::Version
259
- hash: 3
260
- segments:
261
- - 0
262
200
  version: "0"
201
+ version:
263
202
  requirements: []
264
203
 
265
204
  rubyforge_project: libcraigwatch
266
- rubygems_version: 1.6.2
205
+ rubygems_version: 1.3.5
267
206
  signing_key:
268
207
  specification_version: 3
269
208
  summary: quick, easy, craigslist parsing library that takes the monotony out of working with craigslist posts and listings