indexer 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. data/.index +8 -4
  2. data/Gemfile.lock +29 -0
  3. data/HISTORY.md +18 -1
  4. data/README.md +5 -2
  5. data/data/indexer/{r2013/index.kwalify → index.kwalify} +0 -0
  6. data/data/indexer/{r2013/index.yes → index.yes} +0 -0
  7. data/data/indexer/{r2013/index.yesi → index.yesi} +0 -0
  8. data/data/indexer/{r2013/ruby.txt → ruby.txt} +0 -0
  9. data/data/indexer/{r2013/yaml.txt → yaml.txt} +0 -0
  10. data/lib/indexer/attributes.rb +7 -3
  11. data/lib/indexer/command.rb +18 -13
  12. data/lib/indexer/components.rb +1 -0
  13. data/lib/indexer/components/conflict.rb +7 -0
  14. data/lib/indexer/components/engine.rb +87 -0
  15. data/lib/indexer/components/requirement.rb +17 -15
  16. data/lib/indexer/conversion/gemspec.rb +9 -9
  17. data/lib/indexer/conversion/gemspec_exporter.rb +2 -1
  18. data/lib/indexer/core_ext/hash/rekey.rb +89 -0
  19. data/lib/indexer/core_ext/hash/to_h.rb +4 -0
  20. data/lib/indexer/core_ext/kernel/cli.rb +54 -0
  21. data/lib/indexer/importer/html.rb +5 -0
  22. data/lib/indexer/importer/markdown.rb +22 -4
  23. data/lib/indexer/metadata.rb +27 -10
  24. data/lib/indexer/validator.rb +7 -6
  25. data/lib/indexer/webui.rb +167 -0
  26. data/lib/indexer/webui/assets/dotruby_binding.js +41 -0
  27. data/lib/indexer/webui/assets/dotruby_model.js +203 -0
  28. data/lib/indexer/webui/assets/jquery-1.4.2.min.js +154 -0
  29. data/lib/indexer/webui/assets/json2.js +482 -0
  30. data/lib/indexer/webui/assets/knockout-2.0.0.js +97 -0
  31. data/lib/indexer/webui/assets/testdata.json +23 -0
  32. data/lib/indexer/webui/assets/underscore-min.js +31 -0
  33. data/lib/indexer/webui/index-old.html +92 -0
  34. data/lib/indexer/webui/index.html +286 -0
  35. metadata +53 -19
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: indexer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-12-09 00:00:00.000000000 Z
13
+ date: 2012-12-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri
17
- requirement: &21743520 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,21 +22,31 @@ dependencies:
22
22
  version: '1.5'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *21743520
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '1.5'
26
31
  - !ruby/object:Gem::Dependency
27
- name: redcarpet
28
- requirement: &21742860 !ruby/object:Gem::Requirement
32
+ name: kramdown
33
+ requirement: !ruby/object:Gem::Requirement
29
34
  none: false
30
35
  requirements:
31
36
  - - ! '>='
32
37
  - !ruby/object:Gem::Version
33
- version: '2.0'
38
+ version: '0.14'
34
39
  type: :runtime
35
40
  prerelease: false
36
- version_requirements: *21742860
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0.14'
37
47
  - !ruby/object:Gem::Dependency
38
48
  name: qed
39
- requirement: &21742220 !ruby/object:Gem::Requirement
49
+ requirement: !ruby/object:Gem::Requirement
40
50
  none: false
41
51
  requirements:
42
52
  - - ! '>='
@@ -44,10 +54,15 @@ dependencies:
44
54
  version: '2.9'
45
55
  type: :development
46
56
  prerelease: false
47
- version_requirements: *21742220
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '2.9'
48
63
  - !ruby/object:Gem::Dependency
49
64
  name: ae
50
- requirement: &21741580 !ruby/object:Gem::Requirement
65
+ requirement: !ruby/object:Gem::Requirement
51
66
  none: false
52
67
  requirements:
53
68
  - - ! '>='
@@ -55,7 +70,12 @@ dependencies:
55
70
  version: '0'
56
71
  type: :development
57
72
  prerelease: false
58
- version_requirements: *21741580
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
59
79
  description: Indexer provides projects with a universal metadata format.
60
80
  email:
61
81
  - transfire@gmail.com
@@ -68,17 +88,18 @@ extra_rdoc_files:
68
88
  files:
69
89
  - .index
70
90
  - bin/index
71
- - data/indexer/r2013/index.kwalify
72
- - data/indexer/r2013/index.yes
73
- - data/indexer/r2013/index.yesi
74
- - data/indexer/r2013/ruby.txt
75
- - data/indexer/r2013/yaml.txt
91
+ - data/indexer/index.kwalify
92
+ - data/indexer/index.yes
93
+ - data/indexer/index.yesi
94
+ - data/indexer/ruby.txt
95
+ - data/indexer/yaml.txt
76
96
  - lib/indexer/attributes.rb
77
97
  - lib/indexer/command.rb
78
98
  - lib/indexer/components/author.rb
79
99
  - lib/indexer/components/conflict.rb
80
100
  - lib/indexer/components/copyright.rb
81
101
  - lib/indexer/components/dependency.rb
102
+ - lib/indexer/components/engine.rb
82
103
  - lib/indexer/components/organization.rb
83
104
  - lib/indexer/components/repository.rb
84
105
  - lib/indexer/components/requirement.rb
@@ -88,6 +109,9 @@ files:
88
109
  - lib/indexer/conversion/gemspec.rb
89
110
  - lib/indexer/conversion/gemspec_exporter.rb
90
111
  - lib/indexer/conversion.rb
112
+ - lib/indexer/core_ext/hash/rekey.rb
113
+ - lib/indexer/core_ext/hash/to_h.rb
114
+ - lib/indexer/core_ext/kernel/cli.rb
91
115
  - lib/indexer/core_ext.rb
92
116
  - lib/indexer/error.rb
93
117
  - lib/indexer/gemfile.rb
@@ -109,7 +133,18 @@ files:
109
133
  - lib/indexer/version/constraint.rb
110
134
  - lib/indexer/version/exceptions.rb
111
135
  - lib/indexer/version/number.rb
136
+ - lib/indexer/webui/assets/dotruby_binding.js
137
+ - lib/indexer/webui/assets/dotruby_model.js
138
+ - lib/indexer/webui/assets/jquery-1.4.2.min.js
139
+ - lib/indexer/webui/assets/json2.js
140
+ - lib/indexer/webui/assets/knockout-2.0.0.js
141
+ - lib/indexer/webui/assets/testdata.json
142
+ - lib/indexer/webui/assets/underscore-min.js
143
+ - lib/indexer/webui/index-old.html
144
+ - lib/indexer/webui/index.html
145
+ - lib/indexer/webui.rb
112
146
  - lib/indexer.rb
147
+ - Gemfile.lock
113
148
  - HISTORY.md
114
149
  - README.md
115
150
  homepage: http://rubyworks.github.com/indexer
@@ -133,9 +168,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
168
  version: '0'
134
169
  requirements: []
135
170
  rubyforge_project:
136
- rubygems_version: 1.8.11
171
+ rubygems_version: 1.8.23
137
172
  signing_key:
138
173
  specification_version: 3
139
174
  summary: Enable Your Project's Metadata
140
175
  test_files: []
141
- has_rdoc: