go_figure 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,7 +14,7 @@ module GoFigure
14
14
  end
15
15
 
16
16
  def set_auto_registration_key(key)
17
- @doc.root.xpath('server').first["agentAutoRegistrationKey"] = key
17
+ @doc.root.xpath('server').first["agentAutoRegisterKey"] = key
18
18
  end
19
19
 
20
20
  def set_pipeline(git_url, working_dir)
@@ -1,3 +1,3 @@
1
1
  module GoFigure
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
@@ -19,7 +19,7 @@ MSyuoIPAZhmk7osFKHdJ3wlGfEIQf2bhl+op7u/VZQ==</license>
19
19
 
20
20
  config = GoConfig.new(:xml => xml)
21
21
  config.set_auto_registration_key("foobar")
22
- assert config.xml_content =~ /<server.*agentAutoRegistrationKey="foobar".*/
22
+ assert config.xml_content =~ /<server.*agentAutoRegisterKey="foobar".*/
23
23
  end
24
24
 
25
25
  def test_should_set_pipeline_in_a_config_file_with_no_pipelines_and_no_agents
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: go_figure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: