navi 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -15,7 +15,7 @@ gem "ordered_tree", ">= 0.1.6"
15
15
  # :test and :cucumber environments!
16
16
  #
17
17
  # Just remember to uncomment them when you publish (or make a pull request).
18
- group :development, :test, :cucumber do
18
+ #group :development, :test, :cucumber do
19
19
  gem "rspec", "~> 2.6.0"
20
20
  gem "bundler", "~> 1.0.0"
21
21
  gem "jeweler", "~> 1.5.2"
@@ -39,10 +39,10 @@ group :development, :test, :cucumber do
39
39
  gem 'capybara', ">= 1.0.0.rc1"
40
40
  gem 'database_cleaner'
41
41
  gem 'launchy'
42
- gem 'machinist'
42
+ gem 'machinist', :path => "/home/ramon/source/machinist"
43
43
  gem 'faker'
44
44
  gem 'guard-cucumber', '0.3.4'
45
45
  gem 'libnotify'
46
46
  gem 'rb-inotify'
47
47
  gem 'nifty-generators'
48
- end
48
+ #end
data/Gemfile.lock CHANGED
@@ -1,3 +1,8 @@
1
+ PATH
2
+ remote: /home/ramon/source/machinist
3
+ specs:
4
+ machinist (1.0.6)
5
+
1
6
  GEM
2
7
  remote: http://rubygems.org/
3
8
  specs:
@@ -96,7 +101,6 @@ GEM
96
101
  configuration (>= 0.0.5)
97
102
  rake (>= 0.8.1)
98
103
  libnotify (0.5.5)
99
- machinist (1.0.6)
100
104
  mail (2.2.19)
101
105
  activesupport (>= 2.3.6)
102
106
  i18n (>= 0.4.0)
@@ -183,7 +187,7 @@ DEPENDENCIES
183
187
  jquery-rails (>= 1.0.3)
184
188
  launchy
185
189
  libnotify
186
- machinist
190
+ machinist!
187
191
  nifty-generators
188
192
  ordered_tree (>= 0.1.6)
189
193
  rails (= 3.0.7)
data/Guardfile CHANGED
@@ -1,23 +1,27 @@
1
1
  # A sample Guardfile
2
2
  # More info at https://github.com/guard/guard#readme
3
3
 
4
- guard 'rspec', :version => 2 do
5
- watch(%r{^spec/.+_spec\.rb})
6
- watch(%r{^lib/(.+)\.rb}) { |m| "spec/lib/#{m[1]}_spec.rb" }
7
- watch('spec/spec_helper.rb') { "spec" }
4
+ group 'specs' do
5
+ guard 'rspec', :version => 2 do
6
+ watch(%r{^spec/.+_spec\.rb})
7
+ watch(%r{^lib/(.+)\.rb}) { |m| "spec/lib/#{m[1]}_spec.rb" }
8
+ watch('spec/spec_helper.rb') { "spec" }
8
9
 
9
- # Rails example
10
- watch('spec/spec_helper.rb') { "spec" }
11
- watch('config/routes.rb') { "spec/routing" }
12
- watch('app/controllers/application_controller.rb') { "spec/controllers" }
13
- watch(%r{^spec/.+_spec\.rb})
14
- watch(%r{^app/(.+)\.rb}) { |m| "spec/#{m[1]}_spec.rb" }
15
- watch(%r{^lib/(.+)\.rb}) { |m| "spec/lib/#{m[1]}_spec.rb" }
16
- watch(%r{^app/controllers/(.+)_(controller)\.rb}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
10
+ # Rails example
11
+ watch('spec/spec_helper.rb') { "spec" }
12
+ watch('config/routes.rb') { "spec/routing" }
13
+ watch('app/controllers/application_controller.rb') { "spec/controllers" }
14
+ watch(%r{^spec/.+_spec\.rb})
15
+ watch(%r{^app/(.+)\.rb}) { |m| "spec/#{m[1]}_spec.rb" }
16
+ watch(%r{^lib/(.+)\.rb}) { |m| "spec/lib/#{m[1]}_spec.rb" }
17
+ watch(%r{^app/controllers/(.+)_(controller)\.rb}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
18
+ end
17
19
  end
18
20
 
19
- guard 'cucumber' do
20
- watch(%r{^features/.+\.feature$})
21
- watch(%r{^features/support/.+$}) { 'features' }
22
- watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' }
21
+ group 'features' do
22
+ guard 'cucumber' do
23
+ watch(%r{^features/.+\.feature$})
24
+ watch(%r{^features/support/.+$}) { 'features' }
25
+ watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' }
26
+ end
23
27
  end
data/README.textile CHANGED
@@ -38,7 +38,7 @@ You can pass any of the following arguments, in a form of a hash, into @to_navig
38
38
 
39
39
  * :label
40
40
  * :title
41
- * :link
41
+ * :url
42
42
  * :highlights_on
43
43
  * :parent_id
44
44
  * :position
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.13
1
+ 0.0.14
@@ -7,7 +7,6 @@ Feature: So that I can create a menu for my viewers to navigate my site
7
7
  Given a page "Home" exists
8
8
  And a category "Misc" exists
9
9
  And I am on the menu items page
10
- And show me the page
11
10
  When I create the page "Home" menu item
12
11
  Then I should see "Home" in the list of menu items
13
12
  When I create the category "Misc" menu item
@@ -12,6 +12,8 @@ module Navi
12
12
  self.abstract_class = true
13
13
 
14
14
  belongs_to :navigable, :polymorphic => true
15
+ validates :label, :presence => true, :unless => Proc.new {|m| m.navigable.present?}
16
+ validates :url, :presence => true, :unless => Proc.new {|m| m.navigable.present?}
15
17
 
16
18
  # Calling ordered_tree on the child is important because
17
19
  # of this: http://stackoverflow.com/q/6262033/61018
@@ -8,8 +8,8 @@ module Navi
8
8
  nil
9
9
  end
10
10
 
11
- def link
12
- db_value = self.read_attribute :link
11
+ def url
12
+ db_value = self.read_attribute :url
13
13
  return db_value if db_value
14
14
  return navigable if navigable
15
15
  nil
@@ -21,37 +21,37 @@ module Navi
21
21
  if navigable && navigable_config(:title)
22
22
  config = navigable_config :title
23
23
  return case config
24
- when Symbol then navigable.send config
25
- when String then config
26
- when Proc then config.call navigable
24
+ when Symbol then navigable.send config
25
+ when String then config
26
+ when Proc then config.call navigable
27
+ end
27
28
  end
29
+ return self.label
28
30
  end
29
- return self.label
30
- end
31
31
 
32
- def highlights_on
33
- db_value = self.read_attribute :highlights_on
34
- value = if db_value
35
- Regexp.new db_value
36
- else # db_value.nil?
37
- if navigable && navigable_config(:highlights_on)
38
- config = navigable_config(:highlights_on)
39
- case config
40
- when Proc then config.call navigable
41
- else config
32
+ def highlights_on
33
+ db_value = self.read_attribute :highlights_on
34
+ value = if db_value
35
+ Regexp.new db_value
36
+ else # db_value.nil?
37
+ if navigable && navigable_config(:highlights_on)
38
+ config = navigable_config(:highlights_on)
39
+ case config
40
+ when Proc then config.call navigable
41
+ else config
42
+ end
43
+ else
44
+ self.url
42
45
  end
43
- else
44
- self.link
45
46
  end
46
- end
47
- end
47
+ end
48
48
 
49
- private
49
+ private
50
50
 
51
- def navigable_config(key)
52
- navigable.class.navigable_config[key]
53
- end
51
+ def navigable_config(key)
52
+ navigable.class.navigable_config[key]
53
+ end
54
54
 
55
+ end
55
56
  end
56
57
  end
57
- end
@@ -18,12 +18,10 @@ module Navi
18
18
  item = {}
19
19
  item[:key] = @template.dom_id(nav_item).to_sym
20
20
  item[:name] = nav_item.label
21
- if nav_item.link.is_a?(String)
22
- item[:url] = nav_item.link
21
+ if nav_item.url.is_a?(String)
22
+ item[:url] = nav_item.url
23
23
  else # it's a database record then!
24
- puts "This is the link: #{nav_item.link.inspect}"
25
- item[:url] = @template.polymorphic_path(nav_item.link)
26
- #item[:url] = "/"
24
+ item[:url] = @template.polymorphic_path(nav_item.url)
27
25
  end
28
26
  item[:options] = {:title => nav_item.title, :class => nav_item.class.name.underscore}
29
27
  item[:items] = create_dynamic_items(nav_item.children)
data/navi.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{navi}
8
- s.version = "0.0.13"
8
+ s.version = "0.0.14"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ramon Tayag"]
12
- s.date = %q{2011-06-14}
12
+ s.date = %q{2011-06-16}
13
13
  s.description = %q{Allows you to save menu items in the database. You can create your own renderer.}
14
14
  s.email = %q{ramon@tayag.net}
15
15
  s.extra_rdoc_files = [
@@ -183,34 +183,34 @@ Gem::Specification.new do |s|
183
183
  s.add_runtime_dependency(%q<activesupport>, [">= 3.0.0"])
184
184
  s.add_runtime_dependency(%q<activerecord>, [">= 3.0.0"])
185
185
  s.add_runtime_dependency(%q<ordered_tree>, [">= 0.1.6"])
186
- s.add_development_dependency(%q<rspec>, ["~> 2.6.0"])
187
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
188
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
189
- s.add_development_dependency(%q<rcov>, [">= 0"])
190
- s.add_development_dependency(%q<simple-navigation>, ["= 3.2.0"])
191
- s.add_development_dependency(%q<inherited_resources>, [">= 0"])
192
- s.add_development_dependency(%q<guard-rspec>, [">= 0"])
193
- s.add_development_dependency(%q<libnotify>, [">= 0"])
194
- s.add_development_dependency(%q<rb-inotify>, [">= 0"])
195
- s.add_development_dependency(%q<sqlite3>, [">= 0"])
196
- s.add_development_dependency(%q<rake>, ["= 0.8.7"])
197
- s.add_development_dependency(%q<apotomo>, ["= 1.1.1"])
198
- s.add_development_dependency(%q<rails>, ["= 3.0.7"])
199
- s.add_development_dependency(%q<haml>, [">= 0"])
200
- s.add_development_dependency(%q<simple-navigation>, ["= 3.2.0"])
201
- s.add_development_dependency(%q<jquery-rails>, [">= 1.0.3"])
202
- s.add_development_dependency(%q<rspec-rails>, ["= 2.6.1"])
203
- s.add_development_dependency(%q<cucumber-rails>, ["= 0.5.2"])
204
- s.add_development_dependency(%q<cucumber>, [">= 0"])
205
- s.add_development_dependency(%q<capybara>, [">= 1.0.0.rc1"])
206
- s.add_development_dependency(%q<database_cleaner>, [">= 0"])
207
- s.add_development_dependency(%q<launchy>, [">= 0"])
208
- s.add_development_dependency(%q<machinist>, [">= 0"])
209
- s.add_development_dependency(%q<faker>, [">= 0"])
210
- s.add_development_dependency(%q<guard-cucumber>, ["= 0.3.4"])
211
- s.add_development_dependency(%q<libnotify>, [">= 0"])
212
- s.add_development_dependency(%q<rb-inotify>, [">= 0"])
213
- s.add_development_dependency(%q<nifty-generators>, [">= 0"])
186
+ s.add_runtime_dependency(%q<rspec>, ["~> 2.6.0"])
187
+ s.add_runtime_dependency(%q<bundler>, ["~> 1.0.0"])
188
+ s.add_runtime_dependency(%q<jeweler>, ["~> 1.5.2"])
189
+ s.add_runtime_dependency(%q<rcov>, [">= 0"])
190
+ s.add_runtime_dependency(%q<simple-navigation>, ["= 3.2.0"])
191
+ s.add_runtime_dependency(%q<inherited_resources>, [">= 0"])
192
+ s.add_runtime_dependency(%q<guard-rspec>, [">= 0"])
193
+ s.add_runtime_dependency(%q<libnotify>, [">= 0"])
194
+ s.add_runtime_dependency(%q<rb-inotify>, [">= 0"])
195
+ s.add_runtime_dependency(%q<sqlite3>, [">= 0"])
196
+ s.add_runtime_dependency(%q<rake>, ["= 0.8.7"])
197
+ s.add_runtime_dependency(%q<apotomo>, ["= 1.1.1"])
198
+ s.add_runtime_dependency(%q<rails>, ["= 3.0.7"])
199
+ s.add_runtime_dependency(%q<haml>, [">= 0"])
200
+ s.add_runtime_dependency(%q<simple-navigation>, ["= 3.2.0"])
201
+ s.add_runtime_dependency(%q<jquery-rails>, [">= 1.0.3"])
202
+ s.add_runtime_dependency(%q<rspec-rails>, ["= 2.6.1"])
203
+ s.add_runtime_dependency(%q<cucumber-rails>, ["= 0.5.2"])
204
+ s.add_runtime_dependency(%q<cucumber>, [">= 0"])
205
+ s.add_runtime_dependency(%q<capybara>, [">= 1.0.0.rc1"])
206
+ s.add_runtime_dependency(%q<database_cleaner>, [">= 0"])
207
+ s.add_runtime_dependency(%q<launchy>, [">= 0"])
208
+ s.add_runtime_dependency(%q<machinist>, [">= 0"])
209
+ s.add_runtime_dependency(%q<faker>, [">= 0"])
210
+ s.add_runtime_dependency(%q<guard-cucumber>, ["= 0.3.4"])
211
+ s.add_runtime_dependency(%q<libnotify>, [">= 0"])
212
+ s.add_runtime_dependency(%q<rb-inotify>, [">= 0"])
213
+ s.add_runtime_dependency(%q<nifty-generators>, [">= 0"])
214
214
  else
215
215
  s.add_dependency(%q<activesupport>, [">= 3.0.0"])
216
216
  s.add_dependency(%q<activerecord>, [">= 3.0.0"])
data/spec/blueprints.rb CHANGED
@@ -6,11 +6,18 @@ Sham.name { Faker::Name.name }
6
6
  Sham.email { Faker::Internet.email }
7
7
  Sham.title { Faker::Lorem.sentence }
8
8
  Sham.body { Faker::Lorem.paragraph }
9
+ #Sham.url { "http://somedomain.com" }
9
10
 
10
11
  Category.blueprint do
11
12
  name
12
13
  end
13
14
 
15
+ MenuItem.blueprint do
16
+ label {Sham.name}
17
+ url { "http://somedomain.com" }
18
+ site_id {1}
19
+ end
20
+
14
21
  Page.blueprint do
15
22
  name
16
23
  end
@@ -6,8 +6,8 @@
6
6
  = f.label :label
7
7
  = f.text_field :label
8
8
  %fieldset
9
- = f.label :link
10
- = f.text_field :link
9
+ = f.label :url
10
+ = f.text_field :url
11
11
  %fieldset
12
12
  = f.label :title
13
13
  = f.text_field :title
@@ -2,7 +2,7 @@ class CreateMenuItems < ActiveRecord::Migration
2
2
  def self.up
3
3
  create_table(:menu_items) do |t|
4
4
  t.string :label
5
- t.string :link
5
+ t.string :url
6
6
  t.string :title
7
7
  t.integer :parent_id, :default => 0
8
8
  t.integer :position
@@ -21,13 +21,14 @@ ActiveRecord::Schema.define(:version => 20110607160052) do
21
21
 
22
22
  create_table "menu_items", :force => true do |t|
23
23
  t.string "label"
24
- t.string "link"
24
+ t.string "url"
25
25
  t.string "title"
26
26
  t.integer "parent_id", :default => 0
27
27
  t.integer "position"
28
28
  t.string "highlights_on"
29
29
  t.integer "navigable_id"
30
30
  t.string "navigable_type"
31
+ t.integer "site_id"
31
32
  t.datetime "created_at"
32
33
  t.datetime "updated_at"
33
34
  end
@@ -2,11 +2,22 @@ require 'spec_helper'
2
2
 
3
3
  describe MenuItem do
4
4
  #before {reset_database}
5
+ describe "on validations" do
6
+ it "should require label and url if navigable is not present" do
7
+ MenuItem.new.should_not be_valid
8
+ MenuItem.new(:label => "Something").should_not be_valid
9
+ MenuItem.new(:url => "Something").should_not be_valid
10
+ MenuItem.new(:navigable => Page.make).should be_valid
11
+ MenuItem.new(:label => "", :url => "").should_not be_valid
12
+ MenuItem.new(:label => "Not blank", :url => "Some url").should be_valid
13
+ end
14
+ end
15
+
5
16
  describe "when configuring ordered_tree" do
6
17
  # After we run the tests, reset the ordered tree changes we may have made
7
18
  after { MenuItem.class_eval {
8
19
  ordered_tree # set ordered_tree with no args
9
- def scope_condition; "1"; end # this is the default scope condition in ordered_tree gem
20
+ def scope_condition; "1=1"; end # this is the default scope condition in ordered_tree gem
10
21
  } }
11
22
 
12
23
  it "should allow overriding of ordered_tree's scope_condition" do
@@ -15,9 +26,9 @@ describe MenuItem do
15
26
  "site_id = #{site_id}"
16
27
  end
17
28
  end
18
- MenuItem.create(:site_id => 1)
19
- MenuItem.create(:site_id => 2)
20
- menu_item = MenuItem.create(:site_id => 1)
29
+ MenuItem.make(:site_id => 1)
30
+ MenuItem.make(:site_id => 2)
31
+ menu_item = MenuItem.make(:site_id => 1)
21
32
  menu_item.position.should == 2
22
33
  end
23
34
 
@@ -25,9 +36,9 @@ describe MenuItem do
25
36
  MenuItem.class_eval do
26
37
  ordered_tree :scope => :site
27
38
  end
28
- MenuItem.create(:site_id => 3)
29
- MenuItem.create(:site_id => 4)
30
- menu_item = MenuItem.create(:site_id => 3)
39
+ MenuItem.make(:site_id => 3)
40
+ MenuItem.make(:site_id => 4)
41
+ menu_item = MenuItem.make(:site_id => 3)
31
42
  menu_item.position.should == 2
32
43
  end
33
44
  end
@@ -104,7 +115,7 @@ describe MenuItem do
104
115
  end
105
116
 
106
117
  describe "and :title is not set," do
107
- it "should default to the value of the nav_item's link" do
118
+ it "should default to the value of the nav_item's url" do
108
119
  c = Category.create
109
120
  nav_item = MenuItem.new(:navigable => c)
110
121
  nav_item.should_receive(:label).once
@@ -115,32 +126,32 @@ describe MenuItem do
115
126
  end
116
127
  end
117
128
 
118
- describe "#link" do
119
- describe "when the link field is not nil," do
129
+ describe "#url" do
130
+ describe "when the url field is not nil," do
120
131
  it "should return the value" do
121
- MenuItem.new(:link => "/holy/moly").link.should == "/holy/moly"
132
+ MenuItem.new(:url => "/holy/moly").url.should == "/holy/moly"
122
133
  end
123
134
  end
124
135
 
125
- describe "when the link field is nil," do
136
+ describe "when the url field is nil," do
126
137
  describe "and there is a nav_item," do
127
138
  it "should return the nav_item" do
128
139
  # by returning the nav_item we can leave it up to the renderer to convert it to a URL
129
140
  c = Category.create
130
- MenuItem.new(:navigable => c).link.should == c
141
+ MenuItem.new(:navigable => c).url.should == c
131
142
  end
132
143
  end
133
144
 
134
145
  describe "and there is no nav_item," do
135
146
  it "should return nil" do
136
- MenuItem.new.link.should be_nil
147
+ MenuItem.new.url.should be_nil
137
148
  end
138
149
  end
139
150
  end
140
151
  end
141
152
 
142
153
  describe "#highlights_on," do
143
- describe "when the link field is not nil" do
154
+ describe "when the url field is not nil" do
144
155
  it "should return the string value converted to regex" do
145
156
  item = MenuItem.create(:highlights_on => "holy")
146
157
  item.highlights_on.should == /holy/
@@ -152,8 +163,8 @@ describe MenuItem do
152
163
  end
153
164
  end
154
165
 
155
- describe "when the link field is nil," do
156
- it "should return the same value as link" do
166
+ describe "when the url field is nil," do
167
+ it "should return the same value as url" do
157
168
  c = Category.create
158
169
  nav_item = MenuItem.new(:navigable => c)
159
170
  nav_item.highlights_on.should == c
@@ -191,17 +202,17 @@ describe MenuItem do
191
202
  end
192
203
 
193
204
  describe "and the :highlights_on is not set," do
194
- it "should return the same value as the link" do
205
+ it "should return the same value as the url" do
195
206
  c = Category.create
196
207
  nav_item = MenuItem.new(:navigable => c)
197
- nav_item.highlights_on.should == nav_item.link
208
+ nav_item.highlights_on.should == nav_item.url
198
209
  end
199
210
  end
200
211
  end
201
212
 
202
213
  describe "and there is no navigable," do
203
214
  it "should return nil" do
204
- MenuItem.new.link.should be_nil
215
+ MenuItem.new.url.should be_nil
205
216
  end
206
217
  end
207
218
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: navi
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 13
10
- version: 0.0.13
9
+ - 14
10
+ version: 0.0.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ramon Tayag
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-14 00:00:00 +08:00
18
+ date: 2011-06-16 00:00:00 +08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -67,7 +67,7 @@ dependencies:
67
67
  version_requirements: *id003
68
68
  prerelease: false
69
69
  - !ruby/object:Gem::Dependency
70
- type: :development
70
+ type: :runtime
71
71
  requirement: &id004 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
@@ -83,7 +83,7 @@ dependencies:
83
83
  version_requirements: *id004
84
84
  prerelease: false
85
85
  - !ruby/object:Gem::Dependency
86
- type: :development
86
+ type: :runtime
87
87
  requirement: &id005 !ruby/object:Gem::Requirement
88
88
  none: false
89
89
  requirements:
@@ -99,7 +99,7 @@ dependencies:
99
99
  version_requirements: *id005
100
100
  prerelease: false
101
101
  - !ruby/object:Gem::Dependency
102
- type: :development
102
+ type: :runtime
103
103
  requirement: &id006 !ruby/object:Gem::Requirement
104
104
  none: false
105
105
  requirements:
@@ -115,7 +115,7 @@ dependencies:
115
115
  version_requirements: *id006
116
116
  prerelease: false
117
117
  - !ruby/object:Gem::Dependency
118
- type: :development
118
+ type: :runtime
119
119
  requirement: &id007 !ruby/object:Gem::Requirement
120
120
  none: false
121
121
  requirements:
@@ -129,7 +129,7 @@ dependencies:
129
129
  version_requirements: *id007
130
130
  prerelease: false
131
131
  - !ruby/object:Gem::Dependency
132
- type: :development
132
+ type: :runtime
133
133
  requirement: &id008 !ruby/object:Gem::Requirement
134
134
  none: false
135
135
  requirements:
@@ -145,7 +145,7 @@ dependencies:
145
145
  version_requirements: *id008
146
146
  prerelease: false
147
147
  - !ruby/object:Gem::Dependency
148
- type: :development
148
+ type: :runtime
149
149
  requirement: &id009 !ruby/object:Gem::Requirement
150
150
  none: false
151
151
  requirements:
@@ -159,7 +159,7 @@ dependencies:
159
159
  version_requirements: *id009
160
160
  prerelease: false
161
161
  - !ruby/object:Gem::Dependency
162
- type: :development
162
+ type: :runtime
163
163
  requirement: &id010 !ruby/object:Gem::Requirement
164
164
  none: false
165
165
  requirements:
@@ -173,7 +173,7 @@ dependencies:
173
173
  version_requirements: *id010
174
174
  prerelease: false
175
175
  - !ruby/object:Gem::Dependency
176
- type: :development
176
+ type: :runtime
177
177
  requirement: &id011 !ruby/object:Gem::Requirement
178
178
  none: false
179
179
  requirements:
@@ -187,7 +187,7 @@ dependencies:
187
187
  version_requirements: *id011
188
188
  prerelease: false
189
189
  - !ruby/object:Gem::Dependency
190
- type: :development
190
+ type: :runtime
191
191
  requirement: &id012 !ruby/object:Gem::Requirement
192
192
  none: false
193
193
  requirements:
@@ -201,7 +201,7 @@ dependencies:
201
201
  version_requirements: *id012
202
202
  prerelease: false
203
203
  - !ruby/object:Gem::Dependency
204
- type: :development
204
+ type: :runtime
205
205
  requirement: &id013 !ruby/object:Gem::Requirement
206
206
  none: false
207
207
  requirements:
@@ -215,7 +215,7 @@ dependencies:
215
215
  version_requirements: *id013
216
216
  prerelease: false
217
217
  - !ruby/object:Gem::Dependency
218
- type: :development
218
+ type: :runtime
219
219
  requirement: &id014 !ruby/object:Gem::Requirement
220
220
  none: false
221
221
  requirements:
@@ -231,7 +231,7 @@ dependencies:
231
231
  version_requirements: *id014
232
232
  prerelease: false
233
233
  - !ruby/object:Gem::Dependency
234
- type: :development
234
+ type: :runtime
235
235
  requirement: &id015 !ruby/object:Gem::Requirement
236
236
  none: false
237
237
  requirements:
@@ -247,7 +247,7 @@ dependencies:
247
247
  version_requirements: *id015
248
248
  prerelease: false
249
249
  - !ruby/object:Gem::Dependency
250
- type: :development
250
+ type: :runtime
251
251
  requirement: &id016 !ruby/object:Gem::Requirement
252
252
  none: false
253
253
  requirements:
@@ -263,7 +263,7 @@ dependencies:
263
263
  version_requirements: *id016
264
264
  prerelease: false
265
265
  - !ruby/object:Gem::Dependency
266
- type: :development
266
+ type: :runtime
267
267
  requirement: &id017 !ruby/object:Gem::Requirement
268
268
  none: false
269
269
  requirements:
@@ -277,7 +277,7 @@ dependencies:
277
277
  version_requirements: *id017
278
278
  prerelease: false
279
279
  - !ruby/object:Gem::Dependency
280
- type: :development
280
+ type: :runtime
281
281
  requirement: &id018 !ruby/object:Gem::Requirement
282
282
  none: false
283
283
  requirements:
@@ -293,7 +293,7 @@ dependencies:
293
293
  version_requirements: *id018
294
294
  prerelease: false
295
295
  - !ruby/object:Gem::Dependency
296
- type: :development
296
+ type: :runtime
297
297
  requirement: &id019 !ruby/object:Gem::Requirement
298
298
  none: false
299
299
  requirements:
@@ -309,7 +309,7 @@ dependencies:
309
309
  version_requirements: *id019
310
310
  prerelease: false
311
311
  - !ruby/object:Gem::Dependency
312
- type: :development
312
+ type: :runtime
313
313
  requirement: &id020 !ruby/object:Gem::Requirement
314
314
  none: false
315
315
  requirements:
@@ -325,7 +325,7 @@ dependencies:
325
325
  version_requirements: *id020
326
326
  prerelease: false
327
327
  - !ruby/object:Gem::Dependency
328
- type: :development
328
+ type: :runtime
329
329
  requirement: &id021 !ruby/object:Gem::Requirement
330
330
  none: false
331
331
  requirements:
@@ -341,7 +341,7 @@ dependencies:
341
341
  version_requirements: *id021
342
342
  prerelease: false
343
343
  - !ruby/object:Gem::Dependency
344
- type: :development
344
+ type: :runtime
345
345
  requirement: &id022 !ruby/object:Gem::Requirement
346
346
  none: false
347
347
  requirements:
@@ -355,7 +355,7 @@ dependencies:
355
355
  version_requirements: *id022
356
356
  prerelease: false
357
357
  - !ruby/object:Gem::Dependency
358
- type: :development
358
+ type: :runtime
359
359
  requirement: &id023 !ruby/object:Gem::Requirement
360
360
  none: false
361
361
  requirements:
@@ -373,7 +373,7 @@ dependencies:
373
373
  version_requirements: *id023
374
374
  prerelease: false
375
375
  - !ruby/object:Gem::Dependency
376
- type: :development
376
+ type: :runtime
377
377
  requirement: &id024 !ruby/object:Gem::Requirement
378
378
  none: false
379
379
  requirements:
@@ -387,7 +387,7 @@ dependencies:
387
387
  version_requirements: *id024
388
388
  prerelease: false
389
389
  - !ruby/object:Gem::Dependency
390
- type: :development
390
+ type: :runtime
391
391
  requirement: &id025 !ruby/object:Gem::Requirement
392
392
  none: false
393
393
  requirements:
@@ -401,7 +401,7 @@ dependencies:
401
401
  version_requirements: *id025
402
402
  prerelease: false
403
403
  - !ruby/object:Gem::Dependency
404
- type: :development
404
+ type: :runtime
405
405
  requirement: &id026 !ruby/object:Gem::Requirement
406
406
  none: false
407
407
  requirements:
@@ -415,7 +415,7 @@ dependencies:
415
415
  version_requirements: *id026
416
416
  prerelease: false
417
417
  - !ruby/object:Gem::Dependency
418
- type: :development
418
+ type: :runtime
419
419
  requirement: &id027 !ruby/object:Gem::Requirement
420
420
  none: false
421
421
  requirements:
@@ -429,7 +429,7 @@ dependencies:
429
429
  version_requirements: *id027
430
430
  prerelease: false
431
431
  - !ruby/object:Gem::Dependency
432
- type: :development
432
+ type: :runtime
433
433
  requirement: &id028 !ruby/object:Gem::Requirement
434
434
  none: false
435
435
  requirements:
@@ -445,7 +445,7 @@ dependencies:
445
445
  version_requirements: *id028
446
446
  prerelease: false
447
447
  - !ruby/object:Gem::Dependency
448
- type: :development
448
+ type: :runtime
449
449
  requirement: &id029 !ruby/object:Gem::Requirement
450
450
  none: false
451
451
  requirements:
@@ -459,7 +459,7 @@ dependencies:
459
459
  version_requirements: *id029
460
460
  prerelease: false
461
461
  - !ruby/object:Gem::Dependency
462
- type: :development
462
+ type: :runtime
463
463
  requirement: &id030 !ruby/object:Gem::Requirement
464
464
  none: false
465
465
  requirements:
@@ -473,7 +473,7 @@ dependencies:
473
473
  version_requirements: *id030
474
474
  prerelease: false
475
475
  - !ruby/object:Gem::Dependency
476
- type: :development
476
+ type: :runtime
477
477
  requirement: &id031 !ruby/object:Gem::Requirement
478
478
  none: false
479
479
  requirements: