amp-git 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data/.document +5 -0
  2. data/.gitignore +23 -0
  3. data/Gemfile +15 -0
  4. data/LICENSE +20 -0
  5. data/README.rdoc +17 -0
  6. data/Rakefile +68 -0
  7. data/VERSION +1 -0
  8. data/features/amp-git.feature +9 -0
  9. data/features/step_definitions/amp-git_steps.rb +0 -0
  10. data/features/support/env.rb +4 -0
  11. data/lib/amp-git/encoding/binary_delta.rb +171 -0
  12. data/lib/amp-git/repo_format/changeset.rb +348 -0
  13. data/lib/amp-git/repo_format/commit_object.rb +87 -0
  14. data/lib/amp-git/repo_format/index.rb +169 -0
  15. data/lib/amp-git/repo_format/loose_object.rb +78 -0
  16. data/lib/amp-git/repo_format/packfile.rb +263 -0
  17. data/lib/amp-git/repo_format/packfile_index.rb +196 -0
  18. data/lib/amp-git/repo_format/raw_object.rb +56 -0
  19. data/lib/amp-git/repo_format/staging_area.rb +215 -0
  20. data/lib/amp-git/repo_format/tag_object.rb +87 -0
  21. data/lib/amp-git/repo_format/tree_object.rb +98 -0
  22. data/lib/amp-git/repo_format/versioned_file.rb +133 -0
  23. data/lib/amp-git/repositories/local_repository.rb +192 -0
  24. data/lib/amp-git/repository.rb +57 -0
  25. data/lib/amp-git.rb +49 -0
  26. data/lib/amp_plugin.rb +1 -0
  27. data/spec/amp-git_spec.rb +15 -0
  28. data/spec/repository_spec.rb +74 -0
  29. data/spec/spec.opts +1 -0
  30. data/spec/spec_helper.rb +29 -0
  31. data/test/index_tests/index +0 -0
  32. data/test/index_tests/test_helper.rb +16 -0
  33. data/test/index_tests/test_index.rb +69 -0
  34. data/test/packfile_tests/hasindex.idx +0 -0
  35. data/test/packfile_tests/hasindex.pack +0 -0
  36. data/test/packfile_tests/pack-4e1941122fd346526b0a3eee2d92f3277a0092cd.pack +0 -0
  37. data/test/packfile_tests/pack-d23ff2538f970371144ae7182c28730b11eb37c1.idx +0 -0
  38. data/test/packfile_tests/test_helper.rb +16 -0
  39. data/test/packfile_tests/test_packfile.rb +75 -0
  40. data/test/packfile_tests/test_packfile_index_v2.rb +90 -0
  41. data/test/packfile_tests/test_packfile_with_index.rb +76 -0
  42. data/test/test_commit_object.rb +60 -0
  43. data/test/test_git_delta.rb +67 -0
  44. data/test/test_helper.rb +71 -0
  45. data/test/test_loose_object.rb +51 -0
  46. data/test/test_tag_object.rb +72 -0
  47. data/test/test_tree_object.rb +55 -0
  48. metadata +215 -0
