emberjs-couchapp 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/README.md +9 -1
- data/Rakefile +1 -4
- data/emberjs-couchapp.gemspec +1 -1
- data/lib/emberjs-couchapp/templates/app/{.couchappignore → .couchappignore.tt} +3 -0
- data/lib/emberjs-couchapp/templates/app/Assetfile.tt +12 -8
- data/lib/emberjs-couchapp/templates/app/README.md +6 -5
- data/lib/emberjs-couchapp/templates/app/tests/index.html +1 -1
- data/lib/emberjs-couchapp/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Gem to create a CouchApp using Ember.js
|
1
|
+
Gem to create a CouchApp using Ember.js [![Build Status](https://secure.travis-ci.org/pangratz/emberjs-couchapp-gem.png?branch=master)](http://travis-ci.org/pangratz/emberjs-couchapp-gem) [![Dependency Status](https://gemnasium.com/pangratz/emberjs-couchapp-gem.png)](https://gemnasium.com/pangratz/emberjs-couchapp-gem)
|
2
2
|
=======================================
|
3
3
|
|
4
4
|
Installation
|
@@ -50,3 +50,11 @@ Or you can run the tests via
|
|
50
50
|
You can automatically execute the tests every time a file changes via
|
51
51
|
|
52
52
|
$ bundle exec guard
|
53
|
+
|
54
|
+
|
55
|
+
Developing this Gem
|
56
|
+
-------------------
|
57
|
+
|
58
|
+
$ gem install gem-release
|
59
|
+
$ gem bump // to bump version
|
60
|
+
$ gem release --tag // to release new version
|
data/Rakefile
CHANGED
@@ -16,7 +16,4 @@ task :install => :build do
|
|
16
16
|
sh "gem install pkg/emberjs-couchapp-#{EmberjsCouchapp::VERSION}.gem"
|
17
17
|
end
|
18
18
|
|
19
|
-
|
20
|
-
task :release => :build do
|
21
|
-
sh "gem push pkg/emberjs-couchapp-#{EmberjsCouchapp::VERSION}.gem"
|
22
|
-
end
|
19
|
+
task :default => :spec
|
data/emberjs-couchapp.gemspec
CHANGED
@@ -103,14 +103,6 @@ input 'app' do
|
|
103
103
|
concat 'app.js'
|
104
104
|
end
|
105
105
|
|
106
|
-
match 'tests/**/*.js' do
|
107
|
-
filter LoaderFilter,
|
108
|
-
:module_id_generator => proc { |input|
|
109
|
-
input.path.sub(/^lib\//, "#{APPNAME}/").sub(/\.js$/, '')
|
110
|
-
}
|
111
|
-
concat 'app-tests.js'
|
112
|
-
end
|
113
|
-
|
114
106
|
match 'css/**/*.css' do
|
115
107
|
if ENV['RAKEP_MODE'] == 'production'
|
116
108
|
yui_css
|
@@ -133,4 +125,16 @@ input 'app' do
|
|
133
125
|
end
|
134
126
|
end
|
135
127
|
|
128
|
+
output 'test_assets'
|
129
|
+
|
130
|
+
input 'app' do
|
131
|
+
match 'tests/**/*.js' do
|
132
|
+
filter LoaderFilter,
|
133
|
+
:module_id_generator => proc { |input|
|
134
|
+
input.path.sub(/^lib\//, "#{APPNAME}/").sub(/\.js$/, '')
|
135
|
+
}
|
136
|
+
concat 'app-tests.js'
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
136
140
|
# vim: filetype=ruby
|
@@ -1,7 +1,7 @@
|
|
1
|
-
Ember
|
2
|
-
|
1
|
+
Couchapp using Ember.js
|
2
|
+
=======================
|
3
3
|
|
4
|
-
|
4
|
+
Couchapp using Ember.js and Rake Pipeline.
|
5
5
|
|
6
6
|
Running
|
7
7
|
-------
|
@@ -26,12 +26,13 @@ App Structure
|
|
26
26
|
│ ├── templates - Handlebars templates, *modularized during build*
|
27
27
|
│ ├── tests - QUnit application tests
|
28
28
|
│ └── vendor - Vendor code, *modularized during build*
|
29
|
-
├──
|
29
|
+
├── _attachments - Built out asset files, minified in production
|
30
|
+
| ├── index.html
|
30
31
|
│ ├── app.css - Built out app CSS/SCSS
|
31
32
|
│ ├── app.js - Built out app JS
|
32
33
|
│ └── loader.js - Built out JS module loader
|
34
|
+
├── test_assets - Built out test asset files
|
33
35
|
├── config.ru - Rack development web server configuration
|
34
|
-
├── index.html - The app entry point
|
35
36
|
├── tests - QUnit testing files
|
36
37
|
│ ├── index.html - The testing entry point
|
37
38
|
│ ├── qunit - Testing support files
|
@@ -11,7 +11,7 @@
|
|
11
11
|
<div id="qunit-fixture">test markup</div>
|
12
12
|
<script src="../_attachments/loader.js"></script>
|
13
13
|
<script src="../_attachments/app.js"></script>
|
14
|
-
<script src="../
|
14
|
+
<script src="../test_assets/app-tests.js"></script>
|
15
15
|
<script>
|
16
16
|
(function(QUnit) {
|
17
17
|
// Hack QUnit to not suck for Ember objects
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emberjs-couchapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
@@ -94,7 +94,7 @@ files:
|
|
94
94
|
- lib/emberjs-couchapp.rb
|
95
95
|
- lib/emberjs-couchapp/app_generator.rb
|
96
96
|
- lib/emberjs-couchapp/cli.rb
|
97
|
-
- lib/emberjs-couchapp/templates/app/.couchappignore
|
97
|
+
- lib/emberjs-couchapp/templates/app/.couchappignore.tt
|
98
98
|
- lib/emberjs-couchapp/templates/app/.couchapprc.tt
|
99
99
|
- lib/emberjs-couchapp/templates/app/.gitignore
|
100
100
|
- lib/emberjs-couchapp/templates/app/Assetfile.tt
|