actir 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4b84ac2a874d211c4d43a12520ca60fa37706e1
4
- data.tar.gz: 5be1d3a4723483f03bb8da5ffbeda88b377d5155
3
+ metadata.gz: 4b904ce416932f09ab858ed1c1dc89cea7db0f81
4
+ data.tar.gz: 5e0b1d3d0a0aa65b8c26addaaa58092f682202f6
5
5
  SHA512:
6
- metadata.gz: 7e306cd8e07a8f0d95d7823c9a234fd7bc851b8105300e2081293fe18453afe85460863aa2ca7ac2fea85fa80b02f382aef90ae91eb0aec10d94c442dc66dcec
7
- data.tar.gz: cbc761356fc3f5249c10cb213448a0f44ccf84ab7226bdc97b5557cfe158a9f9732c7eaa4adde2ecda2f6be473da6dd6577fd0b141ea91845d3885b8788b75ec
6
+ metadata.gz: 15f5ffdb6691788e9bda1ae1b77d2f5e3096d529d75be2579b26b9b2d9668089a82074299f79a23a4c07f2a014b55bd7ba327366c571742d2dfae7c0799854d3
7
+ data.tar.gz: 9547b0964f9b4b85608c1bf0bf8f04e60616dcfe2237742a9ea02459c05403baff8f4fb323ce59787c22097ab8a5efbf0e50971718651a5990054b7c8cbf83e6
@@ -59,7 +59,8 @@ module Actir
59
59
  end
60
60
 
61
61
  #更新百度支付-百付宝的cookies
62
- if options[:update]
62
+ #-u为强制更新,若没有加强制更新命令,则每天自动更新一次
63
+ if options[:update] || !(Actir::Config.is_same_day?("cookies"))
63
64
  begin
64
65
  Actir::CookiesBaidu.update_all
65
66
  rescue Exception => e
data/lib/actir/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Actir
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actir
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - hub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-12 00:00:00.000000000 Z
11
+ date: 2016-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit