anki-importer 0.1.4 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Gemfile +7 -6
  2. data/Gemfile.lock +23 -19
  3. data/Rakefile +4 -13
  4. data/VERSION +1 -1
  5. data/anki-importer.gemspec +21 -42
  6. metadata +77 -152
data/Gemfile CHANGED
@@ -1,11 +1,12 @@
1
- source "http://rubygems.org"
1
+ source :rubygems
2
2
  gem 'activesupport', '>= 3.0.0', :require => ['active_support/core_ext']
3
3
  gem 'i18n', '>= 0.4.2'
4
- gem 'sqlite3', '>= 1.3.3', :require => 'sqlite3'
4
+ gem 'sqlite3', '>= 1.3.4'
5
5
 
6
6
  group :development do
7
- gem "rspec", "~> 2.5.0"
8
- gem "bundler", "~> 1.0.0"
9
- gem "jeweler", "~> 1.5.0"
10
- gem "rcov", ">= 0"
7
+ gem 'rdoc', '>= 3.9.4'
8
+ gem 'rspec', '~> 2.6.0'
9
+ gem 'bundler', '~> 1.0.21'
10
+ gem 'jeweler', '~> 1.6.4'
11
+ gem 'rcov', '>= 0', :platform => :mri
11
12
  end
@@ -1,34 +1,38 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- activesupport (3.0.5)
5
- diff-lcs (1.1.2)
4
+ activesupport (3.1.0)
5
+ multi_json (~> 1.0)
6
+ diff-lcs (1.1.3)
6
7
  git (1.2.5)
7
- i18n (0.5.0)
8
- jeweler (1.5.2)
9
- bundler (~> 1.0.0)
8
+ i18n (0.6.0)
9
+ jeweler (1.6.4)
10
+ bundler (~> 1.0)
10
11
  git (>= 1.2.5)
11
12
  rake
12
- rake (0.8.7)
13
- rcov (0.9.9)
14
- rspec (2.5.0)
15
- rspec-core (~> 2.5.0)
16
- rspec-expectations (~> 2.5.0)
17
- rspec-mocks (~> 2.5.0)
18
- rspec-core (2.5.1)
19
- rspec-expectations (2.5.0)
13
+ multi_json (1.0.3)
14
+ rake (0.9.2)
15
+ rcov (0.9.10)
16
+ rdoc (3.9.4)
17
+ rspec (2.6.0)
18
+ rspec-core (~> 2.6.0)
19
+ rspec-expectations (~> 2.6.0)
20
+ rspec-mocks (~> 2.6.0)
21
+ rspec-core (2.6.4)
22
+ rspec-expectations (2.6.0)
20
23
  diff-lcs (~> 1.1.2)
21
- rspec-mocks (2.5.0)
22
- sqlite3 (1.3.3)
24
+ rspec-mocks (2.6.0)
25
+ sqlite3 (1.3.4)
23
26
 
24
27
  PLATFORMS
25
28
  ruby
26
29
 
27
30
  DEPENDENCIES
28
31
  activesupport (>= 3.0.0)
29
- bundler (~> 1.0.0)
32
+ bundler (~> 1.0.21)
30
33
  i18n (>= 0.4.2)
31
- jeweler (~> 1.5.0)
34
+ jeweler (~> 1.6.4)
32
35
  rcov
33
- rspec (~> 2.5.0)
34
- sqlite3 (>= 1.3.3)
36
+ rdoc (>= 3.9.4)
37
+ rspec (~> 2.6.0)
38
+ sqlite3 (>= 1.3.4)
data/Rakefile CHANGED
@@ -13,22 +13,13 @@ require 'jeweler'
13
13
  Jeweler::Tasks.new do |gem|
14
14
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
15
15
  gem.name = "anki-importer"
16
+ gem.homepage = "http://github.com/pwnall/anki_importer"
17
+ gem.license = "MIT"
16
18
  gem.summary = %Q{Importer for Anki decks}
17
19
  gem.description = %Q{Extracts models, facts and cards from Anki deck databases.}
18
20
  gem.email = "victor@costan.us"
19
- gem.homepage = "http://github.com/pwnall/anki_importer"
20
21
  gem.authors = ["Victor Costan"]
21
- # Include your dependencies below. Runtime dependencies are required when using your gem,
22
- # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
23
- # spec.add_runtime_dependency 'jabber4r', '> 0.1'
24
- # spec.add_development_dependency 'rspec', '> 1.2.3'
25
- gem.add_runtime_dependency 'sqlite3', '>= 1.3.3'
26
- gem.add_runtime_dependency 'activesupport', '>= 3.0.0'
27
- gem.add_runtime_dependency 'i18n', '>= 0.4.2'
28
- gem.add_development_dependency "rspec", "~> 2.0.0"
29
- gem.add_development_dependency "bundler", "~> 1.0.0"
30
- gem.add_development_dependency "jeweler", "~> 1.5.0.pre5"
31
- gem.add_development_dependency "rcov", ">= 0"
22
+ # Dependencies in Gemfile.
32
23
  end
