histogram 0.2.1.1 → 0.2.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -6
  3. data/Rakefile +3 -3
  4. data/lib/histogram/version.rb +1 -1
  5. metadata +16 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4dab1b719900dc527eea29617eb15194326666b0
4
- data.tar.gz: 34ad89d18b02920a03d7b101753bbad125edadca
3
+ metadata.gz: c167737b9b62bc8f3203a15d71b8e19b833c9f60
4
+ data.tar.gz: cde82c76ecaa1ca50479e72befce896a4d7b929f
5
5
  SHA512:
6
- metadata.gz: 3cd5971874d933de5b88e6d5b75dbf961db8f4c690ee673cc49cd54f22d237ce711deafda669f41e23409e95aa8aad5e98174ff6c062d7c967fe09ecef91d163
7
- data.tar.gz: a12e4f3cc82b41c64792a341cf12552eb5f90e9378a9c9f484dae4e2f55242aa503e7e2607ee64bb096024ae3eab0d282e356513ebda52fb674e088084fefd7b
6
+ metadata.gz: 4949e55d331fc8a6f371868b4a6f75784bdcc4be0fb25c96936a29539a7dd6bc7a8f9ee1bd4b7707e2f0f7a92a825156e5145f70ce843394ff67ca3a8206c0b7
7
+ data.tar.gz: 69e866208d218793fc3b3770a7a6191794cdaf54cfef85eabc8c01acc837a318be5737c084f988138f8efd6970f9dba78d4ea3edaeea14fc61178961b44c75e8
data/README.md CHANGED
@@ -6,12 +6,6 @@ Generates histograms similar to R's hist and numpy's histogram functions.
6
6
  Inspired somewhat by [Richard Cottons's matlab implementation](http://www.mathworks.com/matlabcentral/fileexchange/21033-calculate-number-of-bins-for-histogram)
7
7
  and the wikipedia [histogram article](http://en.wikipedia.org/wiki/Histogram).
8
8
 
9
- ## NOTE
10
-
11
- versions <= 0.1.0 had a stupid bug in the Freedman-Diaconis method for finding
12
- bins. So, if you weren't specifying your own number of bins or bin sizes,
13
- then you may not have been getting the optimal bin size by default.
14
-
15
9
  ### Typical usage:
16
10
 
17
11
  require 'histogram/array' # enables Array#histogram
data/Rakefile CHANGED
@@ -1,4 +1,5 @@
1
1
  require "bundler/gem_tasks"
2
+ require_relative "lib/histogram/version"
2
3
 
3
4
  require 'rspec/core'
4
5
  require 'rspec/core/rake_task'
@@ -10,10 +11,9 @@ task :default => :spec
10
11
 
11
12
  require 'rdoc/task'
12
13
  Rake::RDocTask.new do |rdoc|
13
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
14
-
14
+ version = Histogram::VERSION
15
15
  rdoc.rdoc_dir = 'rdoc'
16
- rdoc.title = "rubabel #{version}"
16
+ rdoc.title = "histogram #{version}"
17
17
  rdoc.rdoc_files.include('README*')
18
18
  rdoc.rdoc_files.include('lib/**/*.rb')
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module Histogram
2
- VERSION = "0.2.1.1"
2
+ VERSION = "0.2.1.2"
3
3
  end
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: histogram
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1.1
4
+ version: 0.2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John T. Prince
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-01 00:00:00.000000000 Z
11
+ date: 2014-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
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
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 10.1.0
34
34
  type: :development
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: 10.1.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: simplecov
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.7.1
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: 0.7.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 2.13.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 2.13.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: narray
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description: gives objects the ability to 'histogram' in several useful ways
@@ -88,7 +88,7 @@ executables:
88
88
  extensions: []
89
89
  extra_rdoc_files: []
90
90
  files:
91
- - .gitignore
91
+ - ".gitignore"
92
92
  - Gemfile
93
93
  - LICENSE
94
94
  - README.md
@@ -112,21 +112,20 @@ require_paths:
112
112
  - lib
113
113
  required_ruby_version: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  requirements:
120
- - - '>='
120
+ - - ">="
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
123
  requirements: []
124
124
  rubyforge_project:
125
- rubygems_version: 2.0.3
125
+ rubygems_version: 2.2.2
126
126
  signing_key:
127
127
  specification_version: 4
128
128
  summary: histograms data in different ways
129
129
  test_files:
130
130
  - spec/histogram_spec.rb
131
131
  - spec/spec_helper.rb
132
- has_rdoc: