indexer 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/.index CHANGED
@@ -1,22 +1,26 @@
1
1
  ---
2
- type: ruby
3
2
  revision: 2013
3
+ type: ruby
4
4
  sources:
5
- - README.md
5
+ - var
6
6
  authors:
7
7
  - name: trans
8
8
  email: transfire@gmail.com
9
- website: http://trans.gihub.com/
9
+ website: http://trans.gihub.com
10
10
  - name: postmodern
11
- website: http://postmodern.github.com/
12
- organizations: []
11
+ website: http://postmodern.github.com
12
+ organizations:
13
+ - name: Rubyworks
14
+ website: http://rubyworks.github.com
13
15
  requirements:
14
16
  - version: 1.5+
15
17
  name: nokogiri
16
18
  - version: 0.14+
17
19
  name: kramdown
18
- - version: 2.0+
19
- optional: true
20
+ - groups:
21
+ - optional
22
+ version: 2.0+
23
+ development: true
20
24
  name: redcarpet
21
25
  - groups:
22
26
  - test
@@ -25,7 +29,6 @@ requirements:
25
29
  name: qed
26
30
  - groups:
27
31
  - test
28
- version: 0+
29
32
  development: true
30
33
  name: ae
31
34
  conflicts: []
@@ -39,20 +42,26 @@ resources:
39
42
  label: Source Code
40
43
  - type: api
41
44
  uri: http://rubydoc.info/gems/indexer/frames
42
- label: API Reference
43
- repositories: []
45
+ label: API Guide
46
+ repositories:
47
+ - name: upstream
48
+ scm: git
49
+ uri: http://github.com/rubyworks/indexer/indexer.git
44
50
  categories:
45
51
  - metadata
46
- paths:
47
- load:
48
- - lib
49
52
  copyrights:
50
53
  - holder: Rubyworks
51
54
  year: '2012'
52
55
  license: BSD-2-Clause
53
- version: 0.2.0
56
+ customs:
57
+ - example
58
+ paths:
59
+ lib:
60
+ - lib
54
61
  summary: Enable Your Project's Metadata
55
- description: Indexer provides projects with a universal metadata format.
56
- name: indexer
57
62
  title: Indexer
58
- date: '2012-12-27'
63
+ version: 0.3.0
64
+ name: indexer
65
+ example: This is just an example of custom metadata.
66
+ description: Indexer provides projects with a universal metadata format.
67
+ date: '2013-01-20'
@@ -0,0 +1,6 @@
1
+ --markup markdown
2
+ --title 'Indexer Documentation'
3
+ --private
4
+ lib/**/*.rb
5
+ -
6
+ [A-Z]*.*
data/HISTORY.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # RELEASE HISTORY
2
2
 
3
+ ## 0.3.0 / 2012-01-19
4
+
5
+ The 0.3 release makes three significant improvements. First, instead of
6
+ using `paths['load']` for the Ruby load path setting, it designates the use
7
+ of `paths['lib']`. In this manner the keys of the paths field can be generally
8
+ based on standard locations in a project, and more generally on FHS. Secondly,
9
+ this release also removes the `extra` field. Instead custom entries can be added
10
+ at the root of the document. Note that this means that parts of the API may
11
+ return `nil` instead of raising an error when queried for an undefined field.
12
+ To ensure that metadata van still be strongly validated the specification adds
13
+ a `customs` field where the names of custom fields are specified.
14
+
15
+ Changes:
16
+
17
+ * Designate `paths['lib']` for Ruby's load path, instead of `paths['load']`.
18
+ * Remove `extra` field from specification; custom fields can be in root not.
19
+ * Add `customs` field to allow customization in a robust manner.
20
+
21
+
3
22
  ## 0.2.0 / 2012-12-27
4
23
 
5
24
  The `load_path` field has been deprecated and replaced with the `paths` field,
