jeremylightsmith-piston 1.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. data/.gitignore +6 -0
  2. data/History.txt +6 -0
  3. data/License.txt +20 -0
  4. data/Manifest.txt +86 -0
  5. data/README.txt +136 -0
  6. data/Rakefile +4 -0
  7. data/bin/piston +5 -0
  8. data/config/hoe.rb +76 -0
  9. data/config/requirements.rb +18 -0
  10. data/lib/piston.rb +18 -0
  11. data/lib/piston/cli.rb +279 -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 +69 -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 +28 -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 +70 -0
  21. data/lib/piston/git/repository.rb +63 -0
  22. data/lib/piston/git/working_copy.rb +63 -0
  23. data/lib/piston/repository.rb +57 -0
  24. data/lib/piston/revision.rb +48 -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 +55 -0
  30. data/lib/piston/version.rb +9 -0
  31. data/lib/piston/working_copy.rb +129 -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 +40 -0
  44. data/tasks/environment.rake +7 -0
  45. data/tasks/samples.rake +6 -0
  46. data/tasks/test.rake +30 -0
  47. data/tasks/website.rake +17 -0
  48. data/test/integration/test_import_git_git.rb +96 -0
  49. data/test/integration/test_import_git_svn.rb +131 -0
  50. data/test/integration/test_import_svn_git.rb +52 -0
  51. data/test/integration/test_import_svn_svn.rb +43 -0
  52. data/test/integration_helpers.rb +33 -0
  53. data/test/test_helper.rb +56 -0
  54. data/test/unit/git/commit/test_checkout.rb +30 -0
  55. data/test/unit/git/commit/test_each.rb +36 -0
  56. data/test/unit/git/commit/test_rememberance.rb +20 -0
  57. data/test/unit/git/commit/test_validation.rb +33 -0
  58. data/test/unit/git/repository/test_at.rb +22 -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 +28 -0
  63. data/test/unit/git/working_copy/test_creation.rb +26 -0
  64. data/test/unit/git/working_copy/test_existence.rb +21 -0
  65. data/test/unit/git/working_copy/test_finalization.rb +18 -0
  66. data/test/unit/git/working_copy/test_guessing.rb +34 -0
  67. data/test/unit/git/working_copy/test_rememberance.rb +25 -0
  68. data/test/unit/svn/repository/test_at.rb +18 -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 +27 -0
  72. data/test/unit/svn/revision/test_each.rb +21 -0
  73. data/test/unit/svn/revision/test_rememberance.rb +42 -0
  74. data/test/unit/svn/revision/test_validation.rb +49 -0
  75. data/test/unit/svn/working_copy/test_copying.rb +29 -0
  76. data/test/unit/svn/working_copy/test_creation.rb +19 -0
  77. data/test/unit/svn/working_copy/test_existence.rb +26 -0
  78. data/test/unit/svn/working_copy/test_finalization.rb +21 -0
  79. data/test/unit/svn/working_copy/test_guessing.rb +17 -0
  80. data/test/unit/svn/working_copy/test_rememberance.rb +26 -0
  81. data/test/unit/test_import.rb +13 -0
  82. data/test/unit/test_info.rb +36 -0
  83. data/test/unit/test_lock_unlock.rb +46 -0
  84. data/test/unit/test_repository.rb +50 -0
  85. data/test/unit/test_revision.rb +30 -0
  86. data/test/unit/working_copy/test_guessing.rb +34 -0
  87. data/test/unit/working_copy/test_info.rb +13 -0
  88. data/test/unit/working_copy/test_rememberance.rb +48 -0
  89. data/test/unit/working_copy/test_validate.rb +68 -0
  90. data/website/index.html +11 -0
  91. data/website/index.txt +39 -0
  92. data/website/javascripts/rounded_corners_lite.inc.js +285 -0
  93. data/website/stylesheets/screen.css +138 -0
  94. data/website/template.rhtml +48 -0
  95. metadata +228 -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,228 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jeremylightsmith-piston
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.9.3
5
+ platform: ruby
6
+ authors:
7
+ - Francois Beausoleil
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-06-27 00:00:00 -07:00
13
+ default_executable: piston
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: main
17
+ version_requirement:
18
+ version_requirements: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ~>
21
+ - !ruby/object:Gem::Version
22
+ version: 2.8.0
23
+ version:
24
+ - !ruby/object:Gem::Dependency
25
+ name: open4
26
+ version_requirement:
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ~>
30
+ - !ruby/object:Gem::Version
31
+ version: 0.9.6
32
+ version:
33
+ - !ruby/object:Gem::Dependency
34
+ name: log4r
35
+ version_requirement:
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: 1.0.5
41
+ version:
42
+ - !ruby/object:Gem::Dependency
43
+ name: activesupport
44
+ version_requirement:
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ~>
48
+ - !ruby/object:Gem::Version
49
+ version: 2.0.2
50
+ version:
51
+ description: description of gem
52
+ email:
53
+ - francois@teksol.info
54
+ executables:
55
+ - piston
56
+ extensions: []
57
+
58
+ extra_rdoc_files:
59
+ - History.txt
60
+ - License.txt
61
+ - Manifest.txt
62
+ - README.txt
63
+ - website/index.txt
64
+ files:
65
+ - .gitignore
66
+ - History.txt
67
+ - License.txt
68
+ - Manifest.txt
69
+ - README.txt
70
+ - Rakefile
71
+ - bin/piston
72
+ - config/hoe.rb
73
+ - config/requirements.rb
74
+ - lib/piston.rb
75
+ - lib/piston/cli.rb
76
+ - lib/piston/commands.rb
77
+ - lib/piston/commands/base.rb
78
+ - lib/piston/commands/import.rb
79
+ - lib/piston/commands/lock_unlock.rb
80
+ - lib/piston/commands/update.rb
81
+ - lib/piston/commands/info.rb
82
+ - lib/piston/git.rb
83
+ - lib/piston/git/client.rb
84
+ - lib/piston/git/commit.rb
85
+ - lib/piston/git/repository.rb
86
+ - lib/piston/git/working_copy.rb
87
+ - lib/piston/repository.rb
88
+ - lib/piston/revision.rb
89
+ - lib/piston/svn.rb
90
+ - lib/piston/svn/client.rb
91
+ - lib/piston/svn/repository.rb
92
+ - lib/piston/svn/revision.rb
93
+ - lib/piston/svn/working_copy.rb
94
+ - lib/piston/version.rb
95
+ - lib/piston/working_copy.rb
96
+ - lib/subclass_responsibility_error.rb
97
+ - log/.gitignore
98
+ - samples/common.rb
99
+ - samples/import_git_git.rb
100
+ - samples/import_git_svn.rb
101
+ - samples/import_svn_git.rb
102
+ - samples/import_svn_svn.rb
103
+ - script/destroy
104
+ - script/generate
105
+ - script/txt2html
106
+ - setup.rb
107
+ - tasks/deployment.rake
108
+ - tasks/environment.rake
109
+ - tasks/samples.rake
110
+ - tasks/test.rake
111
+ - tasks/website.rake
112
+ - test/integration/test_import_git_git.rb
113
+ - test/integration/test_import_git_svn.rb
114
+ - test/integration/test_import_svn_git.rb
115
+ - test/integration/test_import_svn_svn.rb
116
+ - test/integration_helpers.rb
117
+ - test/test_helper.rb
118
+ - test/unit/git/commit/test_checkout.rb
119
+ - test/unit/git/commit/test_each.rb
120
+ - test/unit/git/commit/test_rememberance.rb
121
+ - test/unit/git/repository/test_at.rb
122
+ - test/unit/git/repository/test_basename.rb
123
+ - test/unit/git/repository/test_guessing.rb
124
+ - test/unit/git/working_copy/test_copying.rb
125
+ - test/unit/git/working_copy/test_creation.rb
126
+ - test/unit/git/working_copy/test_existence.rb
127
+ - test/unit/git/working_copy/test_finalization.rb
128
+ - test/unit/git/working_copy/test_guessing.rb
129
+ - test/unit/git/working_copy/test_rememberance.rb
130
+ - test/unit/svn/repository/test_at.rb
131
+ - test/unit/svn/repository/test_basename.rb
132
+ - test/unit/svn/repository/test_guessing.rb
133
+ - test/unit/svn/revision/test_checkout.rb
134
+ - test/unit/svn/revision/test_each.rb
135
+ - test/unit/svn/revision/test_rememberance.rb
136
+ - test/unit/svn/working_copy/test_copying.rb
137
+ - test/unit/svn/working_copy/test_creation.rb
138
+ - test/unit/svn/working_copy/test_existence.rb
139
+ - test/unit/svn/working_copy/test_finalization.rb
140
+ - test/unit/svn/working_copy/test_guessing.rb
141
+ - test/unit/svn/working_copy/test_rememberance.rb
142
+ - test/unit/test_import.rb
143
+ - test/unit/working_copy/test_guessing.rb
144
+ - test/unit/working_copy/test_rememberance.rb
145
+ - tmp/.gitignore
146
+ - website/index.html
147
+ - website/index.txt
148
+ - website/javascripts/rounded_corners_lite.inc.js
149
+ - website/stylesheets/screen.css
150
+ - website/template.rhtml
151
+ - test/unit/git/commit/test_validation.rb
152
+ - test/unit/git/repository/test_branchanme.rb
153
+ - test/unit/svn/revision/test_validation.rb
154
+ - test/unit/test_info.rb
155
+ - test/unit/test_lock_unlock.rb
156
+ - test/unit/test_repository.rb
157
+ - test/unit/test_revision.rb
158
+ - test/unit/working_copy/test_info.rb
159
+ - test/unit/working_copy/test_validate.rb
160
+ has_rdoc: true
161
+ homepage: http://piston.rubyforge.org
162
+ post_install_message:
163
+ rdoc_options:
164
+ - --main
165
+ - README.txt
166
+ require_paths:
167
+ - lib
168
+ required_ruby_version: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: "0"
173
+ version:
174
+ required_rubygems_version: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - ">="
177
+ - !ruby/object:Gem::Version
178
+ version: "0"
179
+ version:
180
+ requirements: []
181
+
182
+ rubyforge_project: piston
183
+ rubygems_version: 1.2.0
184
+ signing_key:
185
+ specification_version: 2
186
+ summary: description of gem
187
+ test_files:
188
+ - test/integration/test_import_git_git.rb
189
+ - test/integration/test_import_git_svn.rb
190
+ - test/integration/test_import_svn_git.rb
191
+ - test/integration/test_import_svn_svn.rb
192
+ - test/test_helper.rb
193
+ - test/unit/git/commit/test_checkout.rb
194
+ - test/unit/git/commit/test_each.rb
195
+ - test/unit/git/commit/test_rememberance.rb
196
+ - test/unit/git/commit/test_validation.rb
197
+ - test/unit/git/repository/test_at.rb
198
+ - test/unit/git/repository/test_basename.rb
199
+ - test/unit/git/repository/test_branchanme.rb
200
+ - test/unit/git/repository/test_guessing.rb
201
+ - test/unit/git/working_copy/test_copying.rb
202
+ - test/unit/git/working_copy/test_creation.rb
203
+ - test/unit/git/working_copy/test_existence.rb
204
+ - test/unit/git/working_copy/test_finalization.rb
205
+ - test/unit/git/working_copy/test_guessing.rb
206
+ - test/unit/git/working_copy/test_rememberance.rb
207
+ - test/unit/svn/repository/test_at.rb
208
+ - test/unit/svn/repository/test_basename.rb
209
+ - test/unit/svn/repository/test_guessing.rb
210
+ - test/unit/svn/revision/test_checkout.rb
211
+ - test/unit/svn/revision/test_each.rb
212
+ - test/unit/svn/revision/test_rememberance.rb
213
+ - test/unit/svn/revision/test_validation.rb
214
+ - test/unit/svn/working_copy/test_copying.rb
215
+ - test/unit/svn/working_copy/test_creation.rb
216
+ - test/unit/svn/working_copy/test_existence.rb
217
+ - test/unit/svn/working_copy/test_finalization.rb
218
+ - test/unit/svn/working_copy/test_guessing.rb
219
+ - test/unit/svn/working_copy/test_rememberance.rb
220
+ - test/unit/test_import.rb
221
+ - test/unit/test_info.rb
222
+ - test/unit/test_lock_unlock.rb
223
+ - test/unit/test_repository.rb
224
+ - test/unit/test_revision.rb
225
+ - test/unit/working_copy/test_guessing.rb
226
+ - test/unit/working_copy/test_info.rb
227
+ - test/unit/working_copy/test_rememberance.rb
228
+ - test/unit/working_copy/test_validate.rb