tablestyle 0.0.9 → 0.0.10
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.
- checksums.yaml +8 -8
- data/.gitignore +21 -21
- data/Gemfile +4 -4
- data/LICENSE.txt +22 -22
- data/README.md +29 -29
- data/Rakefile +1 -1
- data/lib/tablestyle/version.rb +1 -1
- data/lib/tablestyle.rb +10 -10
- data/stylesheets/_main.sass +1 -1
- data/stylesheets/_tablestyle.sass +3 -1
- data/stylesheets/tablestyle/_table.sass +2 -3
- data/tablestyle.gemspec +25 -25
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGFkNjI2ZjVkZTBmNDU0YzVjZGEzYzdmN2Q1NzQ4MGE4MTU0ZTk0Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MThhZTdhYWUxNzBjZGQzYzFhNWFkMDNkNzRlNmJiMjQ1YTU5ZDVhMw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
M2I4NGExODc0ZGJhY2JiMDg3NjhlNzcxMWNmNThiMTNiYjU2NDgwYmI4NmQ5
|
10
|
+
N2UxZDZiMDQ0OGExYjNmNGFjYzgwOWQ0MDliMjg3ZjJhZWU5ZTU5NDQ3OTlm
|
11
|
+
Zjc1YjlkMTMzOWI2MTA1NzRjMzgxNDIxZWZlNzU2NzQ2MGU2NDc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Nzg1YzA3ZWVkYTU3MzdhNjg4MzVmODgxODkyYTM5YzVhZTFjMDgyNzA2MDQx
|
14
|
+
MmNkYWE5ZGFhYTI3NmU0ZTgyZGVlMDc1YTdjYjEzYWUyNzgyZTNkOTk4OWQz
|
15
|
+
MjFhZGFhZGI2ZTkxYTJhMjJjMmVhOTcxMWVjYzEzZDU3MWUzZDE=
|
data/.gitignore
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
*.gem
|
2
|
-
*.rbc
|
3
|
-
.bundle
|
4
|
-
.config
|
5
|
-
.yardoc
|
6
|
-
Gemfile.lock
|
7
|
-
InstalledFiles
|
8
|
-
_yardoc
|
9
|
-
coverage
|
10
|
-
doc/
|
11
|
-
lib/bundler/man
|
12
|
-
pkg
|
13
|
-
rdoc
|
14
|
-
spec/reports
|
15
|
-
test/tmp
|
16
|
-
test/version_tmp
|
17
|
-
tmp
|
18
|
-
|
19
|
-
.tmp
|
20
|
-
components
|
21
|
-
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
.bundle
|
4
|
+
.config
|
5
|
+
.yardoc
|
6
|
+
Gemfile.lock
|
7
|
+
InstalledFiles
|
8
|
+
_yardoc
|
9
|
+
coverage
|
10
|
+
doc/
|
11
|
+
lib/bundler/man
|
12
|
+
pkg
|
13
|
+
rdoc
|
14
|
+
spec/reports
|
15
|
+
test/tmp
|
16
|
+
test/version_tmp
|
17
|
+
tmp
|
18
|
+
|
19
|
+
.tmp
|
20
|
+
components
|
21
|
+
|
data/Gemfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
source 'http://ruby.taobao.org'
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in tablestyle.gemspec
|
4
|
-
gemspec
|
1
|
+
source 'http://ruby.taobao.org'
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in tablestyle.gemspec
|
4
|
+
gemspec
|
data/LICENSE.txt
CHANGED
@@ -1,22 +1,22 @@
|
|
1
|
-
Copyright (c) 2013 taballa.hp-PD
|
2
|
-
|
3
|
-
MIT License
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
a copy of this software and associated documentation files (the
|
7
|
-
"Software"), to deal in the Software without restriction, including
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
included in all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1
|
+
Copyright (c) 2013 taballa.hp-PD
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,29 +1,29 @@
|
|
1
|
-
# Tablestyle
|
2
|
-
|
3
|
-
TODO: Write a gem description
|
4
|
-
|
5
|
-
## Installation
|
6
|
-
|
7
|
-
Add this line to your application's Gemfile:
|
8
|
-
|
9
|
-
gem 'tablestyle'
|
10
|
-
|
11
|
-
And then execute:
|
12
|
-
|
13
|
-
$ bundle
|
14
|
-
|
15
|
-
Or install it yourself as:
|
16
|
-
|
17
|
-
$ gem install tablestyle
|
18
|
-
|
19
|
-
## Usage
|
20
|
-
|
21
|
-
TODO: Write usage instructions here
|
22
|
-
|
23
|
-
## Contributing
|
24
|
-
|
25
|
-
1. Fork it
|
26
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
-
5. Create new Pull Request
|
1
|
+
# Tablestyle
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'tablestyle'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install tablestyle
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/Rakefile
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
1
|
+
require "bundler/gem_tasks"
|
data/lib/tablestyle/version.rb
CHANGED
data/lib/tablestyle.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
require "tablestyle/version"
|
2
|
-
require 'compass'
|
3
|
-
Compass::Frameworks.register("tablestyle", :path => "#{File.dirname(__FILE__)}/..")
|
4
|
-
|
5
|
-
module Tablestyle
|
6
|
-
# Your code goes here...
|
7
|
-
STYLESHEETS = File.expand_path("../stylesheets", __FILE__)
|
8
|
-
|
9
|
-
end
|
10
|
-
|
1
|
+
require "tablestyle/version"
|
2
|
+
require 'compass'
|
3
|
+
Compass::Frameworks.register("tablestyle", :path => "#{File.dirname(__FILE__)}/..")
|
4
|
+
|
5
|
+
module Tablestyle
|
6
|
+
# Your code goes here...
|
7
|
+
STYLESHEETS = File.expand_path("../stylesheets", __FILE__)
|
8
|
+
|
9
|
+
end
|
10
|
+
|
data/stylesheets/_main.sass
CHANGED
@@ -1 +1 @@
|
|
1
|
-
// This is your framework's main stylesheet. Use it to import all default modules.
|
1
|
+
// This is your framework's main stylesheet. Use it to import all default modules.
|
@@ -5,7 +5,6 @@ table.overview
|
|
5
5
|
width: 90%
|
6
6
|
margin: 1em auto
|
7
7
|
|
8
|
-
$cell-width: 1em
|
9
8
|
$row-color: #F7FBFF
|
10
9
|
table.blue-theme
|
11
10
|
font-size: 12px
|
@@ -24,13 +23,13 @@ table.blue-theme
|
|
24
23
|
th, td
|
25
24
|
text-align: center
|
26
25
|
border: 1px solid #E5EFF8
|
27
|
-
padding: 0.3em
|
26
|
+
padding: 0.3em 1em
|
28
27
|
thead th, tfoot th
|
29
28
|
font-weight: bold
|
30
29
|
font-size: 14px
|
31
30
|
line-height: 2em
|
32
31
|
color: #65A3D2
|
33
|
-
padding: 10px
|
32
|
+
padding: 10px 1em
|
34
33
|
tbody th
|
35
34
|
text-align: left
|
36
35
|
|
data/tablestyle.gemspec
CHANGED
@@ -1,25 +1,25 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'tablestyle/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |gem|
|
7
|
-
gem.name = "tablestyle"
|
8
|
-
gem.version = Tablestyle::VERSION
|
9
|
-
gem.authors = ["taballa.hp-PD"]
|
10
|
-
gem.email = ["taballa@gmail.com"]
|
11
|
-
gem.description = %q{"just test description"}
|
12
|
-
gem.summary = %q{"just test summary"}
|
13
|
-
gem.homepage = "http://www.google.com"
|
14
|
-
gem.license = "MIT"
|
15
|
-
|
16
|
-
gem.files = `git ls-files`.split($/)
|
17
|
-
gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
-
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
|
-
gem.require_paths = ["lib"]
|
20
|
-
|
21
|
-
gem.add_development_dependency "bundler", "~> 1.3"
|
22
|
-
gem.add_development_dependency "rake"
|
23
|
-
gem.add_dependency(%q<compass>, [">= 0.12.0"])
|
24
|
-
gem.add_dependency(%q<haml>, [">= 4.0.0"])
|
25
|
-
end
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'tablestyle/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = "tablestyle"
|
8
|
+
gem.version = Tablestyle::VERSION
|
9
|
+
gem.authors = ["taballa.hp-PD"]
|
10
|
+
gem.email = ["taballa@gmail.com"]
|
11
|
+
gem.description = %q{"just test description"}
|
12
|
+
gem.summary = %q{"just test summary"}
|
13
|
+
gem.homepage = "http://www.google.com"
|
14
|
+
gem.license = "MIT"
|
15
|
+
|
16
|
+
gem.files = `git ls-files`.split($/)
|
17
|
+
gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
|
+
gem.require_paths = ["lib"]
|
20
|
+
|
21
|
+
gem.add_development_dependency "bundler", "~> 1.3"
|
22
|
+
gem.add_development_dependency "rake"
|
23
|
+
gem.add_dependency(%q<compass>, [">= 0.12.0"])
|
24
|
+
gem.add_dependency(%q<haml>, [">= 4.0.0"])
|
25
|
+
end
|