embersketch 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +5 -0
- data/README.md +26 -5
- data/lib/embersketch/version.rb +1 -1
- data/lib/templates/source/partials/_javascripts.html.erb +13 -11
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f94225ccb343dcfeb17c16194157abe19e36684
|
4
|
+
data.tar.gz: e3a58701042a796466ce5e2684cde6571a7c1c0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ec4ca87d5d3a4ac5b3b7733e22c1b3c938be13d86cfb3f9f7299fb608bdfccef76cda446662e7f12dbfefb301189f7585d1cd35ae8a8185a6bc624b0c090252
|
7
|
+
data.tar.gz: 3447822b9b6aa6dd6d974c118e2f4c3b878056d1223501406adb62f22d405c3ebf167ebcb2d31437dd7169f6ba8f22a7a9cecaf6cd190ad4fc75a780e27eb7c6
|
data/History.md
ADDED
data/README.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
# Embersketch
|
2
2
|
|
3
|
-
Ember Sketch is a minimalist project thumbnail generator. It's as simple to use as JSBin, but with all the benefits of local storage and versioning.
|
3
|
+
Ember Sketch is a minimalist project thumbnail generator. It's as simple to use as JSBin, but with all the benefits of local storage and versioning.
|
4
4
|
|
5
|
-
You'd use this to quickly test out an idea, develop a component and so on. Basically anything that doesn't warrant creating a full blown ```ember-cli``` project or the like.
|
5
|
+
You'd use this to quickly test out an idea, develop a component and so on. Basically anything that doesn't warrant creating a full blown ```ember-cli``` project or the like.
|
6
6
|
|
7
|
-
Ember Sketch will create a [Middleman](http://middlemanapp.com) based website for you, that includes a very simple default structure (including SASS support with Compass) and a super simple starter Ember app.
|
7
|
+
Ember Sketch will create a [Middleman](http://middlemanapp.com) based website for you, that includes a very simple default structure (including SASS support with Compass) and a super simple starter Ember app.
|
8
8
|
|
9
|
-
This probably could be a generator of some sorts built into ```ember-cli```, and maybe that's where it will end up in the future.
|
9
|
+
This probably could be a generator of some sorts built into ```ember-cli```, and maybe that's where it will end up in the future.
|
10
10
|
|
11
11
|
## Installation
|
12
12
|
|
@@ -20,9 +20,30 @@ Ember Sketch only understands one command: ```new```. To generate a new Ember sk
|
|
20
20
|
|
21
21
|
$ embersketch new <project_name>
|
22
22
|
|
23
|
+
Here's a 5m tutorial [http://www.youtube.com/embed/pHdcXM0R3AA](https://www.youtube.com/watch?v=pHdcXM0R3AA)
|
24
|
+
|
25
|
+
## Layout
|
26
|
+
|
27
|
+
Everything you need is in the ```source``` sub-directory. All of the relevant Javascript is in the ```partials/_javascripts.html.erb``` file. Go wild!
|
28
|
+
|
29
|
+
├── images
|
30
|
+
├── index.html.erb
|
31
|
+
├── layouts
|
32
|
+
│ └── layout.erb
|
33
|
+
├── partials
|
34
|
+
│ ├── _head.html.erb
|
35
|
+
│ ├── _javascripts.html.erb
|
36
|
+
│ └── _templates.html.erb
|
37
|
+
└── stylesheets
|
38
|
+
├── _fonts.scss
|
39
|
+
├── _globals.scss
|
40
|
+
├── _vars.scss
|
41
|
+
├── main.scss
|
42
|
+
└── modules
|
43
|
+
|
23
44
|
## Contributing
|
24
45
|
|
25
|
-
1. Fork it ( https://github.com/
|
46
|
+
1. Fork it ( https://github.com/emberzone/embersketch/fork )
|
26
47
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
48
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
49
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/lib/embersketch/version.rb
CHANGED
@@ -15,16 +15,18 @@ App.Item = DS.Model.extend({
|
|
15
15
|
title: DS.attr('string')
|
16
16
|
});
|
17
17
|
|
18
|
-
App.Item.
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
18
|
+
App.Item.reopenClass({
|
19
|
+
FIXTURES: [
|
20
|
+
{
|
21
|
+
id: 1,
|
22
|
+
"title": "cat",
|
23
|
+
},
|
24
|
+
{
|
25
|
+
id: 2,
|
26
|
+
"title": "dog"
|
27
|
+
}
|
28
|
+
]
|
29
|
+
});
|
28
30
|
|
29
31
|
App.Router.map(function() {
|
30
32
|
// put your routes here
|
@@ -36,4 +38,4 @@ App.IndexRoute = Ember.Route.extend({
|
|
36
38
|
}
|
37
39
|
});
|
38
40
|
|
39
|
-
</script>
|
41
|
+
</script>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embersketch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John McDowall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -62,6 +62,7 @@ extra_rdoc_files: []
|
|
62
62
|
files:
|
63
63
|
- ".gitignore"
|
64
64
|
- Gemfile
|
65
|
+
- History.md
|
65
66
|
- LICENSE.txt
|
66
67
|
- README.md
|
67
68
|
- Rakefile
|
@@ -104,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
105
|
version: '0'
|
105
106
|
requirements: []
|
106
107
|
rubyforge_project:
|
107
|
-
rubygems_version: 2.4.
|
108
|
+
rubygems_version: 2.4.2
|
108
109
|
signing_key:
|
109
110
|
specification_version: 4
|
110
111
|
summary: A tool for generating quick self hosting Ember thumbnail sketches using Middleman.
|