saber 1.2.1 → 1.2.2

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.
data/README.md CHANGED
@@ -41,7 +41,7 @@ Because of lacking APIs in major PT sites, so I write this small script to help
41
41
 
42
42
  Manual fill \<info-data>.yml file and upload it.
43
43
 
44
- $ saber.bib g magazine hello.pdf
44
+ $ saber g magazine hello.pdf
45
45
  > create hello.yml
46
46
  $ edit hello.yml
47
47
 
@@ -57,7 +57,7 @@ Manual fill \<info-data>.yml file and upload it.
57
57
 
58
58
  Auto fill \<info-data>.yml file from ISBN.
59
59
 
60
- $ saber.bib g ebook hello.epub:1781100055
60
+ $ saber g ebook hello.epub:1781100055
61
61
  > create hello.yml
62
62
 
63
63
  ### Fetch
@@ -125,7 +125,6 @@ Install
125
125
  _Main article_: [Install Saber](https://github.com/SaberSalv/saber/wiki/Install)
126
126
 
127
127
  $ gem install saber
128
- $ install it's dependencies
129
128
 
130
129
  Development [![Dependency Status](https://gemnasium.com/SaberSalv/saber.png?branch=master)](https://gemnasium.com/SaberSalv/saber) [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/SaberSalv/saber)
131
130
  ===========
data/extconf.rb CHANGED
@@ -3,9 +3,13 @@ require "fileutils"
3
3
  require "mkmf"
4
4
 
5
5
  bindir = File.expand_path("../bin", __FILE__)
6
- dist_bindir = ENV["GEM_BINDIR"] || Gem.bindir # fix for archlinux package.
6
+ gem_home = Process.pid == 0 ? Gem.dir : Gem.user_dir
7
+ dist_bindir = ENV["GEM_BINDIR"] || Gem.bindir(gem_home)
7
8
 
8
9
  FileUtils.install File.join(bindir, "saber-drb_add"), dist_bindir
9
10
  FileUtils.install File.join(bindir, "saber.bib"), dist_bindir
11
+ FileUtils.install File.join(bindir, "saber.bb"), dist_bindir
12
+ FileUtils.install File.join(bindir, "saber.stp"), dist_bindir
13
+ FileUtils.install File.join(bindir, "saber.what"), dist_bindir
10
14
 
11
15
  create_makefile("saber")
@@ -1,3 +1,3 @@
1
1
  module Saber
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
@@ -1,4 +1,4 @@
1
- #browser = [:firefox, {profile: "jobs"}]
1
+ browser = [:firefox, {profile: "default"}]
2
2
 
3
3
  make:
4
4
  #dir = Pa(".") # move to directory.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saber
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: