jbundle 0.1.3 → 0.1.4

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.
@@ -0,0 +1,9 @@
1
+ beforeEach(function() {
2
+ this.addMatchers({
3
+ toBePlaying: function(expectedSong) {
4
+ var player = this.actual;
5
+ return player.currentlyPlayingSong === expectedSong &&
6
+ player.isPlaying;
7
+ }
8
+ });
9
+ });
@@ -0,0 +1,12 @@
1
+ describe("<%= @klass_name %>", function() {
2
+ var obj;
3
+
4
+ beforeEach(function() {
5
+ obj = new <%= @klass_name %>('John Doe');
6
+ });
7
+
8
+ it("should pass test", function() {
9
+ expect(obj.title()).toEqual("Mr. John Doe");
10
+ });
11
+
12
+ });
@@ -1,4 +1,4 @@
1
- # The JFile defines your JavaScript library and it's dependencies.
1
+ # The JFile defines your JavaScript library and its dependencies.
2
2
  # Read more on https://github.com/ismasan/jbundle/blob/master/README.md
3
3
  #
4
4
  # Version.
@@ -1,3 +1,3 @@
1
1
  module JBundle
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: jbundle
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.3
5
+ version: 0.1.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ismael Celis
@@ -10,8 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-19 00:00:00 +01:00
14
- default_executable:
13
+ date: 2011-09-16 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: bundler
@@ -80,7 +79,6 @@ extra_rdoc_files: []
80
79
  files:
81
80
  - .gitignore
82
81
  - Gemfile
83
- - Gemfile.lock
84
82
  - README.md
85
83
  - Rakefile
86
84
  - bin/jbundle
@@ -93,13 +91,20 @@ files:
93
91
  - lib/jbundle/config.rb
94
92
  - lib/jbundle/file.rb
95
93
  - lib/jbundle/server.rb
96
- - lib/jbundle/templates/index.tt
94
+ - lib/jbundle/templates/jasmine/index.html.tt
95
+ - lib/jbundle/templates/jasmine/jasmine-html.js
96
+ - lib/jbundle/templates/jasmine/jasmine.css
97
+ - lib/jbundle/templates/jasmine/jasmine.js
98
+ - lib/jbundle/templates/jasmine/jasmine_favicon.png
99
+ - lib/jbundle/templates/jasmine/spec_helper.js
100
+ - lib/jbundle/templates/jasmine/tests.js.tt
97
101
  - lib/jbundle/templates/jfile.tt
98
102
  - lib/jbundle/templates/lib.tt
99
103
  - lib/jbundle/templates/license.tt
100
- - lib/jbundle/templates/qunit.tt
101
- - lib/jbundle/templates/qunit_css.tt
102
- - lib/jbundle/templates/tests.tt
104
+ - lib/jbundle/templates/qunit/index.html.tt
105
+ - lib/jbundle/templates/qunit/qunit.css
106
+ - lib/jbundle/templates/qunit/qunit.js
107
+ - lib/jbundle/templates/qunit/tests.js.tt
103
108
  - lib/jbundle/version.rb
104
109
  - lib/jbundle/writer.rb
105
110
  - spec/.rspec
@@ -115,7 +120,6 @@ files:
115
120
  - spec/test_src/license.txt
116
121
  - spec/test_src/nested/foo.txt
117
122
  - spec/test_src/text.txt
118
- has_rdoc: true
119
123
  homepage: http://github.com/ismasan/jbundle
120
124
  licenses: []
121
125
 
@@ -139,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
143
  requirements: []
140
144
 
141
145
  rubyforge_project: jbundle
142
- rubygems_version: 1.6.2
146
+ rubygems_version: 1.8.6
143
147
  signing_key:
144
148
  specification_version: 3
145
149
  summary: Good for releasing javascript libraries composed of many files. Writes files apt for deploying to CDNs.
@@ -1,23 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- jbundle (0.1.2)
5
- closure-compiler
6
- rack
7
- thor
8
-
9
- GEM
10
- remote: http://rubygems.org/
11
- specs:
12
- closure-compiler (1.1.1)
13
- rack (1.3.0)
14
- rspec (1.3.1)
15
- thor (0.14.6)
16
-
17
- PLATFORMS
18
- ruby
19
-
20
- DEPENDENCIES
21
- bundler (>= 1.0.0)
22
- jbundle!
23
- rspec (= 1.3.1)