respanol 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +50 -0
- data/.rspec +2 -0
- data/Gemfile +15 -0
- data/Gemfile.lock +95 -0
- data/Guardfile +122 -0
- data/README.md +21 -0
- data/lib/respanol/ano.rb +8 -0
- data/lib/respanol/examenes/ano_examen.rb +20 -0
- data/lib/respanol/examenes/conjugacion_examen.rb +20 -0
- data/lib/respanol/examenes/examen_base.rb +53 -0
- data/lib/respanol/examenes/fecha_examen.rb +22 -0
- data/lib/respanol/examenes/hora_examen.rb +25 -0
- data/lib/respanol/examenes/numero_examen.rb +38 -0
- data/lib/respanol/examenes/semana_examen.rb +20 -0
- data/lib/respanol/fecha.rb +12 -0
- data/lib/respanol/hora.rb +43 -0
- data/lib/respanol/impresion.rb +23 -0
- data/lib/respanol/numero.rb +102 -0
- data/lib/respanol/pronombre.rb +81 -0
- data/lib/respanol/semana.rb +14 -0
- data/lib/respanol/traducir.rb +32 -0
- data/lib/respanol/traductor.rb +15 -0
- data/lib/respanol/verbos/aprender.rb +7 -0
- data/lib/respanol/verbos/caminar.rb +7 -0
- data/lib/respanol/verbos/dormir.rb +7 -0
- data/lib/respanol/verbos/entender.rb +7 -0
- data/lib/respanol/verbos/hablar.rb +7 -0
- data/lib/respanol/verbos/hacer.rb +7 -0
- data/lib/respanol/verbos/jugar.rb +7 -0
- data/lib/respanol/verbos/leer.rb +7 -0
- data/lib/respanol/verbos/poder.rb +7 -0
- data/lib/respanol/verbos/ser.rb +7 -0
- data/lib/respanol/verbos/subir.rb +7 -0
- data/lib/respanol/verbos/tener.rb +7 -0
- data/lib/respanol/verbos/tocar.rb +7 -0
- data/lib/respanol/verbos/verbo_base.rb +7 -0
- data/lib/respanol/verbos/viajar.rb +7 -0
- data/lib/respanol/verbos/vivir.rb +7 -0
- data/lib/respanol/version.rb +3 -0
- data/lib/respanol.rb +11 -0
- data/respanol.gemspec +30 -0
- data/spec/respanol/fecha_spec.rb +7 -0
- data/spec/respanol/hora_spec.rb +28 -0
- data/spec/respanol/impresion_spec.rb +15 -0
- data/spec/respanol/numero_spec.rb +99 -0
- data/spec/respanol_spec.rb +0 -0
- data/spec/spec_helper.rb +110 -0
- metadata +181 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,110 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
SimpleCov.start
|
3
|
+
|
4
|
+
require 'respanol'
|
5
|
+
|
6
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
7
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
8
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
9
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
10
|
+
# files.
|
11
|
+
#
|
12
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
13
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
14
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
15
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
16
|
+
# a separate helper file that requires the additional dependencies and performs
|
17
|
+
# the additional setup, and require it from the spec files that actually need
|
18
|
+
# it.
|
19
|
+
#
|
20
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
21
|
+
# users commonly want.
|
22
|
+
#
|
23
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
24
|
+
RSpec.configure do |config|
|
25
|
+
# rspec-expectations config goes here. You can use an alternate
|
26
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
27
|
+
# assertions if you prefer.
|
28
|
+
config.expect_with :rspec do |expectations|
|
29
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
30
|
+
# and `failure_message` of custom matchers include text for helper methods
|
31
|
+
# defined using `chain`, e.g.:
|
32
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
33
|
+
# # => "be bigger than 2 and smaller than 4"
|
34
|
+
# ...rather than:
|
35
|
+
# # => "be bigger than 2"
|
36
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
37
|
+
end
|
38
|
+
|
39
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
40
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
41
|
+
config.mock_with :rspec do |mocks|
|
42
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
43
|
+
# a real object. This is generally recommended, and will default to
|
44
|
+
# `true` in RSpec 4.
|
45
|
+
mocks.verify_partial_doubles = true
|
46
|
+
end
|
47
|
+
|
48
|
+
# This option will default to `:apply_to_host_groups` in RSpec 4 (and will
|
49
|
+
# have no way to turn it off -- the option exists only for backwards
|
50
|
+
# compatibility in RSpec 3). It causes shared context metadata to be
|
51
|
+
# inherited by the metadata hash of host groups and examples, rather than
|
52
|
+
# triggering implicit auto-inclusion in groups with matching metadata.
|
53
|
+
config.shared_context_metadata_behavior = :apply_to_host_groups
|
54
|
+
|
55
|
+
config.disable_monkey_patching!
|
56
|
+
|
57
|
+
# The settings below are suggested to provide a good initial experience
|
58
|
+
# with RSpec, but feel free to customize to your heart's content.
|
59
|
+
=begin
|
60
|
+
# This allows you to limit a spec run to individual examples or groups
|
61
|
+
# you care about by tagging them with `:focus` metadata. When nothing
|
62
|
+
# is tagged with `:focus`, all examples get run. RSpec also provides
|
63
|
+
# aliases for `it`, `describe`, and `context` that include `:focus`
|
64
|
+
# metadata: `fit`, `fdescribe` and `fcontext`, respectively.
|
65
|
+
config.filter_run_when_matching :focus
|
66
|
+
|
67
|
+
# Allows RSpec to persist some state between runs in order to support
|
68
|
+
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
69
|
+
# you configure your source control system to ignore this file.
|
70
|
+
config.example_status_persistence_file_path = "spec/examples.txt"
|
71
|
+
|
72
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
73
|
+
# recommended. For more details, see:
|
74
|
+
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
75
|
+
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
76
|
+
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
77
|
+
config.disable_monkey_patching!
|
78
|
+
|
79
|
+
# This setting enables warnings. It's recommended, but in some cases may
|
80
|
+
# be too noisy due to issues in dependencies.
|
81
|
+
config.warnings = true
|
82
|
+
|
83
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
84
|
+
# file, and it's useful to allow more verbose output when running an
|
85
|
+
# individual spec file.
|
86
|
+
if config.files_to_run.one?
|
87
|
+
# Use the documentation formatter for detailed output,
|
88
|
+
# unless a formatter has already been configured
|
89
|
+
# (e.g. via a command-line flag).
|
90
|
+
config.default_formatter = 'doc'
|
91
|
+
end
|
92
|
+
|
93
|
+
# Print the 10 slowest examples and example groups at the
|
94
|
+
# end of the spec run, to help surface which specs are running
|
95
|
+
# particularly slow.
|
96
|
+
config.profile_examples = 10
|
97
|
+
|
98
|
+
# Run specs in random order to surface order dependencies. If you find an
|
99
|
+
# order dependency and want to debug it, you can fix the order by providing
|
100
|
+
# the seed, which is printed after each run.
|
101
|
+
# --seed 1234
|
102
|
+
config.order = :random
|
103
|
+
|
104
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
105
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
106
|
+
# test failures related to randomization by passing the same `--seed` value
|
107
|
+
# as the one that triggered the failure.
|
108
|
+
Kernel.srand config.seed
|
109
|
+
=end
|
110
|
+
end
|
metadata
ADDED
@@ -0,0 +1,181 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: respanol
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Drake Tran
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-04-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: glosbe
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: guard
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: guard-bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: guard-rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '4.7'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '4.7'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.5'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.5'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.14'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.14'
|
97
|
+
description: Makes learning Spanish fun and easy! With all the core and tests
|
98
|
+
email:
|
99
|
+
- tievdrake@gmail.com
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".gitignore"
|
105
|
+
- ".rspec"
|
106
|
+
- Gemfile
|
107
|
+
- Gemfile.lock
|
108
|
+
- Guardfile
|
109
|
+
- README.md
|
110
|
+
- lib/respanol.rb
|
111
|
+
- lib/respanol/ano.rb
|
112
|
+
- lib/respanol/examenes/ano_examen.rb
|
113
|
+
- lib/respanol/examenes/conjugacion_examen.rb
|
114
|
+
- lib/respanol/examenes/examen_base.rb
|
115
|
+
- lib/respanol/examenes/fecha_examen.rb
|
116
|
+
- lib/respanol/examenes/hora_examen.rb
|
117
|
+
- lib/respanol/examenes/numero_examen.rb
|
118
|
+
- lib/respanol/examenes/semana_examen.rb
|
119
|
+
- lib/respanol/fecha.rb
|
120
|
+
- lib/respanol/hora.rb
|
121
|
+
- lib/respanol/impresion.rb
|
122
|
+
- lib/respanol/numero.rb
|
123
|
+
- lib/respanol/pronombre.rb
|
124
|
+
- lib/respanol/semana.rb
|
125
|
+
- lib/respanol/traducir.rb
|
126
|
+
- lib/respanol/traductor.rb
|
127
|
+
- lib/respanol/verbos/aprender.rb
|
128
|
+
- lib/respanol/verbos/caminar.rb
|
129
|
+
- lib/respanol/verbos/dormir.rb
|
130
|
+
- lib/respanol/verbos/entender.rb
|
131
|
+
- lib/respanol/verbos/hablar.rb
|
132
|
+
- lib/respanol/verbos/hacer.rb
|
133
|
+
- lib/respanol/verbos/jugar.rb
|
134
|
+
- lib/respanol/verbos/leer.rb
|
135
|
+
- lib/respanol/verbos/poder.rb
|
136
|
+
- lib/respanol/verbos/ser.rb
|
137
|
+
- lib/respanol/verbos/subir.rb
|
138
|
+
- lib/respanol/verbos/tener.rb
|
139
|
+
- lib/respanol/verbos/tocar.rb
|
140
|
+
- lib/respanol/verbos/verbo_base.rb
|
141
|
+
- lib/respanol/verbos/viajar.rb
|
142
|
+
- lib/respanol/verbos/vivir.rb
|
143
|
+
- lib/respanol/version.rb
|
144
|
+
- respanol.gemspec
|
145
|
+
- spec/respanol/fecha_spec.rb
|
146
|
+
- spec/respanol/hora_spec.rb
|
147
|
+
- spec/respanol/impresion_spec.rb
|
148
|
+
- spec/respanol/numero_spec.rb
|
149
|
+
- spec/respanol_spec.rb
|
150
|
+
- spec/spec_helper.rb
|
151
|
+
homepage: https://github.com/tiev/respanol
|
152
|
+
licenses:
|
153
|
+
- MIT
|
154
|
+
metadata: {}
|
155
|
+
post_install_message:
|
156
|
+
rdoc_options: []
|
157
|
+
require_paths:
|
158
|
+
- lib
|
159
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
160
|
+
requirements:
|
161
|
+
- - ">="
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: 1.9.0
|
164
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '0'
|
169
|
+
requirements: []
|
170
|
+
rubyforge_project:
|
171
|
+
rubygems_version: 2.4.8
|
172
|
+
signing_key:
|
173
|
+
specification_version: 4
|
174
|
+
summary: Makes learning Spanish fun and easy!
|
175
|
+
test_files:
|
176
|
+
- spec/respanol/fecha_spec.rb
|
177
|
+
- spec/respanol/hora_spec.rb
|
178
|
+
- spec/respanol/impresion_spec.rb
|
179
|
+
- spec/respanol/numero_spec.rb
|
180
|
+
- spec/respanol_spec.rb
|
181
|
+
- spec/spec_helper.rb
|