Active 0.0.12 → 0.0.14

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/.bnsignore ADDED
@@ -0,0 +1,19 @@
1
+ # The list of files that should be ignored by Mr Bones.
2
+ # Lines that start with '#' are comments.
3
+ #
4
+ # A .gitignore file can be used instead by setting it as the ignore
5
+ # file in your Rakefile:
6
+ #
7
+ # Bones {
8
+ # ignore_file '.gitignore'
9
+ # }
10
+ #
11
+ # For a project with a C extension, the following would be a good set of
12
+ # exclude patterns (uncomment them if you want to use them):
13
+ # *.[oa]
14
+ # *~
15
+ announcement.txt
16
+ coverage
17
+ doc
18
+ pkg
19
+ .DS_Store
data/bin/Active CHANGED
File without changes
@@ -83,7 +83,7 @@ module Active
83
83
 
84
84
  def keywords=(value)
85
85
  if value.class == String
86
- @keywords = value.split(",").each { |k| k.strip! }
86
+ @keywords = value.gsub(",", " ").split(" ").each { |k| k.strip! }
87
87
  else
88
88
  @keywords = value
89
89
  end
data/spec/search_spec.rb CHANGED
@@ -313,6 +313,11 @@ describe "Call Live Data" do
313
313
  end
314
314
  end
315
315
 
316
+ it "should search by keyword" do
317
+ s = Search.search( {:keywords => "Running Race"} )
318
+ s.results.should have_at_least(1).items
319
+ end
320
+
316
321
  # our model should be updated to handle multiple categories
317
322
  # I'm sure running is with in all of these events but we're only storing 1.
318
323
  # it "should find only running activities" do
data/version.txt CHANGED
@@ -1 +1 @@
1
- 0.0.12
1
+ 0.0.14
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Active
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 3
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 0
8
- - 12
9
- version: 0.0.12
9
+ - 14
10
+ version: 0.0.14
10
11
  platform: ruby
11
12
  authors:
12
13
  - Jonathan Spooner, Brian Levine
@@ -21,9 +22,11 @@ dependencies:
21
22
  name: savon
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 17
27
30
  segments:
28
31
  - 0
29
32
  - 7
@@ -35,9 +38,11 @@ dependencies:
35
38
  name: bones
36
39
  prerelease: false
37
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
38
42
  requirements:
39
43
  - - ">="
40
44
  - !ruby/object:Gem::Version
45
+ hash: 25
41
46
  segments:
42
47
  - 3
43
48
  - 4
@@ -55,18 +60,15 @@ extra_rdoc_files:
55
60
  - History.txt
56
61
  - README.txt
57
62
  - bin/Active
58
- - lib/.DS_Store
59
- - lib/services/.DS_Store
60
63
  - version.txt
61
64
  files:
65
+ - .bnsignore
62
66
  - Active.gemspec
63
67
  - History.txt
64
68
  - README.txt
65
69
  - Rakefile
66
70
  - bin/Active
67
- - lib/.DS_Store
68
71
  - lib/Active.rb
69
- - lib/services/.DS_Store
70
72
  - lib/services/IActivity.rb
71
73
  - lib/services/active_works.rb
72
74
  - lib/services/activity.rb
@@ -96,23 +98,27 @@ rdoc_options:
96
98
  require_paths:
97
99
  - lib
98
100
  required_ruby_version: !ruby/object:Gem::Requirement
101
+ none: false
99
102
  requirements:
100
103
  - - ">="
101
104
  - !ruby/object:Gem::Version
105
+ hash: 3
102
106
  segments:
103
107
  - 0
104
108
  version: "0"
105
109
  required_rubygems_version: !ruby/object:Gem::Requirement
110
+ none: false
106
111
  requirements:
107
112
  - - ">="
108
113
  - !ruby/object:Gem::Version
114
+ hash: 3
109
115
  segments:
110
116
  - 0
111
117
  version: "0"
112
118
  requirements: []
113
119
 
114
120
  rubyforge_project: Active
115
- rubygems_version: 1.3.6
121
+ rubygems_version: 1.3.7
116
122
  signing_key:
117
123
  specification_version: 3
118
124
  summary: Search api for Active Network
data/lib/.DS_Store DELETED
Binary file
Binary file