imobile 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v0.0.4. Updated CryptoSupport with the push token device attribute.
2
+
1
3
  v0.0.3. Push Notification support.
2
4
 
3
5
  v0.0.2. CryptoSupport finger-prints computation.
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.3"
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-25}
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', 'hardware_model',
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 '9cef1c830742fa83ad213281c1ce47b5', fprint
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
- 'b5b45dec2177d095bff66dd895c624b1bc264e48575f2b39ed5456c3821c338f'
36
+ 'd84630797d0b19d7d8403705bcc154cfbd82ff386587875193f7d99f01348014'
37
37
  assert_equal gold_fprint, fprint
38
38
  end
39
39
  end
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  app_id: us.costan.ZergSupportTests
3
3
  app_provisioning: s
4
+ app_push_token: c04046356452c0bce8e090c0cd15cfd9b7a7365f47fb33ab8e784fd7be3ea717
4
5
  app_version: "1.9.8.3"
5
6
  hardware_model: i386
6
7
  os_name: iPhone OS
Binary file
@@ -1 +1 @@
1
- af9788cb 35d74ed3 4ed94bfc 1fbd4ad6 cdc7b460 3c47a04a 98bf7162 ad1305c6
1
+ c0404635 6452c0bc e8e090c0 cd15cfd9 b7a7365f 47fb33ab 8e784fd7 be3ea717
@@ -1 +1 @@
1
- ����5N�N�K��J��Ǵ`<G�J��qb��
1
+ �@F5dR��������ٷ�6_G3��xO׾>�
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imobile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
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-25 00:00:00 -04:00
12
+ date: 2009-07-26 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency