apk_downloader 1.1.4 → 1.1.5

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: 74d2869f9c1705b1187c2537e06bc2ef67db486f
4
- data.tar.gz: cf97aed1335b5a1065c565a9818bd4f591fe7f32
3
+ metadata.gz: d3bc34d2b26a81141b054e17392109cb6c165c26
4
+ data.tar.gz: cbf3a0c0061bb66efe33d8f5ada4a3cf3628652f
5
5
  SHA512:
6
- metadata.gz: 6de040b0f49a1a4381fa8ac874cdbfcf25a70146d87bf9fe1adce004b538506b3efac5d1532cddaf96f8577e82d90f9f8a7fdad2311c3805510fb1d5d26c46e8
7
- data.tar.gz: 78138fccebfb844e8706ed36506d5571fef8e57e5f4e3ff4e6a04aa1140226d923977b6bc8e1319821cf4fb43248524543c6e9d05d2d6c07486101da926ab373
6
+ metadata.gz: 49d9a3ff1a886c2b4285558d10c84f440b2a5838e5fde6a2e95ec5f7116c81d6989cd64b6d2692306b2fb0327f3a56b732eaac3efe270a00b760dce3c03867ce
7
+ data.tar.gz: 354458265e5e475ad2b5e23073091e44b845150463db6f5ee0e80a78d1bb47e3d4a06e8bc5c2c80adfb2db013c7aa97b97093001c8af7c82da8bdc9e0e04425b
data/Gemfile CHANGED
@@ -1,4 +1,9 @@
1
1
  source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in apk_downloader.gemspec
4
2
  gemspec
3
+
4
+ group :development do
5
+ gem 'rake'
6
+ gem 'pry'
7
+ gem 'pry-byebug'
8
+ end
9
+
data/Rakefile CHANGED
@@ -1,5 +1,11 @@
1
1
  require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
2
 
4
- RSpec::Core::RakeTask.new(:spec)
5
- task :default => :spec
3
+ begin
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+ task :default => :spec
8
+ rescue LoadError => e
9
+ warn "Unable to load rspec/core/rake_task"
10
+ end
11
+
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.name = "apk_downloader"
8
8
  spec.version = ApkDownloader::VERSION
9
9
  spec.authors = ["Josh Lindsey"]
10
- spec.email = ["josh@core-apps.com"]
10
+ spec.email = ["joshua.s.lindsey@gmail.com"]
11
11
  spec.description = %q{Downloads APK files directly from the Play store}
12
12
  spec.summary = %q{Uses a spoofed request to trick the Play store into thinking you're an Android device, allowing you to download APK files directly}
13
13
  spec.homepage = "https://github.com/jlindsey/ApkDownloader"
@@ -22,8 +22,4 @@ Gem::Specification.new do |spec|
22
22
  spec.add_dependency "varint"
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.3"
25
- spec.add_development_dependency "rake"
26
- spec.add_development_dependency "rspec"
27
- spec.add_development_dependency "pry"
28
- spec.add_development_dependency "pry-debugger"
29
25
  end
@@ -88,6 +88,7 @@ module ApkDownloader
88
88
  raise ArgumentError, 'HTTP redirect too deep' if tries == 0
89
89
 
90
90
  http = Net::HTTP.new url.host, url.port
91
+ http.use_ssl = (url.scheme == 'https')
91
92
  http.verify_mode = OpenSSL::SSL::VERIFY_NONE
92
93
 
93
94
  req = Net::HTTP::Get.new url.to_s
@@ -1,3 +1,3 @@
1
1
  module ApkDownloader
2
- VERSION = "1.1.4"
2
+ VERSION = "1.1.5"
3
3
  end
metadata CHANGED
@@ -1,122 +1,66 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apk_downloader
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Lindsey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-12 00:00:00.000000000 Z
11
+ date: 2015-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-protocol-buffers
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: varint
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.3'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.3'
55
- - !ruby/object:Gem::Dependency
56
- name: rake
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - '>='
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: rspec
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - '>='
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - '>='
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: pry
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - '>='
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - '>='
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: pry-debugger
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - '>='
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - '>='
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
55
  description: Downloads APK files directly from the Play store
112
56
  email:
113
- - josh@core-apps.com
57
+ - joshua.s.lindsey@gmail.com
114
58
  executables: []
115
59
  extensions: []
116
60
  extra_rdoc_files: []
117
61
  files:
118
- - .gitignore
119
- - .rspec
62
+ - ".gitignore"
63
+ - ".rspec"
120
64
  - Gemfile
121
65
  - LICENSE.txt
122
66
  - README.md
@@ -139,21 +83,20 @@ require_paths:
139
83
  - lib
140
84
  required_ruby_version: !ruby/object:Gem::Requirement
141
85
  requirements:
142
- - - '>='
86
+ - - ">="
143
87
  - !ruby/object:Gem::Version
144
88
  version: '0'
145
89
  required_rubygems_version: !ruby/object:Gem::Requirement
146
90
  requirements:
147
- - - '>='
91
+ - - ">="
148
92
  - !ruby/object:Gem::Version
149
93
  version: '0'
150
94
  requirements: []
151
95
  rubyforge_project:
152
- rubygems_version: 2.1.9
96
+ rubygems_version: 2.4.6
153
97
  signing_key:
154
98
  specification_version: 4
155
99
  summary: Uses a spoofed request to trick the Play store into thinking you're an Android
156
100
  device, allowing you to download APK files directly
157
101
  test_files:
158
102
  - spec/spec_helper.rb
159
- has_rdoc: