querinator 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,11 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.8.7
3
+ # - 1.8.7
4
4
  - 1.9.2
5
5
  - 1.9.3
6
- - jruby-18mode # JRuby in 1.8 mode
6
+ # - jruby-18mode # JRuby in 1.8 mode
7
7
  - jruby-19mode # JRuby in 1.9 mode
8
- - rbx-18mode
8
+ # - rbx-18mode
9
9
  - rbx-19mode
10
10
  # uncomment this line if your project needs to run something other than `rake`:
11
11
  # script: bundle exec rspec spec
data/Rakefile CHANGED
@@ -2,8 +2,10 @@
2
2
  require "bundler/gem_tasks"
3
3
  require "rake/testtask"
4
4
 
5
+ task :default => :spec
6
+
5
7
  Rake::TestTask.new do |t|
6
8
  t.libs.push "lib"
7
9
  t.test_files = FileList['spec/**/*_spec.rb']
8
10
  t.verbose = true
9
- end
11
+ end
@@ -6,8 +6,8 @@ require 'querinator/query'
6
6
  module Querinator
7
7
  class Game
8
8
 
9
- def get_questions
10
- file_name = "./spec/test_question_file.txt"
9
+ def get_questions(file_name)
10
+ file_name ||= "./spec/test_question_file.txt"
11
11
  Importer.new.parse(file_name)
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module Querinator
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -21,5 +21,6 @@ Gem::Specification.new do |gem|
21
21
  gem.add_development_dependency 'guard-minitest', '~>0.5.0'
22
22
  gem.add_development_dependency 'growl', '~>1.0.3'
23
23
  gem.add_development_dependency 'turn', '~>0.9.6'
24
- gem.add_development_dependency 'rake', '~>0.9.2'
24
+
25
+ gem.add_dependency 'rake', '~>0.9.2'
25
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: querinator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-06 00:00:00.000000000 Z
12
+ date: 2012-08-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rb-fsevent
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &70247097562320 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,15 +21,10 @@ dependencies:
21
21
  version: 0.9.1
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: 0.9.1
24
+ version_requirements: *70247097562320
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: minitest-reporters
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &70247097561420 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
30
  - - ~>
@@ -37,15 +32,10 @@ dependencies:
37
32
  version: 0.9.0
38
33
  type: :development
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: 0.9.0
35
+ version_requirements: *70247097561420
46
36
  - !ruby/object:Gem::Dependency
47
37
  name: guard
48
- requirement: !ruby/object:Gem::Requirement
38
+ requirement: &70247097560600 !ruby/object:Gem::Requirement
49
39
  none: false
50
40
  requirements:
51
41
  - - ~>
@@ -53,15 +43,10 @@ dependencies:
53
43
  version: 1.2.3
54
44
  type: :development
55
45
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: 1.2.3
46
+ version_requirements: *70247097560600
62
47
  - !ruby/object:Gem::Dependency
63
48
  name: guard-minitest
64
- requirement: !ruby/object:Gem::Requirement
49
+ requirement: &70247097559380 !ruby/object:Gem::Requirement
65
50
  none: false
66
51
  requirements:
67
52
  - - ~>
@@ -69,15 +54,10 @@ dependencies:
69
54
  version: 0.5.0
70
55
  type: :development
71
56
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- version: 0.5.0
57
+ version_requirements: *70247097559380
78
58
  - !ruby/object:Gem::Dependency
79
59
  name: growl
80
- requirement: !ruby/object:Gem::Requirement
60
+ requirement: &70247097558680 !ruby/object:Gem::Requirement
81
61
  none: false
82
62
  requirements:
83
63
  - - ~>
@@ -85,15 +65,10 @@ dependencies:
85
65
  version: 1.0.3
86
66
  type: :development
87
67
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ~>
92
- - !ruby/object:Gem::Version
93
- version: 1.0.3
68
+ version_requirements: *70247097558680
94
69
  - !ruby/object:Gem::Dependency
95
70
  name: turn
96
- requirement: !ruby/object:Gem::Requirement
71
+ requirement: &70247097557060 !ruby/object:Gem::Requirement
97
72
  none: false
98
73
  requirements:
99
74
  - - ~>
@@ -101,28 +76,18 @@ dependencies:
101
76
  version: 0.9.6
102
77
  type: :development
103
78
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ~>
108
- - !ruby/object:Gem::Version
109
- version: 0.9.6
79
+ version_requirements: *70247097557060
110
80
  - !ruby/object:Gem::Dependency
111
81
  name: rake
112
- requirement: !ruby/object:Gem::Requirement
82
+ requirement: &70247097555940 !ruby/object:Gem::Requirement
113
83
  none: false
114
84
  requirements:
115
85
  - - ~>
116
86
  - !ruby/object:Gem::Version
117
87
  version: 0.9.2
118
- type: :development
88
+ type: :runtime
119
89
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ~>
124
- - !ruby/object:Gem::Version
125
- version: 0.9.2
90
+ version_requirements: *70247097555940
126
91
  description: manages and presents flash card data
127
92
  email:
128
93
  - robie1373@gmail.com
@@ -169,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
134
  version: '0'
170
135
  requirements: []
171
136
  rubyforge_project:
172
- rubygems_version: 1.8.24
137
+ rubygems_version: 1.8.10
173
138
  signing_key:
174
139
  specification_version: 3
175
140
  summary: Will import JSON hashes of questions and asnwers, track times seen and times