mine_shaft 1.0.0 → 1.0.1

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.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.0.1 05-JAN-2011
2
+
3
+ * Fixed but when redmine installation is a nested URL (not root-path of URL)
4
+
1
5
  == 1.0.0
2
6
 
3
7
  * Version bump...no significant changes
@@ -36,7 +36,7 @@ module MineShaft
36
36
  #
37
37
  # Returns an instance of the Mechanize::Form class.
38
38
  def login_form
39
- @login_form ||= @page.forms.find {|f| f.action == LOGIN_FORM_ACTION}
39
+ @login_form ||= @page.forms.find {|f| f.action.match(/#{LOGIN_FORM_ACTION}$/)}
40
40
  end
41
41
 
42
42
  private
@@ -1,3 +1,3 @@
1
1
  module MineShaft
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mine_shaft
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Kersten
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-18 00:00:00 -06:00
18
+ date: 2011-01-05 00:00:00 -06:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency