mattery 0.0.1.alpha
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 +7 -0
- data/.DS_Store +0 -0
- data/.gitignore +12 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +5 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/matter +5 -0
- data/bin/setup +8 -0
- data/lib/matter.rb +36 -0
- data/lib/matter/.DS_Store +0 -0
- data/lib/matter/cli/application.rb +47 -0
- data/lib/matter/version.rb +3 -0
- data/matter.gemspec +30 -0
- data/matter_source/.DS_Store +0 -0
- data/matter_source/.editorconfig +13 -0
- data/matter_source/.gitattributes +1 -0
- data/matter_source/.gitignore +2 -0
- data/matter_source/.htaccess +984 -0
- data/matter_source/404.html +60 -0
- data/matter_source/LICENSE.txt +7 -0
- data/matter_source/apple-touch-icon.png +0 -0
- data/matter_source/assets/.DS_Store +0 -0
- data/matter_source/assets/css/main.css +271 -0
- data/matter_source/assets/css/normalize.css +424 -0
- data/matter_source/assets/img/.gitignore +0 -0
- data/matter_source/assets/js/.DS_Store +0 -0
- data/matter_source/assets/js/main.js +0 -0
- data/matter_source/assets/js/vendor/jquery-1.12.0.min.js +5 -0
- data/matter_source/assets/js/vendor/modernizr-2.8.3.min.js +4 -0
- data/matter_source/browserconfig.xml +12 -0
- data/matter_source/crossdomain.xml +15 -0
- data/matter_source/doc/TOC.md +29 -0
- data/matter_source/doc/css.md +162 -0
- data/matter_source/doc/extend.md +663 -0
- data/matter_source/doc/faq.md +46 -0
- data/matter_source/doc/html.md +227 -0
- data/matter_source/doc/js.md +37 -0
- data/matter_source/doc/misc.md +178 -0
- data/matter_source/doc/usage.md +130 -0
- data/matter_source/favicon.ico +0 -0
- data/matter_source/humans.txt +15 -0
- data/matter_source/index.html +41 -0
- data/matter_source/robots.txt +5 -0
- data/matter_source/tile-wide.png +0 -0
- data/matter_source/tile.png +0 -0
- metadata +151 -0
@@ -0,0 +1,130 @@
|
|
1
|
+
[HTML5 Boilerplate homepage](https://html5boilerplate.com) | [Documentation
|
2
|
+
table of contents](TOC.md)
|
3
|
+
|
4
|
+
# Usage
|
5
|
+
|
6
|
+
Once you have cloned or downloaded HTML5 Boilerplate, creating a site or app
|
7
|
+
usually involves the following:
|
8
|
+
|
9
|
+
1. Set up the basic structure of the site.
|
10
|
+
2. Add some content, style, and functionality.
|
11
|
+
3. Run your site locally to see how it looks.
|
12
|
+
4. (Optionally run a build script to automate the optimization of your site -
|
13
|
+
e.g. [ant build script](https://github.com/h5bp/ant-build-script))
|
14
|
+
5. Deploy your site.
|
15
|
+
|
16
|
+
|
17
|
+
## Basic structure
|
18
|
+
|
19
|
+
A basic HTML5 Boilerplate site initially looks something like this:
|
20
|
+
|
21
|
+
```
|
22
|
+
.
|
23
|
+
├── css
|
24
|
+
│ ├── main.css
|
25
|
+
│ └── normalize.css
|
26
|
+
├── doc
|
27
|
+
├── img
|
28
|
+
├── js
|
29
|
+
│ ├── main.js
|
30
|
+
│ ├── plugins.js
|
31
|
+
│ └── vendor
|
32
|
+
│ ├── jquery.min.js
|
33
|
+
│ └── modernizr.min.js
|
34
|
+
├── .editorconfig
|
35
|
+
├── .htaccess
|
36
|
+
├── 404.html
|
37
|
+
├── apple-touch-icon.png
|
38
|
+
├── browserconfig.xml
|
39
|
+
├── index.html
|
40
|
+
├── humans.txt
|
41
|
+
├── robots.txt
|
42
|
+
├── crossdomain.xml
|
43
|
+
├── favicon.ico
|
44
|
+
├── tile-wide.png
|
45
|
+
└── tile.png
|
46
|
+
```
|
47
|
+
|
48
|
+
What follows is a general overview of each major part and how to use them.
|
49
|
+
|
50
|
+
### css
|
51
|
+
|
52
|
+
This directory should contain all your project's CSS files. It includes some
|
53
|
+
initial CSS to help get you started from a solid foundation. [About the
|
54
|
+
CSS](css.md).
|
55
|
+
|
56
|
+
### doc
|
57
|
+
|
58
|
+
This directory contains all the HTML5 Boilerplate documentation. You can use it
|
59
|
+
as the location and basis for your own project's documentation.
|
60
|
+
|
61
|
+
### js
|
62
|
+
|
63
|
+
This directory should contain all your project's JS files. Libraries, plugins,
|
64
|
+
and custom code can all be included here. It includes some initial JS to help
|
65
|
+
get you started. [About the JavaScript](js.md).
|
66
|
+
|
67
|
+
### .htaccess
|
68
|
+
|
69
|
+
The default web server configs are for Apache. For more information, please
|
70
|
+
refer to the [Apache Server Configs
|
71
|
+
repository](https://github.com/h5bp/server-configs-apache).
|
72
|
+
|
73
|
+
Host your site on a server other than Apache? You're likely to find the
|
74
|
+
corresponding server configs project listed in our [Server Configs
|
75
|
+
](https://github.com/h5bp/server-configs/blob/master/README.md) repository.
|
76
|
+
|
77
|
+
### 404.html
|
78
|
+
|
79
|
+
A helpful custom 404 to get you started.
|
80
|
+
|
81
|
+
### browserconfig.xml
|
82
|
+
|
83
|
+
This file contains all settings regarding custom tiles for IE11.
|
84
|
+
|
85
|
+
For more info on this topic, please refer to
|
86
|
+
[MSDN](https://msdn.microsoft.com/en-us/library/ie/dn455106.aspx).
|
87
|
+
|
88
|
+
### .editorconfig
|
89
|
+
|
90
|
+
The `.editorconfig` file is provided in order to encourage and help you and
|
91
|
+
your team to maintain consistent coding styles between different
|
92
|
+
editors and IDEs. [Read more about the `.editorconfig` file](misc.md#editorconfig).
|
93
|
+
|
94
|
+
### index.html
|
95
|
+
|
96
|
+
This is the default HTML skeleton that should form the basis of all pages on
|
97
|
+
your site. If you are using a server-side templating framework, then you will
|
98
|
+
need to integrate this starting HTML with your setup.
|
99
|
+
|
100
|
+
Make sure that you update the URLs for the referenced CSS and JavaScript if you
|
101
|
+
modify the directory structure at all.
|
102
|
+
|
103
|
+
If you are using Google Universal Analytics, make sure that you edit the
|
104
|
+
corresponding snippet at the bottom to include your analytics ID.
|
105
|
+
|
106
|
+
### humans.txt
|
107
|
+
|
108
|
+
Edit this file to include the team that worked on your site/app, and the
|
109
|
+
technology powering it.
|
110
|
+
|
111
|
+
### robots.txt
|
112
|
+
|
113
|
+
Edit this file to include any pages you need hidden from search engines.
|
114
|
+
|
115
|
+
### crossdomain.xml
|
116
|
+
|
117
|
+
A template for working with cross-domain requests. [About
|
118
|
+
crossdomain.xml](misc.md#crossdomainxml).
|
119
|
+
|
120
|
+
### Icons
|
121
|
+
|
122
|
+
Replace the default `favicon.ico`, `tile.png`, `tile-wide.png` and Apple
|
123
|
+
Touch Icon with your own.
|
124
|
+
|
125
|
+
If you want to use different Apple Touch Icons for different resolutions please
|
126
|
+
refer to the [according documentation](extend.md#apple-touch-icons).
|
127
|
+
|
128
|
+
You might want to check out Hans' handy [HTML5 Boilerplate Favicon and Apple
|
129
|
+
Touch Icon
|
130
|
+
PSD-Template](https://drublic.de/blog/html5-boilerplate-favicons-psd-template/).
|
Binary file
|
@@ -0,0 +1,41 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html class="no-js" lang="">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
6
|
+
<title></title>
|
7
|
+
<meta name="description" content="">
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
9
|
+
|
10
|
+
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
11
|
+
<!-- Place favicon.ico in the root directory -->
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="assets/css/normalize.css">
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="assets/css/main.css">
|
16
|
+
<script src="assets/js/vendor/modernizr-2.8.3.min.js"></script>
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<!--[if lt IE 8]>
|
20
|
+
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
|
21
|
+
<![endif]-->
|
22
|
+
|
23
|
+
<!-- Add your site or application content here -->
|
24
|
+
<p>Hello world! This is Matter.</p>
|
25
|
+
|
26
|
+
<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
|
27
|
+
<script>window.jQuery || document.write('<script src="assets/js/vendor/jquery-1.12.0.min.js"><\/script>')</script>
|
28
|
+
|
29
|
+
<script src="assets/js/main.js"></script>
|
30
|
+
|
31
|
+
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
|
32
|
+
<script>
|
33
|
+
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
|
34
|
+
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
|
35
|
+
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
|
36
|
+
e.src='https://www.google-analytics.com/analytics.js';
|
37
|
+
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
|
38
|
+
ga('create','UA-XXXXX-X','auto');ga('send','pageview');
|
39
|
+
</script>
|
40
|
+
</body>
|
41
|
+
</html>
|
Binary file
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,151 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mattery
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1.alpha
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- mohammad mahmoudi
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-04-20 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thor
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.18'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.18'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.14'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.14'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
description: Matter is a great assistant for develop your web app, mac app and win
|
70
|
+
app
|
71
|
+
email:
|
72
|
+
- mm580486@gmail.com
|
73
|
+
executables:
|
74
|
+
- matter
|
75
|
+
extensions: []
|
76
|
+
extra_rdoc_files: []
|
77
|
+
files:
|
78
|
+
- ".DS_Store"
|
79
|
+
- ".gitignore"
|
80
|
+
- ".rspec"
|
81
|
+
- ".travis.yml"
|
82
|
+
- CODE_OF_CONDUCT.md
|
83
|
+
- Gemfile
|
84
|
+
- LICENSE.txt
|
85
|
+
- README.md
|
86
|
+
- Rakefile
|
87
|
+
- bin/console
|
88
|
+
- bin/matter
|
89
|
+
- bin/setup
|
90
|
+
- lib/matter.rb
|
91
|
+
- lib/matter/.DS_Store
|
92
|
+
- lib/matter/cli/application.rb
|
93
|
+
- lib/matter/version.rb
|
94
|
+
- matter.gemspec
|
95
|
+
- matter_source/.DS_Store
|
96
|
+
- matter_source/.editorconfig
|
97
|
+
- matter_source/.gitattributes
|
98
|
+
- matter_source/.gitignore
|
99
|
+
- matter_source/.htaccess
|
100
|
+
- matter_source/404.html
|
101
|
+
- matter_source/LICENSE.txt
|
102
|
+
- matter_source/apple-touch-icon.png
|
103
|
+
- matter_source/assets/.DS_Store
|
104
|
+
- matter_source/assets/css/main.css
|
105
|
+
- matter_source/assets/css/normalize.css
|
106
|
+
- matter_source/assets/img/.gitignore
|
107
|
+
- matter_source/assets/js/.DS_Store
|
108
|
+
- matter_source/assets/js/main.js
|
109
|
+
- matter_source/assets/js/vendor/jquery-1.12.0.min.js
|
110
|
+
- matter_source/assets/js/vendor/modernizr-2.8.3.min.js
|
111
|
+
- matter_source/browserconfig.xml
|
112
|
+
- matter_source/crossdomain.xml
|
113
|
+
- matter_source/doc/TOC.md
|
114
|
+
- matter_source/doc/css.md
|
115
|
+
- matter_source/doc/extend.md
|
116
|
+
- matter_source/doc/faq.md
|
117
|
+
- matter_source/doc/html.md
|
118
|
+
- matter_source/doc/js.md
|
119
|
+
- matter_source/doc/misc.md
|
120
|
+
- matter_source/doc/usage.md
|
121
|
+
- matter_source/favicon.ico
|
122
|
+
- matter_source/humans.txt
|
123
|
+
- matter_source/index.html
|
124
|
+
- matter_source/robots.txt
|
125
|
+
- matter_source/tile-wide.png
|
126
|
+
- matter_source/tile.png
|
127
|
+
homepage: https://gitlab.com/mm580486/matter
|
128
|
+
licenses:
|
129
|
+
- MIT
|
130
|
+
metadata: {}
|
131
|
+
post_install_message:
|
132
|
+
rdoc_options: []
|
133
|
+
require_paths:
|
134
|
+
- lib
|
135
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
140
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ">"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 1.3.1
|
145
|
+
requirements: []
|
146
|
+
rubyforge_project:
|
147
|
+
rubygems_version: 2.5.1
|
148
|
+
signing_key:
|
149
|
+
specification_version: 4
|
150
|
+
summary: Matter is a great assistant for develop your web app, mac app and win app
|
151
|
+
test_files: []
|