33
24
  Jeweler::RubygemsDotOrgTasks.new
34
25
 
@@ -45,7 +36,7 @@ end
45
36
 
46
37
  task :default => :spec
47
38
 
48
- require 'rake/rdoctask'
39
+ require 'rdoc/task'
49
40
  Rake::RDocTask.new do |rdoc|
50
41
  version = File.exist?('VERSION') ? File.read('VERSION') : ""
51
42
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.2.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{anki-importer}
8
- s.version = "0.1.4"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Victor Costan"]
12
- s.date = %q{2011-03-12}
11
+ s.authors = [%q{Victor Costan}]
12
+ s.date = %q{2011-10-03}
13
13
  s.description = %q{Extracts models, facts and cards from Anki deck databases.}
14
14
  s.email = %q{victor@costan.us}
15
15
  s.extra_rdoc_files = [
@@ -38,13 +38,10 @@ Gem::Specification.new do |s|
38
38
  "spec/spec_helper.rb"
39
39
  ]
40
40
  s.homepage = %q{http://github.com/pwnall/anki_importer}
41
- s.require_paths = ["lib"]
42
- s.rubygems_version = %q{1.6.2}
41
+ s.licenses = [%q{MIT}]
42
+ s.require_paths = [%q{lib}]
43
+ s.rubygems_version = %q{1.8.6}
43
44
  s.summary = %q{Importer for Anki decks}
44
- s.test_files = [
45
- "spec/anki_importer_spec.rb",
46
- "spec/spec_helper.rb"
47
- ]
48
45
 
49
46
  if s.respond_to? :specification_version then
50
47
  s.specification_version = 3
@@ -52,48 +49,30 @@ Gem::Specification.new do |s|
52
49
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
53
50
  s.add_runtime_dependency(%q<activesupport>, [">= 3.0.0"])
54
51
  s.add_runtime_dependency(%q<i18n>, [">= 0.4.2"])
55
- s.add_runtime_dependency(%q<sqlite3>, [">= 1.3.3"])
56
- s.add_development_dependency(%q<rspec>, ["~> 2.5.0"])
57
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
58
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.0"])
59
- s.add_development_dependency(%q<rcov>, [">= 0"])
60
- s.add_runtime_dependency(%q<sqlite3>, [">= 1.3.3"])
61
- s.add_runtime_dependency(%q<activesupport>, [">= 3.0.0"])
62
- s.add_runtime_dependency(%q<i18n>, [">= 0.4.2"])
63
- s.add_development_dependency(%q<rspec>, ["~> 2.0.0"])
64
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
65
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.0.pre5"])
52
+ s.add_runtime_dependency(%q<sqlite3>, [">= 1.3.4"])
53
+ s.add_development_dependency(%q<rdoc>, [">= 3.9.4"])
54
+ s.add_development_dependency(%q<rspec>, ["~> 2.6.0"])
55
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.21"])
56
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
66
57
  s.add_development_dependency(%q<rcov>, [">= 0"])
67
58
  else
68
59
  s.add_dependency(%q<activesupport>, [">= 3.0.0"])
69
60
  s.add_dependency(%q<i18n>, [">= 0.4.2"])
70
- s.add_dependency(%q<sqlite3>, [">= 1.3.3"])
71
- s.add_dependency(%q<rspec>, ["~> 2.5.0"])
72
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
73
- s.add_dependency(%q<jeweler>, ["~> 1.5.0"])
74
- s.add_dependency(%q<rcov>, [">= 0"])
75
- s.add_dependency(%q<sqlite3>, [">= 1.3.3"])
76
- s.add_dependency(%q<activesupport>, [">= 3.0.0"])
77
- s.add_dependency(%q<i18n>, [">= 0.4.2"])
78
- s.add_dependency(%q<rspec>, ["~> 2.0.0"])
79
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
80
- s.add_dependency(%q<jeweler>, ["~> 1.5.0.pre5"])
61
+ s.add_dependency(%q<sqlite3>, [">= 1.3.4"])
62
+ s.add_dependency(%q<rdoc>, [">= 3.9.4"])
63
+ s.add_dependency(%q<rspec>, ["~> 2.6.0"])
64
+ s.add_dependency(%q<bundler>, ["~> 1.0.21"])
65
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
81
66
  s.add_dependency(%q<rcov>, [">= 0"])
82
67
  end
83
68
  else
84
69
  s.add_dependency(%q<activesupport>, [">= 3.0.0"])
85
70
  s.add_dependency(%q<i18n>, [">= 0.4.2"])
86
- s.add_dependency(%q<sqlite3>, [">= 1.3.3"])
87
- s.add_dependency(%q<rspec>, ["~> 2.5.0"])
88
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
89
- s.add_dependency(%q<jeweler>, ["~> 1.5.0"])
90
- s.add_dependency(%q<rcov>, [">= 0"])
91
- s.add_dependency(%q<sqlite3>, [">= 1.3.3"])
92
- s.add_dependency(%q<activesupport>, [">= 3.0.0"])
93
- s.add_dependency(%q<i18n>, [">= 0.4.2"])
94
- s.add_dependency(%q<rspec>, ["~> 2.0.0"])
95
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
96
- s.add_dependency(%q<jeweler>, ["~> 1.5.0.pre5"])
71
+ s.add_dependency(%q<sqlite3>, [">= 1.3.4"])
72
+ s.add_dependency(%q<rdoc>, [">= 3.9.4"])
73
+ s.add_dependency(%q<rspec>, ["~> 2.6.0"])
74
+ s.add_dependency(%q<bundler>, ["~> 1.0.21"])
75
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
97
76
  s.add_dependency(%q<rcov>, [">= 0"])
98
77
  end
99
78
  end
metadata CHANGED
@@ -1,182 +1,112 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: anki-importer
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.1
4
5
  prerelease:
5
- version: 0.1.4
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Victor Costan
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-03-12 00:00:00 -05:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
12
+ date: 2011-10-03 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
17
15
  name: activesupport
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &13271200 !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
23
21
  version: 3.0.0
24
22
  type: :runtime
25
23
  prerelease: false
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
24
+ version_requirements: *13271200
25
+ - !ruby/object:Gem::Dependency
28
26
  name: i18n
29
- requirement: &id002 !ruby/object:Gem::Requirement
27
+ requirement: &13270700 !ruby/object:Gem::Requirement
30
28
  none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
34
32
  version: 0.4.2
35
33
  type: :runtime
36
34
  prerelease: false
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *13270700
36
+ - !ruby/object:Gem::Dependency
39
37
  name: sqlite3
40
- requirement: &id003 !ruby/object:Gem::Requirement
38
+ requirement: &13270180 !ruby/object:Gem::Requirement
41
39
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: 1.3.3
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: 1.3.4
46
44
  type: :runtime
47
45
  prerelease: false
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: rspec
51
- requirement: &id004 !ruby/object:Gem::Requirement
52
- none: false
53
- requirements:
54
- - - ~>
55
- - !ruby/object:Gem::Version
56
- version: 2.5.0
57
- type: :development
58
- prerelease: false
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
61
- name: bundler
62
- requirement: &id005 !ruby/object:Gem::Requirement
63
- none: false
64
- requirements:
65
- - - ~>
66
- - !ruby/object:Gem::Version
67
- version: 1.0.0
68
- type: :development
69
- prerelease: false
70
- version_requirements: *id005
71
- - !ruby/object:Gem::Dependency
72
- name: jeweler
73
- requirement: &id006 !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
76
- - - ~>
77
- - !ruby/object:Gem::Version
78
- version: 1.5.0
79
- type: :development
80
- prerelease: false
81
- version_requirements: *id006
82
- - !ruby/object:Gem::Dependency
83
- name: rcov
84
- requirement: &id007 !ruby/object:Gem::Requirement
46
+ version_requirements: *13270180
47
+ - !ruby/object:Gem::Dependency
48
+ name: rdoc
49
+ requirement: &13269640 !ruby/object:Gem::Requirement
85
50
  none: false
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: "0"
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 3.9.4
90
55
  type: :development
91
56
  prerelease: false
92
- version_requirements: *id007
93
- - !ruby/object:Gem::Dependency
94
- name: sqlite3
95
- requirement: &id008 !ruby/object:Gem::Requirement
96
- none: false
97
- requirements:
98
- - - ">="
99
- - !ruby/object:Gem::Version
100
- version: 1.3.3
101
- type: :runtime
102
- prerelease: false
103
- version_requirements: *id008
104
- - !ruby/object:Gem::Dependency
105
- name: activesupport
106
- requirement: &id009 !ruby/object:Gem::Requirement
107
- none: false
108
- requirements:
109
- - - ">="
110
- - !ruby/object:Gem::Version
111
- version: 3.0.0
112
- type: :runtime
113
- prerelease: false
114
- version_requirements: *id009
115
- - !ruby/object:Gem::Dependency
116
- name: i18n
117
- requirement: &id010 !ruby/object:Gem::Requirement
118
- none: false
119
- requirements:
120
- - - ">="
121
- - !ruby/object:Gem::Version
122
- version: 0.4.2
123
- type: :runtime
124
- prerelease: false
125
- version_requirements: *id010
126
- - !ruby/object:Gem::Dependency
57
+ version_requirements: *13269640
58
+ - !ruby/object:Gem::Dependency
127
59
  name: rspec
128
- requirement: &id011 !ruby/object:Gem::Requirement
60
+ requirement: &13266800 !ruby/object:Gem::Requirement
129
61
  none: false
130
- requirements:
62
+ requirements:
131
63
  - - ~>
132
- - !ruby/object:Gem::Version
133
- version: 2.0.0
64
+ - !ruby/object:Gem::Version
65
+ version: 2.6.0
134
66
  type: :development
135
67
  prerelease: false
136
- version_requirements: *id011
137
- - !ruby/object:Gem::Dependency
68
+ version_requirements: *13266800
69
+ - !ruby/object:Gem::Dependency
138
70
  name: bundler
139
- requirement: &id012 !ruby/object:Gem::Requirement
71
+ requirement: &13266240 !ruby/object:Gem::Requirement
140
72
  none: false
141
- requirements:
73
+ requirements:
142
74
  - - ~>
143
- - !ruby/object:Gem::Version
144
- version: 1.0.0
75
+ - !ruby/object:Gem::Version
76
+ version: 1.0.21
145
77
  type: :development
146
78
  prerelease: false
147
- version_requirements: *id012
148
- - !ruby/object:Gem::Dependency
79
+ version_requirements: *13266240
80
+ - !ruby/object:Gem::Dependency
149
81
  name: jeweler
150
- requirement: &id013 !ruby/object:Gem::Requirement
82
+ requirement: &13265700 !ruby/object:Gem::Requirement
151
83
  none: false
152
- requirements:
84
+ requirements:
153
85
  - - ~>
154
- - !ruby/object:Gem::Version
155
- version: 1.5.0.pre5
86
+ - !ruby/object:Gem::Version
87
+ version: 1.6.4
156
88
  type: :development
157
89
  prerelease: false
158
- version_requirements: *id013
159
- - !ruby/object:Gem::Dependency
90
+ version_requirements: *13265700
91
+ - !ruby/object:Gem::Dependency
160
92
  name: rcov
161
- requirement: &id014 !ruby/object:Gem::Requirement
93
+ requirement: &13265160 !ruby/object:Gem::Requirement
162
94
  none: false
163
- requirements:
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- version: "0"
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
167
99
  type: :development
168
100
  prerelease: false
169
- version_requirements: *id014
101
+ version_requirements: *13265160
170
102
  description: Extracts models, facts and cards from Anki deck databases.
171
103
  email: victor@costan.us
172
104
  executables: []
173
-
174
105
  extensions: []
175
-
176
- extra_rdoc_files:
106
+ extra_rdoc_files:
177
107
  - LICENSE.txt
178
108
  - README.rdoc
179
- files:
109
+ files:
180
110
  - .document
181
111
  - .project
182
112
  - .rspec
@@ -196,37 +126,32 @@ files:
196
126
  - spec/anki_importer_spec.rb
197
127
  - spec/fixtures/deck.anki
198
128
  - spec/spec_helper.rb
199
- has_rdoc: true
200
129
  homepage: http://github.com/pwnall/anki_importer
201
- licenses: []
202
-
130
+ licenses:
131
+ - MIT
203
132
  post_install_message:
204
133
  rdoc_options: []
205
-
206
- require_paths:
134
+ require_paths:
207
135
  - lib
208
- required_ruby_version: !ruby/object:Gem::Requirement
136
+ required_ruby_version: !ruby/object:Gem::Requirement
209
137
  none: false
210
- requirements:
211
- - - ">="
212
- - !ruby/object:Gem::Version
213
- hash: -3013077473551003654
214
- segments:
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ segments:
215
143
  - 0
216
- version: "0"
217
- required_rubygems_version: !ruby/object:Gem::Requirement
144
+ hash: 4544607719639822843
145
+ required_rubygems_version: !ruby/object:Gem::Requirement
218
146
  none: false
219
- requirements:
220
- - - ">="
221
- - !ruby/object:Gem::Version
222
- version: "0"
147
+ requirements:
148
+ - - ! '>='
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
223
151
  requirements: []
224
-
225
152
  rubyforge_project:
226
- rubygems_version: 1.6.2
153
+ rubygems_version: 1.8.6
227
154
  signing_key:
228
155
  specification_version: 3
229
156
  summary: Importer for Anki decks
230
- test_files:
231
- - spec/anki_importer_spec.rb
232
- - spec/spec_helper.rb
157
+ test_files: []