graphics 1.0.0 → 1.0.1

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: 1d70424b07430bd3cf210e11d8bf76ec15b41231d5e1e46e8de07eaebd686e6b
4
- data.tar.gz: 79b1367d8689c604560bdd1089f6a8ac98291bb7ee5240b3b2c10d48076e8d27
3
+ metadata.gz: 14bae949dfda33879d99ceed119be4186210da6debdd9ea5b9c70e9cfb2597c8
4
+ data.tar.gz: 594f95ce9bb7ebe278d3809aba41fb87a67e222cd1c002e8709e583f5c8cc6cd
5
5
  SHA512:
6
- metadata.gz: a8ffd685c237b1b7481f984359193c744949f6a9f30b6c57495a8fbfd5a06ef10310a607112f48ce0ad5ee83d860489cd0582c213468d67c5e7b41af85324074
7
- data.tar.gz: 26f3cbc67a707e7ac646e1f43066806ccf8915e7313ca7d0d2bcdfd40697b4a356796bc988ca67c5100f153ac38cac7ec7b75413c605eb3f8826c27a10305d98
6
+ metadata.gz: 2af7d58cd09195410f4afe52e56be541a56098e8f53ae5ebc4966b1375b33df765234bfc8dfc378ed779be3f31208417a7ed59eec8e58be6231d3d3915347e91
7
+ data.tar.gz: c901a48fa9a250c8ae16b6ea552548b646488f6d6477f04c55d2664f209a00842d08f2bddf747b21ed7acef140f2691bd36824819e3f9c4570ebc7dcf1a4bb0f
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,10 @@
1
+ === 1.0.1 / 2018-11-14
2
+
3
+ * 2 bug fixes:
4
+
5
+ * Fixed bug in graphics_setup.rb. (Shashank Date)
6
+ * Minor tweaks to graphics_setup.sh for Shawshank's lightning talk today.
7
+
1
8
  === 1.0.0 / 2018-11-13
2
9
 
3
10
  * 4 major enhancements:
@@ -14,7 +14,7 @@ game programming conventions. Particularly it:
14
14
  * Right hand rule: 0 degrees is east, 90 is north, etc.
15
15
 
16
16
  These allow simple things like Trigonometry functions to work as
17
- expected. It means that all that stuff you were taught it grade school
17
+ expected. It means that all that stuff you were taught in grade school
18
18
  still work as intended. This makes one less thing you have to adjust
19
19
  when implementing your simulation.
20
20
 
@@ -76,8 +76,7 @@ See examples/*.rb for more
76
76
 
77
77
  == REQUIREMENTS:
78
78
 
79
- * rsdl
80
- * libsdl & friends
79
+ * libsdl2 & friends
81
80
 
82
81
  See and/or run graphics_setup.sh. If you're on OSX and have homebrew
83
82
  installed, running this will ensure you have a working setup.
@@ -88,6 +87,7 @@ up-to-date versions.
88
87
  == INSTALL:
89
88
 
90
89
  * sudo gem install graphics
90
+ * `curl -L https://tinyurl.com/graphics-setup | bash`
91
91
 
92
92
  == LICENSE:
93
93
 
@@ -1,26 +1,12 @@
1
1
  #!/bin/sh
2
- set -e
3
- set -v
4
-
5
- # if [ $(id -u) != 0 ]; then
6
- # echo "Please run this as root or with sudo"
7
- # exit 1
8
- # fi
9
2
 
10
- for gem in graphics rsdl; do
11
- gem uninstall -ax $gem || true
12
- done
3
+ set -v
13
4
 
14
5
  case `uname` in
15
6
  Darwin)
16
7
  echo "I'm on OSX. Not using sudo"
17
8
  SUDO=
18
9
 
19
- brew unlink sdl
20
- brew unlink sdl_mixer
21
- brew unlink sdl_ttf
22
- brew unlink sdl_image
23
-
24
10
  brew install sdl2
25
11
  brew install sdl2_mixer
26
12
  brew install sdl2_ttf
@@ -31,8 +17,7 @@ case `uname` in
31
17
  echo "I'm on linux, using sudo where needed"
32
18
  SUDO=sudo
33
19
 
34
- $SUDO apt-get install --no-install-recommends --no-install-suggests libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev
35
- $SUDO apt-get install --no-install-recommends --no-install-suggests gcc g++
20
+ $SUDO apt-get install --no-install-recommends --no-install-suggests libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev gcc g++
36
21
  ;;
37
22
  *)
38
23
  echo "Unknown OS $OSTYPE, aborting"
@@ -40,17 +25,16 @@ case `uname` in
40
25
  ;;
41
26
  esac
42
27
 
43
- $SUDO gem update --system -N -V
44
-
45
- gem install hoe --conservative
46
- $SUDO rake newb
47
- rake test
48
-
49
28
  if [ -f $0 ]; then
29
+ $SUDO gem update --system -N -V
30
+ $SUDO gem install hoe --conservative
31
+ $SUDO rake newb
32
+ rake test
50
33
  rake clean package
51
34
  $SUDO gem install pkg/graphics*.gem
52
35
  else
53
- $SUDO gem install graphics --pre
36
+ $SUDO gem install graphics
54
37
  fi
55
38
 
56
- rsdl -Ilib -rgraphics -e 'Class.new(Graphics::Simulation) { def draw n; clear :white; text "hit escape to quit", 100, 100, :black; end; }.new(500, 250, 0, "Working!").run'
39
+ echo "running a test... you should see a window show up."
40
+ ruby -Ilib -rgraphics -e 'Class.new(Graphics::Simulation) { def draw n; clear :white; text "hit escape to quit", 100, 100, :black; end; }.new(500, 250, "Working!").run'
@@ -2,7 +2,7 @@
2
2
  # The top-level namespace.
3
3
 
4
4
  class Graphics
5
- VERSION = "1.0.0" # :nodoc:
5
+ VERSION = "1.0.1" # :nodoc:
6
6
  end
7
7
 
8
8
  require "graphics/simulation"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
@@ -29,7 +29,7 @@ cert_chain:
29
29
  AhXhF6Wi2GTMezlj5jlI5XV7WsJUSwTp/YiVvcmT74ZaCRvexm6EnNhkrvJJ1Xeu
30
30
  V+HB+LYYhXWitInO/eXxDrFB
31
31
  -----END CERTIFICATE-----
32
- date: 2018-11-13 00:00:00.000000000 Z
32
+ date: 2018-11-15 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: rdoc
@@ -89,7 +89,7 @@ description: |-
89
89
  * Right hand rule: 0 degrees is east, 90 is north, etc.
90
90
 
91
91
  These allow simple things like Trigonometry functions to work as
92
- expected. It means that all that stuff you were taught it grade school
92
+ expected. It means that all that stuff you were taught in grade school
93
93
  still work as intended. This makes one less thing you have to adjust
94
94
  when implementing your simulation.
95
95
  email:
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- �&@MVq��u���<'X��6rAT�/��v�l��'#%c�m85)������a�&�z�>HAD"6v�N���k�%?d�L��l&��?c���j�j��į�
1
+ t��D�@P���>휭C�ۣ�����jV��"�������ndSH_<%�WP�j�
2
+ }��(5cR