navi 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ # 0.2.1
2
+
3
+ - remove dependency on easy_class_to_instance_method
4
+
1
5
  # 0.2.0
2
6
 
3
7
  Add ability to pass namespace to generate all links under. `navi_render items, namespace: 'admin'`
@@ -1,10 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- navi (0.2.0)
4
+ navi (0.2.1)
5
5
  activerecord (>= 3.0.0)
6
6
  activesupport (>= 3.0.0)
7
- easy_class_to_instance_method (= 0.0.1)
8
7
  ordered_tree (>= 0.1.6)
9
8
  simple-navigation (~> 3.11.0)
10
9
 
@@ -70,8 +69,6 @@ GEM
70
69
  rack-test (>= 0.5.7)
71
70
  database_cleaner (1.0.1)
72
71
  diff-lcs (1.2.4)
73
- easy_class_to_instance_method (0.0.1)
74
- activesupport (>= 3.0.0)
75
72
  erubis (2.7.0)
76
73
  factory_girl (4.2.0)
77
74
  activesupport (>= 3.0.0)
@@ -1,4 +1,3 @@
1
- require 'easy_class_to_instance_method'
2
1
  require 'active_support'
3
2
  require "active_support/core_ext/module" # so we can use mattr_accessor
4
3
  require 'active_record'
@@ -2,7 +2,10 @@ module Navi
2
2
  module Renderers
3
3
  module SimpleNavigation
4
4
  class GeneratesUri
5
- easy_class_to_instance
5
+
6
+ def self.execute(*args)
7
+ self.new(*args).execute
8
+ end
6
9
 
7
10
  def initialize(template, nav_item, options={})
8
11
  @template = template
@@ -1,3 +1,3 @@
1
1
  module Navi
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -23,7 +23,6 @@ Gem::Specification.new do |s|
23
23
  s.add_runtime_dependency "activerecord", [">= 3.0.0"]
24
24
  s.add_runtime_dependency "ordered_tree", [">= 0.1.6"]
25
25
  s.add_runtime_dependency 'simple-navigation', ['~> 3.11.0']
26
- s.add_runtime_dependency 'easy_class_to_instance_method', '0.0.1'
27
26
 
28
27
  s.add_development_dependency 'sqlite3'
29
28
  s.add_development_dependency 'rails', ['~> 3.2.0']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: navi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-07 00:00:00.000000000 Z
12
+ date: 2013-07-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -75,22 +75,6 @@ dependencies:
75
75
  - - ~>
76
76
  - !ruby/object:Gem::Version
77
77
  version: 3.11.0
78
- - !ruby/object:Gem::Dependency
79
- name: easy_class_to_instance_method
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - '='
84
- - !ruby/object:Gem::Version
85
- version: 0.0.1
86
- type: :runtime
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - '='
92
- - !ruby/object:Gem::Version
93
- version: 0.0.1
94
78
  - !ruby/object:Gem::Dependency
95
79
  name: sqlite3
96
80
  requirement: !ruby/object:Gem::Requirement
@@ -440,7 +424,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
440
424
  version: '0'
441
425
  segments:
442
426
  - 0
443
- hash: -1974444900987985059
427
+ hash: -1082328224750542628
444
428
  required_rubygems_version: !ruby/object:Gem::Requirement
445
429
  none: false
446
430
  requirements:
@@ -449,7 +433,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
449
433
  version: '0'
450
434
  segments:
451
435
  - 0
452
- hash: -1974444900987985059
436
+ hash: -1082328224750542628
453
437
  requirements: []
454
438
  rubyforge_project: navi
455
439
  rubygems_version: 1.8.25