rs.ge 0.1.1 → 0.1.2
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/lib/rs/version.rb +1 -1
- data/rs.gemspec +2 -1
- data/spec/requests/factura_spec.rb +4 -3
- metadata +20 -4
data/lib/rs/version.rb
CHANGED
data/rs.gemspec
CHANGED
|
@@ -21,5 +21,6 @@ Gem::Specification.new do |s|
|
|
|
21
21
|
s.add_development_dependency 'rspec', '~> 2'
|
|
22
22
|
s.add_runtime_dependency 'savon', '~> 1.0'
|
|
23
23
|
s.add_runtime_dependency 'prawn', '~>0.12'
|
|
24
|
-
s.add_runtime_dependency 'c12-commons', '~> 0.0
|
|
24
|
+
s.add_runtime_dependency 'c12-commons', '~> 0.1.0'
|
|
25
|
+
s.add_runtime_dependency 'activesupport', '~> 3.2.0'
|
|
25
26
|
end
|
|
@@ -112,18 +112,19 @@ describe 'get factura' do
|
|
|
112
112
|
end
|
|
113
113
|
context do
|
|
114
114
|
before(:all) do
|
|
115
|
-
@id =
|
|
115
|
+
@id = 22813602
|
|
116
116
|
@factura = RS.fact.get_factura(id: @id)
|
|
117
117
|
end
|
|
118
118
|
subject { @factura }
|
|
119
119
|
it { should_not be_nil }
|
|
120
120
|
its(:id) { should == @id }
|
|
121
121
|
its(:index) { should == 'ეა-36'}
|
|
122
|
-
its(:number) { should == 269554 }
|
|
122
|
+
#its(:number) { should == 269554 }
|
|
123
|
+
its(:number) { should be_nil }
|
|
123
124
|
its(:operation_date) { should_not be_nil }
|
|
124
125
|
its(:registration_date) { should_not be_nil }
|
|
125
126
|
its(:seller_id) { should == 731937 }
|
|
126
|
-
its(:status) { should == RS::Factura::
|
|
127
|
+
its(:status) { should == RS::Factura::STATUS_START }
|
|
127
128
|
its(:correction_of) { should be_nil }
|
|
128
129
|
end
|
|
129
130
|
context do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rs.ge
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2013-01-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rspec
|
|
@@ -66,7 +66,7 @@ dependencies:
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ~>
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: 0.0
|
|
69
|
+
version: 0.1.0
|
|
70
70
|
type: :runtime
|
|
71
71
|
prerelease: false
|
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -74,7 +74,23 @@ dependencies:
|
|
|
74
74
|
requirements:
|
|
75
75
|
- - ~>
|
|
76
76
|
- !ruby/object:Gem::Version
|
|
77
|
-
version: 0.0
|
|
77
|
+
version: 0.1.0
|
|
78
|
+
- !ruby/object:Gem::Dependency
|
|
79
|
+
name: activesupport
|
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
|
81
|
+
none: false
|
|
82
|
+
requirements:
|
|
83
|
+
- - ~>
|
|
84
|
+
- !ruby/object:Gem::Version
|
|
85
|
+
version: 3.2.0
|
|
86
|
+
type: :runtime
|
|
87
|
+
prerelease: false
|
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
89
|
+
none: false
|
|
90
|
+
requirements:
|
|
91
|
+
- - ~>
|
|
92
|
+
- !ruby/object:Gem::Version
|
|
93
|
+
version: 3.2.0
|
|
78
94
|
description: Ruby client for rs.ge web services
|
|
79
95
|
email:
|
|
80
96
|
- dimitri@c12.ge
|