nfe 0.0.0 → 0.0.1a
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/.rspec +3 -0
- data/Gemfile +5 -0
- data/lib/nfe.rb +1 -1
- data/lib/nfe/template.rb +44 -0
- data/lib/nfe/template/cobr.mustache +4 -0
- data/lib/nfe/template/cobr.rb +15 -0
- data/lib/nfe/template/cofins.mustache +3 -0
- data/lib/nfe/template/cofins.rb +11 -0
- data/lib/nfe/template/cofins_aliq.mustache +6 -0
- data/lib/nfe/template/cofins_aliq.rb +20 -0
- data/lib/nfe/template/dest.mustache +7 -0
- data/lib/nfe/template/dest.rb +12 -0
- data/lib/nfe/template/det.mustache +5 -0
- data/lib/nfe/template/det.rb +16 -0
- data/lib/nfe/template/dup.mustache +5 -0
- data/lib/nfe/template/dup.rb +12 -0
- data/lib/nfe/template/emit.mustache +10 -0
- data/lib/nfe/template/emit.rb +12 -0
- data/lib/nfe/template/ender_dest.mustache +12 -0
- data/lib/nfe/template/ender_dest.rb +7 -0
- data/lib/nfe/template/ender_emit.mustache +13 -0
- data/lib/nfe/template/ender_emit.rb +7 -0
- data/lib/nfe/template/fat.mustache +5 -0
- data/lib/nfe/template/fat.rb +6 -0
- data/lib/nfe/template/icms.mustache +3 -0
- data/lib/nfe/template/icms.rb +11 -0
- data/lib/nfe/template/icms00.mustache +8 -0
- data/lib/nfe/template/icms00.rb +6 -0
- data/lib/nfe/template/icms_tot.mustache +16 -0
- data/lib/nfe/template/icms_tot.rb +40 -0
- data/lib/nfe/template/ide.mustache +19 -0
- data/lib/nfe/template/ide.rb +7 -0
- data/lib/nfe/template/imposto.mustache +6 -0
- data/lib/nfe/template/imposto.rb +23 -0
- data/lib/nfe/template/inf_adic.mustache +4 -0
- data/lib/nfe/template/inf_adic.rb +12 -0
- data/lib/nfe/template/inf_nfe.mustache +10 -0
- data/lib/nfe/template/inf_nfe.rb +40 -0
- data/lib/nfe/template/ipi.mustache +4 -0
- data/lib/nfe/template/ipi.rb +11 -0
- data/lib/nfe/template/ipint.mustache +3 -0
- data/lib/nfe/template/ipint.rb +6 -0
- data/lib/nfe/template/obs_cont.mustache +3 -0
- data/lib/nfe/template/obs_cont.rb +7 -0
- data/lib/nfe/template/pis.mustache +3 -0
- data/lib/nfe/template/pis.rb +11 -0
- data/lib/nfe/template/pis_aliq.mustache +6 -0
- data/lib/nfe/template/pis_aliq.rb +20 -0
- data/lib/nfe/template/prod.mustache +18 -0
- data/lib/nfe/template/prod.rb +7 -0
- data/lib/nfe/template/root.mustache +4 -0
- data/lib/nfe/template/root.rb +11 -0
- data/lib/nfe/template/total.mustache +3 -0
- data/lib/nfe/template/total.rb +11 -0
- data/lib/nfe/template/transp.mustache +5 -0
- data/lib/nfe/template/transp.rb +16 -0
- data/lib/nfe/template/transporta.mustache +3 -0
- data/lib/nfe/template/transporta.rb +7 -0
- data/lib/nfe/template/vol.mustache +6 -0
- data/lib/nfe/template/vol.rb +16 -0
- data/lib/nfe/version.rb +1 -1
- data/nfe.gemspec +5 -0
- data/spec/fixtures/nfe.xml +167 -0
- data/spec/nfe/template/cobr_spec.rb +13 -0
- data/spec/nfe/template/cofins_aliq_spec.rb +11 -0
- data/spec/nfe/template/cofins_spec.rb +11 -0
- data/spec/nfe/template/dest_spec.rb +13 -0
- data/spec/nfe/template/det_spec.rb +13 -0
- data/spec/nfe/template/dup_spec.rb +13 -0
- data/spec/nfe/template/emit_spec.rb +13 -0
- data/spec/nfe/template/ender_dest_spec.rb +13 -0
- data/spec/nfe/template/ender_emit_spec.rb +13 -0
- data/spec/nfe/template/fat_spec.rb +13 -0
- data/spec/nfe/template/icms00_spec.rb +13 -0
- data/spec/nfe/template/icms_spec.rb +13 -0
- data/spec/nfe/template/icms_tot_spec.rb +13 -0
- data/spec/nfe/template/ide_spec.rb +13 -0
- data/spec/nfe/template/imposto_spec.rb +13 -0
- data/spec/nfe/template/inf_adic_spec.rb +13 -0
- data/spec/nfe/template/inf_nfe_spec.rb +13 -0
- data/spec/nfe/template/ipi_spec.rb +13 -0
- data/spec/nfe/template/ipint_spec.rb +13 -0
- data/spec/nfe/template/obs_cont_spec.rb +13 -0
- data/spec/nfe/template/pis_aliq_spec.rb +13 -0
- data/spec/nfe/template/pis_spec.rb +13 -0
- data/spec/nfe/template/prod_spec.rb +13 -0
- data/spec/nfe/template/root_spec.rb +13 -0
- data/spec/nfe/template/total_spec.rb +13 -0
- data/spec/nfe/template/transp_spec.rb +13 -0
- data/spec/nfe/template/transporta_spec.rb +13 -0
- data/spec/nfe/template/vol_spec.rb +13 -0
- data/spec/spec_helper.rb +306 -0
- metadata +158 -7
metadata
CHANGED
@@ -1,16 +1,49 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nfe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.1a
|
5
|
+
prerelease: 5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Rafael Souza
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
13
|
-
dependencies:
|
12
|
+
date: 2012-03-26 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: mustache
|
16
|
+
requirement: &70353880367560 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.99.4
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70353880367560
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: nokogiri
|
27
|
+
requirement: &70353880366440 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.5.2
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70353880366440
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rspec
|
38
|
+
requirement: &70353880322940 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 2.8.0
|
44
|
+
type: :development
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70353880322940
|
14
47
|
description: Gem para geração de nota fiscal eletrônica
|
15
48
|
email:
|
16
49
|
- me@rafaelss.com
|
@@ -19,13 +52,101 @@ extensions: []
|
|
19
52
|
extra_rdoc_files: []
|
20
53
|
files:
|
21
54
|
- .gitignore
|
55
|
+
- .rspec
|
22
56
|
- Gemfile
|
23
57
|
- LICENSE
|
24
58
|
- README.md
|
25
59
|
- Rakefile
|
26
60
|
- lib/nfe.rb
|
61
|
+
- lib/nfe/template.rb
|
62
|
+
- lib/nfe/template/cobr.mustache
|
63
|
+
- lib/nfe/template/cobr.rb
|
64
|
+
- lib/nfe/template/cofins.mustache
|
65
|
+
- lib/nfe/template/cofins.rb
|
66
|
+
- lib/nfe/template/cofins_aliq.mustache
|
67
|
+
- lib/nfe/template/cofins_aliq.rb
|
68
|
+
- lib/nfe/template/dest.mustache
|
69
|
+
- lib/nfe/template/dest.rb
|
70
|
+
- lib/nfe/template/det.mustache
|
71
|
+
- lib/nfe/template/det.rb
|
72
|
+
- lib/nfe/template/dup.mustache
|
73
|
+
- lib/nfe/template/dup.rb
|
74
|
+
- lib/nfe/template/emit.mustache
|
75
|
+
- lib/nfe/template/emit.rb
|
76
|
+
- lib/nfe/template/ender_dest.mustache
|
77
|
+
- lib/nfe/template/ender_dest.rb
|
78
|
+
- lib/nfe/template/ender_emit.mustache
|
79
|
+
- lib/nfe/template/ender_emit.rb
|
80
|
+
- lib/nfe/template/fat.mustache
|
81
|
+
- lib/nfe/template/fat.rb
|
82
|
+
- lib/nfe/template/icms.mustache
|
83
|
+
- lib/nfe/template/icms.rb
|
84
|
+
- lib/nfe/template/icms00.mustache
|
85
|
+
- lib/nfe/template/icms00.rb
|
86
|
+
- lib/nfe/template/icms_tot.mustache
|
87
|
+
- lib/nfe/template/icms_tot.rb
|
88
|
+
- lib/nfe/template/ide.mustache
|
89
|
+
- lib/nfe/template/ide.rb
|
90
|
+
- lib/nfe/template/imposto.mustache
|
91
|
+
- lib/nfe/template/imposto.rb
|
92
|
+
- lib/nfe/template/inf_adic.mustache
|
93
|
+
- lib/nfe/template/inf_adic.rb
|
94
|
+
- lib/nfe/template/inf_nfe.mustache
|
95
|
+
- lib/nfe/template/inf_nfe.rb
|
96
|
+
- lib/nfe/template/ipi.mustache
|
97
|
+
- lib/nfe/template/ipi.rb
|
98
|
+
- lib/nfe/template/ipint.mustache
|
99
|
+
- lib/nfe/template/ipint.rb
|
100
|
+
- lib/nfe/template/obs_cont.mustache
|
101
|
+
- lib/nfe/template/obs_cont.rb
|
102
|
+
- lib/nfe/template/pis.mustache
|
103
|
+
- lib/nfe/template/pis.rb
|
104
|
+
- lib/nfe/template/pis_aliq.mustache
|
105
|
+
- lib/nfe/template/pis_aliq.rb
|
106
|
+
- lib/nfe/template/prod.mustache
|
107
|
+
- lib/nfe/template/prod.rb
|
108
|
+
- lib/nfe/template/root.mustache
|
109
|
+
- lib/nfe/template/root.rb
|
110
|
+
- lib/nfe/template/total.mustache
|
111
|
+
- lib/nfe/template/total.rb
|
112
|
+
- lib/nfe/template/transp.mustache
|
113
|
+
- lib/nfe/template/transp.rb
|
114
|
+
- lib/nfe/template/transporta.mustache
|
115
|
+
- lib/nfe/template/transporta.rb
|
116
|
+
- lib/nfe/template/vol.mustache
|
117
|
+
- lib/nfe/template/vol.rb
|
27
118
|
- lib/nfe/version.rb
|
28
119
|
- nfe.gemspec
|
120
|
+
- spec/fixtures/nfe.xml
|
121
|
+
- spec/nfe/template/cobr_spec.rb
|
122
|
+
- spec/nfe/template/cofins_aliq_spec.rb
|
123
|
+
- spec/nfe/template/cofins_spec.rb
|
124
|
+
- spec/nfe/template/dest_spec.rb
|
125
|
+
- spec/nfe/template/det_spec.rb
|
126
|
+
- spec/nfe/template/dup_spec.rb
|
127
|
+
- spec/nfe/template/emit_spec.rb
|
128
|
+
- spec/nfe/template/ender_dest_spec.rb
|
129
|
+
- spec/nfe/template/ender_emit_spec.rb
|
130
|
+
- spec/nfe/template/fat_spec.rb
|
131
|
+
- spec/nfe/template/icms00_spec.rb
|
132
|
+
- spec/nfe/template/icms_spec.rb
|
133
|
+
- spec/nfe/template/icms_tot_spec.rb
|
134
|
+
- spec/nfe/template/ide_spec.rb
|
135
|
+
- spec/nfe/template/imposto_spec.rb
|
136
|
+
- spec/nfe/template/inf_adic_spec.rb
|
137
|
+
- spec/nfe/template/inf_nfe_spec.rb
|
138
|
+
- spec/nfe/template/ipi_spec.rb
|
139
|
+
- spec/nfe/template/ipint_spec.rb
|
140
|
+
- spec/nfe/template/obs_cont_spec.rb
|
141
|
+
- spec/nfe/template/pis_aliq_spec.rb
|
142
|
+
- spec/nfe/template/pis_spec.rb
|
143
|
+
- spec/nfe/template/prod_spec.rb
|
144
|
+
- spec/nfe/template/root_spec.rb
|
145
|
+
- spec/nfe/template/total_spec.rb
|
146
|
+
- spec/nfe/template/transp_spec.rb
|
147
|
+
- spec/nfe/template/transporta_spec.rb
|
148
|
+
- spec/nfe/template/vol_spec.rb
|
149
|
+
- spec/spec_helper.rb
|
29
150
|
homepage: http://github.com/rafaelss/nfe
|
30
151
|
licenses: []
|
31
152
|
post_install_message:
|
@@ -41,13 +162,43 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
41
162
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
42
163
|
none: false
|
43
164
|
requirements:
|
44
|
-
- - ! '
|
165
|
+
- - ! '>'
|
45
166
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
167
|
+
version: 1.3.1
|
47
168
|
requirements: []
|
48
169
|
rubyforge_project:
|
49
170
|
rubygems_version: 1.8.11
|
50
171
|
signing_key:
|
51
172
|
specification_version: 3
|
52
173
|
summary: Gem para geração de nota fiscal eletrônica
|
53
|
-
test_files:
|
174
|
+
test_files:
|
175
|
+
- spec/fixtures/nfe.xml
|
176
|
+
- spec/nfe/template/cobr_spec.rb
|
177
|
+
- spec/nfe/template/cofins_aliq_spec.rb
|
178
|
+
- spec/nfe/template/cofins_spec.rb
|
179
|
+
- spec/nfe/template/dest_spec.rb
|
180
|
+
- spec/nfe/template/det_spec.rb
|
181
|
+
- spec/nfe/template/dup_spec.rb
|
182
|
+
- spec/nfe/template/emit_spec.rb
|
183
|
+
- spec/nfe/template/ender_dest_spec.rb
|
184
|
+
- spec/nfe/template/ender_emit_spec.rb
|
185
|
+
- spec/nfe/template/fat_spec.rb
|
186
|
+
- spec/nfe/template/icms00_spec.rb
|
187
|
+
- spec/nfe/template/icms_spec.rb
|
188
|
+
- spec/nfe/template/icms_tot_spec.rb
|
189
|
+
- spec/nfe/template/ide_spec.rb
|
190
|
+
- spec/nfe/template/imposto_spec.rb
|
191
|
+
- spec/nfe/template/inf_adic_spec.rb
|
192
|
+
- spec/nfe/template/inf_nfe_spec.rb
|
193
|
+
- spec/nfe/template/ipi_spec.rb
|
194
|
+
- spec/nfe/template/ipint_spec.rb
|
195
|
+
- spec/nfe/template/obs_cont_spec.rb
|
196
|
+
- spec/nfe/template/pis_aliq_spec.rb
|
197
|
+
- spec/nfe/template/pis_spec.rb
|
198
|
+
- spec/nfe/template/prod_spec.rb
|
199
|
+
- spec/nfe/template/root_spec.rb
|
200
|
+
- spec/nfe/template/total_spec.rb
|
201
|
+
- spec/nfe/template/transp_spec.rb
|
202
|
+
- spec/nfe/template/transporta_spec.rb
|
203
|
+
- spec/nfe/template/vol_spec.rb
|
204
|
+
- spec/spec_helper.rb
|