compass_rose 0.1.1 → 0.1.2

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDQ2NDMwZjNiZTNmNmE0OTcwNTRiMDE0OWUwNGIyNTBkY2ExZDVhMA==
4
+ ZGU5YjQxYTQzMzc1YWVkNGFiMzQ5N2I5Njk1ZGI3MWJiMjRiMjViOA==
5
5
  data.tar.gz: !binary |-
6
- ODY2YzFjZWU2MmY3ZjA1MDNkNGY2OTNkNzFlZDY1ZmVkZWU4ZDdiMw==
6
+ YjI2ZTI1MmNiNTc0NmY3NDNlNzViODZiNjhiMzNkNjk1ZTk3ZDczZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTUwZWZmNThmZmJhYzM5Zjk4YzBlOTE2NTdhZTZmZDBiNGE1MzAyYmI0Yzky
10
- ZWFlYTFhZDJlYzY1YjU0YjY1MzFhMGVmNGUzMDNmOTZiMzA3NmI3Yjk0OGUz
11
- YWYwOTQ5N2RhZDFkMjY0ODRhZmM0NjA3MzM5MWIwNTRhNzM4YzE=
9
+ YzhiNGQzMzJkMGIwOGU5NTRiYmE0MmI0Y2M4NTJkMzgwYzViNjNmNjU2N2Fj
10
+ ZGU4YzMxOGEzZWU0YjgxNDAxYmFhZjA4YjI0YTczNzRmYzg1ZDg2NDFhMzM3
11
+ NzMyZWY5ODEzNDY1ZjAxYTNjYjk5OTg2MGQyOTk1ZjlhMmFkNTk=
12
12
  data.tar.gz: !binary |-
13
- ODI2OTA4ZmQ1OWE5N2U3YzYxNTBhMWViZmEyN2VhMzIwZjA1NGI3ZjliY2Jl
14
- NjMwZTNhMzAxMDM1YTc2NGY2YmViZDg3ODUzYjNhNTRmYmY0MjAwZjNhNjdj
15
- OTAzNWZhODUxZTdmNDk5YTQ1MjJmZjU4ZjRjZDQ2Mzc3Zjc3MGM=
13
+ MWU0MTEyZjQzZTk5Njk0YzI5ZDc1MjA0ZDRhZDc0OWVjM2I1YzY4MDJkN2Jl
14
+ NjhlNWE4NGMwY2ZmOTZkMzg0NWUwYjI3NTI2YWIxOGQ4YTcyZGQ4MGQ3MDk1
15
+ ZmM3MWZlYjRhNmIzZTgyMjk0MThmYjZjNzY2MDU3NDlmNmNhYTA=
data/.travis.yml CHANGED
@@ -1,9 +1,9 @@
1
+ branches:
2
+ only:
3
+ - master
1
4
  language: ruby
2
5
  rvm:
3
- - 2.1.0
4
- - 2.0.0
5
- - 1.9.3
6
- - 2.1.1
7
- notifications:
8
- email:
9
- - t+travisci@heckman.io
6
+ - 2.1.1
7
+ - 2.1.0
8
+ - 2.0.0
9
+ - 1.9.3
data/compass_rose.gemspec CHANGED
@@ -19,11 +19,10 @@ Gem::Specification.new do |g|
19
19
  g.test_files = %x(git ls-files spec/*).split
20
20
  g.files = %x(git ls-files).split
21
21
 
22
- g.add_development_dependency 'rake', '~>10.1.0'
22
+ g.add_development_dependency 'bundler', '~> 1.5.3'
23
+ g.add_development_dependency 'rake', '~>10.2.2'
23
24
  g.add_development_dependency 'rspec', '~>2.14.1'
24
25
  g.add_development_dependency 'rubocop', '~> 0.19.0'
25
26
  g.add_development_dependency 'fuubar', '~> 1.3.2'
26
27
  g.add_development_dependency 'coveralls', '~> 0.7.0'
27
- g.add_development_dependency 'awesome_print', '~> 1.2.0'
28
- g.add_development_dependency 'bundler', '>= 1.3'
29
28
  end
data/lib/compass_rose.rb CHANGED
@@ -30,7 +30,7 @@ module Compass
30
30
  # Get the direction that your bearing is on the Compass Rose
31
31
  #
32
32
  class Rose
33
- VERSION = '0.1.1'
33
+ VERSION ||= '0.1.2'
34
34
  def self.direction(bearing, num_points)
35
35
  CompassRose::Direction.calculate(bearing, num_points)
36
36
  end
@@ -1,6 +1,5 @@
1
1
  # -*- coding: UTF-8 -*-
2
2
  require 'spec_helper'
3
- require 'ap'
4
3
 
5
4
  describe Compass::Rose do
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: UTF-8 -*-
2
2
  require 'spec_helper'
3
- require 'ap'
4
3
 
5
4
  TRUSTED_KEYS ||= [
6
5
  :north, :east, :south, :west, :northeast, :southeast, :southwest, :northwest,
metadata CHANGED
@@ -1,29 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass_rose
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Heckman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-23 00:00:00.000000000 Z
11
+ date: 2014-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 1.5.3
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 1.5.3
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: rake
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
31
  - - ~>
18
32
  - !ruby/object:Gem::Version
19
- version: 10.1.0
33
+ version: 10.2.2
20
34
  type: :development
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
38
  - - ~>
25
39
  - !ruby/object:Gem::Version
26
- version: 10.1.0
40
+ version: 10.2.2
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rspec
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -80,34 +94,6 @@ dependencies:
80
94
  - - ~>
81
95
  - !ruby/object:Gem::Version
82
96
  version: 0.7.0
83
- - !ruby/object:Gem::Dependency
84
- name: awesome_print
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ~>
88
- - !ruby/object:Gem::Version
89
- version: 1.2.0
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ~>
95
- - !ruby/object:Gem::Version
96
- version: 1.2.0
97
- - !ruby/object:Gem::Dependency
98
- name: bundler
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ! '>='
102
- - !ruby/object:Gem::Version
103
- version: '1.3'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ! '>='
109
- - !ruby/object:Gem::Version
110
- version: '1.3'
111
97
  description: Converts bearings in degrees to human-readable names
112
98
  email: t@heckman.io
113
99
  executables: []