codin_rep 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/codin_rep.rb +86 -0
- data/lib/codin_rep/add_employee.rb +47 -0
- data/lib/codin_rep/command.rb +113 -0
- data/lib/codin_rep/communication.rb +124 -0
- data/lib/codin_rep/del_employee.rb +38 -0
- data/lib/codin_rep/employee_command.rb +93 -0
- data/lib/codin_rep/get_afd_header.rb +53 -0
- data/lib/codin_rep/get_records.rb +156 -0
- data/lib/codin_rep/get_time.rb +57 -0
- data/lib/codin_rep/set_time.rb +61 -0
- data/lib/codin_rep/time_util.rb +51 -0
- data/lib/codin_rep/version.rb +23 -0
- data/test/coverage/assets/0.10.0/application.css +799 -0
- data/test/coverage/assets/0.10.0/application.js +1707 -0
- data/test/coverage/assets/0.10.0/colorbox/border.png +0 -0
- data/test/coverage/assets/0.10.0/colorbox/controls.png +0 -0
- data/test/coverage/assets/0.10.0/colorbox/loading.gif +0 -0
- data/test/coverage/assets/0.10.0/colorbox/loading_background.png +0 -0
- data/test/coverage/assets/0.10.0/favicon_green.png +0 -0
- data/test/coverage/assets/0.10.0/favicon_red.png +0 -0
- data/test/coverage/assets/0.10.0/favicon_yellow.png +0 -0
- data/test/coverage/assets/0.10.0/loading.gif +0 -0
- data/test/coverage/assets/0.10.0/magnify.png +0 -0
- data/test/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/test/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/test/coverage/assets/0.10.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/test/coverage/assets/0.10.0/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/test/coverage/assets/0.10.0/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/test/coverage/assets/0.10.0/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/test/coverage/assets/0.10.0/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/test/coverage/assets/0.10.0/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/test/coverage/index.html +6162 -0
- data/test/coverage/rcov/assets/0.2.3/jquery-1.3.2.min.js +19 -0
- data/test/coverage/rcov/assets/0.2.3/jquery.tablesorter.min.js +15 -0
- data/test/coverage/rcov/assets/0.2.3/print.css +12 -0
- data/test/coverage/rcov/assets/0.2.3/rcov.js +42 -0
- data/test/coverage/rcov/assets/0.2.3/screen.css +270 -0
- data/test/coverage/rcov/index.html +280 -0
- data/test/coverage/rcov/lib-codin_rep-add_employee_rb.html +200 -0
- data/test/coverage/rcov/lib-codin_rep-command_rb.html +398 -0
- data/test/coverage/rcov/lib-codin_rep-communication_rb.html +431 -0
- data/test/coverage/rcov/lib-codin_rep-del_employee_rb.html +173 -0
- data/test/coverage/rcov/lib-codin_rep-employee_command_rb.html +338 -0
- data/test/coverage/rcov/lib-codin_rep-get_afd_header_rb.html +218 -0
- data/test/coverage/rcov/lib-codin_rep-get_identification_rb.html +212 -0
- data/test/coverage/rcov/lib-codin_rep-get_records_rb.html +527 -0
- data/test/coverage/rcov/lib-codin_rep-get_time_rb.html +230 -0
- data/test/coverage/rcov/lib-codin_rep-set_employee_rb.html +248 -0
- data/test/coverage/rcov/lib-codin_rep-set_time_rb.html +242 -0
- data/test/coverage/rcov/lib-codin_rep-time_util_rb.html +212 -0
- data/test/coverage/rcov/lib-codin_rep-version_rb.html +128 -0
- data/test/coverage/rcov/lib-codin_rep_rb.html +317 -0
- data/test/mock_time_clock.rb +184 -0
- data/test/reports/TEST-GetTimeTest.xml +5 -0
- data/test/test_helper.rb +25 -0
- data/test/unit/add_employee_test.rb +43 -0
- data/test/unit/del_employee_test.rb +44 -0
- data/test/unit/get_employer_test.rb +48 -0
- data/test/unit/get_records_test.rb +45 -0
- data/test/unit/get_serial_number_test.rb +42 -0
- data/test/unit/get_time_test.rb +40 -0
- data/test/unit/set_time_test.rb +42 -0
- metadata +165 -0
@@ -0,0 +1,5 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="GetTimeTest" tests="1" time="0.000177329" failures="0" errors="0" skipped="0" assertions="1" timestamp="2016-12-13T17:27:20-02:00">
|
3
|
+
<testcase name="test_get_time" time="0.0016180970051209442" assertions="1">
|
4
|
+
</testcase>
|
5
|
+
</testsuite>
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# codin_rep - Gem para acesso de REPs da Telebyte
|
3
|
+
# Copyright (C) 2016 O.S. Systems Softwares Ltda.
|
4
|
+
|
5
|
+
# This program is free software: you can redistribute it and/or modify
|
6
|
+
# it under the terms of the GNU Affero General Public License as
|
7
|
+
# published by the Free Software Foundation, either version 3 of the
|
8
|
+
# License, or (at your option) any later version.
|
9
|
+
|
10
|
+
# This program is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
+
# GNU Affero General Public License for more details.
|
14
|
+
|
15
|
+
# You should have received a copy of the GNU Affero General Public License
|
16
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17
|
+
|
18
|
+
# Rua Clóvis Gularte Candiota 132, Pelotas-RS, Brasil.
|
19
|
+
# e-mail: contato@ossystems.com.br
|
20
|
+
|
21
|
+
$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
|
22
|
+
|
23
|
+
require 'rubygems'
|
24
|
+
require "minitest/autorun"
|
25
|
+
require 'mock_time_clock'
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# codin_rep - Gem para acesso de REPs da Telebyte
|
3
|
+
# Copyright (C) 2016 O.S. Systems Softwares Ltda.
|
4
|
+
|
5
|
+
# This program is free software: you can redistribute it and/or modify
|
6
|
+
# it under the terms of the GNU Affero General Public License as
|
7
|
+
# published by the Free Software Foundation, either version 3 of the
|
8
|
+
# License, or (at your option) any later version.
|
9
|
+
|
10
|
+
# This program is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
+
# GNU Affero General Public License for more details.
|
14
|
+
|
15
|
+
# You should have received a copy of the GNU Affero General Public License
|
16
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17
|
+
|
18
|
+
# Rua Clóvis Gularte Candiota 132, Pelotas-RS, Brasil.
|
19
|
+
# e-mail: contato@ossystems.com.br
|
20
|
+
|
21
|
+
require File.dirname(__FILE__) + '/../test_helper'
|
22
|
+
|
23
|
+
class AddEmployeeTest < Minitest::Test
|
24
|
+
def setup
|
25
|
+
@mock_time_clock = MockTimeClock.new
|
26
|
+
@mock_time_clock.start
|
27
|
+
end
|
28
|
+
|
29
|
+
def teardown
|
30
|
+
@mock_time_clock.stop
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_add_employee
|
34
|
+
@mock_time_clock.data.employees = []
|
35
|
+
@mock_time_clock.set_employee(:add, "987654321098", "123456789012", "Lucas")
|
36
|
+
expected = [{
|
37
|
+
:name => "Lucas",
|
38
|
+
:pis => "123456789012",
|
39
|
+
:registration => "987654321098"
|
40
|
+
}]
|
41
|
+
assert_equal expected, @mock_time_clock.data.employees
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# codin_rep - Gem para acesso de REPs da Telebyte
|
3
|
+
# Copyright (C) 2016 O.S. Systems Softwares Ltda.
|
4
|
+
|
5
|
+
# This program is free software: you can redistribute it and/or modify
|
6
|
+
# it under the terms of the GNU Affero General Public License as
|
7
|
+
# published by the Free Software Foundation, either version 3 of the
|
8
|
+
# License, or (at your option) any later version.
|
9
|
+
|
10
|
+
# This program is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
+
# GNU Affero General Public License for more details.
|
14
|
+
|
15
|
+
# You should have received a copy of the GNU Affero General Public License
|
16
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17
|
+
|
18
|
+
# Rua Clóvis Gularte Candiota 132, Pelotas-RS, Brasil.
|
19
|
+
# e-mail: contato@ossystems.com.br
|
20
|
+
|
21
|
+
require File.dirname(__FILE__) + '/../test_helper'
|
22
|
+
|
23
|
+
class DelEmployeeTest < Minitest::Test
|
24
|
+
def setup
|
25
|
+
@mock_time_clock = MockTimeClock.new
|
26
|
+
@mock_time_clock.start
|
27
|
+
end
|
28
|
+
|
29
|
+
def teardown
|
30
|
+
@mock_time_clock.stop
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_remove_employee
|
34
|
+
@mock_time_clock.data.employees = [
|
35
|
+
{
|
36
|
+
:name => "Lucas",
|
37
|
+
:pis => "123456789012",
|
38
|
+
:registration => "987654321098"
|
39
|
+
}
|
40
|
+
]
|
41
|
+
@mock_time_clock.set_employee(:remove, "987654321098", "123456789012", "Lucas")
|
42
|
+
assert_equal [], @mock_time_clock.data.employees
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# codin_rep - Gem para acesso de REPs da Telebyte
|
3
|
+
# Copyright (C) 2016 O.S. Systems Softwares Ltda.
|
4
|
+
|
5
|
+
# This program is free software: you can redistribute it and/or modify
|
6
|
+
# it under the terms of the GNU Affero General Public License as
|
7
|
+
# published by the Free Software Foundation, either version 3 of the
|
8
|
+
# License, or (at your option) any later version.
|
9
|
+
|
10
|
+
# This program is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
+
# GNU Affero General Public License for more details.
|
14
|
+
|
15
|
+
# You should have received a copy of the GNU Affero General Public License
|
16
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17
|
+
|
18
|
+
# Rua Clóvis Gularte Candiota 132, Pelotas-RS, Brasil.
|
19
|
+
# e-mail: contato@ossystems.com.br
|
20
|
+
|
21
|
+
require File.dirname(__FILE__) + '/../test_helper'
|
22
|
+
|
23
|
+
class GetEmployerTest < Minitest::Test
|
24
|
+
def setup
|
25
|
+
@mock_time_clock = MockTimeClock.new
|
26
|
+
@mock_time_clock.start
|
27
|
+
end
|
28
|
+
|
29
|
+
def teardown
|
30
|
+
@mock_time_clock.stop
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_get_employer
|
34
|
+
# The REP doesn't have a millisecond resolution, so round it to the closest
|
35
|
+
# second.
|
36
|
+
time = Time.now.round
|
37
|
+
afd = AfdParser.new(true)
|
38
|
+
afd.parse_line "0000000001108682040000172000000000000O.S. SYSTEMS SOFTWARE LTDA. 123456789012345670101000101010001191220160957", 0
|
39
|
+
@mock_time_clock.data.afd = afd
|
40
|
+
expected = {
|
41
|
+
document_type: :cnpj,
|
42
|
+
document_number: 8682040000172,
|
43
|
+
cei_document: 0,
|
44
|
+
company_name: 'O.S. SYSTEMS SOFTWARE LTDA.'
|
45
|
+
}
|
46
|
+
assert_equal expected, @mock_time_clock.get_employer
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# codin_rep - Gem para acesso de REPs da Telebyte
|
3
|
+
# Copyright (C) 2016 O.S. Systems Softwares Ltda.
|
4
|
+
|
5
|
+
# This program is free software: you can redistribute it and/or modify
|
6
|
+
# it under the terms of the GNU Affero General Public License as
|
7
|
+
# published by the Free Software Foundation, either version 3 of the
|
8
|
+
# License, or (at your option) any later version.
|
9
|
+
|
10
|
+
# This program is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
+
# GNU Affero General Public License for more details.
|
14
|
+
|
15
|
+
# You should have received a copy of the GNU Affero General Public License
|
16
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17
|
+
|
18
|
+
# Rua Clóvis Gularte Candiota 132, Pelotas-RS, Brasil.
|
19
|
+
# e-mail: contato@ossystems.com.br
|
20
|
+
|
21
|
+
require File.dirname(__FILE__) + '/../test_helper'
|
22
|
+
|
23
|
+
class GetRecordsTest < Minitest::Test
|
24
|
+
def setup
|
25
|
+
@mock_time_clock = MockTimeClock.new
|
26
|
+
@mock_time_clock.start
|
27
|
+
end
|
28
|
+
|
29
|
+
def teardown
|
30
|
+
@mock_time_clock.stop
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_get_records
|
34
|
+
# The REP doesn't have a millisecond resolution, so round it to the closest
|
35
|
+
# second.
|
36
|
+
afd = AfdParser.new(true)
|
37
|
+
afd.parse_line "0000000001108682040000172000000000000O.S. SYSTEMS SOFTWARE LTDA. 123456789012345670101000101010001191220160957", 0
|
38
|
+
afd.parse_line "0000000015010920151916I100000000070Lucas \r\n", 1
|
39
|
+
afd.parse_line "0000000023010920151921123456789012\r\n", 2
|
40
|
+
afd.parse_line "0000000035011220161016I000000000009TESTE 9 \r\n", 3
|
41
|
+
afd.parse_line "0000000042081220161537194132024000148000000000000FREEDOM VEIC ELETR LTDA COMPLEXO 1 \r\n", 4
|
42
|
+
@mock_time_clock.data.afd = afd
|
43
|
+
assert_equal afd, @mock_time_clock.get_records
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# codin_rep - Gem para acesso de REPs da Telebyte
|
3
|
+
# Copyright (C) 2016 O.S. Systems Softwares Ltda.
|
4
|
+
|
5
|
+
# This program is free software: you can redistribute it and/or modify
|
6
|
+
# it under the terms of the GNU Affero General Public License as
|
7
|
+
# published by the Free Software Foundation, either version 3 of the
|
8
|
+
# License, or (at your option) any later version.
|
9
|
+
|
10
|
+
# This program is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
+
# GNU Affero General Public License for more details.
|
14
|
+
|
15
|
+
# You should have received a copy of the GNU Affero General Public License
|
16
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17
|
+
|
18
|
+
# Rua Clóvis Gularte Candiota 132, Pelotas-RS, Brasil.
|
19
|
+
# e-mail: contato@ossystems.com.br
|
20
|
+
|
21
|
+
require File.dirname(__FILE__) + '/../test_helper'
|
22
|
+
|
23
|
+
class GetSerialNumberTest < Minitest::Test
|
24
|
+
def setup
|
25
|
+
@mock_time_clock = MockTimeClock.new
|
26
|
+
@mock_time_clock.start
|
27
|
+
end
|
28
|
+
|
29
|
+
def teardown
|
30
|
+
@mock_time_clock.stop
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_get_serial_number
|
34
|
+
# The REP doesn't have a millisecond resolution, so round it to the closest
|
35
|
+
# second.
|
36
|
+
time = Time.now.round
|
37
|
+
afd = AfdParser.new(true)
|
38
|
+
afd.parse_line "0000000001108682040000172000000000000O.S. SYSTEMS SOFTWARE LTDA. 123456789012345670101000101010001191220160957", 0
|
39
|
+
@mock_time_clock.data.afd = afd
|
40
|
+
assert_equal "12345678901234567", @mock_time_clock.get_serial_number
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# codin_rep - Gem para acesso de REPs da Telebyte
|
3
|
+
# Copyright (C) 2016 O.S. Systems Softwares Ltda.
|
4
|
+
|
5
|
+
# This program is free software: you can redistribute it and/or modify
|
6
|
+
# it under the terms of the GNU Affero General Public License as
|
7
|
+
# published by the Free Software Foundation, either version 3 of the
|
8
|
+
# License, or (at your option) any later version.
|
9
|
+
|
10
|
+
# This program is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
+
# GNU Affero General Public License for more details.
|
14
|
+
|
15
|
+
# You should have received a copy of the GNU Affero General Public License
|
16
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17
|
+
|
18
|
+
# Rua Clóvis Gularte Candiota 132, Pelotas-RS, Brasil.
|
19
|
+
# e-mail: contato@ossystems.com.br
|
20
|
+
|
21
|
+
require File.dirname(__FILE__) + '/../test_helper'
|
22
|
+
|
23
|
+
class GetTimeTest < Minitest::Test
|
24
|
+
def setup
|
25
|
+
@mock_time_clock = MockTimeClock.new
|
26
|
+
@mock_time_clock.start
|
27
|
+
end
|
28
|
+
|
29
|
+
def teardown
|
30
|
+
@mock_time_clock.stop
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_get_time
|
34
|
+
# The REP doesn't have a millisecond resolution, so round it to the closest
|
35
|
+
# second.
|
36
|
+
time = Time.now.round
|
37
|
+
@mock_time_clock.data.time = time
|
38
|
+
assert_equal time, @mock_time_clock.get_time
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# codin_rep - Gem para acesso de REPs da Telebyte
|
3
|
+
# Copyright (C) 2016 O.S. Systems Softwares Ltda.
|
4
|
+
|
5
|
+
# This program is free software: you can redistribute it and/or modify
|
6
|
+
# it under the terms of the GNU Affero General Public License as
|
7
|
+
# published by the Free Software Foundation, either version 3 of the
|
8
|
+
# License, or (at your option) any later version.
|
9
|
+
|
10
|
+
# This program is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
+
# GNU Affero General Public License for more details.
|
14
|
+
|
15
|
+
# You should have received a copy of the GNU Affero General Public License
|
16
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17
|
+
|
18
|
+
# Rua Clóvis Gularte Candiota 132, Pelotas-RS, Brasil.
|
19
|
+
# e-mail: contato@ossystems.com.br
|
20
|
+
|
21
|
+
require File.dirname(__FILE__) + '/../test_helper'
|
22
|
+
|
23
|
+
class SetTimeTest < Minitest::Test
|
24
|
+
def setup
|
25
|
+
@mock_time_clock = MockTimeClock.new
|
26
|
+
@mock_time_clock.start
|
27
|
+
end
|
28
|
+
|
29
|
+
def teardown
|
30
|
+
@mock_time_clock.stop
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_set_time
|
34
|
+
time = Time.new(2016,12,14,10,28,10)
|
35
|
+
@mock_time_clock.data.time = time
|
36
|
+
# The REP doesn't have a millisecond resolution, so round it to the closest
|
37
|
+
# second.
|
38
|
+
new_time = Time.now.round
|
39
|
+
@mock_time_clock.set_time(new_time)
|
40
|
+
assert_equal @mock_time_clock.data.time, new_time
|
41
|
+
end
|
42
|
+
end
|
metadata
ADDED
@@ -0,0 +1,165 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: codin_rep
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- O.S. Systems Softwares Ltda.
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-01-19 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Use this gem to manage several features of the Telebyte eletronic timeclocks,
|
14
|
+
like report creation, user management, configuration etc.
|
15
|
+
email: contato@ossystems.com.br
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- lib/codin_rep.rb
|
21
|
+
- lib/codin_rep/add_employee.rb
|
22
|
+
- lib/codin_rep/command.rb
|
23
|
+
- lib/codin_rep/communication.rb
|
24
|
+
- lib/codin_rep/del_employee.rb
|
25
|
+
- lib/codin_rep/employee_command.rb
|
26
|
+
- lib/codin_rep/get_afd_header.rb
|
27
|
+
- lib/codin_rep/get_records.rb
|
28
|
+
- lib/codin_rep/get_time.rb
|
29
|
+
- lib/codin_rep/set_time.rb
|
30
|
+
- lib/codin_rep/time_util.rb
|
31
|
+
- lib/codin_rep/version.rb
|
32
|
+
- test/coverage/assets/0.10.0/application.css
|
33
|
+
- test/coverage/assets/0.10.0/application.js
|
34
|
+
- test/coverage/assets/0.10.0/colorbox/border.png
|
35
|
+
- test/coverage/assets/0.10.0/colorbox/controls.png
|
36
|
+
- test/coverage/assets/0.10.0/colorbox/loading.gif
|
37
|
+
- test/coverage/assets/0.10.0/colorbox/loading_background.png
|
38
|
+
- test/coverage/assets/0.10.0/favicon_green.png
|
39
|
+
- test/coverage/assets/0.10.0/favicon_red.png
|
40
|
+
- test/coverage/assets/0.10.0/favicon_yellow.png
|
41
|
+
- test/coverage/assets/0.10.0/loading.gif
|
42
|
+
- test/coverage/assets/0.10.0/magnify.png
|
43
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
44
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
45
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
46
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
47
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
48
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
49
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
50
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
51
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-icons_222222_256x240.png
|
52
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-icons_2e83ff_256x240.png
|
53
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-icons_454545_256x240.png
|
54
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-icons_888888_256x240.png
|
55
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-icons_cd0a0a_256x240.png
|
56
|
+
- test/coverage/index.html
|
57
|
+
- test/coverage/rcov/assets/0.2.3/jquery-1.3.2.min.js
|
58
|
+
- test/coverage/rcov/assets/0.2.3/jquery.tablesorter.min.js
|
59
|
+
- test/coverage/rcov/assets/0.2.3/print.css
|
60
|
+
- test/coverage/rcov/assets/0.2.3/rcov.js
|
61
|
+
- test/coverage/rcov/assets/0.2.3/screen.css
|
62
|
+
- test/coverage/rcov/index.html
|
63
|
+
- test/coverage/rcov/lib-codin_rep-add_employee_rb.html
|
64
|
+
- test/coverage/rcov/lib-codin_rep-command_rb.html
|
65
|
+
- test/coverage/rcov/lib-codin_rep-communication_rb.html
|
66
|
+
- test/coverage/rcov/lib-codin_rep-del_employee_rb.html
|
67
|
+
- test/coverage/rcov/lib-codin_rep-employee_command_rb.html
|
68
|
+
- test/coverage/rcov/lib-codin_rep-get_afd_header_rb.html
|
69
|
+
- test/coverage/rcov/lib-codin_rep-get_identification_rb.html
|
70
|
+
- test/coverage/rcov/lib-codin_rep-get_records_rb.html
|
71
|
+
- test/coverage/rcov/lib-codin_rep-get_time_rb.html
|
72
|
+
- test/coverage/rcov/lib-codin_rep-set_employee_rb.html
|
73
|
+
- test/coverage/rcov/lib-codin_rep-set_time_rb.html
|
74
|
+
- test/coverage/rcov/lib-codin_rep-time_util_rb.html
|
75
|
+
- test/coverage/rcov/lib-codin_rep-version_rb.html
|
76
|
+
- test/coverage/rcov/lib-codin_rep_rb.html
|
77
|
+
- test/mock_time_clock.rb
|
78
|
+
- test/reports/TEST-GetTimeTest.xml
|
79
|
+
- test/test_helper.rb
|
80
|
+
- test/unit/add_employee_test.rb
|
81
|
+
- test/unit/del_employee_test.rb
|
82
|
+
- test/unit/get_employer_test.rb
|
83
|
+
- test/unit/get_records_test.rb
|
84
|
+
- test/unit/get_serial_number_test.rb
|
85
|
+
- test/unit/get_time_test.rb
|
86
|
+
- test/unit/set_time_test.rb
|
87
|
+
homepage: http://www.ossystems.com.br/
|
88
|
+
licenses: []
|
89
|
+
metadata: {}
|
90
|
+
post_install_message:
|
91
|
+
rdoc_options: []
|
92
|
+
require_paths:
|
93
|
+
- lib
|
94
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
requirements: []
|
105
|
+
rubyforge_project:
|
106
|
+
rubygems_version: 2.4.8
|
107
|
+
signing_key:
|
108
|
+
specification_version: 4
|
109
|
+
summary: Gem to manage Telebyte eletronic timeclocks
|
110
|
+
test_files:
|
111
|
+
- test/reports/TEST-GetTimeTest.xml
|
112
|
+
- test/coverage/index.html
|
113
|
+
- test/coverage/assets/0.10.0/magnify.png
|
114
|
+
- test/coverage/assets/0.10.0/application.css
|
115
|
+
- test/coverage/assets/0.10.0/application.js
|
116
|
+
- test/coverage/assets/0.10.0/favicon_green.png
|
117
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
118
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
119
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
120
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
121
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-icons_222222_256x240.png
|
122
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-icons_454545_256x240.png
|
123
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-icons_2e83ff_256x240.png
|
124
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-icons_cd0a0a_256x240.png
|
125
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
126
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-icons_888888_256x240.png
|
127
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
128
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
129
|
+
- test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
130
|
+
- test/coverage/assets/0.10.0/favicon_yellow.png
|
131
|
+
- test/coverage/assets/0.10.0/colorbox/controls.png
|
132
|
+
- test/coverage/assets/0.10.0/colorbox/loading_background.png
|
133
|
+
- test/coverage/assets/0.10.0/colorbox/border.png
|
134
|
+
- test/coverage/assets/0.10.0/colorbox/loading.gif
|
135
|
+
- test/coverage/assets/0.10.0/loading.gif
|
136
|
+
- test/coverage/assets/0.10.0/favicon_red.png
|
137
|
+
- test/coverage/rcov/lib-codin_rep-communication_rb.html
|
138
|
+
- test/coverage/rcov/index.html
|
139
|
+
- test/coverage/rcov/lib-codin_rep_rb.html
|
140
|
+
- test/coverage/rcov/lib-codin_rep-set_employee_rb.html
|
141
|
+
- test/coverage/rcov/lib-codin_rep-add_employee_rb.html
|
142
|
+
- test/coverage/rcov/lib-codin_rep-get_time_rb.html
|
143
|
+
- test/coverage/rcov/lib-codin_rep-set_time_rb.html
|
144
|
+
- test/coverage/rcov/assets/0.2.3/screen.css
|
145
|
+
- test/coverage/rcov/assets/0.2.3/jquery-1.3.2.min.js
|
146
|
+
- test/coverage/rcov/assets/0.2.3/jquery.tablesorter.min.js
|
147
|
+
- test/coverage/rcov/assets/0.2.3/print.css
|
148
|
+
- test/coverage/rcov/assets/0.2.3/rcov.js
|
149
|
+
- test/coverage/rcov/lib-codin_rep-employee_command_rb.html
|
150
|
+
- test/coverage/rcov/lib-codin_rep-time_util_rb.html
|
151
|
+
- test/coverage/rcov/lib-codin_rep-get_records_rb.html
|
152
|
+
- test/coverage/rcov/lib-codin_rep-version_rb.html
|
153
|
+
- test/coverage/rcov/lib-codin_rep-get_afd_header_rb.html
|
154
|
+
- test/coverage/rcov/lib-codin_rep-command_rb.html
|
155
|
+
- test/coverage/rcov/lib-codin_rep-get_identification_rb.html
|
156
|
+
- test/coverage/rcov/lib-codin_rep-del_employee_rb.html
|
157
|
+
- test/test_helper.rb
|
158
|
+
- test/mock_time_clock.rb
|
159
|
+
- test/unit/add_employee_test.rb
|
160
|
+
- test/unit/get_employer_test.rb
|
161
|
+
- test/unit/set_time_test.rb
|
162
|
+
- test/unit/get_serial_number_test.rb
|
163
|
+
- test/unit/get_time_test.rb
|
164
|
+
- test/unit/del_employee_test.rb
|
165
|
+
- test/unit/get_records_test.rb
|