jbundle 0.0.3 → 0.0.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.
Files changed (4) hide show
  1. data/README.md +3 -3
  2. data/bin/jbundle +4 -1
  3. data/lib/jbundle/version.rb +1 -1
  4. metadata +4 -4
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## JBundle (in progress)
1
+ ## JBundle
2
2
 
3
3
  Define a set of javascript files to bundle and minify
4
4
 
@@ -72,9 +72,9 @@ You can bundle licenses in bundles. Licenses will not be minified even if though
72
72
 
73
73
  All defined filters will run on the src for all these cases.
74
74
 
75
- ## JBundlefile
75
+ ## Jfile
76
76
 
77
- You can add configuration in a JBundlefile in the root of your project.
77
+ You can add configuration in a Jfile in the root of your project.
78
78
 
79
79
  version '1.0.1'
80
80
 
@@ -1,9 +1,12 @@
1
1
  require 'jbundle'
2
2
 
3
- JBUNDLE_FILE = 'JBundlefile'
3
+ JBUNDLE_FILE = 'Jfile'
4
4
 
5
5
  if ::File.exists?(JBUNDLE_FILE)
6
6
  JBundle.run( ::File.read(JBUNDLE_FILE) )
7
+ elsif ::File.exists?('JBundlefile')
8
+ puts "JBundlefile is deprecated. Please rename it to #{JBUNDLE_FILE}. Sorry! I'll run it this time anyway."
9
+ JBundle.run( ::File.read('JBundlefile') )
7
10
  else
8
11
  puts "You need to define ./#{JBUNDLE_FILE}"
9
12
  end
@@ -1,3 +1,3 @@
1
1
  module JBundle
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jbundle
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ismael Celis
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-03 00:00:00 -03:00
18
+ date: 2010-11-15 00:00:00 -03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency