gondola 1.1.9.pre1 → 1.1.9.pre2

Sign up to get free protection for your applications and to get access to all the features.
data/gondola.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gondola}
8
- s.version = "1.1.9.pre1"
8
+ s.version = "1.1.9.pre2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Matthew Perry"]
@@ -37,19 +37,19 @@ module Gondola
37
37
  end
38
38
 
39
39
  def assert_not(expr)
40
- unless verifyNot(expr)
40
+ unless verify_not(expr)
41
41
  raise "Assertion Failed"
42
42
  end
43
43
  end
44
44
 
45
45
  def assert_equal(eq, expr)
46
- unless verify(eq, expr)
46
+ unless verify_equal(eq, expr)
47
47
  raise "Assertion Failed"
48
48
  end
49
49
  end
50
50
 
51
51
  def assert_not_equal(eq, expr)
52
- unless verifyNot(eq, expr)
52
+ unless verify_not_equal(eq, expr)
53
53
  raise "Assertion Failed"
54
54
  end
55
55
  end
@@ -83,7 +83,7 @@ module Gondola
83
83
 
84
84
  # Function to read any config files which contain data for this
85
85
  # test case or suite
86
- def config_from_file(file, api=true, data=true)
86
+ def config_from_file(file, api=true)
87
87
  # If the given test is just a file then start your search in
88
88
  # its parent directory
89
89
  unless File.directory? file
@@ -99,17 +99,15 @@ module Gondola
99
99
  api = false
100
100
  end
101
101
  end
102
- if data
103
- if File.exists? "config.yml"
104
- conf.merge! YAML.load_file("config.yml")
105
- data = false
106
- end
102
+ if File.exists? "config.yml"
103
+ conf.merge! YAML.load_file("config.yml")
104
+ data = false
107
105
  end
108
106
  end
109
107
  # Recurse through the parent directories and merge the
110
108
  # current configuration
111
109
  unless file == File.dirname(file)
112
- return config_from_file(File.expand_path(File.dirname(file)), api, data).merge(conf)
110
+ return config_from_file(File.expand_path(File.dirname(file)), api).merge(conf)
113
111
  end
114
112
  return conf
115
113
  end
@@ -1,3 +1,3 @@
1
1
  module Gondola
2
- VERSION = "1.1.9.pre1"
2
+ VERSION = "1.1.9.pre2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gondola
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 1.1.9.pre1
5
+ version: 1.1.9.pre2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Matthew Perry
@@ -111,7 +111,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
111
  requirements:
112
112
  - - ">="
113
113
  - !ruby/object:Gem::Version
114
- hash: 636356211
114
+ hash: 684839645
115
115
  segments:
116
116
  - 0
117
117
  version: "0"