mumuki-gobstones-blockly 0.38.0 → 0.39.0

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: eb09d894eb7af40df20691a51e1fa10ffebce851b12f0cf9eafe23a31c64afee
4
- data.tar.gz: 6340da945036f240c1ee72755c5e8e985e99610ea8d727f1f6f4e7c8a4a0754c
3
+ metadata.gz: 88e55045f27f71da4deb8d83b9e952de4a70dc45dc76cee589e1815ec58c24b8
4
+ data.tar.gz: f55d531f6d91162cd9b76f7cf149d1db9b3a2abd8690a92f6f74e2ad85dac814
5
5
  SHA512:
6
- metadata.gz: 5e088dd6494bbe4f717bfad1db51e56b48a1212aa29f6fe313d4ef4bff1281e80e3e07f405dc09eb6934dc0a89d7c69003f2b0d14fba9e3a6f29ae18cf7b584e
7
- data.tar.gz: 50e07a3cf78731c4aa1e5c155b79b23d4c2e6d1f17bc672479b18af9971a329935c1ec0933ebb1711de48cd4913e21ac99fbb64ea3b8e23f86afb9c2d31fd7b8
6
+ metadata.gz: eeba3dfcf59f58a3d75905b684fbedb9b43dc0bd136f4ba6401c44d931ac98840e1deb10246d47181d6f376b7f287611010a03e0bd04fd791360df088c80a752
7
+ data.tar.gz: 54a0fb008acab09b0de70ba5ccac6fc159abd5edfcae6342d3037a57ffa1d6fc9b38ae623c90a1d250d4cc88805f89f6847fdab5eda5345a6bec45c82b68a530
data/README.md CHANGED
@@ -7,7 +7,7 @@ Element providing Blockly interface for Gobstones Web
7
7
  First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) and Bower installed.
8
8
 
9
9
  ```Bash
10
- $ npm install -g bower polymer-cli
10
+ $ npm install -g bower polymer-cli vulcanize
11
11
  ```
12
12
 
13
13
  Then, run both `npm install` and `bower install`.
@@ -54,10 +54,10 @@ This command will build a minified .html file with all included:
54
54
 
55
55
  ## Gem wrapper
56
56
 
57
- This module can also be deployed a ruby gem. `mumuki-gobstones-blockly` works with Ruby 2.3.1
57
+ This module can also be deployed a ruby gem. `mumuki-gobstones-blockly` works with Ruby >= 2.3.1
58
58
 
59
59
  ```bash
60
- ./build-gem
60
+ ./build-gem.sh
61
61
  ```
62
62
 
63
63
  ## Tagging and releasing
@@ -7747,6 +7747,10 @@ Blockly.ErrorInforming.CssContent = [
7747
7747
  this.workspace.showBlockError(blockId, errorKind);
7748
7748
  },
7749
7749
 
7750
+ getBlocksOfType(type) {
7751
+ return this.workspace.getAllBlocks().filter((it) => it.type === type);
7752
+ },
7753
+
7750
7754
  scrollToBlock: function(blockId, centered = false) {
7751
7755
  const block = blockId
7752
7756
  ? this.workspace.getBlockById(blockId)
@@ -1,5 +1,5 @@
1
1
  module Gobstones
2
2
  module Blockly
3
- VERSION = "0.38.0"
3
+ VERSION = "0.39.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-gobstones-blockly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.38.0
4
+ version: 0.39.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Alfonso
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-09-09 00:00:00.000000000 Z
12
+ date: 2023-02-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -79,7 +79,7 @@ require_paths:
79
79
  - lib
80
80
  required_ruby_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - "~>"
82
+ - - ">="
83
83
  - !ruby/object:Gem::Version
84
84
  version: '2.3'
85
85
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  requirements: []
91
- rubygems_version: 3.0.8
91
+ rubygems_version: 3.1.6
92
92
  signing_key:
93
93
  specification_version: 4
94
94
  summary: Gobstones Blockly