hexlet-points 1.0.1 → 2.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea2395b09e98a1a4b90e14f6a8f911ccb7fc5606387283b780bbbf2b5e780932
4
- data.tar.gz: 928641797a5970663de9738affc2b0301f315ce4dd3b3da78780946b4d4ba749
3
+ metadata.gz: 340ddef0a6ae468ecdeb575adcbde6bada69ff97bbd7db54b04e7dbd8f10c498
4
+ data.tar.gz: 6b6b7244a04e2d247815082091b2413092f310037ee4c985d13df69b6e2e05e2
5
5
  SHA512:
6
- metadata.gz: ea59e06a3a0f4da9015de3b26ecc9b0845a0b4f85cdb166cde96b8ae51d9d49a2d44695809c83c9893b9d35253c7fce5ebf23399a483ba3a042f17a73131ab20
7
- data.tar.gz: f42e4b741ab92f1d97afa2432d3237d4555230f56d400c9fa175e8336ca2389d77454fe370611eaa7891d74db0eac84a37cb56768a00f9d734293414f365fa09
6
+ metadata.gz: a3af9588be1c8c757ce1a5d79feb152b201004e2f2ded0d9b4a1b2dedbd1173ae417f749fa1a0bedac77d274b93fc1a8d77d2ccda36787c06982d24d2b4bf4a7
7
+ data.tar.gz: e2327ec5fcd2010eb7c46ff88d1942b957d30577f9b4e505ec802a1ac59439639782b0ae97ea2018e376f7ed91a65f2d39785a8cd8e309f1b984cfd6d5c20557
@@ -11,7 +11,7 @@ jobs:
11
11
  - uses: actions/checkout@v2
12
12
  - uses: ruby/setup-ruby@v1
13
13
  with:
14
- ruby-version: 2.7.2
14
+ ruby-version: 3.0.1
15
15
  - name: Install
16
16
  run: make install
17
17
  - name: Run linter
data/.rubocop.yml CHANGED
@@ -12,3 +12,4 @@ Naming/MethodParameterName:
12
12
  Enabled: false
13
13
  Style/GuardClause:
14
14
  Enabled: false
15
+
data/Gemfile CHANGED
@@ -2,10 +2,8 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'rspec', '~> 3.10'
5
+ gem 'minitest-power_assert'
6
6
 
7
7
  gem 'rubocop', '~> 1.12.1'
8
8
 
9
- gem 'rubocop-rspec', '~> 2.2.0'
10
-
11
9
  gem 'hexlet-pairs', '~> 1.1.0'
data/Gemfile.lock CHANGED
@@ -1,33 +1,24 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hexlet-points (1.0.1)
4
+ hexlet-points (2.0.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  ast (2.4.2)
10
- diff-lcs (1.4.4)
11
10
  hexlet-pairs (1.1.0)
11
+ minitest (5.15.0)
12
+ minitest-power_assert (0.3.1)
13
+ minitest
14
+ power_assert (>= 1.1)
12
15
  parallel (1.20.1)
13
16
  parser (3.0.1.0)
14
17
  ast (~> 2.4.1)
18
+ power_assert (2.0.0)
15
19
  rainbow (3.0.0)
16
20
  regexp_parser (2.1.1)
17
21
  rexml (3.2.5)
18
- rspec (3.10.0)
19
- rspec-core (~> 3.10.0)
20
- rspec-expectations (~> 3.10.0)
21
- rspec-mocks (~> 3.10.0)
22
- rspec-core (3.10.0)
23
- rspec-support (~> 3.10.0)
24
- rspec-expectations (3.10.0)
25
- diff-lcs (>= 1.2.0, < 2.0)
26
- rspec-support (~> 3.10.0)
27
- rspec-mocks (3.10.0)
28
- diff-lcs (>= 1.2.0, < 2.0)
29
- rspec-support (~> 3.10.0)
30
- rspec-support (3.10.0)
31
22
  rubocop (1.12.1)
32
23
  parallel (~> 1.10)
33
24
  parser (>= 3.0.0.0)
@@ -39,9 +30,6 @@ GEM
39
30
  unicode-display_width (>= 1.4.0, < 3.0)
40
31
  rubocop-ast (1.4.1)
41
32
  parser (>= 2.7.1.5)
42
- rubocop-rspec (2.2.0)
43
- rubocop (~> 1.0)
44
- rubocop-ast (>= 1.1.0)
45
33
  ruby-progressbar (1.11.0)
46
34
  unicode-display_width (2.0.0)
47
35
 
@@ -51,9 +39,8 @@ PLATFORMS
51
39
  DEPENDENCIES
52
40
  hexlet-pairs (~> 1.1.0)
53
41
  hexlet-points!
54
- rspec (~> 3.10)
42
+ minitest-power_assert
55
43
  rubocop (~> 1.12.1)
56
- rubocop-rspec (~> 2.2.0)
57
44
 
58
45
  BUNDLED WITH
59
- 2.2.15
46
+ 2.2.22
data/Makefile CHANGED
@@ -2,7 +2,9 @@ install:
2
2
  bundle
3
3
 
4
4
  test:
5
- bundle exec rspec
5
+ ruby test/points_test.rb
6
6
 
7
7
  lint:
8
8
  bundle exec rubocop .
9
+
10
+ .PHONY: test
data/README.md CHANGED
@@ -23,6 +23,6 @@ puts get_quadrant(point) # => 1
23
23
  puts to_string(point) # => '(4, 5)'
24
24
  ```
25
25
 
26
- [![Hexlet Ltd. logo](https://raw.githubusercontent.com/Hexlet/hexletguides.github.io/master/images/hexlet_logo128.png)](https://ru.hexlet.io/pages/about?utm_source=github&utm_medium=link&utm_campaign=ruby-points)
26
+ [![Hexlet Ltd. logo](https://raw.githubusercontent.com/Hexlet/assets/master/images/hexlet_logo128.png)](https://ru.hexlet.io/pages/about?utm_source=github&utm_medium=link&utm_campaign=ruby-points)
27
27
 
28
28
  This repository is created and maintained by the team and the community of Hexlet, an educational project. [Read more about Hexlet (in Russian)](https://ru.hexlet.io/pages/about?utm_source=github&utm_medium=link&utm_campaign=ruby-points).
@@ -2,7 +2,7 @@ require_relative 'lib/points/version'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "hexlet-points"
5
- spec.version = Point::VERSION
5
+ spec.version = Points::VERSION
6
6
  spec.authors = ["Hexlet"]
7
7
  spec.email = ["info@hexlet.io"]
8
8
 
@@ -1,3 +1,3 @@
1
- module Point
2
- VERSION = '1.0.1'.freeze
1
+ module Points
2
+ VERSION = '2.0.0'.freeze
3
3
  end
data/lib/points.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'bundler/setup'
2
2
  require 'pairs'
3
3
 
4
- module Point
4
+ module Points
5
5
  def self.make(x, y)
6
6
  Pairs.cons(x, y)
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hexlet-points
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hexlet
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-06 00:00:00.000000000 Z
11
+ date: 2022-01-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A SICP'ish Points implemented in Ruby using hexlet-pairs.
14
14
  email:
@@ -34,7 +34,7 @@ metadata:
34
34
  homepage_uri: https://github.com/hexlet-components/ruby-points
35
35
  source_code_uri: https://github.com/hexlet-components/ruby-points
36
36
  changelog_uri: https://github.com/hexlet-components/ruby-points
37
- post_install_message:
37
+ post_install_message:
38
38
  rdoc_options: []
39
39
  require_paths:
40
40
  - lib
@@ -49,8 +49,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
49
  - !ruby/object:Gem::Version
50
50
  version: '0'
51
51
  requirements: []
52
- rubygems_version: 3.0.8
53
- signing_key:
52
+ rubygems_version: 3.2.22
53
+ signing_key:
54
54
  specification_version: 4
55
55
  summary: Hexlet Ruby Point
56
56
  test_files: []