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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b73fe680b0a78fbc4a2b15cc35490885c970bf29
4
- data.tar.gz: 940b15611f5964c0cffc9291901df7a9dec6e859
3
+ metadata.gz: 4cff8903b83ed130dc40184c91375d73cb4b43b7
4
+ data.tar.gz: 8a592718086ff4a4657fea6044f790ddb1848e87
5
5
  SHA512:
6
- metadata.gz: 1c31e559f5b21bd009284294f59d866a6e5a75f1f44b2e257766db4414944a216a14e4030d148051498f29c31c36984d764c417cc906b62866a443da10e5e27c
7
- data.tar.gz: 94f76404981160e48816fe344f1aedc93ec739bf719e5c78257daf26816f7fc285338b8b7e4617c67c5dff255aedc7ecc0897ca683bffe71cf69665d337fde27
6
+ metadata.gz: bb1cc2daf9aac397d78059cbb1e9f0e81cb355324d52eb824754ef80ceb23a88408938d4581785a3e33d62539e07155ec1738083601150fe2413854bd56cccb5
7
+ data.tar.gz: 2a809fdd29b7b2ed8b61d9b282f1269ebf68f0fd6ca738d50bb9da6ed996b3fb7e486ca04173162afaa274248e662297c86969332712153d7c78baa867d942f7
@@ -1,4 +1,4 @@
1
- Copyright (C) 2011-2015 InfraRuby Vision
1
+ Copyright (C) 2011-2016 InfraRuby Vision
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a
4
4
  copy of this software and associated documentation files (the "Software"),
data/README.md CHANGED
@@ -19,9 +19,4 @@ Example
19
19
  Support
20
20
  -------
21
21
 
22
- InfraRuby Vision
23
- rubygems@infraruby.com
24
-
25
22
  http://infraruby.com/
26
- https://github.com/InfraRuby
27
- https://twitter.com/InfraRuby
@@ -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 = "3.7.0"
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", "~> 3.7"
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.with_clean_env do
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.with_clean_env do
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.with_clean_env do
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.with_clean_env do
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.with_clean_env do
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: 3.7.0
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: 2015-05-27 00:00:00.000000000 Z
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: '3.7'
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: '3.7'
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: