snoo 0.1.0.pre.6 → 0.1.0.pre.7

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 (3) hide show
  1. data/lib/snoo.rb +2 -0
  2. data/lib/snoo/version.rb +1 -1
  3. metadata +1 -1
@@ -43,6 +43,8 @@ module Snoo
43
43
 
44
44
  if !(options[:username].nil? && options[:password].nil?)
45
45
  self.log_in options[:username], options[:password]
46
+ elsif !(options[:modhash].nil? && options[:cookies].nil?)
47
+ self.auth options[:modhash], options[:cookies]
46
48
  end
47
49
  end
48
50
  end
@@ -1,4 +1,4 @@
1
1
  module Snoo
2
2
  # The version string (duh)
3
- VERSION = "0.1.0.pre.6"
3
+ VERSION = "0.1.0.pre.7"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snoo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.6
4
+ version: 0.1.0.pre.7
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: