infraruby-task 3.7.0 → 4.0.0
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.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +0 -5
- data/infraruby-task.gemspec +2 -2
- data/ruby/InfraRuby/TaskLoader.rb +8 -18
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cff8903b83ed130dc40184c91375d73cb4b43b7
|
4
|
+
data.tar.gz: 8a592718086ff4a4657fea6044f790ddb1848e87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb1cc2daf9aac397d78059cbb1e9f0e81cb355324d52eb824754ef80ceb23a88408938d4581785a3e33d62539e07155ec1738083601150fe2413854bd56cccb5
|
7
|
+
data.tar.gz: 2a809fdd29b7b2ed8b61d9b282f1269ebf68f0fd6ca738d50bb9da6ed996b3fb7e486ca04173162afaa274248e662297c86969332712153d7c78baa867d942f7
|
data/MIT-LICENSE
CHANGED
data/README.md
CHANGED
data/infraruby-task.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.platform = "ruby"
|
3
3
|
s.name = "infraruby-task"
|
4
|
-
s.version = "
|
4
|
+
s.version = "4.0.0"
|
5
5
|
s.licenses = ["MIT"]
|
6
6
|
s.author = "InfraRuby Vision"
|
7
7
|
s.email = "rubygems@infraruby.com"
|
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.summary = "InfraRuby task loader"
|
10
10
|
s.description = "InfraRuby task loader"
|
11
11
|
s.files = Dir["**/*"]
|
12
|
-
s.add_runtime_dependency "infraruby-base", "~>
|
12
|
+
s.add_runtime_dependency "infraruby-base", "~> 4.0"
|
13
13
|
s.add_runtime_dependency "rake", "~> 10.4"
|
14
14
|
s.add_development_dependency "rspec", "~> 3.0"
|
15
15
|
end
|
@@ -38,23 +38,19 @@ module InfraRuby
|
|
38
38
|
desc "compile #{program}"
|
39
39
|
task "compile" do
|
40
40
|
cutfiles = build_cutfiles
|
41
|
-
InfraRuby.
|
42
|
-
InfraRuby.system!("infraruby-core-compile", File.join("pool", program), File.join("bin", program), cutfiles.join(File::PATH_SEPARATOR))
|
43
|
-
end
|
41
|
+
InfraRuby.system!("infraruby-core-compile", File.join("pool", program), File.join("bin", program), cutfiles.join(File::PATH_SEPARATOR))
|
44
42
|
end
|
45
43
|
desc "execute #{program}"
|
46
44
|
task "execute" do |task, args|
|
47
45
|
jarfiles = build_jarfiles
|
48
46
|
jarfiles << File.join("pool", "#{program}.jar")
|
49
|
-
InfraRuby.
|
50
|
-
InfraRuby.system!("infraruby-core-execute", jarfiles.join(File::PATH_SEPARATOR), "main", *args.extras)
|
51
|
-
end
|
47
|
+
InfraRuby.system!("infraruby-core-execute", jarfiles.join(File::PATH_SEPARATOR), "main", *args.extras)
|
52
48
|
end
|
53
49
|
end
|
54
50
|
namespace "interpret" do
|
55
51
|
desc "interpret #{program} with jruby"
|
56
52
|
task "jruby" do |task, args|
|
57
|
-
InfraRuby.system!("bundle", "exec", "jruby", File.join("bin", program), *args.extras)
|
53
|
+
InfraRuby.system!("jruby", "-S", "bundle", "exec", "jruby", File.join("bin", program), *args.extras)
|
58
54
|
end
|
59
55
|
desc "interpret #{program} with ruby"
|
60
56
|
task "ruby" do |task, args|
|
@@ -79,27 +75,23 @@ module InfraRuby
|
|
79
75
|
desc "compile specs"
|
80
76
|
task "compile" do
|
81
77
|
cutfiles = build_cutfiles
|
82
|
-
InfraRuby.
|
83
|
-
InfraRuby.system!("infraruby-core-compile", File.join("pool", "spec"), "spec", cutfiles.join(File::PATH_SEPARATOR))
|
84
|
-
end
|
78
|
+
InfraRuby.system!("infraruby-core-compile", File.join("pool", "spec"), "spec", cutfiles.join(File::PATH_SEPARATOR))
|
85
79
|
end
|
86
80
|
desc "execute specs"
|
87
81
|
task "execute" do
|
88
82
|
jarfiles = build_jarfiles
|
89
83
|
jarfiles << File.join("pool", "spec.jar")
|
90
|
-
InfraRuby.
|
91
|
-
InfraRuby.system!("infraruby-core-execute", jarfiles.join(File::PATH_SEPARATOR), "spec")
|
92
|
-
end
|
84
|
+
InfraRuby.system!("infraruby-core-execute", jarfiles.join(File::PATH_SEPARATOR), "spec")
|
93
85
|
end
|
94
86
|
end
|
95
87
|
namespace "interpret" do
|
96
88
|
desc "interpret specs with jruby"
|
97
89
|
task "jruby" do
|
98
|
-
InfraRuby.system!("bundle", "exec", "jruby", "-S", "rspec")
|
90
|
+
InfraRuby.system!("jruby", "-S", "bundle", "exec", "jruby", "-S", "rspec", "--pattern", "spec/**/*_spec.{ir,rb}")
|
99
91
|
end
|
100
92
|
desc "interpret specs with ruby"
|
101
93
|
task "ruby" do
|
102
|
-
InfraRuby.system!("bundle", "exec", "rspec")
|
94
|
+
InfraRuby.system!("bundle", "exec", "rspec", "--pattern", "spec/**/*_spec.{ir,rb}")
|
103
95
|
end
|
104
96
|
end
|
105
97
|
end
|
@@ -111,9 +103,7 @@ module InfraRuby
|
|
111
103
|
namespace "core" do
|
112
104
|
desc "compile library"
|
113
105
|
task "compile" do |task, args|
|
114
|
-
InfraRuby.
|
115
|
-
InfraRuby.system!("infraruby-core-compile", File.join("pool", library), ".", args.extras.join(File::PATH_SEPARATOR))
|
116
|
-
end
|
106
|
+
InfraRuby.system!("infraruby-core-compile", File.join("pool", library), ".", args.extras.join(File::PATH_SEPARATOR))
|
117
107
|
end
|
118
108
|
end
|
119
109
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infraruby-task
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- InfraRuby Vision
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: infraruby-base
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '4.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '4.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -89,3 +89,4 @@ signing_key:
|
|
89
89
|
specification_version: 4
|
90
90
|
summary: InfraRuby task loader
|
91
91
|
test_files: []
|
92
|
+
has_rdoc:
|