jbgutierrez-delicious_api 1.0.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.
- data/README.textile +136 -0
- data/delicious_api.gemspec +31 -0
- data/lib/delicious_api.rb +54 -0
- data/lib/delicious_api/base.rb +67 -0
- data/lib/delicious_api/bookmark.rb +162 -0
- data/lib/delicious_api/bundle.rb +43 -0
- data/lib/delicious_api/extensions.rb +5 -0
- data/lib/delicious_api/extensions/hash.rb +6 -0
- data/lib/delicious_api/tag.rb +52 -0
- data/lib/delicious_api/wrapper.rb +307 -0
- data/spec/custom_macros.rb +23 -0
- data/spec/custom_matchers.rb +5 -0
- data/spec/delicious_api_spec.rb +7 -0
- data/spec/delicious_api_spec/base_spec.rb +9 -0
- data/spec/delicious_api_spec/bookmark_spec.rb +177 -0
- data/spec/delicious_api_spec/bundle_spec.rb +76 -0
- data/spec/delicious_api_spec/tag_spec.rb +78 -0
- data/spec/delicious_api_spec/wrapper_spec.rb +431 -0
- data/spec/spec_helper.rb +21 -0
- metadata +105 -0
data/spec/spec_helper.rb
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
require File.dirname(__FILE__) + "/custom_matchers"
|
|
2
|
+
require File.dirname(__FILE__) + "/custom_macros"
|
|
3
|
+
|
|
4
|
+
require File.expand_path(
|
|
5
|
+
File.join(File.dirname(__FILE__), %w[.. lib delicious_api]))
|
|
6
|
+
|
|
7
|
+
Spec::Runner.configure do |config|
|
|
8
|
+
# == Mock Framework
|
|
9
|
+
#
|
|
10
|
+
# RSpec uses it's own mocking framework by default. If you prefer to
|
|
11
|
+
# use mocha, flexmock or RR, uncomment the appropriate line:
|
|
12
|
+
#
|
|
13
|
+
# config.mock_with :mocha
|
|
14
|
+
# config.mock_with :flexmock
|
|
15
|
+
# config.mock_with :rr
|
|
16
|
+
config.include(CustomMatchers)
|
|
17
|
+
config.include(CustomMacros)
|
|
18
|
+
config.include(DeliciousApi)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
# EOF
|
metadata
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: jbgutierrez-delicious_api
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Javier Blanco Gutierrez
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
|
|
12
|
+
date: 2009-05-05 00:00:00 -07:00
|
|
13
|
+
default_executable: delicious_api
|
|
14
|
+
dependencies:
|
|
15
|
+
- !ruby/object:Gem::Dependency
|
|
16
|
+
name: activesupport
|
|
17
|
+
type: :runtime
|
|
18
|
+
version_requirement:
|
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
20
|
+
requirements:
|
|
21
|
+
- - ">="
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: 2.3.2
|
|
24
|
+
version:
|
|
25
|
+
- !ruby/object:Gem::Dependency
|
|
26
|
+
name: hpricot
|
|
27
|
+
type: :runtime
|
|
28
|
+
version_requirement:
|
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: 0.8.1
|
|
34
|
+
version:
|
|
35
|
+
- !ruby/object:Gem::Dependency
|
|
36
|
+
name: rspec
|
|
37
|
+
type: :runtime
|
|
38
|
+
version_requirement:
|
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
40
|
+
requirements:
|
|
41
|
+
- - ">="
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: 1.2.6
|
|
44
|
+
version:
|
|
45
|
+
description: delicious_api is a pure Ruby client for the "Delicious API" (http://delicious.com/help/api). It provides an easy way to read/write bookmarks, tags and bundles to Delicious accounts.
|
|
46
|
+
email: jbgutierrez@gmail.com
|
|
47
|
+
executables: []
|
|
48
|
+
|
|
49
|
+
extensions: []
|
|
50
|
+
|
|
51
|
+
extra_rdoc_files: []
|
|
52
|
+
|
|
53
|
+
files:
|
|
54
|
+
- README.textile
|
|
55
|
+
- delicious_api.gemspec
|
|
56
|
+
- lib/delicious_api.rb
|
|
57
|
+
- lib/delicious_api/base.rb
|
|
58
|
+
- lib/delicious_api/bookmark.rb
|
|
59
|
+
- lib/delicious_api/bundle.rb
|
|
60
|
+
- lib/delicious_api/extensions.rb
|
|
61
|
+
- lib/delicious_api/extensions/hash.rb
|
|
62
|
+
- lib/delicious_api/tag.rb
|
|
63
|
+
- lib/delicious_api/wrapper.rb
|
|
64
|
+
- spec/custom_macros.rb
|
|
65
|
+
- spec/custom_matchers.rb
|
|
66
|
+
- spec/delicious_api_spec.rb
|
|
67
|
+
- spec/delicious_api_spec/base_spec.rb
|
|
68
|
+
- spec/delicious_api_spec/bookmark_spec.rb
|
|
69
|
+
- spec/delicious_api_spec/bundle_spec.rb
|
|
70
|
+
- spec/delicious_api_spec/tag_spec.rb
|
|
71
|
+
- spec/delicious_api_spec/wrapper_spec.rb
|
|
72
|
+
- spec/spec_helper.rb
|
|
73
|
+
has_rdoc: true
|
|
74
|
+
homepage: http://github.com/jbgutierrez/delicious_api
|
|
75
|
+
post_install_message:
|
|
76
|
+
rdoc_options: []
|
|
77
|
+
|
|
78
|
+
require_paths:
|
|
79
|
+
- lib
|
|
80
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
81
|
+
requirements:
|
|
82
|
+
- - ">="
|
|
83
|
+
- !ruby/object:Gem::Version
|
|
84
|
+
version: "0"
|
|
85
|
+
version:
|
|
86
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
|
+
requirements:
|
|
88
|
+
- - ">="
|
|
89
|
+
- !ruby/object:Gem::Version
|
|
90
|
+
version: "0"
|
|
91
|
+
version:
|
|
92
|
+
requirements: []
|
|
93
|
+
|
|
94
|
+
rubyforge_project:
|
|
95
|
+
rubygems_version: 1.2.0
|
|
96
|
+
signing_key:
|
|
97
|
+
specification_version: 2
|
|
98
|
+
summary: delicious_api is a pure Ruby client for the "Delicious API" (http://delicious.com/help/api). It provides an easy way to read/write bookmarks, tags and bundles to Delicious accounts.
|
|
99
|
+
test_files:
|
|
100
|
+
- spec/delicious_api_spec.rb
|
|
101
|
+
- spec/delicious_api_spec/base_spec.rb
|
|
102
|
+
- spec/delicious_api_spec/bookmark_spec.rb
|
|
103
|
+
- spec/delicious_api_spec/bundle_spec.rb
|
|
104
|
+
- spec/delicious_api_spec/tag_spec.rb
|
|
105
|
+
- spec/delicious_api_spec/wrapper_spec.rb
|