questiongenerator 0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 41d61d976534cc4eecad47da3478fd1bff9a786f
4
- data.tar.gz: bfc90e54cd448085dacf19e505798d0bff013a34
2
+ SHA256:
3
+ metadata.gz: e1e2d199193a1473caaace799faf1d0128123694e57fc4f6960dcfe440781901
4
+ data.tar.gz: 2adad2960babd375248131b4aedf5caabf1d6187e09e0110355980acd479f9b1
5
5
  SHA512:
6
- metadata.gz: de58d92b739865038ef2e51c7df558b7eea7d4999db4e524e89824c2ceef6e3227c22cba125d1af1119337395d1bf3e27dd619ffe85dd6fd469b48a9daf9dd04
7
- data.tar.gz: 3f3628c3fca34c2be268e1a7befb6fa9349efcb620396503472cb87b28b49263cb8eafa5dc74dca1fdf6494127a8075bf07a18bd963f477210f2671ee232eb96
6
+ metadata.gz: a92ff8f5e93261b7d0b47b638fa4e790ca4ebd94106272f88fe11ac9e2c7374ebe617dd8d2b6d20f55554205232952bd42b38c32de0d068c1b0f2af85ddeea8d
7
+ data.tar.gz: ce7c8ae44c2008a149e7f00b6f246314310b1676e91fe5f7d043a542da858c9417990c5c677da163472b54c0895738c57dc3c87050b917d4a9363525de1878bb
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ cache: bundler
3
+ rvm: 2.1
4
+ script: bundle exec rspec
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  gemspec
data/LICENSE.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  questiongenerator
2
- Copyright (c) 2014 nilsding
2
+ Copyright (c) 2014-2021 nilsding
3
3
 
4
4
  MIT License
5
5
 
data/README.md CHANGED
@@ -10,7 +10,7 @@ Add this line to your application's Gemfile:
10
10
 
11
11
  If you're feeling _edgy_, you can add this line instead:
12
12
 
13
- gem 'questiongenerator', git: 'https://github.com/retrospring/questiongenerator.git'
13
+ gem 'questiongenerator', git: 'https://github.com/nilsding/questiongenerator.git'
14
14
 
15
15
  ## Usage
16
16
 
@@ -31,12 +31,68 @@ puts QuestionGenerator.generate
31
31
  # You can also specify the locale, if you want to
32
32
  puts QuestionGenerator.generate locale: :de
33
33
  # => "Was war das letzte, das du gegessen hast?"
34
+
35
+ # You can also specify an own prefix or suffix:
36
+ puts QuestionGenerator.generate locale: :fr, prefix: '[FR] ', suffix: ' ?'
37
+ # => "[FR] Quelle est la personne la plus célèbre que vous avez rencontrée ?"
38
+ ```
39
+
40
+ ## How it works
41
+
42
+ The question generator uses a simple branching structure inside the specified locale to generate questions from it, here is a quick example:
43
+
44
+ ```yml
45
+ Can:
46
+ you:
47
+ - swim
48
+ - speak:
49
+ - different:
50
+ - languages
51
+ - play:
52
+ - any:
53
+ - sports
54
+ - the:
55
+ - piano
56
+ - guitar
57
+ - trumpet
58
+ - baseball
59
+ - ski
60
+ - cook
61
+ - dance
62
+
63
+ # The following example outputs:
64
+ # Can you swim?
65
+ # Can you speak different languages?
66
+ # Can you play any sports?
67
+ # Can you play the piano?
68
+ # ...guitar?
69
+ # ...trumpet?
70
+ # Can you play baseball?
71
+ # Can you ski?
72
+ # Can you cook?
73
+ # Can you dance?
74
+ ```
75
+
76
+ If you can't break sentences in parts in your language, you can also specify the entire question in one line.
77
+ ```yml
78
+ - Can you swim
79
+
80
+ # The following example outputs:
81
+ # Can you swim?
34
82
  ```
35
83
 
36
84
  ## Contributing
37
85
 
38
- 1. Fork it ( https://github.com/retrospring/questiongenerator/fork )
86
+ The files for questions are located in `lib/questions/`
87
+
88
+ If you want to add a new language, create a new file and name it with the [ISO-639-1 language code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) of it (just like `en.yml`)
89
+
90
+ 1. Fork it ( https://github.com/nilsding/questiongenerator/fork )
39
91
  2. Create your feature branch (`git checkout -b my-new-feature`)
40
92
  3. Commit your changes (`git commit -am 'Add some feature'`)
41
93
  4. Push to the branch (`git push origin my-new-feature`)
42
94
  5. Create a new Pull Request
95
+
96
+ Please don't add harassing, scaring or upsetting content to the questions or content that otherwise violates the [Retrospring Terms of Service](https://retrospring.net/terms).
97
+
98
+ If you add questions in another language to the questiongenerator and purposely add wrong translations, further Pull Requests will be ignored.
@@ -1,9 +1,11 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'yaml'
2
4
 
3
5
  # Generates some questions.
4
6
  module QuestionGenerator
5
7
  # Version of QuestionGenerator
6
- VERSION = "0.1.0"
8
+ VERSION = "1.0.0"
7
9
 
8
10
  class << self
9
11
  # The base path to the questions (e.g. +'/home/nilsding/questions'+).
@@ -0,0 +1,80 @@
1
+ Was:
2
+ - machst du:
3
+ - am liebsten:
4
+ - mit deinen Freunden
5
+ - an einem freien Tag
6
+ - an einem gewöhnlichen Samstagabend
7
+ - in deinem nächsten Urlaub
8
+ - "machst du, wenn":
9
+ - du:
10
+ - dich entspannen willst
11
+ - nicht einschlafen kannst
12
+ - etwas Furchtbares passiert ist
13
+
14
+ - war:
15
+ - das:
16
+ - letzte,:
17
+ - das:
18
+ - du:
19
+ - gegessen hast
20
+ - gemacht hast
21
+ - würdest:
22
+ - du:
23
+ - tun,:
24
+ - wenn:
25
+ - du:
26
+ - nur noch einen Monat zu leben hättest
27
+ - im Lotto gewinnen würdest
28
+ - dich zwischen Reichtum in Einsamkeit oder Armut in Gesellschaft entscheiden müsstest
29
+ - deine Eltern dir sagen würden, dass du adoptiert bist
30
+ - jemand bei dir einbrechen würde, während du im Haus bist
31
+ - es:
32
+ - Drachen gäbe
33
+ - Weltuntergang wäre
34
+ - Geld regnen würde
35
+ - trinkst:
36
+ - du:
37
+ - gerne
38
+ - gerade
39
+ - hast:
40
+ - du:
41
+ - zuletzt:
42
+ - gegessen # REDUNDANZ FTW
43
+ - getrunken
44
+ - gekocht
45
+ - im Radio gehört
46
+ Glaubst:
47
+ - du an:
48
+ - Gott
49
+ - Jesus
50
+ - das fliegende Spaghettimonster
51
+ - dich
52
+
53
+ Möchtest:
54
+ - du:
55
+ - einmal:
56
+ - eine Weltreise machen
57
+ - berühmt werden
58
+ - ein Haus besitzen
59
+ - ein Kind kriegen
60
+ Fährst:
61
+ - du:
62
+ - häufig:
63
+ - Fahrrad
64
+ - Auto
65
+ - mit dem Bus
66
+ - mit der Bahn
67
+ - weg
68
+ - aus der Haut
69
+ - mit dem Schiff
70
+ Magst:
71
+ - du:
72
+ - Meeresfrüchte
73
+ - Hunde
74
+ - Kakadus
75
+ - das Flugzeugfliegen
76
+ - Reisen
77
+ - neue Bekanntschaften
78
+ - das Meer
79
+ - die italienische Küche
80
+ - die asiatische Küche
data/lib/questions/en.yml CHANGED
@@ -61,12 +61,17 @@ Do:
61
61
  What:
62
62
  - was:
63
63
  the:
64
+ best:
65
+ - day of your life like
64
66
  last:
67
+ song:
68
+ - you listened on repeat
65
69
  thing:
66
70
  you:
67
71
  have:
68
- - eaten
72
+ - bought
69
73
  - done
74
+ - eaten
70
75
  your:
71
76
  favourite:
72
77
  song:
@@ -90,25 +95,29 @@ What:
90
95
  you:
91
96
  do:
92
97
  - for fun
93
- - on:
98
+ - 'on':
94
99
  - the:
95
100
  - weekend
96
101
  like:
97
- more:
102
+ more,:
98
103
  - dogs or cats
99
104
  - shower or bath
100
105
  - tea or coffee
101
106
  think:
102
107
  about:
103
108
  - the:
104
- - internet
109
+ - Internet
105
110
  - Bad Dragon
106
111
  - dragons
107
112
  - '"fact" accounts'
108
113
  - society
109
114
  - cats
110
115
  - surveillance
111
- - feminists
116
+ - coyotes
117
+ - raccoons
118
+ - foxes
119
+ - dogs
120
+ - lizards
112
121
  - activity: &activity
113
122
  do:
114
123
  you:
@@ -136,22 +145,25 @@ What:
136
145
  - sports team
137
146
  - activity
138
147
  - beverage
139
- - internet browser
148
+ - Internet browser
140
149
  - piece of music
141
150
  - console
142
- - retrospring developer
143
- - retrospring moderator
144
151
  - snack
145
152
  - food
153
+ - animal
146
154
  - programming language:
147
155
  - ''
148
156
  - and why is it:
149
157
  - PHP
150
- website:
158
+ - Rust
159
+ - C++
160
+ - Lisp
161
+ - Pascal
162
+ - Swift
163
+ - Ruby
164
+ - website:
151
165
  - ''
152
166
  - and why is it:
153
- - 4chan
154
- - 9gag
155
167
  - Reddit
156
168
  - Twitter
157
169
  - Facebook
@@ -161,7 +173,7 @@ What:
161
173
  thing:
162
174
  - about:
163
175
  the:
164
- - internet
176
+ - Internet
165
177
  your:
166
178
  - favourite:
167
179
  - series
@@ -192,6 +204,8 @@ What:
192
204
  - "you've eaten so far"
193
205
  worst: *was_the_best
194
206
  - languages do you know
207
+ - apps do you use daily
208
+ - 'is heavier: a kilogram of steel, or a kilogram of feathers'
195
209
  Can:
196
210
  you:
197
211
  - swim
@@ -209,6 +223,8 @@ Can:
209
223
  - ski
210
224
  - cook
211
225
  - dance
226
+ - yodel
227
+ - draw
212
228
  Are:
213
229
  you:
214
230
  - religious
@@ -216,7 +232,7 @@ Have:
216
232
  you:
217
233
  ever:
218
234
  - been:
219
- - in:
235
+ - to:
220
236
  - Austria
221
237
  - Germany
222
238
  - Japan
@@ -243,6 +259,7 @@ Have:
243
259
  - "from the 80's"
244
260
  - dubstep
245
261
  - nightcore
262
+ - metal
246
263
  - had:
247
264
  - an:
248
265
  - accident
@@ -258,10 +275,14 @@ How:
258
275
  old:
259
276
  are:
260
277
  - you
278
+ many:
279
+ - open tabs do you currently have
280
+ - followers is too many
261
281
  Where:
262
282
  do:
263
283
  you:
264
284
  - work
285
+ - live
265
286
  Which:
266
287
  food:
267
288
  do:
@@ -272,6 +293,16 @@ Who:
272
293
  is:
273
294
  the:
274
295
  - most famous person you have met
296
+ your:
297
+ - favourite:
298
+ - Retrospring user
299
+ - actor
300
+ - artist
301
+ - comedian
302
+ - musician
303
+ Why:
304
+ do:
305
+ - they call it oven when you of in the cold food of out hot eat the food
275
306
  Would:
276
307
  you:
277
308
  rather:
@@ -0,0 +1,161 @@
1
+ Que:
2
+ - "feriez-vous":
3
+ - si:
4
+ - vous:
5
+ - pouviez:
6
+ - voler
7
+ - "changer votre apparence pendant une journée"
8
+ - "devenir le Président de la République"
9
+ - aviez:
10
+ - "un million d'euros"
11
+ - "faites-vous":
12
+ - "le week-end"
13
+ - pour vous amuser
14
+ - "quand vous êtes en vacances"
15
+ - "pensez-vous":
16
+ - de:
17
+ - "l'internet"
18
+ - Bad Dragon
19
+ - la:
20
+ - "société"
21
+ - loi renseignement
22
+ - pornographie
23
+ - vie:
24
+ - en:
25
+ - France
26
+ - 2015
27
+ - aux:
28
+ - "États-Unis"
29
+ - des:
30
+ - dragons
31
+ - féministes
32
+ - chats
33
+ - "préférez-vous":
34
+ - entre:
35
+ - "le thé et le café"
36
+ - les chiens et les chats
37
+ - le bain et la douche
38
+
39
+ Quel:
40
+ - est:
41
+ - votre:
42
+ - premier souvenir
43
+ - "jeu vidéo préféré"
44
+ - "jeu de table préféré"
45
+ - "navigateur préféré"
46
+ - "plat préféré"
47
+ - "langage de programmation préféré":
48
+ - ''
49
+ - "et pourquoi est-ce":
50
+ - PHP
51
+ - "site préféré":
52
+ - ''
53
+ - "et pourquoi est-ce":
54
+ - 4chan
55
+ - 9gag
56
+ - Reddit
57
+ - Twitter
58
+ - Facebook
59
+ - YouTube
60
+ - Fanatic Game
61
+ - "modérateur Retrospring préféré"
62
+ - "développeur Retrospring préféré"
63
+ - le:
64
+ - "métier de vos rêves"
65
+ - "plus beau cadeau qu'on ait pu vous faire"
66
+ - "âge":
67
+ - "avez-vous"
68
+
69
+ Quelle:
70
+ - est:
71
+ - votre:
72
+ - "chanson préférée"
73
+ - "chiffre préféré"
74
+ - "couleur préférée"
75
+ - "saison préférée"
76
+ - "équipe de sport préférée"
77
+ - "musique préférée"
78
+ - "console préférée"
79
+ - "boisson préférée"
80
+ - "activité préférée"
81
+ - "série préférée"
82
+ - "série d'animation japonaise préférée"
83
+ - la:
84
+ - "personne la plus célèbre que vous avez rencontrée"
85
+ - "était":
86
+ - votre:
87
+ - chanson:
88
+ - "préférée":
89
+ - quand vous aviez 5 ans
90
+ - il y a quelques semaines
91
+ - la:
92
+ - "dernière":
93
+ - "chose que vous avez mangée"
94
+
95
+ "Êtes-vous":
96
+ - "déjà":
97
+ - "allé":
98
+ - en:
99
+ - Autriche
100
+ - Allemagne
101
+ - Suisse
102
+ - France
103
+ - "Suède"
104
+ - "Norvège"
105
+ - Finlande
106
+ - Australie
107
+ - Italie
108
+ - Russie
109
+ - Chine
110
+ - au:
111
+ - Japon
112
+ - "Royaume-Uni"
113
+ - aux:
114
+ - "États-Unis"
115
+ - une personne:
116
+ - religieuse
117
+ - courageuse
118
+
119
+ "Avez-vous":
120
+ - un:
121
+ - animal de compagnie
122
+ - surnom
123
+ - "frère ou une sœur"
124
+ - une:
125
+ - console de jeux
126
+ - "déjà":
127
+ - "écrit":
128
+ - "une lettre d'amour"
129
+ - en japonais
130
+
131
+ "Aimez-vous":
132
+ - les:
133
+ - "jeux vidéo"
134
+ - "réseaux sociaux"
135
+ - muffins
136
+ - frites
137
+ - la:
138
+ - "pêche"
139
+ - ville:
140
+ - "où vous":
141
+ - habitez
142
+ - "êtes né"
143
+ - voyager
144
+ - chanter
145
+ - "quand il n'y a personne chez vous"
146
+ - en japonais
147
+ - dans la rue
148
+
149
+ "Pouvez-vous":
150
+ - jouer:
151
+ - "d'un instrument"
152
+ - au baseball
153
+ - au football
154
+ - nager
155
+ - cuisiner
156
+ - parler:
157
+ - plusieurs:
158
+ - langues
159
+
160
+ Comment:
161
+ - "allez-vous"
@@ -18,6 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_development_dependency "bundler", "~> 1.6"
21
+ spec.add_development_dependency "bundler", ">= 1.6", "< 3"
22
22
  spec.add_development_dependency "rake"
23
+ spec.add_development_dependency "rspec"
23
24
  end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ describe QuestionGenerator do
4
+ it 'applies a prefix to a question' do
5
+ prefix = "¿"
6
+ expect(QuestionGenerator.generate prefix: prefix).to start_with(prefix)
7
+ end
8
+
9
+ it 'applies a suffix to a question' do
10
+ suffix = "!!!1"
11
+ expect(QuestionGenerator.generate suffix: suffix).to end_with(suffix)
12
+ end
13
+
14
+ it 'compiles all available locales' do
15
+ puts
16
+ available_locales = Dir[File.expand_path '../../lib/questions/*.yml', __FILE__].map { |l| File.basename(l).sub(/\.yml$/, '') }
17
+ available_locales.each do |locale|
18
+ print "compiling #{locale}"
19
+ compiled = QuestionGenerator.compile locale: locale.to_sym
20
+ puts " (#{compiled.length} questions)"
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,93 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file was generated by the `rspec --init` command. Conventionally, all
4
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
5
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
6
+ # this file to always be loaded, without a need to explicitly require it in any
7
+ # files.
8
+ #
9
+ # Given that it is always loaded, you are encouraged to keep this file as
10
+ # light-weight as possible. Requiring heavyweight dependencies from this file
11
+ # will add to the boot time of your test suite on EVERY test run, even for an
12
+ # individual file that may not need all of that loaded. Instead, consider making
13
+ # a separate helper file that requires the additional dependencies and performs
14
+ # the additional setup, and require it from the spec files that actually need
15
+ # it.
16
+ #
17
+ # The `.rspec` file also contains a few flags that are not defaults but that
18
+ # users commonly want.
19
+ #
20
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
21
+ RSpec.configure do |config|
22
+ # rspec-expectations config goes here. You can use an alternate
23
+ # assertion/expectation library such as wrong or the stdlib/minitest
24
+ # assertions if you prefer.
25
+ config.expect_with :rspec do |expectations|
26
+ # This option will default to `true` in RSpec 4. It makes the `description`
27
+ # and `failure_message` of custom matchers include text for helper methods
28
+ # defined using `chain`, e.g.:
29
+ # be_bigger_than(2).and_smaller_than(4).description
30
+ # # => "be bigger than 2 and smaller than 4"
31
+ # ...rather than:
32
+ # # => "be bigger than 2"
33
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
34
+ end
35
+
36
+ # rspec-mocks config goes here. You can use an alternate test double
37
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
38
+ config.mock_with :rspec do |mocks|
39
+ # Prevents you from mocking or stubbing a method that does not exist on
40
+ # a real object. This is generally recommended, and will default to
41
+ # `true` in RSpec 4.
42
+ mocks.verify_partial_doubles = true
43
+ end
44
+
45
+ # The settings below are suggested to provide a good initial experience
46
+ # with RSpec, but feel free to customize to your heart's content.
47
+ =begin
48
+ # These two settings work together to allow you to limit a spec run
49
+ # to individual examples or groups you care about by tagging them with
50
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
51
+ # get run.
52
+ config.filter_run :focus
53
+ config.run_all_when_everything_filtered = true
54
+
55
+ # Limits the available syntax to the non-monkey patched syntax that is
56
+ # recommended. For more details, see:
57
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
58
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
59
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
60
+ config.disable_monkey_patching!
61
+
62
+ # This setting enables warnings. It's recommended, but in some cases may
63
+ # be too noisy due to issues in dependencies.
64
+ config.warnings = true
65
+
66
+ # Many RSpec users commonly either run the entire suite or an individual
67
+ # file, and it's useful to allow more verbose output when running an
68
+ # individual spec file.
69
+ if config.files_to_run.one?
70
+ # Use the documentation formatter for detailed output,
71
+ # unless a formatter has already been configured
72
+ # (e.g. via a command-line flag).
73
+ config.default_formatter = 'doc'
74
+ end
75
+
76
+ # Print the 10 slowest examples and example groups at the
77
+ # end of the spec run, to help surface which specs are running
78
+ # particularly slow.
79
+ config.profile_examples = 10
80
+
81
+ # Run specs in random order to surface order dependencies. If you find an
82
+ # order dependency and want to debug it, you can fix the order by providing
83
+ # the seed, which is printed after each run.
84
+ # --seed 1234
85
+ config.order = :random
86
+
87
+ # Seed global randomization in this process using the `--seed` CLI option.
88
+ # Setting this allows you to use `--seed` to deterministically reproduce
89
+ # test failures related to randomization by passing the same `--seed` value
90
+ # as the one that triggered the failure.
91
+ Kernel.srand config.seed
92
+ =end
93
+ end
metadata CHANGED
@@ -1,41 +1,61 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: questiongenerator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - nilsding
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-18 00:00:00.000000000 Z
11
+ date: 2021-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.6'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '3'
20
23
  type: :development
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - ~>
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '1.6'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '3'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rake
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - '>='
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
32
52
  - !ruby/object:Gem::Version
33
53
  version: '0'
34
54
  type: :development
35
55
  prerelease: false
36
56
  version_requirements: !ruby/object:Gem::Requirement
37
57
  requirements:
38
- - - '>='
58
+ - - ">="
39
59
  - !ruby/object:Gem::Version
40
60
  version: '0'
41
61
  description: A simple question generator, used by Retrospring.
@@ -45,14 +65,20 @@ executables: []
45
65
  extensions: []
46
66
  extra_rdoc_files: []
47
67
  files:
48
- - .gitignore
68
+ - ".gitignore"
69
+ - ".rspec"
70
+ - ".travis.yml"
49
71
  - Gemfile
50
72
  - LICENSE.txt
51
73
  - README.md
52
74
  - Rakefile
53
75
  - lib/questiongenerator.rb
76
+ - lib/questions/de.yml
54
77
  - lib/questions/en.yml
78
+ - lib/questions/fr.yml
55
79
  - questiongenerator.gemspec
80
+ - spec/questiongenerator_spec.rb
81
+ - spec/spec_helper.rb
56
82
  homepage: https://github.com/retrospring/questiongenerator
57
83
  licenses:
58
84
  - MIT
@@ -63,19 +89,19 @@ require_paths:
63
89
  - lib
64
90
  required_ruby_version: !ruby/object:Gem::Requirement
65
91
  requirements:
66
- - - '>='
92
+ - - ">="
67
93
  - !ruby/object:Gem::Version
68
94
  version: '0'
69
95
  required_rubygems_version: !ruby/object:Gem::Requirement
70
96
  requirements:
71
- - - '>='
97
+ - - ">="
72
98
  - !ruby/object:Gem::Version
73
99
  version: '0'
74
100
  requirements: []
75
- rubyforge_project:
76
- rubygems_version: 2.4.5
101
+ rubygems_version: 3.1.6
77
102
  signing_key:
78
103
  specification_version: 4
79
104
  summary: A simple question generator.
80
- test_files: []
81
- has_rdoc:
105
+ test_files:
106
+ - spec/questiongenerator_spec.rb
107
+ - spec/spec_helper.rb