natcmp 1.4.0 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f149c9146614fbf7fa4b002f3d8cde38704eea6df55ef17f2f24d310ce87896f
4
+ data.tar.gz: 73a14fbfa814ae0b64fd25deb94587d07801d72b3529b5c0fe0fefcae8c29788
5
+ SHA512:
6
+ metadata.gz: 30f617a0a4039d50c34fa364b76f1b819b99c81ad40dedf0bac6cb481363eb7d361952989565605e01f1dc5f28fe25d37c6d619cc6552d04fbaf0c93099f33e9
7
+ data.tar.gz: 4c05ce70b903f652c251123562fa94e1bcf166fc7b08b154f47f616e2e5eaff1ffeb674d4889e32021ee2ebeb8da246b84d99dcb0670eaeb62eaf83e9f230779
data/History.txt CHANGED
@@ -1,3 +1,13 @@
1
+ === 1.4.3 2023-09-08
2
+
3
+ * 1 minor enhancement:
4
+ * Updated homepage and source location
5
+
6
+ === 1.4.1 2011-11-09
7
+
8
+ * 1 minor enhancements:
9
+ * Use .gemspec to create gem.
10
+
1
11
  === 1.4.0 2010-01-19
2
12
 
3
13
  * 2 major enhancements:
data/lib/natcmp.rb CHANGED
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # == Copyright
13
13
  #
14
- # This implementation is Copyright (C) 2003, 2008, 2009 by Alan Davies.
14
+ # This implementation is Copyright (C) 2003, 2008, 2009, 2011 by Alan Davies.
15
15
  #
16
16
  # == License
17
17
  #
@@ -31,7 +31,7 @@
31
31
  # misrepresented as being the original software.
32
32
  # 3. This notice may not be removed or altered from any source distribution.
33
33
  module Natcmp
34
- VERSION = "1.4.0"
34
+ VERSION = "1.4.1"
35
35
 
36
36
  # 'Natural order' comparison of two strings.
37
37
  #
metadata CHANGED
@@ -1,97 +1,47 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: natcmp
3
- version: !ruby/object:Gem::Version
4
- version: 1.4.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.4.3
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Alan Davies
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
-
12
- date: 2010-01-19 00:00:00 +00:00
13
- default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: rubyforge
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: 2.0.3
24
- version:
25
- - !ruby/object:Gem::Dependency
26
- name: gemcutter
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 0.3.0
34
- version:
35
- - !ruby/object:Gem::Dependency
36
- name: hoe
37
- type: :development
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: 2.5.0
44
- version:
45
- description: Natural order string comparison module.
46
- email:
47
- - alan n davies at gmail com
11
+ date: 2023-09-08 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Natural order string comparison is a way of comparing strings "naturally".
14
+ e.g. "somthing1" < "something2" < "something10" which does not follow alpabetically.
15
+ email: alan n davies at gmail com
48
16
  executables: []
49
-
50
17
  extensions: []
51
-
52
- extra_rdoc_files:
53
- - History.txt
54
- - Manifest.txt
55
- files:
18
+ extra_rdoc_files:
19
+ - README.rdoc
20
+ files:
56
21
  - History.txt
57
- - Manifest.txt
58
22
  - README.rdoc
59
- - Rakefile
60
23
  - lib/natcmp.rb
61
- - script/console
62
- - script/console.cmd
63
- - script/destroy
64
- - script/destroy.cmd
65
- - script/generate
66
- - script/generate.cmd
67
- has_rdoc: true
68
- homepage: http://rubyforge.org/projects/natcmp/
24
+ homepage: https://gitlab.com/cs96and/natcmp
69
25
  licenses: []
70
-
71
- post_install_message:
72
- rdoc_options:
73
- - --main
74
- - README.rdoc
75
- require_paths:
26
+ metadata:
27
+ source_code_uri: https://gitlab.com/cs96and/natcmp
28
+ post_install_message:
29
+ rdoc_options: []
30
+ require_paths:
76
31
  - lib
