java 0.0.1 → 0.0.2

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: 508bb1495b0b0285c32809ac72a966741f1ade25
4
- data.tar.gz: a94af1d6ddcac6818daacbd08805d70ed32b3294
3
+ metadata.gz: b857559f8ad07ed3feda54cd18d37df98451bb91
4
+ data.tar.gz: 774509c33cc44b151e0073b979945e841d7f2bc1
5
5
  SHA512:
6
- metadata.gz: e6ed25385141861cf75b0b6d99e21bd08decd76fbc1c5f424c31d723a90e686a6d7783017e9cab66620d69f8b83f11130b3ab7560d5cfccbf910b3359f63b73c
7
- data.tar.gz: b25e6f74f44bb780ae7de2a63052accf653b2adea0611f12b2f9d8f890aa7531b9d4f40de63c6c449fd240d9728901767b2a39ee594c634f67d55b44ba296441
6
+ metadata.gz: b9aed799ce5a83eef242be592b996490540b88d349c00c96e6c8b9f11d5d16147ef504722fb3f72b3ce4d27d9625b6a47cd6c57de92aaf0762f952e9182e3dc6
7
+ data.tar.gz: 725d1c71b285d50cbae3d21df8de140b7b9c47be4daea9444d0af980439ca5a9ed975b2a83b6599311da3afe30a6071886ae059cfc199055fb350061d6ec8632
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- java (0.0.1)
4
+ java (0.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -8,6 +8,8 @@ Install
8
8
 
9
9
  `gem install java` or add `gem 'java'` to your Gemfile.
10
10
 
11
+ This gem requires Ruby 2.1.0+.
12
+
11
13
  Usage
12
14
  -----
13
15
 
@@ -42,10 +44,6 @@ class MyClass
42
44
  public byte def not_byte()
43
45
  128
44
46
  end
45
-
46
- private bool def this_is_private()
47
- true
48
- end
49
47
  end
50
48
 
51
49
  # >> obj = new MyClass("my class")
@@ -81,6 +79,8 @@ Future Work
81
79
  Credits
82
80
  -------
83
81
 
82
+ Java™ is a registered trademark of Oracle and/or its affiliates.
83
+
84
84
  [@tenderlove](https://github.com/tenderlove) and [@jeremy](https://github.com/jeremy)
85
85
  first brought this to my attention. [@amatsuda](https://github.com/amatsuda)
86
86
  also has a [similar gist](https://gist.github.com/amatsuda/6237320).
@@ -17,6 +17,8 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ["lib"]
19
19
 
20
+ spec.required_ruby_version = ">= 2.1.0"
21
+
20
22
  spec.add_development_dependency "bundler", "~> 1.3"
21
23
  spec.add_development_dependency "rake"
22
24
  spec.add_development_dependency "minitest"
@@ -1,3 +1,3 @@
1
1
  module Java
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: java
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Godfrey Chan
@@ -14,42 +14,42 @@ dependencies:
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description:
@@ -59,11 +59,10 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - ".gitignore"
62
+ - .gitignore
63
63
  - Gemfile
64
64
  - Gemfile.lock
65
65
  - LICENSE
66
- - LICENSE.txt
67
66
  - README.md
68
67
  - Rakefile
69
68
  - java.gemspec
@@ -81,17 +80,17 @@ require_paths:
81
80
  - lib
82
81
  required_ruby_version: !ruby/object:Gem::Requirement
83
82
  requirements:
84
- - - ">="
83
+ - - '>='
85
84
  - !ruby/object:Gem::Version
86
- version: '0'
85
+ version: 2.1.0
87
86
  required_rubygems_version: !ruby/object:Gem::Requirement
88
87
  requirements:
89
- - - ">="
88
+ - - '>='
90
89
  - !ruby/object:Gem::Version
91
90
  version: '0'
92
91
  requirements: []
93
92
  rubyforge_project:
94
- rubygems_version: 2.2.0
93
+ rubygems_version: 2.2.1
95
94
  signing_key:
96
95
  specification_version: 4
97
96
  summary: The caffeine boost you need for your late-night coding sprints.
@@ -1,22 +0,0 @@
1
- Copyright (c) 2014 Godfrey Chan
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.