data/README.md CHANGED
@@ -1,68 +1,92 @@
1
- # <span class="ititle">Indexer</span> (v<span class="iversion">0.2.0</span>)
1
+ # INDEXER
2
2
 
3
- <b class="isummary">Enable Your Project's Metadata<b>
3
+ **Enable Your Project's Metadata**
4
4
 
5
5
  [![Build Status](https://secure.travis-ci.org/rubyworks/indexer.png)](http://travis-ci.org/rubyworks/indexer)
6
+ [![Gem Version](https://badge.fury.io/rb/indexer.png)](http://badge.fury.io/rb/indexer)
6
7
 
7
8
 
8
- ## Description
9
+ ## [What is Indexer?](#whatis)
9
10
 
10
- <p class="idescription">Indexer provides projects with a universal metadata format.</p>
11
+ Indexer provides projects with a universal metadata format.
11
12
 
12
- Indexer defines a *canonical*, detailed and strict, project <span class="icategory">metadata</span> specification.
13
- The strictness of the specification makes the format simple enough for developers to use without an intermediate API.
14
- Although Indexer also provides a convenience API for working with the specification and its data
15
- more loosely when suitable to the usecase. Indexer also specifies a stanadard location for canonized
16
- metadata to be kept, in a `.index` file.
13
+ Indexer defines a *canonical* project metadata specification which is both
14
+ detailed and strict. The strictness of the specification makes the format simple
15
+ enough for developers to use without an intermediate API. Although Indexer also
16
+ provides a convenience API for working with the specification and its data more
17
+ loosely when suitable to the usecase. Indexer also specifies a standard
18
+ location for canonized metadata to be kept, in a `.index` file.
17
19
 
18
- Indexer provides a tool to import metadata from external sources. Indexer can handle a variety of metadata
19
- source formats, including YAML, HTML Microformats and Ruby DSL scripts.
20
+ Indexer provides a tool to import metadata from external sources. Indexer can
21
+ handle a variety of metadata source formats, including YAML, HTML Microformats
22
+ and Ruby DSL scripts.
20
23
 
21
24
 
22
- ## Installation
25
+ ## [Features](#features)
23
26
 
24
- Indexer is a Ruby application, so as long as you have Ruby installed, it is easy to install Indexer via RubyGems.
25
-
26
- $ gem install indexer
27
+ * YAML-based format for universal accessibility.
28
+ * Platform and programming language agnostic.
29
+ * Canonical specification provides idempotent access.
30
+ * Convenient Ruby API available.
31
+ * Supports custom metadata fields.
27
32
 
28
33
 
29
- ## Instruction
34
+ ## [Instruction](#instruction)
30
35
 
31
- Indexer is capable of generating a canonical `.index` file from a variety of sources. Being so flexiable, exactly
32
- how a developer descides to store a project's metadata is a largely a matter of taste. But in general there are
33
- three overall approaches:
36
+ ### [Installation](#installation)
34
37
 
35
- 1. Specify the metadata using microformats in a project's README file.
36
- 2. Specify the metadata in one or more static files, often a single YAML file.
37
- 3. Construct the metadata via a Ruby DSL, customizing the generation in any way.
38
+ Indexer is a Ruby application, so as long as you have Ruby installed, it is easy
39
+ to install Indexer via RubyGems.
38
40
 
39
- The first choice is, in many respects, the nicest because it does not require any additional files be added
40
- to a project and it helps to ensure a good README file. On the downside, it requires some HTML be hand-coded
41
- into the README.
41
+ $ gem install indexer
42
42
 
43
- The second approach is a great option in the it is the easiest. One can quickly put together a YAML document
44
- covering a project's metadata. Since Indexer is very flexible in it's parsing of the YAML, it really is a
45
- quick and user-friendly way to go. Typically this file will be called `Index.yml`, but there is no name
46
- requirement. In fact, Indexer will let you split the metadata up over mutliple files, and even use a whole
47
- directory of files, one per field.
43
+ ### [Metadata Sources](#sources)
48
44
 
49
- The last approach provides maximum flexablity. Using the Ruby DSL one can literally script the metadata,
50
- which means it can come from anywhere at all. For example, you might want to pull the project's version
51
- from the `lib/project/version.rb` file, i.e. Bundler style. The DSL is as intutive and as flexible as
52
- using plain YAML, so it's nearly as easy to take this approach. By convention this file is called `Indexfile`
53
- or `Index.rb`, but it too can be any file path one prefers.
45
+ Indexer is capable of generating a canonical `.index` file from a variety of
46
+ sources. Being so flexible, exactly how a developer decides to store a project's
47
+ metadata is a largely a matter of taste. But in general there are four overall
48
+ approaches:
54
49
 
55
- On the Indexer wiki you can find detailed tutorials on a variety of setups, along with thier pros and cons.
50
+ 1. Specify the metadata in one or more static files, typically a single YAML file.
51
+ 2. Specify the metadata using microformats in a project's README file.
52
+ 3. Construct the metadata via a Ruby DSL, customizing the generation in any way.
56
53
 
57
- As an example of getting started, lets say we want to customize our index metadata via a YAML file,
58
- but we want to keep the version information is a separate `VERSION` file. That's a common layout so Indexer
59
- is designed to handle it out of the box. First create the `VERSION` file.
54
+ The first approach is a great option in the it is the easiest. One can quickly
55
+ put together a YAML document covering a project's metadata. Since Indexer is
56
+ very flexible in it's parsing of the YAML, it really is a quick and user-friendly
57
+ way to go. Typically this file will be called `Index.yml`, but there is no name
58
+ requirement. In fact, Indexer will also let you split the metadata up over
59
+ multiple files, and can even go as far as using a *file store*, which is
60
+ a directory of files, one for each field.
61
+
62
+ The second choice is, in many respects, the nicest because it does not require any
63
+ additional files be added to a project and it helps to ensure a good README file.
64
+ On the downside, it may require some HTML be hand-coded into the README. If your
65
+ README's markup format has a sexy syntax for microformats, this approach rocks.
66
+ Otherwise, another approach is probably the better choice.
67
+
68
+ The last approach provides maximum flexibility. Using the Ruby DSL one can literally
69
+ script the metadata, which means it can come from anywhere at all. For example,
70
+ you might want to pull the project's version from the `lib/project/version.rb`
71
+ file, i.e. Bundler style. The DSL is as intuitive and as flexible as using plain
72
+ YAML, so it's nearly as easy to take this approach. By convention this file is
73
+ called `Indexfile` or `Index.rb`, but it too can be any file path one prefers.
74
+
75
+ On the Indexer wiki you can find detailed tutorials on a variety of setups,
76
+ along with their pros and cons and various tip and tricks.
77
+
78
+ ### [Usage Example](#example)
79
+
80
+ As an example of getting started, lets say we want to customize our index
81
+ metadata via a YAML file, but we want to keep the version information is
82
+ a separate `VERSION` file. That's a common layout so Indexer is designed
83
+ to handle it out of the box. First create the `VERSION` file.
60
84
 
61
85
  $ echo '0.1.0' > VERSION
62
86
 
63
- Next we need our YAML file. Indexer makes out life easier by offering us some template generation for
64
- common approaches. In this case we use the `-g/--generate` command option, specifying that we want an
65
- `Index.yml`.
87
+ Next we need our YAML file. Indexer makes out life easier by offering us some
88
+ template generation for common approaches. In this case we use the `-g/--generate`
89
+ command option, specifying that we want an `Index.yml` file.
66
90
 
67
91
  $ index --generate Index.yml
68
92
 
@@ -70,57 +94,45 @@ Now we can edit the `Index.yaml` file to suite our project.
70
94
 
71
95
  $ vim Index.yml
72
96
 
73
- Once we have the source files setup, its easy to build the canonical `.index` file using the `index`
74
- command line interface. We can simply issue the `index` command with the `-u/--using` command option:
97
+ Once we have the source files setup, its easy to build the canonical `.index`
98
+ file using the `index` command. We simply issue the `index` command with
99
+ the `-u/--using` command option:
75
100
 
76
101
  $ index --using VERSION Index.yml
77
102
 
78
103
  Indexer will utilize both sources and create the `.index` file.
79
104
 
80
- Over time project metadata tends to evolve and change. To keep the canoncial `.index` file up to date simply
81
- call the `index` command without any options.
105
+ Over time project metadata tends to evolve and change. To keep the canonical
106
+ `.index` file up to date simply call the `index` command without any options.
82
107
 
83
108
  $ index
84
109
 
85
- By default the `.index` file will not be updated if it has a modification time newer than its source files.
86
- If need be, use the `-f/--force` option to override this.
110
+ By default the `.index` file will not be updated if it has a modification time
111
+ newer than its source files. If need be, use the `-f/--force` option to
112
+ override this.
87
113
 
88
- That's the quick "one two". For more information on using Indexer, see the Wiki, API documentation, QED specifications
89
- and the Manpages.
114
+ That's the quick "one two" of getting started with Indexer. For more information,
115
+ see the Wiki, API documentation, QED specifications and the Manpages.
90
116
 
91
117
 
92
- ## Resources
118
+ ## [Resources](#resources)
93
119
 
94
- <ul>
95
- <li><a class="iresource" href="http://rubyworks.github.com/indexer" name="home">Homepage</a></li>
96
- <li><a class="iresource" href="http://github.com/rubyworks/indexer" name="code">Source Code</a> (Github)</li>
97
- <li><a class="iresource" href="http://rubydoc.info/gems/indexer/frames" name="docs">API Reference</a></li>
98
- <li><a class="irepository" href="http://github.com/rubyworks/indexer/indexer.git" name="upstream">Master Git Repo</a></li>
99
- </ul>
120
+ * [Website](http://rubyworks.github.com/indexer)
121
+ * [Source Code](http://github.com/rubyworks/indexer) (Github)
122
+ * [API Guide](http://rubydoc.info/gems/indexer/frames)
123
+ * [Master Git Repo](http://github.com/rubyworks/indexer/indexer.git)
100
124
 
101
125
 
102
- ## Requirements
126
+ ## [Requirements](#requirements)
103
127
 
104
- <ul>
105
- <li class="irequirement">
106
- <a class="name" href="http://nokogiri.org/">nokogiri</a> <span class="version">1.5+</span></span>
107
- </li>
108
- <li class="irequirement">
109
- <a class="name" href="http://kramdown.rubyforge.org/">kramdown</a> <span class="version">0.14+</span>
110
- </li>
111
- <li class="irequirement">
112
- <a class="name" href="https://github.com/vmg/redcarpet">redcarpet</a> <span class="version">2.0+</span> (<span class="optional">optional</span>)
113
- </li>
114
- <li class="irequirement">
115
- <a class="name" href="http://rubyworks.github.com/qed/">qed</a> <span class="version">2.9+</span> <span class="groups">(test)</span>
116
- </li>
117
- <li class="irequirement">
118
- <a class="name" href="http://rubyworks.github.com/ae/">ae</a> <span class="version"></span> <span class="groups">(test)</span>
119
- </li>
120
- </ul>
128
+ * [nokogiri](http://nokogiri.org/) 1.5+
129
+ * [kramdown](http://kramdown.rubyforge.org/) 0.14+
130
+ * [redcarpet](https://github.com/vmg/redcarpet) 2.0+ (optional)
131
+ * [qed](http://rubyworks.github.com/qed/) 2.9+ (test)
132
+ * [ae](http://rubyworks.github.com/ae/) (test)
121
133
 
122
134
 
123
- ## Authors
135
+ ## [Authors](#authors)
124
136
 
125
137
  <ul>
126
138
  <li class="iauthor vcard">
@@ -135,14 +147,12 @@ and the Manpages.
135
147
  </ul>
136
148
 
137
149
 
138
- ## Copyrights
150
+ ## [Copyrights](#copyrights)
139
151
 
140
- <ul>
141
- <li class="icopyright">
142
- &copy; <span class="year">2012</span> <span class="holder">Rubyworks</span>
143
- <div class="license">
144
- <a href="http://www.spdx.org/licenses/BSD-2-Clause" rel="license">BSD-2-Clause License</a>
145
- </div>
146
- </li>
147
- <ul>
152
+ Indexer is copyrighted open-source software.
153
+
154
+ **&copy; 2012 Rubyworks**
155
+
156
+ It can be modified and redistributed in accordance with the terms
157
+ of the [BSD-2-Clause](http://www.spdx.org/licenses/BSD-2-Clause) license.
148
158
 
@@ -80,16 +80,18 @@ module Indexer
80
80
  # The repository URLs for the project.
81
81
  attr_accessor :repositories
82
82
 
83
- # TODO: Might webcvs simply be taken from the first repository instead?
83
+ # TODO: Might webcvs simply be taken from a repository?
84
+ # Or perhaps from a specifically labeled resource?
84
85
 
85
86
  # URI for linking to source code.
86
87
  attr_accessor :webcvs
87
88
 
88
89
  # Map of path sets which can be used to identify paths within the project.
90
+ # The actual path keys largely depend on the project type, but in general
91
+ # should reflect the FHS,
89
92
  #
90
- # For example, the `load` key is used by Ruby projectss to define which paths
91
- # to search within the project when requiring files.
92
- #
93
+ # For example, the `lib` path key is used by Ruby projects to designate
94
+ # which project paths to search within when requiring files.
93
95
  attr_accessor :paths
94
96
 
95
97
  # List of language engine/version family supported.
@@ -142,8 +144,8 @@ module Indexer
142
144
  # NOTE: how to best handle this?
143
145
  attr_accessor :namespace
144
146
 
145
- # Any user-defined extraneous metadata.
146
- #attr_accessor :extra
147
+ # The names of any user-defined fields.
148
+ attr_accessor :customs
147
149
 
148
150
  protected
149
151
 
@@ -166,7 +168,8 @@ module Indexer
166
168
  :repositories => [],
167
169
  :resources => [],
168
170
  :categories => [],
169
- :paths => {'load' => ['lib']}
171
+ :customs => [],
172
+ :paths => {'lib' => ['lib']}
170
173
  }
171
174
  end
172
175
 
@@ -13,7 +13,7 @@ module Indexer
13
13
 
14
14
  case file
15
15
  when String
16
- # FIXME: Is this the correct way fot load a gemfile?
16
+ # FIXME: Is this the correct way to load a gemfile?
17
17
  bundle = ::Bundler::Dsl.new
18
18
  bundle.eval_gemfile(file)
19
19
  when NilClass
@@ -21,29 +21,24 @@ module Indexer
21
21
  #
22
22
  # Import files from a given directory. This will only import files
23
23
  # that have a name corresponding to a metadata attribute, unless
24
- # the file is listed in a `.index_extra` file within the directory.
24
+ # the file name is listed in the `customs` file within the directory.
25
25
  #
26
- # However, files with an extension of `.yml` or `.yaml` will be loaded
26
+ # However, files with an extension of `.index` will be loaded as YAML
27
27
  # wholeclothe and not as a single attribute.
28
28
  #
29
29
  # @todo Subdirectories are simply omitted. Maybe do otherwise in future?
30
30
  #
31
31
  def load_directory(folder)
32
32
  if File.directory?(folder)
33
- extra = []
34
- extra_file = File.join(folder, '.index_extra')
35
- if File.exist?(extra_file)
36
- extra = File.read(extra_file).split("\n")
37
- extra = extra.collect{ |pattern| pattern.strip }
38
- extra = extra.reject { |pattern| pattern.empty? }
39
- extra = extra.collect{ |pattern| Dir[File.join(folder, pattern)] }.flatten
40
- end
33
+ customs = read_customs(folder)
34
+
41
35
  files = Dir[File.join(folder, '*')]
36
+
42
37
  files.each do |file|
43
38
  next if File.directory?(file)
44
39
  name = File.basename(file).downcase
45
- next load_yaml(file) if %w{.yaml .yml}.include?(File.extname(file))
46
- next load_field_file(file) if extra.include?(name)
40
+ next load_yaml(file) if File.extname(file) == '.index'
41
+ next load_field_file(file) if customs.include?(name)
47
42
  next load_field_file(file) if metadata.attributes.include?(name.to_sym)
48
43
  end
49
44
  end
@@ -84,6 +79,30 @@ module Indexer
84
79
  end
85
80
  end
86
81
 
82
+ #
83
+ def read_customs(folder)
84
+ list = []
85
+ file = Dir[File.join(folder, 'customs{,.*}')].first
86
+ if file
87
+ if %w{.yaml .yml}.include?(File.extname(file))
88
+ list = YAML.load_file(file) || []
89
+ raise TypeError, "index: customs is not a array" unless Array === list
90
+ else
91
+ text = File.read(file)
92
+ if yaml?(text)
93
+ list = YAML.load_file(file) || []
94
+ raise TypeError, "index: customs is not a array" unless Array === list
95
+ else
96
+ list = text.split("\n")
97
+ list = list.collect{ |pattern| pattern.strip }
98
+ list = list.reject { |pattern| pattern.empty? }
99
+ list = list.collect{ |pattern| Dir[File.join(folder, pattern)] }.flatten
100
+ end
101
+ end
102
+ end
103
+ return list
104
+ end
105
+
87
106
  end
88
107
 
89
108
  # Include FileImportation mixin into Builder class.
@@ -525,15 +525,16 @@ module Indexer
525
525
  end
526
526
  end
527
527
 
528
- ##
529
- ## Set extraneous developer-defined metdata.
530
- ##
531
- #def extra=(extra)
532
- # unless extra.kind_of?(Hash)
533
- # raise(ValidationError, "extra must be a Hash")
534
- # end
535
- # @data[:extra] = extra
536
- #end
528
+ #
529
+ # Set custom user-field names.
530
+ #
531
+ def customs=(customs)
532
+ #unless customs.kind_of?(Hash)
533
+ #raise(ValidationError, "customs must be an Array")
534
+ Valid.array!(customs)
535
+ #end
536
+ @data[:customs] = customs
537
+ end
537
538
 
538
539
  # -- Utility Methods ----------------------------------------------------
539
540
 
@@ -541,14 +542,14 @@ module Indexer
541
542
  # Legacy method to common Ruby path via `paths['load']`.
542
543
  #
543
544
  def load_path
544
- paths['load']
545
+ paths['lib']
545
546
  end
546
547
 
547
548
  #
548
549
  # Legacy method to set `paths['load']`.
549
550
  #
550
551
  def load_path=(path)
551
- paths['load'] = Array(path).map{ |path| Valid.path!(path) }
552
+ paths['lib'] = Array(path).map{ |path| Valid.path!(path) }
552
553
  end
553
554
 
554
555
  #
@@ -831,6 +832,11 @@ module Indexer
831
832
  h['repositories'] = repositories.map { |x| x.to_h }
832
833
  h['resources'] = resources.map { |x| x.to_h }
833
834
 
835
+ customs.each do |name|
836
+ $stderr.puts self[name]
837
+ h[name] = self[name]
838
+ end
839
+
834
840
  h
835
841
  end
836
842
 
@@ -228,7 +228,7 @@ module Indexer
228
228
  super(value)
229
229
  end
230
230
 
231
- # TODO: How to handle project toplevel namespace?
231
+ # TODO: How best to handle project toplevel namespace since it can be either a class or a module in a Ruby project?
232
232
 
233
233
  # Namespace must be a single line string.
234
234
  def namespace=(value)
@@ -251,9 +251,12 @@ module Indexer
251
251
  super(value)
252
252
  end
253
253
 
254
- #
255
- def extra=(value)
256
- Valid.hash!(value, :extra)
254
+ # Custom field names must a valid list of strings.
255
+ def customs=(value)
256
+ Valid.array!(value, :customs)
257
+ value.each_with_index do |data, index|
258
+ Valid.string!(data, "customs ##{index}")
259
+ end
257
260
  super(value)
258
261
  end
259
262
 
@@ -284,8 +287,8 @@ module Indexer
284
287
  #
285
288
  def initialize_attributes
286
289
  @data = {
287
- :type => 'ruby',
288
290
  :revision => REVISION,
291
+ :type => 'ruby',
289
292
  :sources => [],
290
293
  :authors => [],
291
294
  :organizations => [],
@@ -295,8 +298,9 @@ module Indexer
295
298
  :resources => [],
296
299
  :repositories => [],
297
300
  :categories => [],
298
- :paths => {'load' => ['lib']},
299
- :copyrights => []
301
+ :copyrights => [],
302
+ :customs => [],
303
+ :paths => {'lib' => ['lib']},
300
304
  }
301
305
  end
302
306
 
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.2.0
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-12-27 00:00:00.000000000 Z
13
+ date: 2013-01-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri
@@ -44,6 +44,22 @@ dependencies:
44
44
  - - ! '>='
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0.14'
47
+ - !ruby/object:Gem::Dependency
48
+ name: redcarpet
49
+ requirement: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '2.0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '2.0'
47
63
  - !ruby/object:Gem::Dependency
48
64
  name: qed
49
65
  requirement: !ruby/object:Gem::Requirement
@@ -87,6 +103,7 @@ extra_rdoc_files:
87
103
  - README.md
88
104
  files:
89
105
  - .index
106
+ - .yardopts
90
107
  - bin/index
91
108
  - data/indexer/index.kwalify
92
109
  - data/indexer/index.yes
@@ -144,7 +161,6 @@ files:
144
161
  - lib/indexer/webui/index.html
145
162
  - lib/indexer/webui.rb
146
163
  - lib/indexer.rb
147
- - Gemfile.lock
148
164
  - HISTORY.md
149
165
  - README.md
150
166
  homepage: http://rubyworks.github.com/indexer
@@ -168,8 +184,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
184
  version: '0'
169
185
  requirements: []
170
186
  rubyforge_project:
171
- rubygems_version: 1.8.23
187
+ rubygems_version: 1.8.24
172
188
  signing_key:
173
189
  specification_version: 3
174
190
  summary: Enable Your Project's Metadata
175
191
  test_files: []
192
+ has_rdoc:
@@ -1,29 +0,0 @@
1
- PATH
2
- remote: pkg
3
- specs:
4
- indexer (0.1.0)
5
- nokogiri (>= 1.5)
6
- redcarpet (>= 2.0)
7
-
8
- GEM
9
- remote: http://rubygems.org/
10
- specs:
11
- ae (1.8.1)
12
- ansi
13
- ansi (1.4.3)
14
- brass (1.2.1)
15
- facets (2.9.3)
16
- nokogiri (1.5.5)
17
- qed (2.9.0)
18
- ansi
19
- brass
20
- facets (>= 2.8)
21
- redcarpet (2.2.2)
22
-
23
- PLATFORMS
24
- ruby
25
-
26
- DEPENDENCIES
27
- ae
28
- indexer!
29
- qed (>= 2.9)