acuforce 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/acuforce.gemspec +1 -1
  3. data/lib/acunote_sprint.rb +2 -2
  4. metadata +12 -12
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{acuforce}
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Harrison Strowd"]
@@ -58,8 +58,8 @@ class AcunoteSprint
58
58
  sprints.links_with(:text => name).first if sprints
59
59
  end
60
60
 
61
- def self.upload_csv(raw_data, proj_id, sprint_id)
62
- import_page = acu_conn.get_page(url(opts[:proj_id],sprint_id)+"/import")
61
+ def self.upload_csv(proj_id, sprint_id, raw_data)
62
+ import_page = acu_conn.get_page(url(proj_id,sprint_id)+"/import")
63
63
  import_form = import_page.form_with({:name => 'import_form'})
64
64
  import_form.field_with(:id => 'data_to_import').value = raw_data.to_s
65
65
  import_form.submit
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acuforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mechanize
17
- requirement: &2152419660 !ruby/object:Gem::Requirement
17
+ requirement: &2152057240 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2152419660
25
+ version_requirements: *2152057240
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rspec
28
- requirement: &2152419180 !ruby/object:Gem::Requirement
28
+ requirement: &2152056760 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 2.3.0
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *2152419180
36
+ version_requirements: *2152056760
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: bundler
39
- requirement: &2152418700 !ruby/object:Gem::Requirement
39
+ requirement: &2152056280 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 1.0.0
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *2152418700
47
+ version_requirements: *2152056280
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: jeweler
50
- requirement: &2152434600 !ruby/object:Gem::Requirement
50
+ requirement: &2152055800 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 1.6.4
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *2152434600
58
+ version_requirements: *2152055800
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: rcov
61
- requirement: &2152434120 !ruby/object:Gem::Requirement
61
+ requirement: &2152071680 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,7 +66,7 @@ dependencies:
66
66
  version: '0'
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *2152434120
69
+ version_requirements: *2152071680
70
70
  description: ! '
71
71
 
72
72
  Provides an API for the following actions:
@@ -117,7 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  segments:
119
119
  - 0
120
- hash: 2500774735689858788
120
+ hash: 3071903671794925380
121
121
  required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  none: false
123
123
  requirements: