terrimporter 0.2.0 → 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.
@@ -0,0 +1,270 @@
1
+ /* @group General */
2
+
3
+ body {
4
+ font-family: Verdana, Helvetica, Arial, Sans-Serif;
5
+ font-size: 12px;
6
+ color: #4C4C4C;
7
+ background-color: #F4F2ED;
8
+ padding: 1em;
9
+ }
10
+
11
+ a:link {
12
+ color: #191919;
13
+ }
14
+
15
+ a:visited {
16
+ color: #191919;
17
+ }
18
+
19
+ pre, code {
20
+ color: #000000;
21
+ font-family: "Bitstream Vera Sans Mono","Monaco","Courier New",monospace;
22
+ font-size: 95%;
23
+ line-height: 1.3em;
24
+ margin-top: 0;
25
+ margin-bottom: 0;
26
+ padding: 0;
27
+ word-wrap: break-word;
28
+ }
29
+
30
+ h1, h2, h3, h4, h5, h6 {
31
+ margin: 0em 0em 1em 0em;
32
+ color: #666666;
33
+ }
34
+
35
+ h1 {
36
+ display: block;
37
+ font-size: 2em;
38
+ letter-spacing: -1px;
39
+ }
40
+
41
+ h2 {
42
+ margin-top: -1em;
43
+ }
44
+
45
+ fieldset {
46
+ display: inline;
47
+ border: 0px;
48
+ padding: 0px;
49
+ margin-right: 1em;
50
+ }
51
+
52
+ div.filters {
53
+ margin-bottom: 1em;
54
+ }
55
+
56
+ .hidden {
57
+ display: none;
58
+ }
59
+
60
+ /* @end */
61
+
62
+ /* @group Cross-References */
63
+
64
+ span.cross-ref-title {
65
+ font-size: 140%;
66
+ }
67
+
68
+ span.cross-ref a {
69
+ text-decoration: none;
70
+ }
71
+
72
+ span.cross-ref {
73
+ background-color:#f3f7fa;
74
+ border: 1px dashed #333;
75
+ margin: 1em;
76
+ padding: 0.5em;
77
+ overflow: hidden;
78
+ }
79
+
80
+ a.crossref-toggle {
81
+ text-decoration: none;
82
+ }
83
+
84
+ /* @end */
85
+
86
+ /* @group Report Table */
87
+
88
+ div.report_table_wrapper {
89
+ min-width: 900px;
90
+ }
91
+
92
+ table.report {
93
+ border-collapse: collapse;
94
+ border: 1px solid #666666;
95
+ width: 100%;
96
+ margin-bottom: 1em;
97
+ }
98
+
99
+ table.report tr {
100
+ line-height: 1.75em;
101
+ }
102
+
103
+ table.report th {
104
+ background: #666666;
105
+ color: #ffffff;
106
+ text-align: right;
107
+ text-transform: uppercase;
108
+ font-size: .8em;
109
+ font-weight: bold;
110
+ padding: 0em .5em;
111
+ border: 1px solid #666666;
112
+ }
113
+
114
+ table.report tfoot tr {
115
+ background: #dddddd;
116
+ font-weight: bold;
117
+ padding: .5em;
118
+ border: 1px solid #666666;
119
+ }
120
+
121
+ th.left_align, td.left_align {
122
+ text-align: left !important;
123
+ }
124
+
125
+ th.right_align, td.right_align {
126
+ text-align: right;
127
+ padding-right: 2em !important;
128
+ }
129
+
130
+ table.report th.header:hover {
131
+ cursor: pointer;
132
+ text-decoration: underline;
133
+ }
134
+
135
+ table.report th.headerSortUp:after{
136
+ content: "\25BC";
137
+ margin-left: 1em;
138
+ }
139
+
140
+ table.report th.headerSortDown:after {
141
+ content: "\25B2";
142
+ margin-left: 1em;
143
+ }
144
+
145
+ table.report tr.summary_row {
146
+ background: #cccccc;
147
+ border: 1px solid #cccccc;
148
+ }
149
+
150
+ table.report tr.summary_row td {
151
+ padding-left: .2em !important;
152
+ color: #333333;
153
+ font-weight: bold;
154
+ }
155
+
156
+ table.report td {
157
+ padding: .2em .5em .2em .5em;
158
+ }
159
+
160
+ table.report td a {
161
+ text-decoration: none;
162
+ }
163
+
164
+ table.report tbody tr:hover {
165
+ background: #cccccc !important;
166
+ }
167
+
168
+ table.report tr.summary_row td {
169
+ border-bottom: 1px solid #aaaaaa;
170
+ }
171
+
172
+ table.report tr {
173
+ background-color: #eeeeee;
174
+ }
175
+
176
+ table.report tr.odd {
177
+ background-color: #dddddd;
178
+ }
179
+
180
+ /* @end */
181
+
182
+ /* @group Percentage Graphs */
183
+
184
+ div.percent_graph_legend {
185
+ width: 5.5em;
186
+ float: left;
187
+ margin: .5em 1em .5em 0em;
188
+ height: 1em;
189
+ line-height: 1em;
190
+ }
191
+
192
+ div.percent_graph {
193
+ height: 1em;
194
+ border: #333333 1px solid;
195
+ empty-cells: show;
196
+ padding: 0px;
197
+ border-collapse: collapse;
198
+ width: 100px !important;
199
+ float: left;
200
+ margin: .5em 1em .5em 0em;
201
+ }
202
+
203
+ div.percent_graph div {
204
+ float: left;
205
+ height: 1em;
206
+ padding: 0px !important;
207
+ }
208
+
209
+ div.percent_graph div.covered {
210
+ background: #649632;
211
+ }
212
+
213
+ div.percent_graph div.uncovered {
214
+ background: #a92730;
215
+ }
216
+
217
+ div.percent_graph div.NA {
218
+ background: #eaeaea;
219
+ }
220
+
221
+ /* @end */
222
+
223
+ /* @group Details page */
224
+
225
+ table.details {
226
+ margin-top: 1em;
227
+ border-collapse: collapse;
228
+ width: 100%;
229
+ border: 1px solid #666666;
230
+ }
231
+
232
+ table.details tr {
233
+ line-height: 1.75em;
234
+ }
235
+
236
+ table.details td {
237
+ padding: .25em;
238
+ }
239
+
240
+ span.inferred, span.inferred1, span.marked, span.marked1, span.uncovered, span.uncovered1 {
241
+ display: block;
242
+ padding: .25em;
243
+ }
244
+
245
+ tr.inferred td, span.inferred {
246
+ background-color: #e0dedb;
247
+ }
248
+
249
+ tr.inferred1 td, span.inferred1 {
250
+ background-color: #e0dedb;
251
+ }
252
+
253
+ tr.marked td, span.marked, span.marked1 {
254
+ background-color: #bed2be;
255
+ }
256
+
257
+ tr.uncovered td, span.uncovered {
258
+ background-color: #ce8b8c;
259
+ }
260
+
261
+ tr.uncovered1 td, span.uncovered1 {
262
+ background-color: #ce8b8c;
263
+ }
264
+
265
+ div.key {
266
+ border: 1px solid #666666;
267
+ margin: 1em 0em;
268
+ }
269
+
270
+ /* @end */
data/lib/importer.rb CHANGED
@@ -4,7 +4,7 @@ require 'yaml'
4
4
  require 'uri'
5
5
 
6
6
 
7
- class TerrImporter
7
+ module TerrImporter
8
8
 
9
9
  CONFIG_DEFAULT_NAME = 'terrimporter.config.yml'
10
10
 
data/lib/options.rb CHANGED
@@ -1,4 +1,4 @@
1
- class TerrImporter
1
+ module TerrImporter
2
2
  class Application
3
3
  class Options < Hash
4
4
  attr_reader :opts, :orig_args
data/lib/terrimporter.rb CHANGED
@@ -2,8 +2,7 @@ require 'shellwords'
2
2
  require 'options'
3
3
  require 'importer'
4
4
 
5
-
6
- class TerrImporter
5
+ module TerrImporter
7
6
  class Application
8
7
  class << self
9
8
  include Shellwords
@@ -0,0 +1,3 @@
1
+ module Terrimporter
2
+ VERSION = "0.3.0"
3
+ end
data/terrimporter.gemspec CHANGED
@@ -1,69 +1,27 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
1
  # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "terrimporter/version"
5
4
 
6
5
  Gem::Specification.new do |s|
7
- s.name = %q{terrimporter}
8
- s.version = "0.2.0"
6
+ s.name = "terrimporter"
7
+ s.version = Terrimporter::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Daniel Kummer"]
10
+ s.email = ["daniel.kummer@gmail.com"]
11
+ s.homepage = ""
12
+ s.summary = %q{Import terrific javascripts, css files and images into a web project}
13
+ s.description = %q{This gem allows terrific(http://terrifically.org/) project import of css, javascript and image files based on a command line tool and a configuration file.}
9
14
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = [%q{Daniel Kummer}]
12
- s.date = %q{2011-08-17}
13
- s.description = %q{This is an importer to import files generated from terrific (http://www.terrifically.org/) into any web project.
14
- This should reduce merging time significantly and improve overall efficiency.}
15
- s.email = %q{daniel.kummer@gmail.com}
16
- s.executables = [%q{terrimporter}]
17
- s.extra_rdoc_files = [
18
- "LICENSE.txt",
19
- "README.rdoc"
20
- ]
21
- s.files = [
22
- ".document",
23
- "Gemfile",
24
- "Gemfile.lock",
25
- "LICENSE.txt",
26
- "README.rdoc",
27
- "Rakefile",
28
- "VERSION",
29
- "bin/terrimporter",
30
- "config/terrimporter.config.yml",
31
- "lib/app_logger.rb",
32
- "lib/importer.rb",
33
- "lib/options.rb",
34
- "lib/terrimporter.rb",
35
- "terrimporter.gemspec",
36
- "test/helper.rb",
37
- "test/test_terrimporter.rb",
38
- "test/unit/test_importer.rb",
39
- "test/unit/test_options.rb",
40
- "test/unit/test_terrimporter.rb"
41
- ]
42
- s.homepage = %q{http://github.com/danielkummer/terrimporter}
43
- s.licenses = [%q{MIT}]
44
- s.require_paths = [%q{lib}]
45
- s.rubygems_version = %q{1.8.5}
46
- s.summary = %q{Import terrific javascripts, css files and images into a web project}
15
+ s.rubyforge_project = "terrimporter"
47
16
 
48
- if s.respond_to? :specification_version then
49
- s.specification_version = 3
17
+ s.files = `git ls-files`.split("\n")
18
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
+ s.require_paths = ["lib"]
50
21
 
51
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
52
- s.add_development_dependency(%q<shoulda>, [">= 0"])
53
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
54
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
55
- s.add_development_dependency(%q<rcov>, [">= 0"])
56
- else
57
- s.add_dependency(%q<shoulda>, [">= 0"])
58
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
59
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
60
- s.add_dependency(%q<rcov>, [">= 0"])
61
- end
62
- else
63
- s.add_dependency(%q<shoulda>, [">= 0"])
64
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
65
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
66
- s.add_dependency(%q<rcov>, [">= 0"])
67
- end
68
- end
22
+ s.add_development_dependency "shoulda", [">= 0"]
23
+ s.add_development_dependency "bundler", ["~> 1.0.0"]
24
+ s.add_development_dependency "jeweler", ["~> 1.6.4"]
25
+ s.add_development_dependency "rcov", [">= 0"]
69
26
 
27
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terrimporter
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 2
8
+ - 3
9
9
  - 0
10
- version: 0.2.0
10
+ version: 0.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel Kummer
@@ -15,10 +15,12 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-17 00:00:00 Z
18
+ date: 2011-08-22 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- version_requirements: &id001 !ruby/object:Gem::Requirement
21
+ name: shoulda
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
22
24
  none: false
23
25
  requirements:
24
26
  - - ">="
@@ -28,11 +30,11 @@ dependencies:
28
30
  - 0
29
31
  version: "0"
30
32
  type: :development
31
- requirement: *id001
32
- prerelease: false
33
- name: shoulda
33
+ version_requirements: *id001
34
34
  - !ruby/object:Gem::Dependency
35
- version_requirements: &id002 !ruby/object:Gem::Requirement
35
+ name: bundler
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
36
38
  none: false
37
39
  requirements:
38
40
  - - ~>
@@ -44,11 +46,11 @@ dependencies:
44
46
  - 0
45
47
  version: 1.0.0
46
48
  type: :development
47
- requirement: *id002
48
- prerelease: false
49
- name: bundler
49
+ version_requirements: *id002
50
50
  - !ruby/object:Gem::Dependency
51
- version_requirements: &id003 !ruby/object:Gem::Requirement
51
+ name: jeweler
52
+ prerelease: false
53
+ requirement: &id003 !ruby/object:Gem::Requirement
52
54
  none: false
53
55
  requirements:
54
56
  - - ~>
@@ -60,11 +62,11 @@ dependencies:
60
62
  - 4
61
63
  version: 1.6.4
62
64
  type: :development
63
- requirement: *id003
64
- prerelease: false
65
- name: jeweler
65
+ version_requirements: *id003
66
66
  - !ruby/object:Gem::Dependency
67
- version_requirements: &id004 !ruby/object:Gem::Requirement
67
+ name: rcov
68
+ prerelease: false
69
+ requirement: &id004 !ruby/object:Gem::Requirement
68
70
  none: false
69
71
  requirements:
70
72
  - - ">="
@@ -74,43 +76,53 @@ dependencies:
74
76
  - 0
75
77
  version: "0"
76
78
  type: :development
77
- requirement: *id004
78
- prerelease: false
79
- name: rcov
80
- description: |-
81
- This is an importer to import files generated from terrific (http://www.terrifically.org/) into any web project.
82
- This should reduce merging time significantly and improve overall efficiency.
83
- email: daniel.kummer@gmail.com
79
+ version_requirements: *id004
80
+ description: This gem allows terrific(http://terrifically.org/) project import of css, javascript and image files based on a command line tool and a configuration file.
81
+ email:
82
+ - daniel.kummer@gmail.com
84
83
  executables:
85
84
  - terrimporter
86
85
  extensions: []
87
86
 
88
- extra_rdoc_files:
89
- - LICENSE.txt
90
- - README.rdoc
87
+ extra_rdoc_files: []
88
+
91
89
  files:
92
90
  - .document
91
+ - .gemtest
92
+ - .gitignore
93
93
  - Gemfile
94
94
  - Gemfile.lock
95
95
  - LICENSE.txt
96
96
  - README.rdoc
97
97
  - Rakefile
98
- - VERSION
99
98
  - bin/terrimporter
100
99
  - config/terrimporter.config.yml
100
+ - coverage/index.html
101
+ - coverage/jquery-1.3.2.min.js
102
+ - coverage/jquery.tablesorter.min.js
103
+ - coverage/lib-app_logger_rb.html
104
+ - coverage/lib-config_validator_rb.html
105
+ - coverage/lib-configuration_rb.html
106
+ - coverage/lib-importer_rb.html
107
+ - coverage/lib-options_rb.html
108
+ - coverage/lib-terrimporter_rb.html
109
+ - coverage/print.css
110
+ - coverage/rcov.js
111
+ - coverage/screen.css
101
112
  - lib/app_logger.rb
102
113
  - lib/importer.rb
103
114
  - lib/options.rb
104
115
  - lib/terrimporter.rb
116
+ - lib/terrimporter/version.rb
105
117
  - terrimporter.gemspec
106
118
  - test/helper.rb
107
119
  - test/test_terrimporter.rb
108
120
  - test/unit/test_importer.rb
109
121
  - test/unit/test_options.rb
110
122
  - test/unit/test_terrimporter.rb
111
- homepage: http://github.com/danielkummer/terrimporter
112
- licenses:
113
- - MIT
123
+ homepage: ""
124
+ licenses: []
125
+
114
126
  post_install_message:
115
127
  rdoc_options: []
116
128
 
@@ -136,10 +148,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
148
  version: "0"
137
149
  requirements: []
138
150
 
139
- rubyforge_project:
151
+ rubyforge_project: terrimporter
140
152
  rubygems_version: 1.8.5
141
153
  signing_key:
142
154
  specification_version: 3
143
155
  summary: Import terrific javascripts, css files and images into a web project
144
- test_files: []
145
-
156
+ test_files:
157
+ - test/helper.rb
158
+ - test/test_terrimporter.rb
159
+ - test/unit/test_importer.rb
160
+ - test/unit/test_options.rb
161
+ - test/unit/test_terrimporter.rb