magnum-pi 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTgzYWJjMmVmMWM2Yjc4ODVmMzkxOTlmYWNlZWI4OTk1YTMxODQ3NA==
4
+ YTcyYzRjY2U4YTVlZGFkM2UwOTQ3N2MyZGRjN2JkMTZlNmY2NDAzZQ==
5
5
  data.tar.gz: !binary |-
6
- YWViMGNjMjM3MWQxNGRiYzNjZGM0ODEwMzlmYWMyMjI3NmVkZjk2Yw==
6
+ YmYwYTY5ZjM4YTQxZGM4NGUyYjNmNmNhMmNhMWIxMTZkOGRmZjk3YQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZGZiM2YzMzQyYjUyMDM4ZTZkNDNmMGUxY2MwNDRjZTNhMDVmYWU3YTk5MzIz
10
- N2RhZjJkYTNkODRkMDA2YTA5ZTM5MjVlNTk1YTAxMjdlN2IyNjNiMTRhYmMx
11
- YTk1NWQzMzA5MDU1OGFlNTJiM2JjOGFkZGQyZGQ5MDc1ZTNhMzU=
9
+ YjkwZmY5YTg3MTA1MTRlOWQ2M2QxNTE1ZTM1OTUzZjNiY2VjODAzY2E4Yjdm
10
+ ZDYyZmEyZTU0NDgzMjY3OTFkZWM4ZTc0ODMyNWYxNDY3NjQ0MWMyYjIzMWIw
11
+ MWVlZjM4MDM5Y2FlMTFiOWYxZDA0NzBlZGZmOTQyZjRiYjhjZTU=
12
12
  data.tar.gz: !binary |-
13
- NWJiNDhkNzI2Njg5MjAyNGNhNTY2NmEwZTQ3MThiMWFiM2U0ZTE1Y2I4MDA2
14
- NThlMWJkYjA5MTMzNDc2YjM5OTgwNmNjZDliN2E3ZWU2MzAxOWNhNzgzMWQ5
15
- OWJhMzI5OTY2ZjgxY2NhM2Y5YWZiMDUwZDE0ZjU1MmJjMmI3OGM=
13
+ NGQ0OWU0YWJkNDg1MDFiMDU3MjI4NTNhMWQ5ZDM5MWIyMzY0MmIyMjRlYzFj
14
+ ZGEyNTRmNGIzMDM3ZGNkMzIwM2M2ZTdjNGFhM2NmOWM1OThiNjI5YzY2Y2Fj
15
+ N2Y2ZTEwYTVlM2I2OTE4MDk2Njg3NjMwYmU3ZmM0YzkwZGJlNWM=
@@ -1,5 +1,9 @@
1
1
  = MagnumPI CHANGELOG
2
2
 
3
+ == Version 0.2.2 (June 23, 2014)
4
+
5
+ * Setting user_agent_alias of Mechanize instances (default: “Windows Chrome“, overwrite with USER_AGENT_ALIAS)
6
+
3
7
  == Version 0.2.1 (June 18, 2014)
4
8
 
5
9
  * Created `Aj` for iterating through large JSON files with Saj
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -44,6 +44,7 @@ module MagnumPI
44
44
  Mechanize.new.tap do |agent|
45
45
  agent.verify_mode = OpenSSL::SSL::VERIFY_NONE
46
46
  agent.pluggable_parser.default = Mechanize::Download
47
+ agent.user_agent_alias = defined?(USER_AGENT_ALIAS) ? USER_AGENT_ALIAS : "Windows Chrome"
47
48
  end
48
49
  end
49
50
  end
@@ -1,7 +1,7 @@
1
1
  module MagnumPI
2
2
  MAJOR = 0
3
3
  MINOR = 2
4
- TINY = 1
4
+ TINY = 2
5
5
 
6
6
  VERSION = [MAJOR, MINOR, TINY].join(".")
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magnum-pi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Engel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-18 00:00:00.000000000 Z
11
+ date: 2014-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize