ruby_core_ri 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile ADDED
@@ -0,0 +1,11 @@
1
+ require 'jeweler'
2
+ Jeweler::Tasks.new do |s|
3
+ s.name = "ruby_core_ri"
4
+ s.summary = "A gem to make it possible to have the core ri/rdoc (especially useful if your distro didn't include it)"
5
+ s.email = "rogerdpack@gmail.com"
6
+ s.homepage = "http://github.com/rdp/ruby_core_ri"
7
+ s.authors = ["Roger Pack"]
8
+ s.add_development_dependency 'rspec'
9
+ s.add_development_dependency 'sane'
10
+ s.add_dependency 'backports'
11
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.3.0
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
- require 'ruby_core_source'
2
+ require 'ruby_core_ri/ruby_core_source'
3
3
 
4
+ # sanity check
4
5
  myself = Gem.source_index.find_name('ruby_core_ri')
5
6
  myself ||= Gem.source_index.find_name('rogerdpack-ruby_core_ri')
6
7
  throw 'uninstall all old version of this gem first!' if myself.length > 1
@@ -11,7 +12,6 @@ to_dir = myself.full_gem_path + "/lib/downloaded_full_source"
11
12
  puts "installing your full source (for rdoc/ri purposes) to #{to_dir}"
12
13
  Ruby_core_source.download_headers nil, to_dir, false
13
14
 
14
-
15
15
  command = "gem rdoc --no-rdoc --ri ruby_core_ri"
16
16
  puts "downloading--extracting out the ri via " + command
17
17
 
File without changes
@@ -87,7 +87,6 @@ def download_headers hdrs, dest_dir = nil, just_headers = true, existing_pre_unp
87
87
  end
88
88
 
89
89
  FileUtils.mkdir_p(dest_dir)
90
- require File.dirname(__FILE__) + "/dir_mktmpdir" unless Dir.respond_to? :mktmpdir
91
90
  Dir.mktmpdir { |dir|
92
91
  dir = existing_pre_unpacked_dir if existing_pre_unpacked_dir
93
92
  Archive::Tar::Minitar.unpack(tgz, dir) unless existing_pre_unpacked_dir
metadata CHANGED
@@ -1,75 +1,68 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_core_ri
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
- - Mark Moseley
8
7
  - Roger Pack
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
11
 
13
- date: 2009-10-28 00:00:00 -06:00
14
- default_executable:
12
+ date: 2010-01-16 00:00:00 -07:00
13
+ default_executable: ruby_core_ri
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
- name: archive-tar-minitar
18
- type: :runtime
16
+ name: rspec
17
+ type: :development
19
18
  version_requirement:
20
19
  version_requirements: !ruby/object:Gem::Requirement
21
20
  requirements:
22
21
  - - ">="
23
22
  - !ruby/object:Gem::Version
24
- version: 0.5.2
23
+ version: "0"
25
24
  version:
26
25
  - !ruby/object:Gem::Dependency
27
- name: backports
28
- type: :runtime
26
+ name: sane
27
+ type: :development
29
28
  version_requirement:
30
29
  version_requirements: !ruby/object:Gem::Requirement
31
30
  requirements:
32
31
  - - ">="
33
32
  - !ruby/object:Gem::Version
34
- version: 1.10.3
33
+ version: "0"
35
34
  version:
36
35
  - !ruby/object:Gem::Dependency
37
- name: rdoc
36
+ name: backports
38
37
  type: :runtime
39
38
  version_requirement:
40
39
  version_requirements: !ruby/object:Gem::Requirement
41
40
  requirements:
42
41
  - - ">="
43
42
  - !ruby/object:Gem::Version
44
- version: 2.4.3
43
+ version: "0"
45
44
  version:
46
- description: Retrieve Ruby core source files for ri/rdoc generation
45
+ description:
47
46
  email: rogerdpack@gmail.com
48
47
  executables:
49
- - install_ruby_core_ri
48
+ - ruby_core_ri
50
49
  extensions: []
51
50
 
52
51
  extra_rdoc_files:
53
52
  - README
54
53
  files:
55
54
  - README
56
- - lib/ruby_core_source.rb
57
- - lib/contrib/uri_ext.rb
58
- - lib/contrib/progressbar.rb
59
- - bin/install_ruby_core_ri
55
+ - Rakefile
56
+ - VERSION
57
+ - bin/ruby_core_ri
58
+ - lib/ruby_core_ri/contrib/progressbar.rb
59
+ - lib/ruby_core_ri/contrib/uri_ext.rb
60
+ - lib/ruby_core_ri/ruby_core_source.rb
60
61
  has_rdoc: true
61
- homepage: http://github.com/rogerdpack
62
+ homepage: http://github.com/rdp/ruby_core_ri
62
63
  licenses: []
63
64
 
64
- post_install_message: |+
65
-
66
-
67
- Almost done--please RUN THIS COMMAND
68
- install_ruby_core_ri (like this)
69
- $ install_ruby_core_ri
70
-
71
- to install the core source + RI locally
72
-
65
+ post_install_message:
73
66
  rdoc_options:
74
67
  - --charset=UTF-8
75
68
  require_paths:
@@ -78,7 +71,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
71
  requirements:
79
72
  - - ">="
80
73
  - !ruby/object:Gem::Version
81
- version: 1.8.2
74
+ version: "0"
82
75
  version:
83
76
  required_rubygems_version: !ruby/object:Gem::Requirement
84
77
  requirements:
@@ -92,6 +85,6 @@ rubyforge_project:
92
85
  rubygems_version: 1.3.5
93
86
  signing_key:
94
87
  specification_version: 3
95
- summary: Retrieve Ruby core source files for ri
88
+ summary: A gem to make it possible to have the core ri/rdoc (especially useful if your distro didn't include it)
96
89
  test_files: []
97
90