ender-rails 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 982b400c21d1989ab889397f945190daa7f2af79
4
- data.tar.gz: 95213c800ea85d55d634f02c51b69a9837771b88
3
+ metadata.gz: 22b6b912653bee43c5442e14b683d0b03938a36d
4
+ data.tar.gz: 3566007d48ed7bbd01cf9b344d2d5ab73fe7dd1e
5
5
  SHA512:
6
- metadata.gz: 70c7f2fafd08d37559384501a3461822853691459aa05b72b510efa2352a66be6fac55ebf8b13d0bf4f5901df8191665fc5bef63bcdfb50b9837f738f4831a12
7
- data.tar.gz: 079b0b62d6031f77b207fe6a4d407bdf3172869ba46a2fcbb94b53d76677a54a4131d759d6f8e4685f008793f137a480b53a6d69ece80c97215b286f58754b72
6
+ metadata.gz: 1323bb27b58ae8c96407a8db00260f08daf53ff74f2a9ed35055eeec9f1f56714954a87219b3adf01cc0fd4093800bd18975a732c2b5512420e04e57f539d205
7
+ data.tar.gz: 26fb927581198e1a28b1b03ee23cbe906c82f342be2fd1ace3b6d3b7437e26369cd55786c1c0d36eaa61da0b068e1935e7b35177cfcebd7641d85a2a835d572b
@@ -0,0 +1 @@
1
+ rails-ender
@@ -0,0 +1 @@
1
+ 2.0.0
data/Rakefile CHANGED
@@ -17,4 +17,4 @@ Rake::TestTask.new do |t|
17
17
  t.test_files = FileList['test/test_*.rb']
18
18
  end
19
19
 
20
- task :default => :test
20
+ task :default => :test
@@ -16,5 +16,5 @@ Gem::Specification.new do |g|
16
16
  g.require_paths = ["lib"]
17
17
  g.version = EnderRails::VERSION
18
18
 
19
- g.add_dependency "rake", "~> 10.0.0"
19
+ g.add_dependency "rake", '>= 10.0.0', '< 10.2.0'
20
20
  end
@@ -1,3 +1,3 @@
1
1
  module EnderRails
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -33,9 +33,9 @@ namespace :ender do
33
33
 
34
34
  desc "install files from ender"
35
35
  task :install do
36
+ node_version = ENV['NODE_VERSION'] || '0.8.16'
36
37
  if `which npm`.size.<=(0)
37
38
  if ENV['NVM_DIR']
38
- node_version = ENV['NODE_VERSION'] || '0.8.16'
39
39
  sh "/bin/bash -c 'source #{ENV['NVM_DIR']}/nvm.sh && nvm install #{node_version} && nvm use #{node_version}'"
40
40
  else
41
41
  Rake::Task['ender:node:install'].invoke
@@ -45,21 +45,21 @@ namespace :ender do
45
45
  puts "Please run 'source ~/.nvm/nvm.sh && nvm use #{node_version}' to reload nodejs environment '"
46
46
  end
47
47
 
48
- desc "check is ender is installed"
48
+ desc "check if ender is installed"
49
49
  task :check do
50
50
  Rake::Task['ender:install'].invoke unless `which ender`.size.>(0)
51
51
  end
52
52
 
53
- desc "build ender base jeesh packages (and remove all the rest)"
53
+ desc "build ender base Jeesh package (careful it rebuilds from scratch)"
54
54
  task :build => :check do
55
55
  sh "ender build jeesh --output #{OUTPUT}"
56
- FileUtils.rm("#{output_path}.min.js") if File.exist?("#{OUTPUT}.min.js")
56
+ FileUtils.rm("#{OUTPUT}.min.js") if File.exist?("#{OUTPUT}.min.js")
57
57
  end
58
58
 
59
59
  desc "refresh the build"
60
60
  task :refresh => :check do
61
61
  sh "ender refresh --use #{OUTPUT}"
62
- FileUtils.rm("#{output_path}.min.js") if File.exist?("#{OUTPUT}.min.js")
62
+ FileUtils.rm("#{OUTPUT}.min.js") if File.exist?("#{OUTPUT}.min.js")
63
63
  end
64
64
 
65
65
  desc "show list of installed packages"
@@ -75,13 +75,13 @@ namespace :ender do
75
75
  desc "add a package to the ender build"
76
76
  task :add, [:package] => [:check] do |t,p|
77
77
  sh "ender add #{p[:package]} --use #{OUTPUT}"
78
- FileUtils.rm("#{output_path}.min.js") if File.exist?("#{OUTPUT}.min.js")
78
+ FileUtils.rm("#{OUTPUT}.min.js") if File.exist?("#{OUTPUT}.min.js")
79
79
  end
80
80
 
81
81
  desc "remove a package from the ender build"
82
82
  task :remove, [:package] => [:check] do |t,p|
83
83
  sh "ender remove #{p[:package]} --use #{OUTPUT}"
84
- FileUtils.rm("#{output_path}.min.js") if File.exist?("#{OUTPUT}.min.js")
84
+ FileUtils.rm("#{OUTPUT}.min.js") if File.exist?("#{OUTPUT}.min.js")
85
85
  end
86
86
 
87
87
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ender-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - mose
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-16 00:00:00.000000000 Z
11
+ date: 2013-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: 10.0.0
20
+ - - <
21
+ - !ruby/object:Gem::Version
22
+ version: 10.2.0
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - ~>
27
+ - - '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: 10.0.0
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: 10.2.0
27
33
  description: Install Ender and the Jeesh in rails.
28
34
  email:
29
35
  - mose@mose.com
@@ -32,7 +38,8 @@ extensions: []
32
38
  extra_rdoc_files: []
33
39
  files:
34
40
  - .gitignore
35
- - .rvmrc
41
+ - .ruby-gemset
42
+ - .ruby-version
36
43
  - Gemfile
37
44
  - LICENSE
38
45
  - README.md
@@ -62,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
69
  version: '0'
63
70
  requirements: []
64
71
  rubyforge_project:
65
- rubygems_version: 2.0.0.rc.2
72
+ rubygems_version: 2.0.3
66
73
  signing_key:
67
74
  specification_version: 4
68
75
  summary: Install Ender and the Jeesh in rails, using some simple rake tasks.