pivotal-piston 1.9.4

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 (96) hide show
  1. data/.gitignore +8 -0
  2. data/History.txt +11 -0
  3. data/License.txt +20 -0
  4. data/Manifest.txt +85 -0
  5. data/README.txt +136 -0
  6. data/Rakefile +4 -0
  7. data/bin/piston +5 -0
  8. data/config/hoe.rb +79 -0
  9. data/config/requirements.rb +18 -0
  10. data/lib/piston.rb +18 -0
  11. data/lib/piston/cli.rb +315 -0
  12. data/lib/piston/commands.rb +4 -0
  13. data/lib/piston/commands/base.rb +44 -0
  14. data/lib/piston/commands/import.rb +42 -0
  15. data/lib/piston/commands/info.rb +14 -0
  16. data/lib/piston/commands/lock_unlock.rb +21 -0
  17. data/lib/piston/commands/update.rb +29 -0
  18. data/lib/piston/git.rb +12 -0
  19. data/lib/piston/git/client.rb +77 -0
  20. data/lib/piston/git/commit.rb +74 -0
  21. data/lib/piston/git/repository.rb +63 -0
  22. data/lib/piston/git/working_copy.rb +86 -0
  23. data/lib/piston/repository.rb +57 -0
  24. data/lib/piston/revision.rb +53 -0
  25. data/lib/piston/svn.rb +14 -0
  26. data/lib/piston/svn/client.rb +88 -0
  27. data/lib/piston/svn/repository.rb +67 -0
  28. data/lib/piston/svn/revision.rb +74 -0
  29. data/lib/piston/svn/working_copy.rb +108 -0
  30. data/lib/piston/version.rb +9 -0
  31. data/lib/piston/working_copy.rb +183 -0
  32. data/lib/subclass_responsibility_error.rb +2 -0
  33. data/log/.gitignore +0 -0
  34. data/samples/common.rb +19 -0
  35. data/samples/import_git_git.rb +39 -0
  36. data/samples/import_git_svn.rb +36 -0
  37. data/samples/import_svn_git.rb +29 -0
  38. data/samples/import_svn_svn.rb +24 -0
  39. data/script/destroy +14 -0
  40. data/script/generate +14 -0
  41. data/script/txt2html +74 -0
  42. data/setup.rb +1585 -0
  43. data/tasks/deployment.rake +34 -0
  44. data/tasks/environment.rake +7 -0
  45. data/tasks/samples.rake +6 -0
  46. data/tasks/test.rake +69 -0
  47. data/tasks/website.rake +17 -0
  48. data/test/integration/test_git_git.rb +99 -0
  49. data/test/integration/test_git_svn.rb +121 -0
  50. data/test/integration/test_import_svn_git.rb +47 -0
  51. data/test/integration/test_import_svn_svn.rb +38 -0
  52. data/test/integration_helpers.rb +33 -0
  53. data/test/test_helper.rb +83 -0
  54. data/test/unit/git/commit/test_checkout.rb +31 -0
  55. data/test/unit/git/commit/test_each.rb +30 -0
  56. data/test/unit/git/commit/test_rememberance.rb +21 -0
  57. data/test/unit/git/commit/test_validation.rb +34 -0
  58. data/test/unit/git/repository/test_at.rb +23 -0
  59. data/test/unit/git/repository/test_basename.rb +12 -0
  60. data/test/unit/git/repository/test_branchanme.rb +15 -0
  61. data/test/unit/git/repository/test_guessing.rb +32 -0
  62. data/test/unit/git/working_copy/test_copying.rb +25 -0
  63. data/test/unit/git/working_copy/test_creation.rb +22 -0
  64. data/test/unit/git/working_copy/test_existence.rb +18 -0
  65. data/test/unit/git/working_copy/test_finalization.rb +15 -0
  66. data/test/unit/git/working_copy/test_guessing.rb +35 -0
  67. data/test/unit/git/working_copy/test_rememberance.rb +21 -0
  68. data/test/unit/svn/repository/test_at.rb +19 -0
  69. data/test/unit/svn/repository/test_basename.rb +24 -0
  70. data/test/unit/svn/repository/test_guessing.rb +45 -0
  71. data/test/unit/svn/revision/test_checkout.rb +28 -0
  72. data/test/unit/svn/revision/test_each.rb +22 -0
  73. data/test/unit/svn/revision/test_rememberance.rb +38 -0
  74. data/test/unit/svn/revision/test_validation.rb +50 -0
  75. data/test/unit/svn/working_copy/test_copying.rb +26 -0
  76. data/test/unit/svn/working_copy/test_creation.rb +16 -0
  77. data/test/unit/svn/working_copy/test_existence.rb +23 -0
  78. data/test/unit/svn/working_copy/test_externals.rb +56 -0
  79. data/test/unit/svn/working_copy/test_finalization.rb +17 -0
  80. data/test/unit/svn/working_copy/test_guessing.rb +18 -0
  81. data/test/unit/svn/working_copy/test_merging.rb +47 -0
  82. data/test/unit/svn/working_copy/test_rememberance.rb +26 -0
  83. data/test/unit/test_info.rb +37 -0
  84. data/test/unit/test_lock_unlock.rb +47 -0
  85. data/test/unit/test_repository.rb +51 -0
  86. data/test/unit/test_revision.rb +31 -0
  87. data/test/unit/working_copy/test_guessing.rb +35 -0
  88. data/test/unit/working_copy/test_info.rb +14 -0
  89. data/test/unit/working_copy/test_rememberance.rb +42 -0
  90. data/test/unit/working_copy/test_validate.rb +63 -0
  91. data/website/index.html +11 -0
  92. data/website/index.txt +39 -0
  93. data/website/javascripts/rounded_corners_lite.inc.js +285 -0
  94. data/website/stylesheets/screen.css +138 -0
  95. data/website/template.rhtml +48 -0
  96. metadata +244 -0
@@ -0,0 +1,138 @@
1
+ body {
2
+ background-color: #E1D1F1;
3
+ font-family: "Georgia", sans-serif;
4
+ font-size: 16px;
5
+ line-height: 1.6em;
6
+ padding: 1.6em 0 0 0;
7
+ color: #333;
8
+ }
9
+ h1, h2, h3, h4, h5, h6 {
10
+ color: #444;
11
+ }
12
+ h1 {
13
+ font-family: sans-serif;
14
+ font-weight: normal;
15
+ font-size: 4em;
16
+ line-height: 0.8em;
17
+ letter-spacing: -0.1ex;
18
+ margin: 5px;
19
+ }
20
+ li {
21
+ padding: 0;
22
+ margin: 0;
23
+ list-style-type: square;
24
+ }
25
+ a {
26
+ color: #5E5AFF;
27
+ background-color: #DAC;
28
+ font-weight: normal;
29
+ text-decoration: underline;
30
+ }
31
+ blockquote {
32
+ font-size: 90%;
33
+ font-style: italic;
34
+ border-left: 1px solid #111;
35
+ padding-left: 1em;
36
+ }
37
+ .caps {
38
+ font-size: 80%;
39
+ }
40
+
41
+ #main {
42
+ width: 45em;
43
+ padding: 0;
44
+ margin: 0 auto;
45
+ }
46
+ .coda {
47
+ text-align: right;
48
+ color: #77f;
49
+ font-size: smaller;
50
+ }
51
+
52
+ table {
53
+ font-size: 90%;
54
+ line-height: 1.4em;
55
+ color: #ff8;
56
+ background-color: #111;
57
+ padding: 2px 10px 2px 10px;
58
+ border-style: dashed;
59
+ }
60
+
61
+ th {
62
+ color: #fff;
63
+ }
64
+
65
+ td {
66
+ padding: 2px 10px 2px 10px;
67
+ }
68
+
69
+ .success {
70
+ color: #0CC52B;
71
+ }
72
+
73
+ .failed {
74
+ color: #E90A1B;
75
+ }
76
+
77
+ .unknown {
78
+ color: #995000;
79
+ }
80
+ pre, code {
81
+ font-family: monospace;
82
+ font-size: 90%;
83
+ line-height: 1.4em;
84
+ color: #ff8;
85
+ background-color: #111;
86
+ padding: 2px 10px 2px 10px;
87
+ }
88
+ .comment { color: #aaa; font-style: italic; }
89
+ .keyword { color: #eff; font-weight: bold; }
90
+ .punct { color: #eee; font-weight: bold; }
91
+ .symbol { color: #0bb; }
92
+ .string { color: #6b4; }
93
+ .ident { color: #ff8; }
94
+ .constant { color: #66f; }
95
+ .regex { color: #ec6; }
96
+ .number { color: #F99; }
97
+ .expr { color: #227; }
98
+
99
+ #version {
100
+ float: right;
101
+ text-align: right;
102
+ font-family: sans-serif;
103
+ font-weight: normal;
104
+ background-color: #B3ABFF;
105
+ color: #141331;
106
+ padding: 15px 20px 10px 20px;
107
+ margin: 0 auto;
108
+ margin-top: 15px;
109
+ border: 3px solid #141331;
110
+ }
111
+
112
+ #version .numbers {
113
+ display: block;
114
+ font-size: 4em;
115
+ line-height: 0.8em;
116
+ letter-spacing: -0.1ex;
117
+ margin-bottom: 15px;
118
+ }
119
+
120
+ #version p {
121
+ text-decoration: none;
122
+ color: #141331;
123
+ background-color: #B3ABFF;
124
+ margin: 0;
125
+ padding: 0;
126
+ }
127
+
128
+ #version a {
129
+ text-decoration: none;
130
+ color: #141331;
131
+ background-color: #B3ABFF;
132
+ }
133
+
134
+ .clickable {
135
+ cursor: pointer;
136
+ cursor: hand;
137
+ }
138
+
@@ -0,0 +1,48 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <title>
8
+ <%= title %>
9
+ </title>
10
+ <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
11
+ <style>
12
+
13
+ </style>
14
+ <script type="text/javascript">
15
+ window.onload = function() {
16
+ settings = {
17
+ tl: { radius: 10 },
18
+ tr: { radius: 10 },
19
+ bl: { radius: 10 },
20
+ br: { radius: 10 },
21
+ antiAlias: true,
22
+ autoPad: true,
23
+ validTags: ["div"]
24
+ }
25
+ var versionBox = new curvyCorners(settings, document.getElementById("version"));
26
+ versionBox.applyCornersToAll();
27
+ }
28
+ </script>
29
+ </head>
30
+ <body>
31
+ <div id="main">
32
+
33
+ <h1><%= title %></h1>
34
+ <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
35
+ <p>Get Version</p>
36
+ <a href="<%= download %>" class="numbers"><%= version %></a>
37
+ </div>
38
+ <%= body %>
39
+ <p class="coda">
40
+ <a href="FIXME email">FIXME full name</a>, <%= modified.pretty %><br>
41
+ Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
42
+ </p>
43
+ </div>
44
+
45
+ <!-- insert site tracking codes here, like Google Urchin -->
46
+
47
+ </body>
48
+ </html>
metadata ADDED
@@ -0,0 +1,244 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pivotal-piston
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.9.4
5
+ platform: ruby
6
+ authors:
7
+ - Francois Beausoleil
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-01-05 00:00:00 -08:00
13
+ default_executable: piston
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: main
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ~>
22
+ - !ruby/object:Gem::Version
23
+ version: "2.8"
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: open4
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: "0.9"
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: log4r
37
+ type: :runtime
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: "1.0"
44
+ version:
45
+ - !ruby/object:Gem::Dependency
46
+ name: activesupport
47
+ type: :runtime
48
+ version_requirement:
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: "2.1"
54
+ version:
55
+ - !ruby/object:Gem::Dependency
56
+ name: hoe
57
+ type: :runtime
58
+ version_requirement:
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: 1.8.0
64
+ version:
65
+ description: description of gem
66
+ email:
67
+ - francois@teksol.info
68
+ executables:
69
+ - piston
70
+ extensions: []
71
+
72
+ extra_rdoc_files:
73
+ - History.txt
74
+ - License.txt
75
+ - Manifest.txt
76
+ - README.txt
77
+ - website/index.txt
78
+ files:
79
+ - .gitignore
80
+ - History.txt
81
+ - License.txt
82
+ - Manifest.txt
83
+ - README.txt
84
+ - Rakefile
85
+ - bin/piston
86
+ - config/hoe.rb
87
+ - config/requirements.rb
88
+ - lib/piston.rb
89
+ - lib/piston/cli.rb
90
+ - lib/piston/commands.rb
91
+ - lib/piston/commands/base.rb
92
+ - lib/piston/commands/import.rb
93
+ - lib/piston/commands/lock_unlock.rb
94
+ - lib/piston/commands/update.rb
95
+ - lib/piston/commands/info.rb
96
+ - lib/piston/git.rb
97
+ - lib/piston/git/client.rb
98
+ - lib/piston/git/commit.rb
99
+ - lib/piston/git/repository.rb
100
+ - lib/piston/git/working_copy.rb
101
+ - lib/piston/repository.rb
102
+ - lib/piston/revision.rb
103
+ - lib/piston/svn.rb
104
+ - lib/piston/svn/client.rb
105
+ - lib/piston/svn/repository.rb
106
+ - lib/piston/svn/revision.rb
107
+ - lib/piston/svn/working_copy.rb
108
+ - lib/piston/version.rb
109
+ - lib/piston/working_copy.rb
110
+ - lib/subclass_responsibility_error.rb
111
+ - log/.gitignore
112
+ - samples/common.rb
113
+ - samples/import_git_git.rb
114
+ - samples/import_git_svn.rb
115
+ - samples/import_svn_git.rb
116
+ - samples/import_svn_svn.rb
117
+ - script/destroy
118
+ - script/generate
119
+ - script/txt2html
120
+ - setup.rb
121
+ - tasks/deployment.rake
122
+ - tasks/environment.rake
123
+ - tasks/samples.rake
124
+ - tasks/test.rake
125
+ - tasks/website.rake
126
+ - test/integration/test_git_git.rb
127
+ - test/integration/test_git_svn.rb
128
+ - test/integration/test_import_svn_git.rb
129
+ - test/integration/test_import_svn_svn.rb
130
+ - test/integration_helpers.rb
131
+ - test/test_helper.rb
132
+ - test/unit/git/commit/test_checkout.rb
133
+ - test/unit/git/commit/test_each.rb
134
+ - test/unit/git/commit/test_rememberance.rb
135
+ - test/unit/git/repository/test_at.rb
136
+ - test/unit/git/repository/test_basename.rb
137
+ - test/unit/git/repository/test_guessing.rb
138
+ - test/unit/git/working_copy/test_copying.rb
139
+ - test/unit/git/working_copy/test_creation.rb
140
+ - test/unit/git/working_copy/test_existence.rb
141
+ - test/unit/git/working_copy/test_finalization.rb
142
+ - test/unit/git/working_copy/test_guessing.rb
143
+ - test/unit/git/working_copy/test_rememberance.rb
144
+ - test/unit/svn/repository/test_at.rb
145
+ - test/unit/svn/repository/test_basename.rb
146
+ - test/unit/svn/repository/test_guessing.rb
147
+ - test/unit/svn/revision/test_checkout.rb
148
+ - test/unit/svn/revision/test_each.rb
149
+ - test/unit/svn/revision/test_rememberance.rb
150
+ - test/unit/svn/working_copy/test_copying.rb
151
+ - test/unit/svn/working_copy/test_creation.rb
152
+ - test/unit/svn/working_copy/test_existence.rb
153
+ - test/unit/svn/working_copy/test_finalization.rb
154
+ - test/unit/svn/working_copy/test_guessing.rb
155
+ - test/unit/svn/working_copy/test_rememberance.rb
156
+ - test/unit/working_copy/test_guessing.rb
157
+ - test/unit/working_copy/test_rememberance.rb
158
+ - tmp/.gitignore
159
+ - website/index.html
160
+ - website/index.txt
161
+ - website/javascripts/rounded_corners_lite.inc.js
162
+ - website/stylesheets/screen.css
163
+ - website/template.rhtml
164
+ - test/unit/git/commit/test_validation.rb
165
+ - test/unit/git/repository/test_branchanme.rb
166
+ - test/unit/svn/revision/test_validation.rb
167
+ - test/unit/svn/working_copy/test_externals.rb
168
+ - test/unit/svn/working_copy/test_merging.rb
169
+ - test/unit/test_info.rb
170
+ - test/unit/test_lock_unlock.rb
171
+ - test/unit/test_repository.rb
172
+ - test/unit/test_revision.rb
173
+ - test/unit/working_copy/test_info.rb
174
+ - test/unit/working_copy/test_validate.rb
175
+ has_rdoc: true
176
+ homepage: http://piston.rubyforge.org
177
+ post_install_message:
178
+ rdoc_options:
179
+ - --main
180
+ - README.txt
181
+ require_paths:
182
+ - lib
183
+ required_ruby_version: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: "0"
188
+ version:
189
+ required_rubygems_version: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: "0"
194
+ version:
195
+ requirements: []
196
+
197
+ rubyforge_project: piston
198
+ rubygems_version: 1.2.0
199
+ signing_key:
200
+ specification_version: 2
201
+ summary: description of gem
202
+ test_files:
203
+ - test/integration/test_git_git.rb
204
+ - test/integration/test_git_svn.rb
205
+ - test/integration/test_import_svn_git.rb
206
+ - test/integration/test_import_svn_svn.rb
207
+ - test/test_helper.rb
208
+ - test/unit/git/commit/test_checkout.rb
209
+ - test/unit/git/commit/test_each.rb
210
+ - test/unit/git/commit/test_rememberance.rb
211
+ - test/unit/git/commit/test_validation.rb
212
+ - test/unit/git/repository/test_at.rb
213
+ - test/unit/git/repository/test_basename.rb
214
+ - test/unit/git/repository/test_branchanme.rb
215
+ - test/unit/git/repository/test_guessing.rb
216
+ - test/unit/git/working_copy/test_copying.rb
217
+ - test/unit/git/working_copy/test_creation.rb
218
+ - test/unit/git/working_copy/test_existence.rb
219
+ - test/unit/git/working_copy/test_finalization.rb
220
+ - test/unit/git/working_copy/test_guessing.rb
221
+ - test/unit/git/working_copy/test_rememberance.rb
222
+ - test/unit/svn/repository/test_at.rb
223
+ - test/unit/svn/repository/test_basename.rb
224
+ - test/unit/svn/repository/test_guessing.rb
225
+ - test/unit/svn/revision/test_checkout.rb
226
+ - test/unit/svn/revision/test_each.rb
227
+ - test/unit/svn/revision/test_rememberance.rb
228
+ - test/unit/svn/revision/test_validation.rb
229
+ - test/unit/svn/working_copy/test_copying.rb
230
+ - test/unit/svn/working_copy/test_creation.rb
231
+ - test/unit/svn/working_copy/test_existence.rb
232
+ - test/unit/svn/working_copy/test_externals.rb
233
+ - test/unit/svn/working_copy/test_finalization.rb
234
+ - test/unit/svn/working_copy/test_guessing.rb
235
+ - test/unit/svn/working_copy/test_merging.rb
236
+ - test/unit/svn/working_copy/test_rememberance.rb
237
+ - test/unit/test_info.rb
238
+ - test/unit/test_lock_unlock.rb
239
+ - test/unit/test_repository.rb
240
+ - test/unit/test_revision.rb
241
+ - test/unit/working_copy/test_guessing.rb
242
+ - test/unit/working_copy/test_info.rb
243
+ - test/unit/working_copy/test_rememberance.rb
244
+ - test/unit/working_copy/test_validate.rb