eris 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
data/lib/eris/version.rb
CHANGED
@@ -21,7 +21,6 @@ describe Eris do
|
|
21
21
|
it "should run jasmine:ci" do
|
22
22
|
Bundler.with_clean_env do
|
23
23
|
gem_dir = File.expand_path('../../../../', File.dirname(__FILE__))
|
24
|
-
sleep 5
|
25
24
|
system! "cd #{gem_dir} && bundle exec rake build"
|
26
25
|
system! "mkdir -p #{@tmp_dir}/vendor/cache/"
|
27
26
|
system! "cp #{gem_dir}/pkg/eris-#{Eris::VERSION}.gem #{@tmp_dir}/vendor/cache/"
|
@@ -31,6 +30,10 @@ describe Eris do
|
|
31
30
|
system! "cd #{@tmp_dir} && rvm-exec ruby-1.9.2-p180@palm-test bash -c 'bundle exec gem list | grep eris'"
|
32
31
|
system! "cd #{@tmp_dir} && rvm-exec ruby-1.9.2-p180@palm-test bash -c 'bundle exec gem list | grep jasmine'"
|
33
32
|
system "cd #{@tmp_dir} && rvm-exec ruby-1.9.2-p180@palm-test bash -c 'bundle show jasmine'"
|
33
|
+
eris_config_location = "#{@tmp_dir}eris_config.json"
|
34
|
+
eris_config = File.read(eris_config_location)
|
35
|
+
eris_config.gsub!("../../", "/usr/palm/frameworks/")
|
36
|
+
File.open(eris_config_location, 'w') {|f| f.write(eris_config) }
|
34
37
|
system("cd #{@tmp_dir} && rvm-exec ruby-1.9.2-p180@palm-test bash -c 'bundle exec rake jasmine:ci'").should be_true
|
35
38
|
end
|
36
39
|
end
|
@@ -71,6 +71,7 @@ describe Eris do
|
|
71
71
|
Dir.chdir @tmp_dir do
|
72
72
|
rakefile_contents = File.read("ci_build.sh")
|
73
73
|
rakefile_contents.should include('bundle exec rake jasmine:ci')
|
74
|
+
rakefile_contents.should_not include('trunk')
|
74
75
|
end
|
75
76
|
end
|
76
77
|
|
@@ -83,7 +84,7 @@ describe Eris do
|
|
83
84
|
it "should generate a eris_config.json" do
|
84
85
|
Dir.chdir @tmp_dir do
|
85
86
|
config = JSON.parse(File.read("eris_config.json"))
|
86
|
-
config['localEnyoRoot'].should == "
|
87
|
+
config['localEnyoRoot'].should == "../../"
|
87
88
|
config['ciEnyoRoot'].should == "/usr/palm/frameworks/"
|
88
89
|
end
|
89
90
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eris
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- HP webOS
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-
|
19
|
+
date: 2011-08-01 00:00:00 -07:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|