costan-imobile 0.0.3 → 0.0.4
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.
- data/CHANGELOG +2 -0
- data/imobile.gemspec +2 -2
- data/lib/imobile/crypto_app_fprint.rb +2 -2
- data/test/crypto_app_fprint_test.rb +2 -2
- data/testdata/device_attributes.yml +1 -0
- data/testdata/encoded_notification +0 -0
- data/testdata/sandbox_device_token +1 -1
- data/testdata/sandbox_device_token.bin +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
data/imobile.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{imobile}
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.4"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Victor Costan"]
|
9
|
-
s.date = %q{2009-07-
|
9
|
+
s.date = %q{2009-07-26}
|
10
10
|
s.description = %q{Library for servers backing iPhone applications.}
|
11
11
|
s.email = %q{victor@zergling.net}
|
12
12
|
s.extra_rdoc_files = ["CHANGELOG", "lib/imobile/crypto_app_fprint.rb", "lib/imobile/push_notification.rb", "lib/imobile/validate_receipt.rb", "lib/imobile.rb", "LICENSE", "README"]
|
@@ -66,8 +66,8 @@ module CryptoSupportAppFprint
|
|
66
66
|
|
67
67
|
# The device attributes included in the finger-printing operation.
|
68
68
|
def self.device_fprint_attributes
|
69
|
-
Set.new(['app_id', 'app_version', 'app_provisioning', '
|
70
|
-
'os_name', 'os_version', 'unique_id'])
|
69
|
+
Set.new(['app_id', 'app_version', 'app_provisioning', 'app_push_token',
|
70
|
+
'hardware_model', 'os_name', 'os_version', 'unique_id'])
|
71
71
|
end
|
72
72
|
|
73
73
|
# The finger-print for a data blob, as implemented in CryptoSupport.
|
@@ -24,7 +24,7 @@ class CryptoAppFprintTest < Test::Unit::TestCase
|
|
24
24
|
|
25
25
|
def test_device_fprint
|
26
26
|
fprint = Imobile::CryptoSupportAppFprint.hex_device_fprint @device_attrs
|
27
|
-
assert_equal '
|
27
|
+
assert_equal '3231b35f8466d60a6ae00122d2530e65', fprint
|
28
28
|
end
|
29
29
|
|
30
30
|
def test_crypto_app_fprint
|
@@ -33,7 +33,7 @@ class CryptoAppFprintTest < Test::Unit::TestCase
|
|
33
33
|
and_return(@mock_binary)
|
34
34
|
fprint = Imobile.crypto_app_fprint @device_attrs, mock_binary_path
|
35
35
|
gold_fprint =
|
36
|
-
'
|
36
|
+
'd84630797d0b19d7d8403705bcc154cfbd82ff386587875193f7d99f01348014'
|
37
37
|
assert_equal gold_fprint, fprint
|
38
38
|
end
|
39
39
|
end
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
c0404635 6452c0bc e8e090c0 cd15cfd9 b7a7365f 47fb33ab 8e784fd7 be3ea717
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
�@F5dR��������ٷ�6_G�3��xO>�
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: costan-imobile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Costan
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-07-
|
12
|
+
date: 2009-07-26 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|