nth 0.0.0 → 0.1.0

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.
Files changed (6) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +312 -3
  3. data/lib/nth.rb +1152 -15
  4. data/lib/nth/version.rb +1 -1
  5. data/nth.gemspec +13 -2
  6. metadata +40 -6
@@ -1,3 +1,3 @@
1
1
  module Nth
2
- VERSION = "0.0.0"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -9,16 +9,27 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Bryan Colvin"]
10
10
  spec.email = ["bryan@bdlsys.com"]
11
11
 
12
- spec.summary = %q{Creates access methods using ordinals.}
13
- spec.description = %q{Creates access methods using ordinals such as array.third or string.seventh.}
12
+ spec.summary = %q{Ordinal and number utilities}
13
+ spec.description = %q{The Nth gem is a collection of utilities that use named numbers and ordinals to represent or access data.
14
+ The gem supports numbers bigger than a milliquadragintillion (over 3000 zeros).
15
+ A way smaller number septemvigintillion is more than the number of atoms in the Universe; it only has 84 zeros.
16
+ Asside from ridiculously large numbers, there are also some useful utilities using named numbers.
17
+ As an example we can access the `#twelfth` character of a string.
18
+ Cookbook applications might like to use named measurements such as 'five and three quarters'.
19
+ }
14
20
  spec.license = "MIT"
15
21
 
16
22
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
23
  spec.bindir = "exe"
18
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
25
  spec.require_paths = ["lib"]
26
+
27
+ spec.required_ruby_version = '>= 2.1.0'
28
+ spec.add_runtime_dependency 'primitive_wrapper', '>= 2.2.0'
20
29
 
21
30
  spec.add_development_dependency "bundler", "~> 1.11"
22
31
  spec.add_development_dependency "rake", "~> 10.0"
23
32
  spec.add_development_dependency "rspec", "~> 3.0"
33
+ spec.add_development_dependency 'byebug', ">= 5.0.0"
34
+
24
35
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Colvin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-26 00:00:00.000000000 Z
11
+ date: 2018-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: primitive_wrapper
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 2.2.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 2.2.0
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -52,7 +66,27 @@ dependencies:
52
66
  - - "~>"
53
67
  - !ruby/object:Gem::Version
54
68
  version: '3.0'
55
- description: Creates access methods using ordinals such as array.third or string.seventh.
69
+ - !ruby/object:Gem::Dependency
70
+ name: byebug
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 5.0.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 5.0.0
83
+ description: |
84
+ The Nth gem is a collection of utilities that use named numbers and ordinals to represent or access data.
85
+ The gem supports numbers bigger than a milliquadragintillion (over 3000 zeros).
86
+ A way smaller number septemvigintillion is more than the number of atoms in the Universe; it only has 84 zeros.
87
+ Asside from ridiculously large numbers, there are also some useful utilities using named numbers.
88
+ As an example we can access the `#twelfth` character of a string.
89
+ Cookbook applications might like to use named measurements such as 'five and three quarters'.
56
90
  email:
57
91
  - bryan@bdlsys.com
58
92
  executables: []
@@ -84,7 +118,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
118
  requirements:
85
119
  - - ">="
86
120
  - !ruby/object:Gem::Version
87
- version: '0'
121
+ version: 2.1.0
88
122
  required_rubygems_version: !ruby/object:Gem::Requirement
89
123
  requirements:
90
124
  - - ">="
@@ -92,8 +126,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
126
  version: '0'
93
127
  requirements: []
94
128
  rubyforge_project:
95
- rubygems_version: 2.5.1
129
+ rubygems_version: 2.7.6
96
130
  signing_key:
97
131
  specification_version: 4
98
- summary: Creates access methods using ordinals.
132
+ summary: Ordinal and number utilities
99
133
  test_files: []