frequency_enumerator 1.1.0 → 1.1.1
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.
- checksums.yaml +7 -0
- data/README.md +1 -1
- metadata +35 -57
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 70333e9841e3e2cec403ba98ab23602e68f22f93
|
4
|
+
data.tar.gz: c2fc706f5f18564adbc91207950963b44a991ebb
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a1b0a5a0cb89e078418d0dfbec5e8ee3d81f625d629189fa9af23f04c4dba2d31dfd94168bb7187abc4ffff2a34d393f84a2ac2c2da53d79f846668cf71cfd05
|
7
|
+
data.tar.gz: 353786051ff5f008a37694b9521cb73cd6bccefcfc8695e326580375f0298cb43b5c1c6a5d8cbd10ed041234746705a148e425d891046e5e92efd0e5a6bea836
|
data/README.md
CHANGED
@@ -18,7 +18,7 @@ We could use *maths* to solve this problem. Or we could brute-force it.
|
|
18
18
|
|
19
19
|
For the latter, you'd go through every combination of these items and see which totalled £2.00. In this example, that'd take no time at all, but what if we're dealing with huge sums of money, or there are dozens of items? What if we're brute-forcing passwords?
|
20
20
|
|
21
|
-
It helps to do some [frequency analysis](https://github.com/
|
21
|
+
It helps to do some [frequency analysis](https://github.com/tuzz/frequency_analyser) first.
|
22
22
|
|
23
23
|
You might discover, that in fact, almost no one drinks tea and everyone loves biscuits. You might ask a couple of hundred people and end up with a frequency distribution like this:
|
24
24
|
|
metadata
CHANGED
@@ -1,84 +1,62 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: frequency_enumerator
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 1.1.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.1
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
13
|
-
-
|
6
|
+
authors:
|
7
|
+
- Chris Patuzzo
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2013-03-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
21
14
|
name: rspec
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 3
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
version: "0"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
32
20
|
type: :development
|
33
|
-
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
34
27
|
description: Yields hashes that correlate with the given frequency distribution.
|
35
28
|
email: chris@patuzzo.co.uk
|
36
29
|
executables: []
|
37
|
-
|
38
30
|
extensions: []
|
39
|
-
|
40
31
|
extra_rdoc_files: []
|
41
|
-
|
42
|
-
files:
|
32
|
+
files:
|
43
33
|
- README.md
|
44
34
|
- lib/frequency_enumerator/base.rb
|
45
35
|
- lib/frequency_enumerator/composer.rb
|
46
36
|
- lib/frequency_enumerator/decomposer.rb
|
47
37
|
- lib/frequency_enumerator/sorter.rb
|
48
38
|
- lib/frequency_enumerator.rb
|
49
|
-
homepage: https://github.com/
|
39
|
+
homepage: https://github.com/tuzz/frequency_enumerator
|
50
40
|
licenses: []
|
51
|
-
|
41
|
+
metadata: {}
|
52
42
|
post_install_message:
|
53
43
|
rdoc_options: []
|
54
|
-
|
55
|
-
require_paths:
|
44
|
+
require_paths:
|
56
45
|
- lib
|
57
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
none: false
|
68
|
-
requirements:
|
69
|
-
- - ">="
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
hash: 3
|
72
|
-
segments:
|
73
|
-
- 0
|
74
|
-
version: "0"
|
46
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - '>='
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '0'
|
51
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
75
56
|
requirements: []
|
76
|
-
|
77
57
|
rubyforge_project:
|
78
|
-
rubygems_version:
|
58
|
+
rubygems_version: 2.0.0
|
79
59
|
signing_key:
|
80
|
-
specification_version:
|
60
|
+
specification_version: 4
|
81
61
|
summary: Frequency Enumerator
|
82
62
|
test_files: []
|
83
|
-
|
84
|
-
has_rdoc:
|