annyang_rails 1.1.0 → 1.1.0.1

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,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YTAwMzQ2Nzg5ODM2NzI5ODhkMTE0ZDZmN2JlY2ExMzBhYTkyNzExZg==
5
- data.tar.gz: !binary |-
6
- ZDFjNWVmYTJkODcxODY1NjU0MWE0NWEzMzNjZDFkNDdhMDhjMjkxNg==
2
+ SHA1:
3
+ metadata.gz: db25199388f4f83c2d015384ced4ab64ef57da30
4
+ data.tar.gz: e4cbb6f81ea16ff17073e76c0a8db65297a1762f
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZWJjYjFmMDEyMjFjMWJmMzBlODlkOTlkNTM2MTY0MmE1MTg4Zjc0ZTdmYTBm
10
- ZjhjZDU4ZGI0MzBmYjZiNDUzZDQzNjJkMjA2NzlkNTlmMWY1YjE5MTBlYWY2
11
- MGRiOGYzN2EzMDMwYTg2ZGY3OWRkZjk0OTFhZWRkNjU1MTdjNWY=
12
- data.tar.gz: !binary |-
13
- Y2EzZDBjZGExYTIzYzljNGYxOTdjNzNkMDc0NWRiMzYwZjIwYzY4NTdmZGFh
14
- MDljYzViOTNjNTRmODZlY2E3Mzg2MDcwODlmNWI5MTk2NDU0MTQyZTRmYzA4
15
- MThlZTI0YzY3ZjA0OTViMGQ2MDJjMWU4M2NkZDE5NTYzMGE5M2Q=
6
+ metadata.gz: b001111d07a0a8d13d144c17cb45957ae7775ab6f48619cc9ae371e7460ce447833d5fc19358c919e4179dbda9330045df5a1fab31edd70e3ddfac9b9e4efad5
7
+ data.tar.gz: 7985d99f3f1f8e3a2de74c9532d77776a3a1429cf40718a604a76ba3046c96bf96243fc5535756bd9177b323270798c70ac89f6813e01bb343b2d7c1147b224a
@@ -235,8 +235,12 @@
235
235
  }
236
236
  },
237
237
 
238
- // Remove existing commands. Called with a single phrase or an array of phrases
238
+ // Remove existing commands. Called with a single phrase, array of phrases, or methodically. Pass no params to remove all commands.
239
239
  removeCommands: function(commandsToRemove) {
240
+ if (commandsToRemove === undefined) {
241
+ commandsList = [];
242
+ return;
243
+ }
240
244
  commandsToRemove = Array.isArray(commandsToRemove) ? commandsToRemove : [commandsToRemove];
241
245
  commandsList = commandsList.filter(function(command) {
242
246
  for (var i = 0; i<commandsToRemove.length; i++) {
@@ -263,4 +267,4 @@
263
267
  }
264
268
  };
265
269
 
266
- }).call(this);
270
+ }).call(this);
@@ -1,3 +1,3 @@
1
1
  module AnnyangRails
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.0.1"
3
3
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: annyang_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Israeli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-22 00:00:00.000000000 Z
11
+ date: 2014-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
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: railties
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '3.1'
48
48
  type: :runtime
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: '3.1'
55
55
  description: Quickly add speech recognition to your Rails 3.1+ app via asset pipeline!
@@ -58,7 +58,7 @@ executables: []
58
58
  extensions: []
59
59
  extra_rdoc_files: []
60
60
  files:
61
- - .gitignore
61
+ - ".gitignore"
62
62
  - Gemfile
63
63
  - LICENSE.txt
64
64
  - README.md
@@ -77,18 +77,19 @@ require_paths:
77
77
  - lib
78
78
  required_ruby_version: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - ! '>='
85
+ - - ">="
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  requirements: []
89
89
  rubyforge_project:
90
- rubygems_version: 2.1.3
90
+ rubygems_version: 2.2.2
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: uses annyang.js to add speech recognition to your rails app
94
94
  test_files: []
95
+ has_rdoc: