panomosity 0.1.16 → 0.1.17

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: '03071187875baf71c4d0e42b8de46a74b836bbd4524ec733ad4ec338486a65ce'
4
- data.tar.gz: 39f0f933ffd2e3def84fb3a1a4da58a5bd8ebfbd8bf0a26819a0a034cef40b30
3
+ metadata.gz: 036e68c0b7e7200740b6d253cbbe095a37980d0e6bd2ca342d8ba64402334662
4
+ data.tar.gz: 56e5cfb0c46c144f92222b03a335fd92876c9390270d30b9d88dc9db9fd7e2df
5
5
  SHA512:
6
- metadata.gz: 602928768c10822b685d50d53e8432ecb435ae447a4b67f18d24b594331f54c1b2373902d7665ecd9c9b9e4a9345c14be879b6eaaad2467720a7920a053183fe
7
- data.tar.gz: b4993395c27c4bb359c184c7218dc03b4e5c99254e780333482110874d6b247fd087c0bdcea380c7eb8870135f5225d546a8a229a34764c50efd2e6812a9550c
6
+ metadata.gz: 1b84047e33b34e4a6d78c27be9c5e94e659a6a7f11aa69b2891d714756c08d57f62fc01d576c66d717a5b6b676b67b664de6dace0fc5cb4a355e1d9031d5c8d3
7
+ data.tar.gz: 1caf1ab0ceb0e65f98a95bc4f4b9b50a19b5daef1bd414a82ce808dcc99cc6fee12a4532c8b6059ab2dbf2f66db7efe82c520c913a2618df5b688263a7174e4a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- panomosity (0.1.15)
4
+ panomosity (0.1.17)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -16,6 +16,7 @@ module Panomosity
16
16
  fix_conversion_errors
17
17
  fix_unconnected_image_pairs
18
18
  generate_border_line_control_points
19
+ get_columns_and_rows
19
20
  get_detailed_control_point_info
20
21
  merge_image_parameters
21
22
  nona_grid
@@ -380,6 +381,13 @@ module Panomosity
380
381
  save_file
381
382
  end
382
383
 
384
+ def get_columns_and_rows
385
+ images = Image.parse(@input_file)
386
+ columns = images.map(&:column).sort.last
387
+ rows = images.map(&:row).sort.last
388
+ puts "#{columns},#{rows}"
389
+ end
390
+
383
391
  def get_detailed_control_point_info
384
392
  logger.info 'getting detailed control point info'
385
393
  images = Image.parse(@input_file)
@@ -1,3 +1,3 @@
1
1
  module Panomosity
2
- VERSION = '0.1.16'
2
+ VERSION = '0.1.17'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panomosity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Garcia
@@ -64,7 +64,6 @@ files:
64
64
  - ".gitignore"
65
65
  - ".rspec"
66
66
  - ".travis.yml"
67
- - CODE_OF_CONDUCT.md
68
67
  - Gemfile
69
68
  - Gemfile.lock
70
69
  - LICENSE.txt
data/CODE_OF_CONDUCT.md DELETED
@@ -1,74 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- In the interest of fostering an open and welcoming environment, we as
6
- contributors and maintainers pledge to making participation in our project and
7
- our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
11
-
12
- ## Our Standards
13
-
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
16
-
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
22
-
23
- Examples of unacceptable behavior by participants include:
24
-
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
28
- * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
31
- * Other conduct which could reasonably be considered inappropriate in a
32
- professional setting
33
-
34
- ## Our Responsibilities
35
-
36
- Project maintainers are responsible for clarifying the standards of acceptable
37
- behavior and are expected to take appropriate and fair corrective action in
38
- response to any instances of unacceptable behavior.
39
-
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
45
-
46
- ## Scope
47
-
48
- This Code of Conduct applies both within project spaces and in public spaces
49
- when an individual is representing the project or its community. Examples of
50
- representing a project or community include using an official project e-mail
51
- address, posting via an official social media account, or acting as an appointed
52
- representative at an online or offline event. Representation of a project may be
53
- further defined and clarified by project maintainers.
54
-
55
- ## Enforcement
56
-
57
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at ogarci5@gmail.com. All
59
- complaints will be reviewed and investigated and will result in a response that
60
- is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality with regard to the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
63
-
64
- Project maintainers who do not follow or enforce the Code of Conduct in good
65
- faith may face temporary or permanent repercussions as determined by other
66
- members of the project's leadership.
67
-
68
- ## Attribution
69
-
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at [http://contributor-covenant.org/version/1/4][version]
72
-
73
- [homepage]: http://contributor-covenant.org
74
- [version]: http://contributor-covenant.org/version/1/4/