redix 0.0.1 → 0.0.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.
Files changed (5) hide show
  1. data/VERSION +1 -1
  2. data/bin/redix +8 -7
  3. data/lib/redix.rb +4 -0
  4. data/redix.gemspec +1 -1
  5. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
data/bin/redix CHANGED
@@ -1,9 +1,10 @@
1
- #!/bin/sh
1
+ #!/usr/bin/env ruby
2
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
+ require 'rubygems' if RUBY_VERSION < "1.9"
4
+ require 'redix'
2
5
 
3
- $(dirname $0)/../lib/redix.rb $*
6
+ # SH version (jeweler or rubygems overwrites....)
7
+ #!/bin/sh
8
+ #
9
+ #$(dirname $0)/../lib/redix.rb $*
4
10
 
5
- # RUBY VERSION:
6
- #!/usr/bin/env ruby
7
- # $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
8
- # require 'redix'
9
- # Redix.boot!
@@ -1,6 +1,10 @@
1
1
  #!/usr/bin/env ruby
2
2
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__)))
3
+ begin
3
4
  require 'Qt4'
5
+ rescue LoadError
6
+ puts "QT Bindings not found, try `gem install qtbindings`."
7
+ end
4
8
  require 'redis'
5
9
  # APP
6
10
  require 'redix/logic'
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{redix}
8
- s.version = "0.0.1"
8
+ s.version = "0.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Marcos Piccinini"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Marcos Piccinini