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 CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- emberjs-couchapp (0.0.3)
4
+ emberjs-couchapp (0.0.4)
5
5
  thor
6
6
 
7
7
  GEM
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
- desc "release gem"
20
- task :release => :build do
21
- sh "gem push pkg/emberjs-couchapp-#{EmberjsCouchapp::VERSION}.gem"
22
- end
19
+ task :default => :spec
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = EmberjsCouchapp::VERSION
17
17
 
18
- gem.add_dependency 'thor'
18
+ gem.add_runtime_dependency 'thor'
19
19
 
20
20
  gem.add_development_dependency 'rake'
21
21
  gem.add_development_dependency 'rspec'
@@ -4,4 +4,7 @@
4
4
  // ".*~$"
5
5
  // ".*\\.swp$"
6
6
  // ".*\\.bak$"
7
+ "app",
8
+ "test_assets",
9
+ "tests"
7
10
  ]
@@ -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 Skeleton
2
- ==============
1
+ Couchapp using Ember.js
2
+ =======================
3
3
 
4
- A skeleton application framework using Ember.js and Rake Pipeline.
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
- ├── assets - Built out asset files, minified in production
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="../_attachments/app-tests.js"></script>
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
@@ -1,3 +1,3 @@
1
1
  module EmberjsCouchapp
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
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
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-14 00:00:00.000000000 Z
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