metadata ADDED
@@ -0,0 +1,215 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: amp-git
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 0
9
+ version: 0.1.0
10
+ platform: ruby
11
+ authors:
12
+ - Michael Edgar
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-11-03 00:00:00 -04:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: amp-front
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ - 1
30
+ - 0
31
+ version: 0.1.0
32
+ type: :runtime
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: amp-core
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 0
43
+ - 1
44
+ - 0
45
+ version: 0.1.0
46
+ type: :runtime
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: rspec
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ segments:
56
+ - 1
57
+ - 2
58
+ - 9
59
+ version: 1.2.9
60
+ type: :development
61
+ version_requirements: *id003
62
+ - !ruby/object:Gem::Dependency
63
+ name: yard
64
+ prerelease: false
65
+ requirement: &id004 !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ segments:
70
+ - 0
71
+ version: "0"
72
+ type: :development
73
+ version_requirements: *id004
74
+ - !ruby/object:Gem::Dependency
75
+ name: cucumber
76
+ prerelease: false
77
+ requirement: &id005 !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ segments:
82
+ - 0
83
+ version: "0"
84
+ type: :development
85
+ version_requirements: *id005
86
+ - !ruby/object:Gem::Dependency
87
+ name: minitest
88
+ prerelease: false
89
+ requirement: &id006 !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ segments:
94
+ - 1
95
+ - 7
96
+ version: "1.7"
97
+ type: :development
98
+ version_requirements: *id006
99
+ - !ruby/object:Gem::Dependency
100
+ name: devver-construct
101
+ prerelease: false
102
+ requirement: &id007 !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ segments:
107
+ - 1
108
+ - 1
109
+ - 0
110
+ version: 1.1.0
111
+ type: :development
112
+ version_requirements: *id007
113
+ description: This gem provides git support to Amp. It is bundled with Amp itself.
114
+ email: michael.j.edgar@dartmouth.edu
115
+ executables: []
116
+
117
+ extensions: []
118
+
119
+ extra_rdoc_files:
120
+ - LICENSE
121
+ - README.rdoc
122
+ files:
123
+ - .document
124
+ - .gitignore
125
+ - Gemfile
126
+ - LICENSE
127
+ - README.rdoc
128
+ - Rakefile
129
+ - VERSION
130
+ - features/amp-git.feature
131
+ - features/step_definitions/amp-git_steps.rb
132
+ - features/support/env.rb
133
+ - lib/amp-git.rb
134
+ - lib/amp-git/encoding/binary_delta.rb
135
+ - lib/amp-git/repo_format/changeset.rb
136
+ - lib/amp-git/repo_format/commit_object.rb
137
+ - lib/amp-git/repo_format/index.rb
138
+ - lib/amp-git/repo_format/loose_object.rb
139
+ - lib/amp-git/repo_format/packfile.rb
140
+ - lib/amp-git/repo_format/packfile_index.rb
141
+ - lib/amp-git/repo_format/raw_object.rb
142
+ - lib/amp-git/repo_format/staging_area.rb
143
+ - lib/amp-git/repo_format/tag_object.rb
144
+ - lib/amp-git/repo_format/tree_object.rb
145
+ - lib/amp-git/repo_format/versioned_file.rb
146
+ - lib/amp-git/repositories/local_repository.rb
147
+ - lib/amp-git/repository.rb
148
+ - lib/amp_plugin.rb
149
+ - spec/amp-git_spec.rb
150
+ - spec/repository_spec.rb
151
+ - spec/spec.opts
152
+ - spec/spec_helper.rb
153
+ - test/index_tests/index
154
+ - test/index_tests/test_helper.rb
155
+ - test/index_tests/test_index.rb
156
+ - test/packfile_tests/hasindex.idx
157
+ - test/packfile_tests/hasindex.pack
158
+ - test/packfile_tests/pack-4e1941122fd346526b0a3eee2d92f3277a0092cd.pack
159
+ - test/packfile_tests/pack-d23ff2538f970371144ae7182c28730b11eb37c1.idx
160
+ - test/packfile_tests/test_helper.rb
161
+ - test/packfile_tests/test_packfile.rb
162
+ - test/packfile_tests/test_packfile_index_v2.rb
163
+ - test/packfile_tests/test_packfile_with_index.rb
164
+ - test/test_commit_object.rb
165
+ - test/test_git_delta.rb
166
+ - test/test_helper.rb
167
+ - test/test_loose_object.rb
168
+ - test/test_tag_object.rb
169
+ - test/test_tree_object.rb
170
+ has_rdoc: true
171
+ homepage: http://github.com/michaeledgar/amp-git
172
+ licenses: []
173
+
174
+ post_install_message:
175
+ rdoc_options:
176
+ - --charset=UTF-8
177
+ require_paths:
178
+ - lib
179
+ required_ruby_version: !ruby/object:Gem::Requirement
180
+ requirements:
181
+ - - ">="
182
+ - !ruby/object:Gem::Version
183
+ segments:
184
+ - 0
185
+ version: "0"
186
+ required_rubygems_version: !ruby/object:Gem::Requirement
187
+ requirements:
188
+ - - ">="
189
+ - !ruby/object:Gem::Version
190
+ segments:
191
+ - 0
192
+ version: "0"
193
+ requirements: []
194
+
195
+ rubyforge_project:
196
+ rubygems_version: 1.3.6
197
+ signing_key:
198
+ specification_version: 3
199
+ summary: The git plugin for Amp.
200
+ test_files:
201
+ - spec/amp-git_spec.rb
202
+ - spec/repository_spec.rb
203
+ - spec/spec_helper.rb
204
+ - test/index_tests/test_helper.rb
205
+ - test/index_tests/test_index.rb
206
+ - test/packfile_tests/test_helper.rb
207
+ - test/packfile_tests/test_packfile.rb
208
+ - test/packfile_tests/test_packfile_index_v2.rb
209
+ - test/packfile_tests/test_packfile_with_index.rb
210
+ - test/test_commit_object.rb
211
+ - test/test_git_delta.rb
212
+ - test/test_helper.rb
213
+ - test/test_loose_object.rb
214
+ - test/test_tag_object.rb
215
+ - test/test_tree_object.rb