everyday-menu 1.3.7 → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/everyday-menu.gemspec +1 -1
- data/lib/everyday-menu/version.rb +1 -1
- metadata +4 -9
- data/vendor/MD5SHA1Digest/MD5SHA1Digest-Prefix.pch +0 -7
- data/vendor/MD5SHA1Digest/NSData+SHA1Digest.h +0 -19
- data/vendor/MD5SHA1Digest/NSData+SHA1Digest.m +0 -40
- data/vendor/MD5SHA1Digest/NSData+SHA256Digest.h +0 -16
- data/vendor/MD5SHA1Digest/NSData+SHA256Digest.m +0 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 301c56c549cab4364ece92474413278668b7c3e6
|
4
|
+
data.tar.gz: b9e7df92ea936a7f8f1ba4596d1a65015fe79f33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3f0e9f600857da74fda0565cbcd18dca1dd7ec0870004d60d759972e3b40e27c00f558721fcc507b325545635a1a1abf0bd721cd01738263c0957cfc29fbb84
|
7
|
+
data.tar.gz: 95311772c6ca1da57cf3b33e3064ddb91065990b61582eb458db55800e4cf23f1ed2485cbba340e348898a6126947c2a71805f91d01f0bd29938f2e268459ae4
|
data/everyday-menu.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
18
|
spec.require_paths = ['lib']
|
19
19
|
|
20
|
-
spec.add_development_dependency 'bundler', '~> 1.
|
20
|
+
spec.add_development_dependency 'bundler', '~> 1.6'
|
21
21
|
spec.add_development_dependency 'rake', '~> 10.3'
|
22
22
|
#spec.add_development_dependency 'simplecov', '>= 0.8.2'
|
23
23
|
#spec.add_development_dependency 'coveralls', '>= 0.7.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: everyday-menu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Henderson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.6'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,13 +67,8 @@ files:
|
|
67
67
|
- spec/menu_builder_spec.rb
|
68
68
|
- spec/menu_item_spec.rb
|
69
69
|
- spec/menu_spec.rb
|
70
|
-
- vendor/MD5SHA1Digest/MD5SHA1Digest-Prefix.pch
|
71
70
|
- vendor/MD5SHA1Digest/NSData+MD5Digest.h
|
72
71
|
- vendor/MD5SHA1Digest/NSData+MD5Digest.m
|
73
|
-
- vendor/MD5SHA1Digest/NSData+SHA1Digest.h
|
74
|
-
- vendor/MD5SHA1Digest/NSData+SHA1Digest.m
|
75
|
-
- vendor/MD5SHA1Digest/NSData+SHA256Digest.h
|
76
|
-
- vendor/MD5SHA1Digest/NSData+SHA256Digest.m
|
77
72
|
homepage: https://github.com/henderea/everyday-menu
|
78
73
|
licenses:
|
79
74
|
- MIT
|
@@ -1,19 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// NSData+SHA1Digest.h
|
3
|
-
// MD5SHA1Digest
|
4
|
-
//
|
5
|
-
// Created by Tom Meinlschmidt on 28.2.2013.
|
6
|
-
// Copyright (c) 2013 Tom Meinlschmidt. All rights reserved.
|
7
|
-
//
|
8
|
-
|
9
|
-
#import <Foundation/Foundation.h>
|
10
|
-
|
11
|
-
@interface NSData (SHA1Digest)
|
12
|
-
|
13
|
-
+(NSData *)SHA1Digest:(NSData *)input;
|
14
|
-
-(NSData *)SHA1Digest;
|
15
|
-
|
16
|
-
+(NSString *)SHA1HexDigest:(NSData *)input;
|
17
|
-
-(NSString *)SHA1HexDigest;
|
18
|
-
|
19
|
-
@end
|
@@ -1,40 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// NSData+SHA1Digest.m
|
3
|
-
// MD5SHA1Digest
|
4
|
-
//
|
5
|
-
// Created by Tom Meinlschmidt on 28.2.2013.
|
6
|
-
// Copyright (c) 2013 Tom Meinlschmidt. All rights reserved.
|
7
|
-
//
|
8
|
-
|
9
|
-
#import "NSData+SHA1Digest.h"
|
10
|
-
#import <CommonCrypto/CommonDigest.h>
|
11
|
-
|
12
|
-
@implementation NSData (SHA1)
|
13
|
-
|
14
|
-
+(NSData *)SHA1Digest:(NSData *)input {
|
15
|
-
unsigned char result[CC_SHA1_DIGEST_LENGTH];
|
16
|
-
|
17
|
-
CC_SHA1(input.bytes, input.length, result);
|
18
|
-
return [[NSData alloc] initWithBytes:result length:CC_SHA1_DIGEST_LENGTH];
|
19
|
-
}
|
20
|
-
|
21
|
-
-(NSData *)SHA1Digest {
|
22
|
-
return [NSData SHA1Digest:self];
|
23
|
-
}
|
24
|
-
|
25
|
-
+(NSString *)SHA1HexDigest:(NSData *)input {
|
26
|
-
unsigned char result[CC_SHA1_DIGEST_LENGTH];
|
27
|
-
|
28
|
-
CC_SHA1(input.bytes, input.length, result);
|
29
|
-
NSMutableString *ret = [NSMutableString stringWithCapacity:CC_SHA1_DIGEST_LENGTH*2];
|
30
|
-
for (int i = 0; i<CC_SHA1_DIGEST_LENGTH; i++) {
|
31
|
-
[ret appendFormat:@"%02x",result[i]];
|
32
|
-
}
|
33
|
-
return ret;
|
34
|
-
}
|
35
|
-
|
36
|
-
-(NSString *)SHA1HexDigest {
|
37
|
-
return [NSData SHA1HexDigest:self];
|
38
|
-
}
|
39
|
-
|
40
|
-
@end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// NSData+SHA1Digest.h
|
3
|
-
// MD5SHA1Digest
|
4
|
-
//
|
5
|
-
|
6
|
-
#import <Foundation/Foundation.h>
|
7
|
-
|
8
|
-
@interface NSData (SHA256Digest)
|
9
|
-
|
10
|
-
+(NSData *)SHA256Digest:(NSData *)input;
|
11
|
-
-(NSData *)SHA256Digest;
|
12
|
-
|
13
|
-
+(NSString *)SHA256HexDigest:(NSData *)input;
|
14
|
-
-(NSString *)SHA256HexDigest;
|
15
|
-
|
16
|
-
@end
|
@@ -1,38 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// NSData+SHA256Digest.m
|
3
|
-
// MD5SHA1Digest
|
4
|
-
//
|
5
|
-
//
|
6
|
-
|
7
|
-
#import "NSData+SHA256Digest.h"
|
8
|
-
#import <CommonCrypto/CommonDigest.h>
|
9
|
-
|
10
|
-
@implementation NSData (SHA256)
|
11
|
-
|
12
|
-
+(NSData *)SHA256Digest:(NSData *)input {
|
13
|
-
unsigned char result[CC_SHA256_DIGEST_LENGTH];
|
14
|
-
|
15
|
-
CC_SHA256(input.bytes, input.length, result);
|
16
|
-
return [[NSData alloc] initWithBytes:result length:CC_SHA256_DIGEST_LENGTH];
|
17
|
-
}
|
18
|
-
|
19
|
-
-(NSData *)SHA256Digest {
|
20
|
-
return [NSData SHA256Digest:self];
|
21
|
-
}
|
22
|
-
|
23
|
-
+(NSString *)SHA256HexDigest:(NSData *)input {
|
24
|
-
unsigned char result[CC_SHA256_DIGEST_LENGTH];
|
25
|
-
|
26
|
-
CC_SHA256(input.bytes, input.length, result);
|
27
|
-
NSMutableString *ret = [NSMutableString stringWithCapacity:CC_SHA256_DIGEST_LENGTH*2];
|
28
|
-
for (int i = 0; i<CC_SHA256_DIGEST_LENGTH; i++) {
|
29
|
-
[ret appendFormat:@"%02x",result[i]];
|
30
|
-
}
|
31
|
-
return ret;
|
32
|
-
}
|
33
|
-
|
34
|
-
-(NSString *)SHA256HexDigest {
|
35
|
-
return [NSData SHA256HexDigest:self];
|
36
|
-
}
|
37
|
-
|
38
|
-
@end
|