tpitale-octopi 0.3.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 +5 -0
  2. data/.yardoc +0 -0
  3. data/CHANGELOG.md +9 -0
  4. data/LICENSE +20 -0
  5. data/README.markdown +137 -0
  6. data/Rakefile +91 -0
  7. data/VERSION.yml +4 -0
  8. data/contrib/backup.rb +100 -0
  9. data/examples/authenticated.rb +20 -0
  10. data/examples/issues.rb +18 -0
  11. data/examples/overall.rb +50 -0
  12. data/lib/ext/string_ext.rb +5 -0
  13. data/lib/octopi.rb +92 -0
  14. data/lib/octopi/api.rb +213 -0
  15. data/lib/octopi/base.rb +115 -0
  16. data/lib/octopi/blob.rb +25 -0
  17. data/lib/octopi/branch.rb +31 -0
  18. data/lib/octopi/branch_set.rb +11 -0
  19. data/lib/octopi/comment.rb +20 -0
  20. data/lib/octopi/commit.rb +69 -0
  21. data/lib/octopi/error.rb +35 -0
  22. data/lib/octopi/file_object.rb +16 -0
  23. data/lib/octopi/gist.rb +28 -0
  24. data/lib/octopi/issue.rb +111 -0
  25. data/lib/octopi/issue_comment.rb +7 -0
  26. data/lib/octopi/issue_set.rb +21 -0
  27. data/lib/octopi/key.rb +25 -0
  28. data/lib/octopi/key_set.rb +14 -0
  29. data/lib/octopi/plan.rb +5 -0
  30. data/lib/octopi/repository.rb +130 -0
  31. data/lib/octopi/repository_set.rb +9 -0
  32. data/lib/octopi/resource.rb +70 -0
  33. data/lib/octopi/self.rb +33 -0
  34. data/lib/octopi/tag.rb +23 -0
  35. data/lib/octopi/user.rb +131 -0
  36. data/test/api_test.rb +58 -0
  37. data/test/authenticated_test.rb +38 -0
  38. data/test/base_test.rb +20 -0
  39. data/test/blob_test.rb +23 -0
  40. data/test/branch_test.rb +20 -0
  41. data/test/commit_test.rb +82 -0
  42. data/test/file_object_test.rb +39 -0
  43. data/test/gist_test.rb +16 -0
  44. data/test/issue_comment.rb +19 -0
  45. data/test/issue_set_test.rb +33 -0
  46. data/test/issue_test.rb +120 -0
  47. data/test/key_set_test.rb +29 -0
  48. data/test/key_test.rb +35 -0
  49. data/test/repository_set_test.rb +23 -0
  50. data/test/repository_test.rb +151 -0
  51. data/test/stubs/commits/fcoury/octopi/octopi.rb +818 -0
  52. data/test/tag_test.rb +20 -0
  53. data/test/test_helper.rb +246 -0
  54. data/test/user_test.rb +92 -0
  55. data/tpitale-octopi.gemspec +99 -0
  56. metadata +142 -0
metadata ADDED
@@ -0,0 +1,142 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tpitale-octopi
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 3
8
+ - 0
9
+ version: 0.3.0
10
+ platform: ruby
11
+ authors:
12
+ - Felipe Coury
13
+ - Tony Pitale
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-03-31 00:00:00 -04:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: httparty
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 0
30
+ - 5
31
+ - 2
32
+ version: 0.5.2
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: api_cache
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ segments:
43
+ - 0
44
+ version: "0"
45
+ type: :runtime
46
+ version_requirements: *id002
47
+ description:
48
+ email: tpitale@gmail.com
49
+ executables: []
50
+
51
+ extensions: []
52
+
53
+ extra_rdoc_files:
54
+ - LICENSE
55
+ - README.markdown
56
+ files:
57
+ - .gitignore
58
+ - .yardoc
59
+ - CHANGELOG.md
60
+ - LICENSE
61
+ - README.markdown
62
+ - Rakefile
63
+ - VERSION.yml
64
+ - contrib/backup.rb
65
+ - lib/ext/string_ext.rb
66
+ - lib/octopi.rb
67
+ - lib/octopi/api.rb
68
+ - lib/octopi/base.rb
69
+ - lib/octopi/blob.rb
70
+ - lib/octopi/branch.rb
71
+ - lib/octopi/branch_set.rb
72
+ - lib/octopi/comment.rb
73
+ - lib/octopi/commit.rb
74
+ - lib/octopi/error.rb
75
+ - lib/octopi/file_object.rb
76
+ - lib/octopi/gist.rb
77
+ - lib/octopi/issue.rb
78
+ - lib/octopi/issue_comment.rb
79
+ - lib/octopi/issue_set.rb
80
+ - lib/octopi/key.rb
81
+ - lib/octopi/key_set.rb
82
+ - lib/octopi/plan.rb
83
+ - lib/octopi/repository.rb
84
+ - lib/octopi/repository_set.rb
85
+ - lib/octopi/resource.rb
86
+ - lib/octopi/self.rb
87
+ - lib/octopi/tag.rb
88
+ - lib/octopi/user.rb
89
+ - tpitale-octopi.gemspec
90
+ has_rdoc: true
91
+ homepage: http://github.com/tpitale/octopi
92
+ licenses: []
93
+
94
+ post_install_message:
95
+ rdoc_options:
96
+ - --charset=UTF-8
97
+ require_paths:
98
+ - lib
99
+ required_ruby_version: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ segments:
104
+ - 0
105
+ version: "0"
106
+ required_rubygems_version: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ segments:
111
+ - 0
112
+ version: "0"
113
+ requirements: []
114
+
115
+ rubyforge_project:
116
+ rubygems_version: 1.3.6
117
+ signing_key:
118
+ specification_version: 3
119
+ summary: A Ruby interface to GitHub API v2
120
+ test_files:
121
+ - test/api_test.rb
122
+ - test/authenticated_test.rb
123
+ - test/base_test.rb
124
+ - test/blob_test.rb
125
+ - test/branch_test.rb
126
+ - test/commit_test.rb
127
+ - test/file_object_test.rb
128
+ - test/gist_test.rb
129
+ - test/issue_comment.rb
130
+ - test/issue_set_test.rb
131
+ - test/issue_test.rb
132
+ - test/key_set_test.rb
133
+ - test/key_test.rb
134
+ - test/repository_set_test.rb
135
+ - test/repository_test.rb
136
+ - test/stubs/commits/fcoury/octopi/octopi.rb
137
+ - test/tag_test.rb
138
+ - test/test_helper.rb
139
+ - test/user_test.rb
140
+ - examples/authenticated.rb
141
+ - examples/issues.rb
142
+ - examples/overall.rb