basic101 0.2.0 → 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4231bd3894d83744f90c561ef3ef699444dd235f
4
- data.tar.gz: 9b1c8a1a5997c8b0a9d33144fec0bd6710c65435
3
+ metadata.gz: 269a729ca6d15c3c74bf87c2ec09bc614d358853
4
+ data.tar.gz: 1fac018929f6e63bf0f1e92c0bbd9d4a72a14cbf
5
5
  SHA512:
6
- metadata.gz: 5aa4e847c3fc0e373b0a6c865d4406c7884bae416a9f18196fb5f7d72eedd798b61667e388d1193bf4c93e10c96039b73bf9257f13b35ca1078e64f1b41fc90f
7
- data.tar.gz: 9a08d0bda35d08a84c2f397a62a111b07efd14d0b7dababe9d199186607ac13ca9086d4181d1b0b5373ae69598a128811b735386c3da7280ff72b01ff15da787
6
+ metadata.gz: 3b274784fa0ddff05d7678e3013f7b203a646e63c6d235bcc1b56bb777f121e116f86fc0c4e031f7ecb8abc0937a2a09e50898713da0b3e0265683a030477420
7
+ data.tar.gz: 15cad409113f4ae4a2d2cd6821da981d0a119c546b933e49603ed2605a2e87d3e66bfaa505a0e14f14ae740201692da97f13f0508ca1ac0ca2868be949b70c02
data/.travis.yml CHANGED
@@ -2,3 +2,4 @@ language: ruby
2
2
  rvm:
3
3
  - "2.0"
4
4
  - "2.1"
5
+ - "2.2"
data/Changelog.md CHANGED
@@ -1,4 +1,8 @@
1
- # 0.3.0 2014-12-13
1
+ # 0.4.0 - 2015-08-31
2
+
3
+ * Update gems
4
+
5
+ # 0.3.0 - 2014-12-13
2
6
 
3
7
  * Update gems
4
8
 
data/Gemfile.lock CHANGED
@@ -1,26 +1,26 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- addressable (2.3.6)
4
+ addressable (2.3.8)
5
5
  blankslate (3.1.3)
6
6
  builder (3.2.2)
7
7
  descendants_tracker (0.0.4)
8
8
  thread_safe (~> 0.3, >= 0.3.1)
9
9
  diff-lcs (1.2.5)
10
10
  docile (1.1.5)
11
- faraday (0.9.0)
11
+ faraday (0.9.1)
12
12
  multipart-post (>= 1.2, < 3)
13
- git (1.2.8)
14
- github_api (0.12.2)
13
+ git (1.2.9.1)
14
+ github_api (0.12.4)
15
15
  addressable (~> 2.3)
16
16
  descendants_tracker (~> 0.0.4)
17
17
  faraday (~> 0.8, < 0.10)
18
- hashie (>= 3.3)
18
+ hashie (>= 3.4)
19
19
  multi_json (>= 1.7.5, < 2.0)
20
- nokogiri (~> 1.6.3)
20
+ nokogiri (~> 1.6.6)
21
21
  oauth2
22
- hashie (3.3.2)
23
- highline (1.6.21)
22
+ hashie (3.4.2)
23
+ highline (1.7.3)
24
24
  jeweler (2.0.1)
25
25
  builder
26
26
  bundler (>= 1.0)
@@ -30,13 +30,13 @@ GEM
30
30
  nokogiri (>= 1.5.10)
31
31
  rake
32
32
  rdoc
33
- json (1.8.1)
34
- jwt (1.2.0)
35
- mini_portile (0.6.1)
36
- multi_json (1.10.1)
33
+ json (1.8.3)
34
+ jwt (1.5.1)
35
+ mini_portile (0.6.2)
36
+ multi_json (1.11.2)
37
37
  multi_xml (0.5.5)
38
38
  multipart-post (2.0.0)
39
- nokogiri (1.6.5)
39
+ nokogiri (1.6.6.2)
40
40
  mini_portile (~> 0.6.0)
41
41
  oauth2 (1.0.0)
42
42
  faraday (>= 0.8, < 0.10)
@@ -44,34 +44,34 @@ GEM
44
44
  multi_json (~> 1.3)
45
45
  multi_xml (~> 0.5)
46
46
  rack (~> 1.2)
47
- parslet (1.6.2)
47
+ parslet (1.7.1)
48
48
  blankslate (>= 2.0, <= 4.0)
49
- rack (1.5.2)
49
+ rack (1.6.4)
50
50
  rake (10.4.2)
51
51
  rdoc (4.2.0)
52
- json (~> 1.4)
53
- redcarpet (3.2.2)
54
- rspec (3.1.0)
55
- rspec-core (~> 3.1.0)
56
- rspec-expectations (~> 3.1.0)
57
- rspec-mocks (~> 3.1.0)
58
- rspec-core (3.1.7)
59
- rspec-support (~> 3.1.0)
60
- rspec-expectations (3.1.2)
52
+ redcarpet (3.3.2)
53
+ rspec (3.3.0)
54
+ rspec-core (~> 3.3.0)
55
+ rspec-expectations (~> 3.3.0)
56
+ rspec-mocks (~> 3.3.0)
57
+ rspec-core (3.3.2)
58
+ rspec-support (~> 3.3.0)
59
+ rspec-expectations (3.3.1)
61
60
  diff-lcs (>= 1.2.0, < 2.0)
62
- rspec-support (~> 3.1.0)
63
- rspec-its (1.1.0)
61
+ rspec-support (~> 3.3.0)
62
+ rspec-its (1.2.0)
64
63
  rspec-core (>= 3.0.0)
65
64
  rspec-expectations (>= 3.0.0)
66
- rspec-mocks (3.1.3)
67
- rspec-support (~> 3.1.0)
68
- rspec-support (3.1.2)
69
- simplecov (0.9.1)
65
+ rspec-mocks (3.3.2)
66
+ diff-lcs (>= 1.2.0, < 2.0)
67
+ rspec-support (~> 3.3.0)
68
+ rspec-support (3.3.0)
69
+ simplecov (0.10.0)
70
70
  docile (~> 1.1.0)
71
- multi_json (~> 1.0)
72
- simplecov-html (~> 0.8.0)
73
- simplecov-html (0.8.0)
74
- thread_safe (0.3.4)
71
+ json (~> 1.8)
72
+ simplecov-html (~> 0.10.0)
73
+ simplecov-html (0.10.0)
74
+ thread_safe (0.3.5)
75
75
  yard (0.8.7.6)
76
76
 
77
77
  PLATFORMS
@@ -86,3 +86,6 @@ DEPENDENCIES
86
86
  rspec-its (~> 1.1)
87
87
  simplecov (~> 0.9)
88
88
  yard (~> 0.8.7)
89
+
90
+ BUNDLED WITH
91
+ 1.10.6
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.4.0
data/basic101.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: basic101 0.2.0 ruby lib
5
+ # stub: basic101 0.4.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "basic101"
9
- s.version = "0.2.0"
9
+ s.version = "0.4.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Wayne Conrad"]
14
- s.date = "2014-12-13"
14
+ s.date = "2015-08-31"
15
15
  s.description = "[![Gem Version](https://badge.fury.io/rb/basic101.png)](http://badge.fury.io/rb/basic101) [![Dependency Status](https://gemnasium.com/wconrad/basic101.svg)](https://gemnasium.com/wconrad/basic101) [![Code Climate](https://codeclimate.com/github/wconrad/basic101.png)](https://codeclimate.com/github/wconrad/basic101) [![Build Status](https://travis-ci.org/wconrad/basic101.png)](https://travis-ci.org/wconrad/basic101) basic101 is a circa 1980 BASIC interpreter written in Ruby. It supports a modified subset of Microsoft's BASIC-80 v. 5 and runs the games published in Basic Computer Games, Microcomputer Edition by David H. Ahl"
16
16
  s.email = "wconrad@yagni.com"
17
17
  s.executables = ["basic101"]
@@ -649,7 +649,7 @@ Gem::Specification.new do |s|
649
649
  ]
650
650
  s.homepage = "http://github.com/wconrad/basic101"
651
651
  s.licenses = ["MIT"]
652
- s.rubygems_version = "2.4.4"
652
+ s.rubygems_version = "2.4.6"
653
653
  s.summary = "Circa 1980 basic intepreter"
654
654
 
655
655
  if s.respond_to? :specification_version then
@@ -6,18 +6,18 @@ module Basic101
6
6
 
7
7
  let(:parser) {Parser.new}
8
8
 
9
- def self.parse(rule, s)
10
- parser = Parser.new.send(rule)
9
+ def self.parse(rule_name, s)
10
+ parser = Parser.new.send(rule_name)
11
11
  parser.parse(s)
12
12
  end
13
13
 
14
- def self.transform(rule, s)
15
- parse_tree = parse(rule, s)
14
+ def self.transform(rule_name, s)
15
+ parse_tree = parse(rule_name, s)
16
16
  Transform.new.apply(parse_tree)
17
17
  end
18
18
 
19
- def transform(s, rule = rule)
20
- self.class.transform(rule, s)
19
+ def transform(s, rule_name = rule)
20
+ self.class.transform(rule_name, s)
21
21
  end
22
22
 
23
23
  def self.it_should_transform(s, expected_result)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: basic101
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wayne Conrad
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-13 00:00:00.000000000 Z
11
+ date: 2015-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parslet
@@ -783,7 +783,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
783
783
  version: '0'
784
784
  requirements: []
785
785
  rubyforge_project:
786
- rubygems_version: 2.4.4
786
+ rubygems_version: 2.4.6
787
787
  signing_key:
788
788
  specification_version: 4
789
789
  summary: Circa 1980 basic intepreter