77
- required_ruby_version: !ruby/object:Gem::Requirement
78
- requirements:
32
+ required_ruby_version: !ruby/object:Gem::Requirement
33
+ requirements:
79
34
  - - ">="
80
- - !ruby/object:Gem::Version
81
- version: "0"
82
- version:
83
- required_rubygems_version: !ruby/object:Gem::Requirement
84
- requirements:
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ required_rubygems_version: !ruby/object:Gem::Requirement
38
+ requirements:
85
39
  - - ">="
86
- - !ruby/object:Gem::Version
87
- version: "0"
88
- version:
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
89
42
  requirements: []
90
-
91
- rubyforge_project: natcmp
92
- rubygems_version: 1.3.5
93
- signing_key:
94
- specification_version: 3
43
+ rubygems_version: 3.3.15
44
+ signing_key:
45
+ specification_version: 4
95
46
  summary: Natural order string comparison module.
96
47
  test_files: []
97
-
data/Manifest.txt DELETED
@@ -1,11 +0,0 @@
1
- History.txt
2
- Manifest.txt
3
- README.rdoc
4
- Rakefile
5
- lib/natcmp.rb
6
- script/console
7
- script/console.cmd
8
- script/destroy
9
- script/destroy.cmd
10
- script/generate
11
- script/generate.cmd
data/Rakefile DELETED
@@ -1,26 +0,0 @@
1
- require 'rubygems'
2
- gem 'hoe', '>= 2.1.0'
3
- require 'hoe'
4
- require 'fileutils'
5
- require './lib/natcmp'
6
-
7
- Hoe.plugin :newgem
8
- # Hoe.plugin :website
9
- # Hoe.plugin :cucumberfeatures
10
-
11
- # Generate all the Rake tasks
12
- # Run 'rake -T' to see list of generated tasks (from gem root directory)
13
- $hoe = Hoe.spec 'natcmp' do
14
- self.developer 'Alan Davies', 'alan n davies at gmail com'
15
- #self.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
16
- self.rubyforge_name = self.name # TODO this is default value
17
- # self.extra_deps = [['activesupport','>= 2.0.2']]
18
-
19
- end
20
-
21
- require 'newgem/tasks'
22
- Dir['tasks/**/*.rake'].each { |t| load t }
23
-
24
- # TODO - want other tests/tasks run by default? Add them to the list
25
- # remove_task :default
26
- # task :default => [:spec, :features]
data/script/console DELETED
@@ -1,10 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # File: script/console
3
- irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
4
-
5
- libs = " -r irb/completion"
6
- # Perhaps use a console_lib to store any extra methods I may want available in the cosole
7
- # libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
8
- libs << " -r #{File.dirname(__FILE__) + '/../lib/natcmp.rb'}"
9
- puts "Loading natcmp gem"
10
- exec "#{irb} #{libs} --simple-prompt"
data/script/console.cmd DELETED
@@ -1 +0,0 @@
1
- @ruby script/console %*
data/script/destroy DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
- APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
-
4
- begin
5
- require 'rubigen'
6
- rescue LoadError
7
- require 'rubygems'
8
- require 'rubigen'
9
- end
10
- require 'rubigen/scripts/destroy'
11
-
12
- ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
- RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
- RubiGen::Scripts::Destroy.new.run(ARGV)
data/script/destroy.cmd DELETED
@@ -1 +0,0 @@
1
- @ruby script/destroy %*
data/script/generate DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
- APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
-
4
- begin
5
- require 'rubigen'
6
- rescue LoadError
7
- require 'rubygems'
8
- require 'rubigen'
9
- end
10
- require 'rubigen/scripts/generate'
11
-
12
- ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
- RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
- RubiGen::Scripts::Generate.new.run(ARGV)
data/script/generate.cmd DELETED
@@ -1 +0,0 @@
1
- @ruby script/generate %*