compass_point 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fbb3e7bab2d5ddc4cc246aeea5c02714a16713feb1646c86ec89a4015ecd753e
4
- data.tar.gz: cc30e1b188cfac483650b97556f6baff583de196872f7eda132384e47eae4560
3
+ metadata.gz: 7b99e6078b6e214a2020224b1420066e768a682e57b51d9ef069c82ec65a3b4e
4
+ data.tar.gz: f1f6db879f7ec39b11a10e52a912b49772ebc8223206643cc36f9638cc79494e
5
5
  SHA512:
6
- metadata.gz: 43c9378298e358659a9874c23b8e341d8edcb319ca69a79d6fd83403cb19fc8a701fecd2b46bd5f1632efd6e99556280106fe05e63c2c9e17e321010f0f9d470
7
- data.tar.gz: 99f9b3b30d78b3f0d0564b329e8ae2adcca6da6c6306582b700c370f4cad3c858b1339e98370062d5be6c384f44370ca96b00f93e50746d00387746900a3e30d
6
+ metadata.gz: 2d5db222ac44ce803126e681b326da623baf170ced90d019f561ba89ee218c04e5732c38806aa31c44b1c17e6b8ae560d9d8485dde75a7408561cd7d75bee8b3
7
+ data.tar.gz: 2e4c15921705aad607528930b87726ba180aa49f28b05bd2d68daa3e1bde908dfe04b252e705871067fbd44738e6d34ce0a2c50c04973949f5e1afdc8bfaa123
data/lib/compass_point.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  class CompassPoint
2
- VERSION = '2.0.0'.freeze
2
+ VERSION = '2.0.1'.freeze
3
3
 
4
4
  COMPASS_BEARING_REGEX = /(n|s)\s(\d{1,3}).?\s(e|w)/.freeze
5
5
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass_point
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keith Morrison
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-18 00:00:00.000000000 Z
11
+ date: 2023-05-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A Ruby library for working with compass points
14
14
  email: keithm@infused.org
@@ -18,13 +18,8 @@ extra_rdoc_files:
18
18
  - README.md
19
19
  - LICENSE
20
20
  files:
21
- - Gemfile
22
- - Gemfile.lock
23
- - Guardfile
24
21
  - LICENSE
25
22
  - README.md
26
- - Rakefile
27
- - compass_point.gemspec
28
23
  - lib/compass_point.rb
29
24
  - spec/compass_point_spec.rb
30
25
  - spec/spec_helper.rb
data/Gemfile DELETED
@@ -1,12 +0,0 @@
1
- gemspec
2
- source 'https://rubygems.org'
3
-
4
- group :development, :test do
5
- gem 'guard'
6
- gem 'guard-rspec'
7
- gem 'irb'
8
- gem 'rake'
9
- gem 'rspec'
10
- gem 'rubocop-performance'
11
- gem 'rubocop-rspec'
12
- end
data/Gemfile.lock DELETED
@@ -1,111 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- compass_point (2.0.0)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- ast (2.4.2)
10
- coderay (1.1.3)
11
- diff-lcs (1.5.0)
12
- ffi (1.15.5)
13
- formatador (1.1.0)
14
- guard (2.18.0)
15
- formatador (>= 0.2.4)
16
- listen (>= 2.7, < 4.0)
17
- lumberjack (>= 1.0.12, < 2.0)
18
- nenv (~> 0.1)
19
- notiffany (~> 0.0)
20
- pry (>= 0.13.0)
21
- shellany (~> 0.0)
22
- thor (>= 0.18.1)
23
- guard-compat (1.2.1)
24
- guard-rspec (4.7.3)
25
- guard (~> 2.1)
26
- guard-compat (~> 1.1)
27
- rspec (>= 2.99.0, < 4.0)
28
- io-console (0.6.0)
29
- irb (1.6.4)
30
- reline (>= 0.3.0)
31
- json (2.6.3)
32
- listen (3.8.0)
33
- rb-fsevent (~> 0.10, >= 0.10.3)
34
- rb-inotify (~> 0.9, >= 0.9.10)
35
- lumberjack (1.2.8)
36
- method_source (1.0.0)
37
- nenv (0.3.0)
38
- notiffany (0.1.3)
39
- nenv (~> 0.1)
40
- shellany (~> 0.0)
41
- parallel (1.23.0)
42
- parser (3.2.2.1)
43
- ast (~> 2.4.1)
44
- pry (0.14.2)
45
- coderay (~> 1.1)
46
- method_source (~> 1.0)
47
- rainbow (3.1.1)
48
- rake (13.0.6)
49
- rb-fsevent (0.11.2)
50
- rb-inotify (0.10.1)
51
- ffi (~> 1.0)
52
- regexp_parser (2.8.0)
53
- reline (0.3.3)
54
- io-console (~> 0.5)
55
- rexml (3.2.5)
56
- rspec (3.12.0)
57
- rspec-core (~> 3.12.0)
58
- rspec-expectations (~> 3.12.0)
59
- rspec-mocks (~> 3.12.0)
60
- rspec-core (3.12.2)
61
- rspec-support (~> 3.12.0)
62
- rspec-expectations (3.12.3)
63
- diff-lcs (>= 1.2.0, < 2.0)
64
- rspec-support (~> 3.12.0)
65
- rspec-mocks (3.12.5)
66
- diff-lcs (>= 1.2.0, < 2.0)
67
- rspec-support (~> 3.12.0)
68
- rspec-support (3.12.0)
69
- rubocop (1.51.0)
70
- json (~> 2.3)
71
- parallel (~> 1.10)
72
- parser (>= 3.2.0.0)
73
- rainbow (>= 2.2.2, < 4.0)
74
- regexp_parser (>= 1.8, < 3.0)
75
- rexml (>= 3.2.5, < 4.0)
76
- rubocop-ast (>= 1.28.0, < 2.0)
77
- ruby-progressbar (~> 1.7)
78
- unicode-display_width (>= 2.4.0, < 3.0)
79
- rubocop-ast (1.28.1)
80
- parser (>= 3.2.1.0)
81
- rubocop-capybara (2.18.0)
82
- rubocop (~> 1.41)
83
- rubocop-factory_bot (2.23.1)
84
- rubocop (~> 1.33)
85
- rubocop-performance (1.17.1)
86
- rubocop (>= 1.7.0, < 2.0)
87
- rubocop-ast (>= 0.4.0)
88
- rubocop-rspec (2.22.0)
89
- rubocop (~> 1.33)
90
- rubocop-capybara (~> 2.17)
91
- rubocop-factory_bot (~> 2.22)
92
- ruby-progressbar (1.13.0)
93
- shellany (0.0.1)
94
- thor (1.2.2)
95
- unicode-display_width (2.4.2)
96
-
97
- PLATFORMS
98
- arm64-darwin-22
99
-
100
- DEPENDENCIES
101
- compass_point!
102
- guard
103
- guard-rspec
104
- irb
105
- rake
106
- rspec
107
- rubocop-performance
108
- rubocop-rspec
109
-
110
- BUNDLED WITH
111
- 2.4.13
data/Guardfile DELETED
@@ -1,52 +0,0 @@
1
- # A sample Guardfile
2
- # More info at https://github.com/guard/guard#readme
3
-
4
- ## Uncomment and set this to only include directories you want to watch
5
- # directories %w(app lib config test spec features)
6
-
7
- ## Uncomment to clear the screen before every task
8
- # clearing :on
9
-
10
- ## Guard internally checks for changes in the Guardfile and exits.
11
- ## If you want Guard to automatically start up again, run guard in a
12
- ## shell loop, e.g.:
13
- ##
14
- ## $ while bundle exec guard; do echo "Restarting Guard..."; done
15
- ##
16
- ## Note: if you are using the `directories` clause above and you are not
17
- ## watching the project directory ('.'), then you will want to move
18
- ## the Guardfile to a watched dir and symlink it back, e.g.
19
- #
20
- # $ mkdir config
21
- # $ mv Guardfile config/
22
- # $ ln -s config/Guardfile .
23
- #
24
- # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
25
-
26
- # Note: The cmd option is now required due to the increasing number of ways
27
- # rspec may be run, below are examples of the most common uses.
28
- # * bundler: 'bundle exec rspec'
29
- # * bundler binstubs: 'bin/rspec'
30
- # * spring: 'bin/rspec' (This will use spring if running and you have
31
- # installed the spring binstubs per the docs)
32
- # * zeus: 'zeus rspec' (requires the server to be started separately)
33
- # * 'just' rspec: 'rspec'
34
-
35
- guard :rspec, cmd: 'bundle exec rspec' do
36
- require 'guard/rspec/dsl'
37
- dsl = Guard::RSpec::Dsl.new(self)
38
-
39
- # RSpec files
40
- rspec = dsl.rspec
41
- watch(rspec.spec_helper) { rspec.spec_dir }
42
- watch(rspec.spec_support) { rspec.spec_dir }
43
- watch(rspec.spec_files)
44
-
45
- # Ruby files
46
- ruby = dsl.ruby
47
- dsl.watch_spec_files_for(ruby.lib_files)
48
-
49
- watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
50
- watch('spec/spec_helper.rb') { 'spec' }
51
- watch('Guardfile') { 'spec' }
52
- end
data/Rakefile DELETED
@@ -1,18 +0,0 @@
1
- require 'bundler/setup'
2
- Bundler.setup(:default, :development)
3
-
4
- require 'rspec/core/rake_task'
5
- RSpec::Core::RakeTask.new :spec do |t|
6
- t.rspec_opts = %w[--color]
7
- end
8
-
9
- RSpec::Core::RakeTask.new :specdoc do |t|
10
- t.rspec_opts = %w[-fl]
11
- end
12
-
13
- task default: :spec
14
-
15
- desc 'Open an irb session preloaded with this library'
16
- task :console do
17
- sh 'irb -rubygems -I lib -r compass_point.rb'
18
- end
@@ -1,22 +0,0 @@
1
- lib = File.expand_path('lib', __dir__)
2
- $LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
3
- require 'compass_point'
4
-
5
- Gem::Specification.new do |s|
6
- s.name = 'compass_point'
7
- s.version = CompassPoint::VERSION
8
- s.authors = ['Keith Morrison']
9
- s.email = 'keithm@infused.org'
10
- s.homepage = 'http://github.com/infused/compass_point'
11
- s.summary = 'A Ruby library for working with compass points'
12
- s.description = 'A Ruby library for working with compass points'
13
- s.license = 'MIT'
14
-
15
- s.rdoc_options = ['--charset=UTF-8']
16
- s.extra_rdoc_files = ['README.md', 'LICENSE']
17
- s.files = Dir['[A-Z]*', '{lib,spec}/**/*', 'compass_points.gemspec']
18
- s.require_paths = ['lib']
19
-
20
- s.required_ruby_version = '>= 3.0.0'
21
- s.metadata['rubygems_mfa_required'] = 'true'
22
- end