coderunner 0.14.8 → 0.14.9
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/VERSION +1 -1
- data/coderunner.gemspec +2 -2
- data/lib/coderunner/class_methods.rb +1 -1
- data/lib/coderunner/instance_methods.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4df19c83ee4292ddd16cf679395b22b49e91eaa5
|
|
4
|
+
data.tar.gz: a34e1d0fecc2f93c9ebc492461c0400827a8b2c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 947b961fcb3e1fdd0eb44f1ac74ea0f4b284bd18c665a604e7c93862e289c056399abbb488b9f6460f797b281b168a32585f917cdfb6fae1997dff282c0d72c5
|
|
7
|
+
data.tar.gz: 7d102e4e57fc263f47f595ba4a08b925db26073f6c16b584aa8bca63ad85562c1314871cb5013506c5fc98ff933ba4d12dcaf9e104e4e88b5200ce7b02bda43e
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.14.
|
|
1
|
+
0.14.9
|
data/coderunner.gemspec
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: coderunner 0.14.
|
|
5
|
+
# stub: coderunner 0.14.9 ruby lib
|
|
6
6
|
# stub: ext/extconf.rb
|
|
7
7
|
|
|
8
8
|
Gem::Specification.new do |s|
|
|
9
9
|
s.name = "coderunner"
|
|
10
|
-
s.version = "0.14.
|
|
10
|
+
s.version = "0.14.9"
|
|
11
11
|
|
|
12
12
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
13
13
|
s.require_paths = ["lib"]
|
|
@@ -372,7 +372,6 @@ class CodeRunner
|
|
|
372
372
|
modlet = options[:modlet]
|
|
373
373
|
version = options[:version]
|
|
374
374
|
# log('modlet in setup_run_class', modlet)
|
|
375
|
-
eputs "Loading modules for #{code}, #{modlet.inspect}..."
|
|
376
375
|
|
|
377
376
|
# modlet = modlet.sub(/\.rb$/, '') if modlet
|
|
378
377
|
raise CRFatal.new("Code must contain only lowercase letters, digits, and underscore, and must begin with a letter or underscore; it is '#{code}'") unless code =~ /\A[a-z_][a-z_\d]*\Z/
|
|
@@ -384,6 +383,7 @@ class CodeRunner
|
|
|
384
383
|
|
|
385
384
|
return recursive_const_get(run_class_name) if SETUP_RUN_CLASSES.include?(run_class_name) #constants.include? (run_class_name).to_sym unless options[:force] #and const_get(run_class_name).rcp.code?
|
|
386
385
|
#return const_get(run_class_name) if constants.include? (run_class_name).to_sym unless options[:force] #and const_get(run_class_name).rcp.code?
|
|
386
|
+
eputs "Loading modules for #{code}, #{modlet.inspect}..."
|
|
387
387
|
SETUP_RUN_CLASSES.push run_class_name #.downcase
|
|
388
388
|
FileUtils.makedirs(ENV['HOME'] + "/.coderunner/#{code}crmod/")
|
|
389
389
|
FileUtils.makedirs(ENV['HOME'] + "/.coderunner/#{code}crmod/defaults_files")
|