topsy 0.1.0

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.
Files changed (56) hide show
  1. data/.gitignore +21 -0
  2. data/.yardoc/checksums +2 -0
  3. data/.yardoc/objects/Topsy.dat +0 -0
  4. data/.yardoc/objects/Topsy/Client.dat +0 -0
  5. data/.yardoc/objects/Topsy/Client/author_info_i.dat +0 -0
  6. data/.yardoc/objects/Topsy/Client/author_search_i.dat +0 -0
  7. data/.yardoc/objects/Topsy/Client/handle_response_i.dat +0 -0
  8. data/.yardoc/objects/Topsy/Client/link_post_count_i.dat +0 -0
  9. data/.yardoc/objects/Topsy/Client/link_posts_i.dat +0 -0
  10. data/.yardoc/objects/Topsy/Client/mashup_i.dat +0 -0
  11. data/.yardoc/objects/Topsy/Client/profile_search_i.dat +0 -0
  12. data/.yardoc/objects/Topsy/Client/raise_errors_i.dat +0 -0
  13. data/.yardoc/objects/Topsy/Client/related_i.dat +0 -0
  14. data/.yardoc/objects/Topsy/Client/search_count_i.dat +0 -0
  15. data/.yardoc/objects/Topsy/Client/search_i.dat +0 -0
  16. data/.yardoc/objects/Topsy/Client/stats_i.dat +0 -0
  17. data/.yardoc/objects/Topsy/Client/tags_i.dat +0 -0
  18. data/.yardoc/objects/Topsy/Client/trackbacks_i.dat +0 -0
  19. data/.yardoc/objects/Topsy/Client/trending_i.dat +0 -0
  20. data/.yardoc/objects/Topsy/Client/url_info_i.dat +0 -0
  21. data/.yardoc/objects/Topsy/SearchCounts.dat +0 -0
  22. data/.yardoc/objects/Topsy/SearchCounts/all_time_i.dat +0 -0
  23. data/.yardoc/objects/Topsy/SearchCounts/last_hour_i.dat +0 -0
  24. data/.yardoc/objects/Topsy/SearchCounts/last_month_i.dat +0 -0
  25. data/.yardoc/objects/Topsy/SearchCounts/last_week_i.dat +0 -0
  26. data/.yardoc/objects/Topsy/SearchCounts/overall_i.dat +0 -0
  27. data/.yardoc/objects/Topsy/SearchCounts/this_hour_i.dat +0 -0
  28. data/.yardoc/objects/Topsy/SearchCounts/this_month_i.dat +0 -0
  29. data/.yardoc/objects/Topsy/SearchCounts/this_week_i.dat +0 -0
  30. data/.yardoc/objects/Topsy/SearchCounts/today_i.dat +0 -0
  31. data/.yardoc/objects/root.dat +0 -0
  32. data/.yardoc/proxy_types +0 -0
  33. data/LICENSE +20 -0
  34. data/README.markdown +34 -0
  35. data/Rakefile +50 -0
  36. data/VERSION +1 -0
  37. data/changelog.markdown +5 -0
  38. data/lib/topsy.rb +174 -0
  39. data/lib/topsy/client.rb +180 -0
  40. data/lib/topsy/search_counts.rb +46 -0
  41. data/test/fixtures/authorinfo.json +19 -0
  42. data/test/fixtures/authorsearch.json +165 -0
  43. data/test/fixtures/linkpostcount.json +14 -0
  44. data/test/fixtures/linkposts.json +135 -0
  45. data/test/fixtures/profilesearch.json +23 -0
  46. data/test/fixtures/related.json +75 -0
  47. data/test/fixtures/search.json +126 -0
  48. data/test/fixtures/searchcount.json +17 -0
  49. data/test/fixtures/stats.json +16 -0
  50. data/test/fixtures/tags.json +51 -0
  51. data/test/fixtures/trackbacks.json +56 -0
  52. data/test/fixtures/trending.json +53 -0
  53. data/test/fixtures/urlinfo.json +19 -0
  54. data/test/helper.rb +45 -0
  55. data/test/test_topsy.rb +99 -0
  56. metadata +170 -0
metadata ADDED
@@ -0,0 +1,170 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: topsy
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Wynn Netherland
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2010-01-01 00:00:00 -06:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: hashie
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ~>
22
+ - !ruby/object:Gem::Version
23
+ version: 0.1.3
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: httparty
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: 0.4.5
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: thoughtbot-shoulda
37
+ type: :development
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 2.10.1
44
+ version:
45
+ - !ruby/object:Gem::Dependency
46
+ name: jnunemaker-matchy
47
+ type: :development
48
+ version_requirement:
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "="
52
+ - !ruby/object:Gem::Version
53
+ version: 0.4.0
54
+ version:
55
+ - !ruby/object:Gem::Dependency
56
+ name: mocha
57
+ type: :development
58
+ version_requirement:
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "="
62
+ - !ruby/object:Gem::Version
63
+ version: 0.9.4
64
+ version:
65
+ - !ruby/object:Gem::Dependency
66
+ name: fakeweb
67
+ type: :development
68
+ version_requirement:
69
+ version_requirements: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: 1.2.5
74
+ version:
75
+ description: Ruby wrapper for the Topsy otterapi
76
+ email: wynn.netherland@gmail.com
77
+ executables: []
78
+
79
+ extensions: []
80
+
81
+ extra_rdoc_files:
82
+ - LICENSE
83
+ - README.markdown
84
+ files:
85
+ - .gitignore
86
+ - .yardoc/checksums
87
+ - .yardoc/objects/Topsy.dat
88
+ - .yardoc/objects/Topsy/Client.dat
89
+ - .yardoc/objects/Topsy/Client/author_info_i.dat
90
+ - .yardoc/objects/Topsy/Client/author_search_i.dat
91
+ - .yardoc/objects/Topsy/Client/handle_response_i.dat
92
+ - .yardoc/objects/Topsy/Client/link_post_count_i.dat
93
+ - .yardoc/objects/Topsy/Client/link_posts_i.dat
94
+ - .yardoc/objects/Topsy/Client/mashup_i.dat
95
+ - .yardoc/objects/Topsy/Client/profile_search_i.dat
96
+ - .yardoc/objects/Topsy/Client/raise_errors_i.dat
97
+ - .yardoc/objects/Topsy/Client/related_i.dat
98
+ - .yardoc/objects/Topsy/Client/search_count_i.dat
99
+ - .yardoc/objects/Topsy/Client/search_i.dat
100
+ - .yardoc/objects/Topsy/Client/stats_i.dat
101
+ - .yardoc/objects/Topsy/Client/tags_i.dat
102
+ - .yardoc/objects/Topsy/Client/trackbacks_i.dat
103
+ - .yardoc/objects/Topsy/Client/trending_i.dat
104
+ - .yardoc/objects/Topsy/Client/url_info_i.dat
105
+ - .yardoc/objects/Topsy/SearchCounts.dat
106
+ - .yardoc/objects/Topsy/SearchCounts/all_time_i.dat
107
+ - .yardoc/objects/Topsy/SearchCounts/last_hour_i.dat
108
+ - .yardoc/objects/Topsy/SearchCounts/last_month_i.dat
109
+ - .yardoc/objects/Topsy/SearchCounts/last_week_i.dat
110
+ - .yardoc/objects/Topsy/SearchCounts/overall_i.dat
111
+ - .yardoc/objects/Topsy/SearchCounts/this_hour_i.dat
112
+ - .yardoc/objects/Topsy/SearchCounts/this_month_i.dat
113
+ - .yardoc/objects/Topsy/SearchCounts/this_week_i.dat
114
+ - .yardoc/objects/Topsy/SearchCounts/today_i.dat
115
+ - .yardoc/objects/root.dat
116
+ - .yardoc/proxy_types
117
+ - LICENSE
118
+ - README.markdown
119
+ - Rakefile
120
+ - VERSION
121
+ - changelog.markdown
122
+ - lib/topsy.rb
123
+ - lib/topsy/client.rb
124
+ - lib/topsy/search_counts.rb
125
+ - test/fixtures/authorinfo.json
126
+ - test/fixtures/authorsearch.json
127
+ - test/fixtures/linkpostcount.json
128
+ - test/fixtures/linkposts.json
129
+ - test/fixtures/profilesearch.json
130
+ - test/fixtures/related.json
131
+ - test/fixtures/search.json
132
+ - test/fixtures/searchcount.json
133
+ - test/fixtures/stats.json
134
+ - test/fixtures/tags.json
135
+ - test/fixtures/trackbacks.json
136
+ - test/fixtures/trending.json
137
+ - test/fixtures/urlinfo.json
138
+ - test/helper.rb
139
+ - test/test_topsy.rb
140
+ has_rdoc: true
141
+ homepage: http://github.com/pengwynn/topsy
142
+ licenses: []
143
+
144
+ post_install_message:
145
+ rdoc_options:
146
+ - --charset=UTF-8
147
+ require_paths:
148
+ - lib
149
+ required_ruby_version: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: "0"
154
+ version:
155
+ required_rubygems_version: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: "0"
160
+ version:
161
+ requirements: []
162
+
163
+ rubyforge_project:
164
+ rubygems_version: 1.3.5
165
+ signing_key:
166
+ specification_version: 3
167
+ summary: Ruby wrapper for the Topsy otterapi
168
+ test_files:
169
+ - test/helper.rb
170
+ - test/test_topsy.rb