phcdevworks_active_menus 0.1.0 → 0.2.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: 63f3b236375801e45029266d77490ac7af914fafcfd9b4059f1e814252f14ba2
4
- data.tar.gz: 992c06187f7a2388b63f50fca8b30fa27ba971cf29278ee18d3298bf3965ec25
3
+ metadata.gz: 04f3911808a36591e9bcc079bf901abfe86860f1e5c8cd1838df0051f75b978e
4
+ data.tar.gz: 26d95b5cf87f45356e50c4ceee553637f24eda9f892ceb42ac0974a7e4f21e16
5
5
  SHA512:
6
- metadata.gz: fbc91395db1e180ed9e1653550f956edf944caaa58d11483f6f5acb73aaedf22c712cab8e2c8f5e21a85de3809b55c39b9c5b5281eaf553a2320158515618e60
7
- data.tar.gz: 8bb277515e8de6972e57af118b826a39bb9040680cea637ec182c8c0a4b1dcb80ae09441d1aa5d526340dd2ddab30257c0caf81f828bdac25148aaafdc46cc95
6
+ metadata.gz: acfdb67ea40c90218568f328aa4e85ecb6bb689b4cf41605d490af6233705ea37b0d929bccf71908ebee26f0f631c78c9a331b29172546a8eb0f70fb6b36b56c
7
+ data.tar.gz: ca10162badd6406cc3d1067fb93adb5266f9f62e153e9aed6ef7ad2e2dbcc337685268871593cd6a937561330ecaa5be4db48e0e2424f589cf8ea5a4842a49e0
data/MIT-LICENSE CHANGED
@@ -17,4 +17,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
17
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
18
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
19
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -16,16 +16,16 @@ Add the line of code below into your app/controllers/application_controller.rb (
16
16
  helper PhcdevworksActiveMenus::Engine.helpers
17
17
 
18
18
  #### How to Add Active Class Based on Controller Only (Often used for main menu items with sub-menus.)
19
- Add the line of code in between <div class""> tag.
19
+ Add the line of code in between div class tag.
20
20
 
21
- <%= phc_menu_active_controller("ExampleControllerName") %>
21
+ <div class"<%= phc_menu_active_controller("ExampleControllerName") %>">
22
22
 
23
23
  #### How to Add Active Class Based on Action Only (Often used for submenu items.)
24
- Add the line of code in between <div class""> tag.
24
+ Add the line of code in between div class tag.
25
25
 
26
- <%= phc_menu_active_action("ExampleActionName") %>
26
+ <div class"<%= phc_menu_active_action("ExampleActionName") %>">
27
27
 
28
28
  #### How to Add Active Class Based on Action Only (Used if you need to get specific.)
29
- Add the line of code in between <div class""> tag.
29
+ Add the line of code in between div class tag.
30
30
 
31
- <%= phc_menu_active_action_controller("ExampleControllerName", "ExampleActionName") %>
31
+ <div class"<%= phc_menu_active_action_controller("ExampleControllerName", "ExampleActionName") %>">
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksActiveMenus
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcdevworks_active_menus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-26 00:00:00.000000000 Z
11
+ date: 2019-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails