pgn2 0.4.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.
@@ -0,0 +1,19 @@
1
+ require 'pgn'
2
+
3
+ # This file was generated by the `rspec --init` command. Conventionally, all
4
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
5
+ # Require this file using `require "spec_helper"` to ensure that it is only
6
+ # loaded once.
7
+ #
8
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
9
+ RSpec.configure do |config|
10
+ config.treat_symbols_as_metadata_keys_with_true_values = true
11
+ config.run_all_when_everything_filtered = true
12
+ config.filter_run :focus
13
+
14
+ # Run specs in random order to surface order dependencies. If you find an
15
+ # order dependency and want to debug it, you can fix the order by providing
16
+ # the seed, which is printed after each run.
17
+ # --seed 1234
18
+ config.order = 'random'
19
+ end
metadata ADDED
@@ -0,0 +1,167 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pgn2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.0
5
+ platform: ruby
6
+ authors:
7
+ - Stacey Touset
8
+ - Murilo Vasconcelos
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2022-04-01 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: whittle
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: '0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: bundler
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '2.3'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '2.3'
42
+ - !ruby/object:Gem::Dependency
43
+ name: pry
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rake
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: rspec
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ description: A PGN parser and FEN generator for Ruby
85
+ email:
86
+ - stacey@touset.org
87
+ - muriloime@gmail.com
88
+ executables: []
89
+ extensions: []
90
+ extra_rdoc_files: []
91
+ files:
92
+ - ".gitignore"
93
+ - ".rspec"
94
+ - Gemfile
95
+ - LICENSE.txt
96
+ - README.md
97
+ - Rakefile
98
+ - TODO.md
99
+ - examples/immortal_game.pgn
100
+ - lib/pgn.rb
101
+ - lib/pgn/board.rb
102
+ - lib/pgn/fen.rb
103
+ - lib/pgn/game.rb
104
+ - lib/pgn/move.rb
105
+ - lib/pgn/move_calculator.rb
106
+ - lib/pgn/parser.rb
107
+ - lib/pgn/position.rb
108
+ - lib/pgn/version.rb
109
+ - pgn2.gemspec
110
+ - spec/fen_spec.rb
111
+ - spec/game_spec.rb
112
+ - spec/parser_spec.rb
113
+ - spec/pgn_files/alternate_castling.pgn
114
+ - spec/pgn_files/annotations.pgn
115
+ - spec/pgn_files/comments.pgn
116
+ - spec/pgn_files/empty_variation_move.pgn
117
+ - spec/pgn_files/fen.pgn
118
+ - spec/pgn_files/multiline_comments.pgn
119
+ - spec/pgn_files/nested_comments.pgn
120
+ - spec/pgn_files/no_moves.pgn
121
+ - spec/pgn_files/test.pgn
122
+ - spec/pgn_files/two_annotations.pgn
123
+ - spec/pgn_files/two_games.pgn
124
+ - spec/pgn_files/variations.pgn
125
+ - spec/position_spec.rb
126
+ - spec/spec_helper.rb
127
+ homepage: https://github.com/muriloime/pgn
128
+ licenses:
129
+ - MIT
130
+ metadata: {}
131
+ post_install_message:
132
+ rdoc_options: []
133
+ require_paths:
134
+ - lib
135
+ required_ruby_version: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ required_rubygems_version: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ requirements: []
146
+ rubygems_version: 3.2.32
147
+ signing_key:
148
+ specification_version: 4
149
+ summary: A PGN parser for Ruby
150
+ test_files:
151
+ - spec/fen_spec.rb
152
+ - spec/game_spec.rb
153
+ - spec/parser_spec.rb
154
+ - spec/pgn_files/alternate_castling.pgn
155
+ - spec/pgn_files/annotations.pgn
156
+ - spec/pgn_files/comments.pgn
157
+ - spec/pgn_files/empty_variation_move.pgn
158
+ - spec/pgn_files/fen.pgn
159
+ - spec/pgn_files/multiline_comments.pgn
160
+ - spec/pgn_files/nested_comments.pgn
161
+ - spec/pgn_files/no_moves.pgn
162
+ - spec/pgn_files/test.pgn
163
+ - spec/pgn_files/two_annotations.pgn
164
+ - spec/pgn_files/two_games.pgn
165
+ - spec/pgn_files/variations.pgn
166
+ - spec/position_spec.rb
167
+ - spec/spec_helper.rb