cards_lib 0.0.3 → 0.0.4
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 +4 -4
- data/.travis.yml +7 -1
- data/Gemfile +1 -0
- data/README.md +2 -1
- data/lib/cards_lib/deck.rb +1 -5
- data/lib/cards_lib/standard.rb +2 -6
- data/lib/cards_lib/version.rb +1 -1
- data/lib/cards_lib.rb +0 -1
- data/travis.log +87 -0
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e61433193caa592682cb50d2ceecf7237ec960f8
|
|
4
|
+
data.tar.gz: 9f9f24bb6cf4c81040e6ff1cd0d3814f00a74c52
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ba8f029e35e03b4082733208d71eefa5ecc8a32d4b29113cef3ee780910d214b0efe4e0b8c0ab2990daf1c8e98474d8263d017ac1992a6d5214be1ee94e8dc9
|
|
7
|
+
data.tar.gz: dd23c3a5a54f5f2ef738134309ccf3792c2f72d539442dce80ef7b5aae38c62cdb7dfaef64c55e6b163f192de418cf67a04991ae3dc9e465d7d7e51ebe158942
|
data/.travis.yml
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
language: ruby
|
|
2
2
|
rvm:
|
|
3
|
-
|
|
3
|
+
- 2.1.6
|
|
4
|
+
- 2.2.2
|
|
5
|
+
- ruby-head
|
|
6
|
+
script: bundle exec rake test
|
|
7
|
+
env:
|
|
8
|
+
global:
|
|
9
|
+
secure: kAw1KW3iTB3rqMur/U1RM7C/MTWJx17T6Xyc+NEcrvE0PtYuIAOfZ/Qn262PWEE34OHCdmkhfHbBY1ZbzwaVDg+5LTlnwikLREMYH5ddf+yLE39lZkoALQDQeNwXNdJG/s/tS2I7c+/+vE8Xk5fZJZmNxiZIFPuFseZUvruO8HnvRpLKdlb7HLJAXq1ITRBWYbCe2jkFhgYEQCBqs3gwIPeAoxXAOn3ILUJ3xDxC/G/eSU+GbLTraJIyrhJApsUw4xSWr+fFumYFRK/PnJlcx4FR64D49B2mEdRSmHvZcBPo0KUWwr+1CVhkPtsTgnO8OJsFkq6FYH1aTmP/5W46wnOe8rPHd1GsY6pgXYTiMisTXk5gLUmcdSWriqbIdeTaBdNDKYzejwRwitR9iPSb1iQXjoCRRvcS1G6dHVjrZq9SSkScpSqJAXvAgr2DeCCY9PejaXdVtyTyOvZYH2ql440+DoEkb4nK9mkhy93CmzoIHNFKWYqNKPCTpK2O7YdL9+wPFc8Kmaobu6Iht9hA0uShLooiF0SnnU0twcEWbVepU9tx5pI65DT46M3PGfLO0KQtXUZscytkstdXmwyWwzFPUMW2EXFeXVW3f9o77z5npe/5b6nBeHIrHTNOdw57fMPzKjmsv0v6EbeVL9xajdHkbJ9G9zOSJd0b+PIPfJc=
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# CardsLib
|
|
2
2
|
|
|
3
|
+
[](http://badge.fury.io/rb/cards_lib)[](https://travis-ci.org/danielpclark/CardsLib)[](https://codeclimate.com/github/danielpclark/CardsLib)[](https://codeclimate.com/github/danielpclark/CardsLib/coverage)
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
gem 'cards_lib'
|
data/lib/cards_lib/deck.rb
CHANGED
data/lib/cards_lib/standard.rb
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
module CardsLib
|
|
2
2
|
module Standard
|
|
3
|
-
PLAYING_CARDS =
|
|
4
|
-
|
|
5
|
-
'dA','d2','d3','d4','d5','d6','d7','d8','d9','dT','dJ','dQ','dK',
|
|
6
|
-
'hA','h2','h3','h4','h5','h6','h7','h8','h9','hT','hJ','hQ','hK',
|
|
7
|
-
'sA','s2','s3','s4','s5','s6','s7','s8','s9','sT','sJ','sQ','sK'
|
|
8
|
-
]
|
|
3
|
+
PLAYING_CARDS = 'A23456789TJQK'.chars.product('cdhs'.chars).map(&:join)
|
|
4
|
+
ASCII_CARDS = 'A23456789TJQK'.chars.product('♣♦♥♠'.chars).map(&:join)
|
|
9
5
|
end
|
|
10
6
|
end
|
data/lib/cards_lib/version.rb
CHANGED
data/lib/cards_lib.rb
CHANGED
data/travis.log
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
Command line:
|
|
2
|
+
"travis encrypt CODECLIMATE_REPO_TOKEN=ecf8c246bcc2fdad42590f78c7b214bc19abf212eee0979427477e9c6a510320 bundle exec rake"
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
________ __
|
|
6
|
+
/ | / |
|
|
7
|
+
########/ ______ ______ __ __ ##/ _______
|
|
8
|
+
## | / \ / \ / \ / | / | / |
|
|
9
|
+
## | /###### | ###### | ## \ /##/ ## | /#######/
|
|
10
|
+
## | ## | ##/ / ## | ## /##/ ## | ## \
|
|
11
|
+
## | ## | /####### | ## ##/ ## | ###### |
|
|
12
|
+
## | ## | ## ## | ###/ ## | / ##/
|
|
13
|
+
##/ ##/ #######/ #/ ##/ #######/
|
|
14
|
+
|
|
15
|
+
TRajectory Analyzer and VISualizer - Open-source freeware under GNU GPL v3
|
|
16
|
+
|
|
17
|
+
Copyright (c) Martin Brehm (2009-2014)
|
|
18
|
+
Martin Thomas (2012-2014)
|
|
19
|
+
Barbara Kirchner (2009-2014)
|
|
20
|
+
University of Leipzig / University of Bonn.
|
|
21
|
+
|
|
22
|
+
http://www.travis-analyzer.de
|
|
23
|
+
|
|
24
|
+
Please cite:
|
|
25
|
+
M. Brehm and B. Kirchner, J. Chem. Inf. Model. 2011, 51 (8), pp 2007-2023.
|
|
26
|
+
|
|
27
|
+
There is absolutely no warranty on any results obtained from TRAVIS.
|
|
28
|
+
|
|
29
|
+
# Running on allyourdev at Thu Jun 18 13:40:20 2015 (PID 16448).
|
|
30
|
+
# Running in /home/danielpclark/dev/CardsLib
|
|
31
|
+
# Source code version: Jan 17 2014.
|
|
32
|
+
# Compiled at Jan 19 2014 05:12:11.
|
|
33
|
+
# Compiler version: 4.8.2
|
|
34
|
+
# Target platform: Linux
|
|
35
|
+
# Compile flags: DEBUG_ARRAYS
|
|
36
|
+
# Machine: int=4b, long=8b, addr=8b, 0xA0B0C0D0=D0,C0,B0,A0.
|
|
37
|
+
# User home: /home/danielpclark
|
|
38
|
+
# Exe path: /usr/bin/travis
|
|
39
|
+
# Input from terminal, Output to terminal
|
|
40
|
+
|
|
41
|
+
>>> Please use a color scheme with dark background or specify "-nocolor"! <<<
|
|
42
|
+
|
|
43
|
+
No configuration file found.
|
|
44
|
+
Writing default configuration to /home/danielpclark/.travis.conf ...
|
|
45
|
+
|
|
46
|
+
Unknown parameter: "encrypt".
|
|
47
|
+
|
|
48
|
+
List of supported command line options:
|
|
49
|
+
|
|
50
|
+
-p <file> Loads position data from the specified trajectory file.
|
|
51
|
+
The file format may be *.xyz, *.pdb, *.lmp (Lammps) or HISTORY (DLPOLY).
|
|
52
|
+
-i <file> Reads input from the specified text file.
|
|
53
|
+
|
|
54
|
+
-config <file> Load the specified configuration file.
|
|
55
|
+
-stream Treats input trajectory as a stream (e.g. named pipe): No fseek, etc.
|
|
56
|
+
-showconf Shows a tree structure of the configuration file.
|
|
57
|
+
-writeconf Writes the default configuration file, including all defines values.
|
|
58
|
+
|
|
59
|
+
-verbose Show detailed information about what's going on.
|
|
60
|
+
-nocolor Executes TRAVIS in monochrome mode.
|
|
61
|
+
-dimcolor Uses dim instead of bright colors.
|
|
62
|
+
|
|
63
|
+
-credits Display a list of persons which contributed to TRAVIS.
|
|
64
|
+
-help, -? Shows this help.
|
|
65
|
+
|
|
66
|
+
If only one argument is specified, it is assumed to be the name of a trajectory file.
|
|
67
|
+
If argument is specified at all, TRAVIS asks for the trajectory file to open.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
Note: To show a list of all persons which contributed to TRAVIS,
|
|
71
|
+
please add "-credits" to your command line arguments, or set the
|
|
72
|
+
variable "SHOWCREDITS" to "TRUE" in your travis.conf file.
|
|
73
|
+
|
|
74
|
+
Source code from other projects used in TRAVIS:
|
|
75
|
+
- lmfit from Joachim Wuttke
|
|
76
|
+
- kiss_fft from Mark Borgerding
|
|
77
|
+
- voro++ from Chris Rycroft
|
|
78
|
+
|
|
79
|
+
http://www.travis-analyzer.de
|
|
80
|
+
|
|
81
|
+
Please cite:
|
|
82
|
+
|
|
83
|
+
* "TRAVIS - A Free Analyzer and Visualizer for Monte Carlo and Molecular Dynamics Trajectories",
|
|
84
|
+
M. Brehm, B. Kirchner; J. Chem. Inf. Model. 2011, 51 (8), pp 2007-2023.
|
|
85
|
+
|
|
86
|
+
*** The End ***
|
|
87
|
+
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cards_lib
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel P. Clark
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-06-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -102,6 +102,7 @@ files:
|
|
|
102
102
|
- lib/cards_lib/deck.rb
|
|
103
103
|
- lib/cards_lib/standard.rb
|
|
104
104
|
- lib/cards_lib/version.rb
|
|
105
|
+
- travis.log
|
|
105
106
|
homepage: http://github.com/danielpclark/CardsLib
|
|
106
107
|
licenses:
|
|
107
108
|
- MIT
|
|
@@ -122,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
122
123
|
version: '0'
|
|
123
124
|
requirements: []
|
|
124
125
|
rubyforge_project:
|
|
125
|
-
rubygems_version: 2.4.
|
|
126
|
+
rubygems_version: 2.4.7
|
|
126
127
|
signing_key:
|
|
127
128
|
specification_version: 4
|
|
128
129
|
summary: OO Card Game Library
|