morse_controller_helpers 0.1.11 → 0.1.12

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
  SHA1:
3
- metadata.gz: b6dd6c76f92bea650e382ac57b2e30f4ca1d7420
4
- data.tar.gz: 6b105087f6aa4d4cd26fd103f91c4213f2f0e1f2
3
+ metadata.gz: 82a6db3a3f6f6760b5d072e846151b20ce265de0
4
+ data.tar.gz: 4d9011ae890872445838f55a58b471490a8ea024
5
5
  SHA512:
6
- metadata.gz: e126b6e94d4a753b0776d206c7edc0a3ed7b689183259d0b404702a4995162356eda3f31288de1f7a2c7ce8c2376468623faa84f054569c59ea2570669902a72
7
- data.tar.gz: 0dc92f712023e844da2a3934a781169dfa0c5b98da0c95d2ae0baabc1c02c32b4e0e0efff5da438cdace0b2f984644ecd9c93dd2b793324ee7c55751d6842a97
6
+ metadata.gz: 3799ef558c2a42a4517adc89d42eb756ab272c12d36bfd828945d30767c11d1dea1f5435602a27737501a708c9579bcb5258f4ded24d11934bcae366e8360ae8
7
+ data.tar.gz: 7589b9e6c1169c8f4321e99bc1000ff57afa2b0c88d369806c3bbfc0763e68dd8458b22652bcdfe19ed157072c831f582b1ec1eee0e57075efded249fa800518
@@ -29,6 +29,10 @@ module MorseControllerHelpers
29
29
  @current_instance = set_current_instance(klass_us)
30
30
  end
31
31
 
32
+ def current_instances
33
+ controller_name.singularize.capitalize.constantize.all
34
+ end
35
+
32
36
  def dynamic_current_instance
33
37
  params_resource_ids.each do |pri|
34
38
  begin
@@ -1,3 +1,3 @@
1
1
  module MorseControllerHelpers
2
- VERSION = '0.1.11'.freeze
2
+ VERSION = '0.1.12'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morse_controller_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terry S
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-03-14 00:00:00.000000000 Z
12
+ date: 2017-03-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler