narray_miss 1.2.4 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,8 +18,22 @@ The URL of the NArrayMiss home-page is:
18
18
 
19
19
  = Install
20
20
 
21
+ == gem (download from rubygems.org)
22
+
21
23
  # gem install narray_miss
22
24
 
25
+ == gem (with tarball)
26
+ * generate gem file locally under pkg directory and install it
27
+
28
+ % tar zxvf narray_miss-{version}.tar.gz
29
+ % cd narray_miss-{version}
30
+ % sudo rake install
31
+
32
+ == without gem
33
+
34
+ % tar zxvf narray_miss-{version}.tar.gz
35
+ % cd narray_miss-{version}
36
+ % sudo rake nongeminstall
23
37
 
24
38
  = Copying
25
39
 
data/Rakefile CHANGED
@@ -3,3 +3,18 @@ require "rake/testtask"
3
3
 
4
4
  Rake::TestTask.new
5
5
  task :default => :test
6
+
7
+
8
+ destdir = ENV["DESTDIR"] || ""
9
+ sitelibdir = ENV["SITELIBDIR"] || Config::CONFIG["sitelibdir"]
10
+
11
+ LIBS = FileList["lib/**/*rb"]
12
+
13
+ task :nongeminstall do
14
+ prefix = File.join(destdir, sitelibdir)
15
+ LIBS.each do |lib|
16
+ dst = File.join(prefix, File.dirname(lib.sub(/\Alib\//,"")))
17
+ mkdir_p dst
18
+ install lib, dst, :mode => 0644
19
+ end
20
+ end
@@ -1,3 +1,3 @@
1
1
  class NArrayMiss
2
- VERSION = "1.2.4"
2
+ VERSION = "1.2.5"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
2
+ $:.unshift File.expand_path("../lib", __FILE__)
3
3
  require "narray_miss/version"
4
4
 
5
5
  Gem::Specification.new do |s|
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: narray_miss
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 4
10
- version: 1.2.4
9
+ - 5
10
+ version: 1.2.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Seiya Nishizawa
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-12-16 00:00:00 Z
18
+ date: 2012-02-16 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: narray