ruby.py 0.2.1 → 0.2.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.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/README.md +2 -2
  4. data/ruby.py.gemspec +2 -2
  5. metadata +6 -7
  6. data/Gemfile.lock +0 -61
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9afa48fa470c47b9e60e9aab7c9e3892279f455ea596be9345a4f97a612b04bd
4
- data.tar.gz: 23bf056d96b97b1c4db286817666f9f32a8928ec760768c138e7b3dbe60af695
3
+ metadata.gz: ad32c09e2ca39b9bd6bfd7334d4d3cd991d2aa95ee5b668ead44fd004c1c365e
4
+ data.tar.gz: d12561c31cc1b3457e6618483544f080928f554d1f8f2c620159574995c44d23
5
5
  SHA512:
6
- metadata.gz: 1261e438b3ecddb4f0687a07c806f7c97c51b1287903423e58126443084773566e8aa75edcfc423f8f0e2418c4785136a01b9c46c93ad2a36ff5cd408c909851
7
- data.tar.gz: f80aa03d5464527f2ff2680c38d8b6403627819ca76cc90b1c14cc90ba63a0f96262bc65f9d444d5d7183446841c9544b1b8baa904197b722c38ab58e47c97a6
6
+ metadata.gz: 81da6f38d2c1ae65e7e7350a9650f90162c009d43bc618994749977f464fb521d2856c351acb478f02d3bf70765b292a5e697e72463317153db2186ec74eee94
7
+ data.tar.gz: 528a5b3b6f9c233a7d66e88d55b4e44ffb052f281044e6a937ffc8bb0da40b81937baf346eb7c2217e9ac9f834bcfc8d5c9f79f79d4001a8f4318cd0d507f9d3
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ Gemfile.lock
1
2
  /.bundle/
2
3
  /.yardoc
3
4
  /_yardoc/
data/README.md CHANGED
@@ -37,7 +37,7 @@ m = re.match('(\w+) (\w+)', 'Isaac Newton, physicist')
37
37
  m.group(0) #=> 'Isaac Newton'
38
38
  m.group(1) #=> 'Isaac'
39
39
  m.group(2) #=> 'Newton'
40
- m.group(1, 2) #=> PyCall::Tuple.call(%w[Isaac Newton])
40
+ m.group(1, 2) #=> PyCall::Tuple.new('Isaac', 'Newton')
41
41
 
42
42
  cv2 = RubyPy.import('cv2')
43
43
  cv2.imread('example.png')
@@ -51,7 +51,7 @@ a.itemsize #=> 8
51
51
  a.size #=> 15
52
52
 
53
53
  tf = RubyPy.import('tensorflow')
54
- sess = tf.Session.call
54
+ sess = tf.Session.new
55
55
  a = tf.placeholder tf.int16
56
56
  b = tf.placeholder tf.int16
57
57
  add = tf.add(a, b)
data/ruby.py.gemspec CHANGED
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = 'ruby.py'
6
- spec.version = '0.2.1'
6
+ spec.version = '0.2.2'
7
7
  spec.authors = ['Frank J. Cameron']
8
8
  spec.email = ['fjc@fastmail.net']
9
9
 
@@ -29,5 +29,5 @@ Gem::Specification.new do |spec|
29
29
  spec.add_development_dependency 'rspec', '~> 3.0'
30
30
  spec.add_development_dependency 'rubocop', '~> 0.57.2'
31
31
 
32
- spec.add_dependency 'pycall'
32
+ spec.add_dependency 'pycall', '~> 1.0'
33
33
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby.py
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank J. Cameron
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-04 00:00:00.000000000 Z
11
+ date: 2018-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -84,16 +84,16 @@ dependencies:
84
84
  name: pycall
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '1.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '1.0'
97
97
  description: ''
98
98
  email:
99
99
  - fjc@fastmail.net
@@ -106,7 +106,6 @@ files:
106
106
  - ".rspec"
107
107
  - ".travis.yml"
108
108
  - Gemfile
109
- - Gemfile.lock
110
109
  - LICENSE.txt
111
110
  - README.md
112
111
  - Rakefile
data/Gemfile.lock DELETED
@@ -1,61 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- ruby.py (0.2.1)
5
- pycall
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- ast (2.4.0)
11
- coderay (1.1.2)
12
- diff-lcs (1.3)
13
- jaro_winkler (1.5.1)
14
- method_source (0.9.0)
15
- parallel (1.12.1)
16
- parser (2.5.1.0)
17
- ast (~> 2.4.0)
18
- powerpack (0.1.2)
19
- pry (0.11.3)
20
- coderay (~> 1.1.0)
21
- method_source (~> 0.9.0)
22
- pycall (1.0.3)
23
- rainbow (3.0.0)
24
- rake (10.5.0)
25
- rspec (3.7.0)
26
- rspec-core (~> 3.7.0)
27
- rspec-expectations (~> 3.7.0)
28
- rspec-mocks (~> 3.7.0)
29
- rspec-core (3.7.1)
30
- rspec-support (~> 3.7.0)
31
- rspec-expectations (3.7.0)
32
- diff-lcs (>= 1.2.0, < 2.0)
33
- rspec-support (~> 3.7.0)
34
- rspec-mocks (3.7.0)
35
- diff-lcs (>= 1.2.0, < 2.0)
36
- rspec-support (~> 3.7.0)
37
- rspec-support (3.7.1)
38
- rubocop (0.57.2)
39
- jaro_winkler (~> 1.5.1)
40
- parallel (~> 1.10)
41
- parser (>= 2.5)
42
- powerpack (~> 0.1)
43
- rainbow (>= 2.2.2, < 4.0)
44
- ruby-progressbar (~> 1.7)
45
- unicode-display_width (~> 1.0, >= 1.0.1)
46
- ruby-progressbar (1.9.0)
47
- unicode-display_width (1.4.0)
48
-
49
- PLATFORMS
50
- ruby
51
-
52
- DEPENDENCIES
53
- bundler (~> 1.16)
54
- pry
55
- rake (~> 10.0)
56
- rspec (~> 3.0)
57
- rubocop (~> 0.57.2)
58
- ruby.py!
59
-
60
- BUNDLED WITH
61
- 1.16.2