nov-smartfm 0.4.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 (40) hide show
  1. data/ChangeLog +43 -0
  2. data/README +45 -0
  3. data/Rakefile +155 -0
  4. data/examples/pure_ruby.rb +119 -0
  5. data/lib/ext/hash.rb +52 -0
  6. data/lib/smartfm/core/auth.rb +39 -0
  7. data/lib/smartfm/core/config.rb +51 -0
  8. data/lib/smartfm/core/version.rb +14 -0
  9. data/lib/smartfm/core.rb +3 -0
  10. data/lib/smartfm/model/base.rb +26 -0
  11. data/lib/smartfm/model/item.rb +178 -0
  12. data/lib/smartfm/model/list.rb +138 -0
  13. data/lib/smartfm/model/sentence.rb +118 -0
  14. data/lib/smartfm/model/user.rb +112 -0
  15. data/lib/smartfm/model.rb +5 -0
  16. data/lib/smartfm/rest_client/base.rb +194 -0
  17. data/lib/smartfm/rest_client/item.rb +14 -0
  18. data/lib/smartfm/rest_client/list.rb +15 -0
  19. data/lib/smartfm/rest_client/sentence.rb +12 -0
  20. data/lib/smartfm/rest_client/user.rb +14 -0
  21. data/lib/smartfm/rest_client.rb +8 -0
  22. data/lib/smartfm.rb +16 -0
  23. data/spec/ext/hash_spec.rb +11 -0
  24. data/spec/smartfm/core/auth_spec.rb +39 -0
  25. data/spec/smartfm/core/config_spec.rb +34 -0
  26. data/spec/smartfm/core/version_spec.rb +19 -0
  27. data/spec/smartfm/model/base_spec.rb +40 -0
  28. data/spec/smartfm/model/item_spec.rb +41 -0
  29. data/spec/smartfm/model/list_spec.rb +7 -0
  30. data/spec/smartfm/model/sentence_spec.rb +7 -0
  31. data/spec/smartfm/model/user_spec.rb +90 -0
  32. data/spec/smartfm/rest_client/base_spec.rb +9 -0
  33. data/spec/smartfm/rest_client/item_spec.rb +7 -0
  34. data/spec/smartfm/rest_client/list_spec.rb +7 -0
  35. data/spec/smartfm/rest_client/sentence_spec.rb +7 -0
  36. data/spec/smartfm/rest_client/user_spec.rb +7 -0
  37. data/spec/spec_helper.rb +18 -0
  38. data/test/smartfm_test.rb +8 -0
  39. data/test/test_helper.rb +3 -0
  40. metadata +132 -0
metadata ADDED
@@ -0,0 +1,132 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nov-smartfm
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.0
5
+ platform: ruby
6
+ authors:
7
+ - nov
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-04-29 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: json
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: oauth
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: "0"
34
+ version:
35
+ description: A rubygem for smart.fm APIs
36
+ email: developer@smart.fm
37
+ executables: []
38
+
39
+ extensions: []
40
+
41
+ extra_rdoc_files:
42
+ - README
43
+ - ChangeLog
44
+ files:
45
+ - README
46
+ - ChangeLog
47
+ - Rakefile
48
+ - test/smartfm_test.rb
49
+ - test/test_helper.rb
50
+ - spec/ext
51
+ - spec/ext/hash_spec.rb
52
+ - spec/smartfm
53
+ - spec/smartfm/core
54
+ - spec/smartfm/core/auth_spec.rb
55
+ - spec/smartfm/core/config_spec.rb
56
+ - spec/smartfm/core/version_spec.rb
57
+ - spec/smartfm/model
58
+ - spec/smartfm/model/base_spec.rb
59
+ - spec/smartfm/model/item_spec.rb
60
+ - spec/smartfm/model/list_spec.rb
61
+ - spec/smartfm/model/sentence_spec.rb
62
+ - spec/smartfm/model/user_spec.rb
63
+ - spec/smartfm/rest_client
64
+ - spec/smartfm/rest_client/base_spec.rb
65
+ - spec/smartfm/rest_client/item_spec.rb
66
+ - spec/smartfm/rest_client/list_spec.rb
67
+ - spec/smartfm/rest_client/sentence_spec.rb
68
+ - spec/smartfm/rest_client/user_spec.rb
69
+ - spec/spec_helper.rb
70
+ - lib/ext
71
+ - lib/ext/hash.rb
72
+ - lib/smartfm
73
+ - lib/smartfm/core
74
+ - lib/smartfm/core/auth.rb
75
+ - lib/smartfm/core/config.rb
76
+ - lib/smartfm/core/version.rb
77
+ - lib/smartfm/core.rb
78
+ - lib/smartfm/model
79
+ - lib/smartfm/model/base.rb
80
+ - lib/smartfm/model/item.rb
81
+ - lib/smartfm/model/list.rb
82
+ - lib/smartfm/model/sentence.rb
83
+ - lib/smartfm/model/user.rb
84
+ - lib/smartfm/model.rb
85
+ - lib/smartfm/rest_client
86
+ - lib/smartfm/rest_client/base.rb
87
+ - lib/smartfm/rest_client/item.rb
88
+ - lib/smartfm/rest_client/list.rb
89
+ - lib/smartfm/rest_client/sentence.rb
90
+ - lib/smartfm/rest_client/user.rb
91
+ - lib/smartfm/rest_client.rb
92
+ - lib/smartfm.rb
93
+ - examples/pure_ruby.rb
94
+ has_rdoc: true
95
+ homepage: http://smartfm.rubyforge.org
96
+ post_install_message:
97
+ rdoc_options:
98
+ - --title
99
+ - smartfm documentation
100
+ - --charset
101
+ - utf-8
102
+ - --opname
103
+ - index.html
104
+ - --line-numbers
105
+ - --main
106
+ - README
107
+ - --inline-source
108
+ - --exclude
109
+ - ^(examples|extras)/
110
+ require_paths:
111
+ - lib
112
+ required_ruby_version: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: "0"
117
+ version:
118
+ required_rubygems_version: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: "0"
123
+ version:
124
+ requirements: []
125
+
126
+ rubyforge_project: smartfm
127
+ rubygems_version: 1.2.0
128
+ signing_key:
129
+ specification_version: 3
130
+ summary: A rubygem for smart.fm APIs
131
+ test_files:
132
+ - test/smartfm_test.rb