discerner 2.0.0 → 2.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.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -2
  3. data/app/views/discerner/export_parameters/index.html.haml +8 -8
  4. data/app/views/discerner/parameters/_values_autocompleter.html.haml +18 -18
  5. data/app/views/discerner/parameters/values.html.haml +1 -1
  6. data/app/views/discerner/searches/_form.html.haml +6 -6
  7. data/app/views/discerner/searches/_form_combined_searches.html.haml +4 -4
  8. data/app/views/discerner/searches/_form_controls.html.haml +3 -3
  9. data/app/views/discerner/searches/_form_header.html.haml +6 -6
  10. data/app/views/discerner/searches/_form_search_parameters.html.haml +4 -4
  11. data/app/views/discerner/searches/_list.html.haml +4 -4
  12. data/app/views/discerner/searches/_search_combination_fields.html.haml +4 -4
  13. data/app/views/discerner/searches/_search_parameter_fields.html.haml +15 -15
  14. data/app/views/discerner/searches/_search_parameter_value_fields.html.haml +13 -13
  15. data/app/views/discerner/searches/_summary.html.haml +1 -1
  16. data/app/views/discerner/searches/edit.html.haml +2 -2
  17. data/app/views/discerner/searches/index.html.haml +3 -3
  18. data/app/views/discerner/searches/rename.html.haml +4 -4
  19. data/app/views/discerner/searches/update.js.haml +1 -1
  20. data/app/views/discerner/shared/_categorized_autocompleter_items.html.haml +1 -1
  21. data/app/views/discerner/shared/_error_messages.html.haml +1 -1
  22. data/app/views/layouts/discerner/searches.html.erb +1 -1
  23. data/config/routes.rb +1 -1
  24. data/db/migrate/20140815214547_add_namespace_to_discerner_searches.rb +6 -0
  25. data/db/migrate/20140815214629_add_namespace_to_discerner_dictionaries.rb +6 -0
  26. data/lib/discerner/methods/controllers/export_parameters_controller.rb +2 -2
  27. data/lib/discerner/methods/controllers/parameters_controller.rb +3 -3
  28. data/lib/discerner/methods/controllers/searches_controller.rb +14 -14
  29. data/lib/discerner/methods/helpers/searches_helper.rb +9 -9
  30. data/lib/discerner/methods/models/dictionary.rb +3 -3
  31. data/lib/discerner/methods/models/export_parameter.rb +3 -3
  32. data/lib/discerner/methods/models/operator.rb +5 -5
  33. data/lib/discerner/methods/models/parameter.rb +9 -9
  34. data/lib/discerner/methods/models/parameter_category.rb +5 -5
  35. data/lib/discerner/methods/models/parameter_type.rb +3 -3
  36. data/lib/discerner/methods/models/parameter_value.rb +11 -11
  37. data/lib/discerner/methods/models/parameter_value_categorization.rb +2 -2
  38. data/lib/discerner/methods/models/parameter_value_category.rb +4 -4
  39. data/lib/discerner/methods/models/search.rb +12 -12
  40. data/lib/discerner/methods/models/search_combination.rb +3 -3
  41. data/lib/discerner/methods/models/search_parameter.rb +5 -5
  42. data/lib/discerner/methods/models/search_parameter_value.rb +6 -6
  43. data/lib/discerner/methods/models/soft_delete.rb +1 -1
  44. data/lib/discerner/version.rb +1 -1
  45. data/lib/generators/discerner/dictionary/dictionary_generator.rb +5 -5
  46. data/lib/generators/discerner/install/install_generator.rb +12 -12
  47. data/lib/generators/discerner/install/templates/dictionaries.yml +1 -1
  48. data/lib/generators/discerner/install/templates/models/book.rb +4 -4
  49. data/lib/generators/discerner/install/templates/views/layouts/searches.html.erb +1 -1
  50. data/lib/tasks/cucumber.rake +10 -10
  51. data/lib/tasks/discerner_tasks.rake +5 -5
  52. metadata +8 -6
@@ -6,8 +6,8 @@ module Discerner
6
6
  base.send :include, SoftDelete
7
7
 
8
8
  # Associations
9
- base.send :belongs_to, :parameter_value_category, :inverse_of => :parameter_value_categorizations
10
- base.send :belongs_to, :parameter_value, :inverse_of => :parameter_value_categorization
9
+ base.send :belongs_to, :parameter_value_category, inverse_of: :parameter_value_categorizations
10
+ base.send :belongs_to, :parameter_value, inverse_of: :parameter_value_categorization
11
11
 
12
12
  # Validations
13
13
  base.send :validates_presence_of, :parameter_value_category, :parameter_value
@@ -6,9 +6,9 @@ module Discerner
6
6
  base.send :include, SoftDelete
7
7
 
8
8
  # Associations
9
- base.send :belongs_to, :parameter, :inverse_of => :parameter_value_categories
10
- base.send :has_many, :parameter_value_categorizations, :dependent => :destroy
11
- base.send :has_many, :parameter_values, :through => :parameter_value_categorizations
9
+ base.send :belongs_to, :parameter, inverse_of: :parameter_value_categories
10
+ base.send :has_many, :parameter_value_categorizations, dependent: :destroy
11
+ base.send :has_many, :parameter_values, through: :parameter_value_categorizations
12
12
 
13
13
  # Scopes
14
14
  base.send(:scope, :ordered_by_name, -> { base.order('discerner_parameter_value_categories.name ASC') })
@@ -16,7 +16,7 @@ module Discerner
16
16
 
17
17
  # Validations
18
18
  base.send :validates_presence_of, :parameter, :unique_identifier, :name
19
- base.send :validates, :unique_identifier, :uniqueness => {:scope => [:parameter_id, :deleted_at], :message => "for parameter value category has already been taken"}
19
+ base.send :validates, :unique_identifier, uniqueness: {scope: [:parameter_id, :deleted_at], message: "for parameter value category has already been taken"}
20
20
  base.send :validate, :parameter_value_belongs_to_parameter
21
21
  end
22
22
 
@@ -8,27 +8,27 @@ module Discerner
8
8
 
9
9
  # Associations
10
10
  base.send :belongs_to, :dictionary
11
- base.send :has_many, :search_parameters, :inverse_of => :search
12
- base.send :has_many, :search_combinations, :inverse_of => :search
13
- base.send :has_many, :combined_searches, :through => :search_combinations
14
- base.send :has_many, :export_parameters, :inverse_of => :search
11
+ base.send :has_many, :search_parameters, inverse_of: :search
12
+ base.send :has_many, :search_combinations, inverse_of: :search
13
+ base.send :has_many, :combined_searches, through: :search_combinations
14
+ base.send :has_many, :export_parameters, inverse_of: :search
15
15
 
16
16
  # Validations
17
- base.send :validates, :dictionary, :presence => { :message => "for search can't be blank" }
17
+ base.send :validates, :dictionary, presence: { message: "for search can't be blank" }
18
18
  base.send :validate, :validate_search_parameters
19
19
 
20
20
  # Scopes
21
- base.send(:scope, :by_user, ->(username) { base.where(:username => username) unless username.blank?})
21
+ base.send(:scope, :by_user, ->(username) { base.where(username: username) unless username.blank?})
22
22
 
23
23
  # Nested attributes
24
- base.send :accepts_nested_attributes_for, :search_parameters, :allow_destroy => true,
25
- :reject_if => proc { |attributes| attributes['parameter_id'].blank? && attributes['parameter'].blank? }
24
+ base.send :accepts_nested_attributes_for, :search_parameters, allow_destroy: true,
25
+ reject_if: proc { |attributes| attributes['parameter_id'].blank? && attributes['parameter'].blank? }
26
26
 
27
- base.send :accepts_nested_attributes_for, :search_combinations, :allow_destroy => true,
28
- :reject_if => proc { |attributes| attributes['combined_search_id'].blank? && attributes['combined_search'].blank? }
27
+ base.send :accepts_nested_attributes_for, :search_combinations, allow_destroy: true,
28
+ reject_if: proc { |attributes| attributes['combined_search_id'].blank? && attributes['combined_search'].blank? }
29
29
 
30
30
  # Hooks
31
- base.send :after_commit, :update_associations, :on => :update, :if => Proc.new { |record| record.previous_changes.include?('deleted_at') }
31
+ base.send :after_commit, :update_associations, on: :update, if: Proc.new { |record| record.previous_changes.include?('deleted_at') }
32
32
  end
33
33
 
34
34
  # Instance Methods
@@ -70,7 +70,7 @@ module Discerner
70
70
  all_search_parameters.concat(search_parameters).flatten!
71
71
 
72
72
  all_search_parameters.each do |search_parameter|
73
- search_models[search_parameter.parameter.search_model] = { :search_parameters => [], :conditions => nil } unless search_models.has_key?(search_parameter.parameter.search_model)
73
+ search_models[search_parameter.parameter.search_model] = { search_parameters: [], conditions: nil } unless search_models.has_key?(search_parameter.parameter.search_model)
74
74
  search_models[search_parameter.parameter.search_model][:search_parameters] << search_parameter
75
75
  end
76
76
 
@@ -7,9 +7,9 @@ module Discerner
7
7
  base.send :include, Warning
8
8
 
9
9
  # Associations
10
- base.send :belongs_to, :operator, :inverse_of => :search_combinations
11
- base.send :belongs_to, :search, :inverse_of => :search_combinations, :foreign_key => :search_id
12
- base.send :belongs_to, :combined_search, :foreign_key => :combined_search_id, :class_name => 'Discerner::Search'
10
+ base.send :belongs_to, :operator, inverse_of: :search_combinations
11
+ base.send :belongs_to, :search, inverse_of: :search_combinations, foreign_key: :search_id
12
+ base.send :belongs_to, :combined_search, foreign_key: :combined_search_id, class_name: 'Discerner::Search'
13
13
 
14
14
  # Scopes
15
15
  base.send(:scope, :ordered_by_display_order, -> { base.order('discerner_search_combinations.display_order ASC') })
@@ -7,9 +7,9 @@ module Discerner
7
7
  base.send :include, Warning
8
8
 
9
9
  # Associations
10
- base.send :belongs_to, :search, :inverse_of => :search_parameters
11
- base.send :belongs_to, :parameter, :inverse_of => :search_parameters
12
- base.send :has_many, :search_parameter_values, :dependent => :destroy, :inverse_of => :search_parameter
10
+ base.send :belongs_to, :search, inverse_of: :search_parameters
11
+ base.send :belongs_to, :parameter, inverse_of: :search_parameters
12
+ base.send :has_many, :search_parameter_values, dependent: :destroy, inverse_of: :search_parameter
13
13
 
14
14
  # Scopes
15
15
  base.send(:scope, :by_parameter_category, ->(parameter_category) { base.includes(:parameter).where('discerner_parameters.parameter_category_id' => parameter_category.id) unless parameter_category.blank?})
@@ -20,10 +20,10 @@ module Discerner
20
20
  base.send :validates_presence_of, :search, :parameter
21
21
 
22
22
  # Nested attributes
23
- base.send :accepts_nested_attributes_for, :search_parameter_values, :allow_destroy => true
23
+ base.send :accepts_nested_attributes_for, :search_parameter_values, allow_destroy: true
24
24
 
25
25
  # Hooks
26
- base.send :after_commit, :update_associations, :on => :update, :if => Proc.new { |record| record.previous_changes.include?('deleted_at') }
26
+ base.send :after_commit, :update_associations, on: :update, if: Proc.new { |record| record.previous_changes.include?('deleted_at') }
27
27
  end
28
28
 
29
29
  # Instance Methods
@@ -7,21 +7,21 @@ module Discerner
7
7
  base.send :include, Warning
8
8
 
9
9
  # Associations
10
- base.send :belongs_to, :search_parameter, :inverse_of => :search_parameter_values
11
- base.send :belongs_to, :parameter_value, :inverse_of => :search_parameter_values
12
- base.send :belongs_to, :operator, :inverse_of => :search_parameter_values
10
+ base.send :belongs_to, :search_parameter, inverse_of: :search_parameter_values
11
+ base.send :belongs_to, :parameter_value, inverse_of: :search_parameter_values
12
+ base.send :belongs_to, :operator, inverse_of: :search_parameter_values
13
13
 
14
14
  # Scopes
15
- base.send(:scope, :chosen, -> { base.where(:chosen => true) })
15
+ base.send(:scope, :chosen, -> { base.where(chosen: true) })
16
16
  base.send(:scope, :ordered_by_display_order, -> { base.order('discerner_search_parameter_values.display_order ASC') })
17
17
 
18
18
  #Validations
19
19
  base.send :validate, :validate_operator
20
- base.send :validates, :search_parameter, :presence => true
20
+ base.send :validates, :search_parameter, presence: true
21
21
 
22
22
  # Hooks
23
23
  base.send :before_validation, :cleanup_parameter_values
24
- base.send :after_commit, :destroy_if_deleted_parameter_value, :on => :update
24
+ base.send :after_commit, :destroy_if_deleted_parameter_value, on: :update
25
25
  end
26
26
 
27
27
  # Instance Methods
@@ -4,7 +4,7 @@ module Discerner
4
4
  module SoftDelete
5
5
  def self.included(base)
6
6
  attr_accessor :soft_delete
7
- base.send(:scope, :not_deleted, -> { base.where(:deleted_at => nil) })
7
+ base.send(:scope, :not_deleted, -> { base.where(deleted_at: nil) })
8
8
  end
9
9
 
10
10
  def process_soft_delete
@@ -1,3 +1,3 @@
1
1
  module Discerner
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
@@ -1,11 +1,11 @@
1
1
  module Discerner
2
2
  class DictionaryGenerator < Rails::Generators::Base
3
- class_option "no-load", :type => :boolean
4
- class_option "no-models", :type => :boolean
5
- class_option "no-views", :type => :boolean
3
+ class_option "no-load", type: :boolean
4
+ class_option "no-models", type: :boolean
5
+ class_option "no-views", type: :boolean
6
6
 
7
7
  source_root File.expand_path('../templates', __FILE__)
8
- argument :dictionary_file_path, :type => :string
8
+ argument :dictionary_file_path, type: :string
9
9
 
10
10
  def parse_dictionary_file
11
11
  rake("discerner:setup:dictionaries FILE=#{dictionary_file_path}") unless options["no-load"]
@@ -19,7 +19,7 @@ module Discerner
19
19
  end
20
20
 
21
21
  def add_excel_mime_type
22
- inject_into_file("#{Rails.root}/config/initializers/mime_types.rb", 'Mime::Type.register "application/xls", :xls', :after => "# Be sure to restart your server when you modify this file.\n")
22
+ inject_into_file("#{Rails.root}/config/initializers/mime_types.rb", 'Mime::Type.register "application/xls", :xls', after: "# Be sure to restart your server when you modify this file.\n")
23
23
  end
24
24
 
25
25
  private
@@ -3,13 +3,13 @@ require "rails/generators"
3
3
 
4
4
  module Discerner
5
5
  class InstallGenerator < Rails::Generators::Base
6
- class_option "no-migrate", :type => :boolean
7
- class_option "customize-all", :type => :boolean
8
- class_option "customize-controllers", :type => :boolean
9
- class_option "customize-models", :type => :boolean
10
- class_option "customize-helpers", :type => :boolean
11
- class_option "customize-layout", :type => :boolean
12
- class_option "current-user-helper", :type => :string
6
+ class_option "no-migrate", type: :boolean
7
+ class_option "customize-all", type: :boolean
8
+ class_option "customize-controllers", type: :boolean
9
+ class_option "customize-models", type: :boolean
10
+ class_option "customize-helpers", type: :boolean
11
+ class_option "customize-layout", type: :boolean
12
+ class_option "current-user-helper", type: :string
13
13
 
14
14
  def self.source_paths
15
15
  paths = self.superclass.source_paths
@@ -41,7 +41,7 @@ module Discerner
41
41
  }
42
42
  inject_into_file("#{Rails.root}/app/controllers/application_controller.rb",
43
43
  discerner_user_method,
44
- :after => "ActionController::Base\n", :force => false)
44
+ after: "ActionController::Base\n", force: false)
45
45
  end
46
46
 
47
47
  def add_discerner_view_helpers
@@ -62,7 +62,7 @@ module Discerner
62
62
  }
63
63
  inject_into_file("#{Rails.root}/app/helpers/application_helper.rb",
64
64
  discerner_helper_methods,
65
- :after => "ApplicationHelper\n")
65
+ after: "ApplicationHelper\n")
66
66
  end
67
67
 
68
68
  def run_migrations
@@ -81,8 +81,8 @@ module Discerner
81
81
 
82
82
  def mount_engine
83
83
  puts "Mounting Discerner::Engine at \"/\" in config/routes.rb..."
84
- insert_into_file("#{Rails.root}/config/routes.rb", :after => /routes.draw.do\n/) do
85
- %Q{ mount Discerner::Engine, :at => "/"\n}
84
+ insert_into_file("#{Rails.root}/config/routes.rb", after: /routes.draw.do\n/) do
85
+ %Q{ mount Discerner::Engine, at: "/"\n}
86
86
  end
87
87
  end
88
88
 
@@ -141,7 +141,7 @@ module Discerner
141
141
  output += "-- Seed operators were loaded into your database.\n"
142
142
  end
143
143
  output += "-- The engine was mounted in your config/routes.rb file using this line:
144
- mount Discerner::Engine, :at => \"/\""
144
+ mount Discerner::Engine, at: \"/\""
145
145
  output += "\nIf you want to change where the searches are located, just change the \"/searches\" path at the end of this line to whatever you want."
146
146
  output += "\n-- Sample search dictionary was copied into lib/setup. If you want to try it out, run `rails generate discerner:dictionary lib/setup/dictionaries.yml`. This will:\n"
147
147
  output += "\n-- parse dictionary definitions from lib/setup/dictionaries.yml into the database."
@@ -15,7 +15,7 @@
15
15
  # :parameter_type: numeric/date/list/combobox/text/string # used to define applicable operators/display options. does not have to be restricted to the given list, but additional parameters will require adding operators to match
16
16
  # :parameter_value_categories_source: # used to define parameter value categories
17
17
  # :model: string # source model to be used to load parameter value categiories
18
- # :method: string # method in the source model that returns parameter_value_categories in a form of [{:name => 'string, :unique_identifier => 'adventure', :display_order => 1, :collapse => true}]
18
+ # :method: string # method in the source model that returns parameter_value_categories in a form of [{name: 'string, unique_identifier: 'adventure', display_order: 1, collapse: true}]
19
19
  # :parameter_value_categories: # used to define parameter value categories
20
20
  # - :name: string
21
21
  # :unique_identifier: string # has to be unique within parameter
@@ -1,15 +1,15 @@
1
1
  class Book
2
2
  def self.genres
3
3
  [
4
- {:name => 'Adventure', :unique_identifier => 'adventure', :display_order => 1, :collapse => true},
5
- {:name => 'Drama', :unique_identifier => 'drama', :display_order => 2, :collapse => false},
4
+ {name: 'Adventure', unique_identifier: 'adventure', display_order: 1, collapse: true},
5
+ {name: 'Drama', unique_identifier: 'drama', display_order: 2, collapse: false},
6
6
  ]
7
7
  end
8
8
 
9
9
  def self.generes
10
10
  [
11
- {:name => 'Adventure', :display_order => 1, :collapse => true},
12
- {:name => 'Drama', :unique_identifier => 'drama', :display_order => 2, :collapse => false},
11
+ {name: 'Adventure', display_order: 1, collapse: true},
12
+ {name: 'Drama', unique_identifier: 'drama', display_order: 2, collapse: false},
13
13
  ]
14
14
  end
15
15
  end
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <%= yield :title %>
5
- <%= stylesheet_link_tag "discerner/application", :media => "all" %>
5
+ <%= stylesheet_link_tag "discerner/application", media: "all" %>
6
6
  <%= javascript_include_tag "discerner/application" %>
7
7
  <%= csrf_meta_tags %>
8
8
  </head>
@@ -1,6 +1,6 @@
1
1
  # IMPORTANT: This file is generated by cucumber-rails - edit at your own peril.
2
- # It is recommended to regenerate this file in the future when you upgrade to a
3
- # newer version of cucumber-rails. Consider adding your own code to a new file
2
+ # It is recommended to regenerate this file in the future when you upgrade to a
3
+ # newer version of cucumber-rails. Consider adding your own code to a new file
4
4
  # instead of editing this one. Cucumber will automatically load all features/**/*.rb
5
5
  # files.
6
6
 
@@ -14,26 +14,26 @@ begin
14
14
  require 'cucumber/rake/task'
15
15
 
16
16
  namespace :cucumber do
17
- Cucumber::Rake::Task.new({:ok => 'db:test:prepare'}, 'Run features that should pass') do |t|
17
+ Cucumber::Rake::Task.new({ok: 'db:test:prepare'}, 'Run features that should pass') do |t|
18
18
  t.binary = vendored_cucumber_bin # If nil, the gem's binary is used.
19
19
  t.fork = true # You may get faster startup if you set this to false
20
20
  t.profile = 'default'
21
21
  end
22
22
 
23
- Cucumber::Rake::Task.new({:wip => 'db:test:prepare'}, 'Run features that are being worked on') do |t|
23
+ Cucumber::Rake::Task.new({wip: 'db:test:prepare'}, 'Run features that are being worked on') do |t|
24
24
  t.binary = vendored_cucumber_bin
25
25
  t.fork = true # You may get faster startup if you set this to false
26
26
  t.profile = 'wip'
27
27
  end
28
28
 
29
- Cucumber::Rake::Task.new({:rerun => 'db:test:prepare'}, 'Record failing features and run only them if any exist') do |t|
29
+ Cucumber::Rake::Task.new({rerun: 'db:test:prepare'}, 'Record failing features and run only them if any exist') do |t|
30
30
  t.binary = vendored_cucumber_bin
31
31
  t.fork = true # You may get faster startup if you set this to false
32
32
  t.profile = 'rerun'
33
33
  end
34
34
 
35
35
  desc 'Run all features'
36
- task :all => [:ok, :wip]
36
+ task all: [:ok, :wip]
37
37
 
38
38
  task :statsetup do
39
39
  require 'rails/code_statistics'
@@ -42,11 +42,11 @@ begin
42
42
  end
43
43
  end
44
44
  desc 'Alias for cucumber:ok'
45
- task :cucumber => 'cucumber:ok'
45
+ task cucumber: 'cucumber:ok'
46
46
 
47
- task :default => :cucumber
47
+ task default: :cucumber
48
48
 
49
- task :features => :cucumber do
49
+ task features: :cucumber do
50
50
  STDERR.puts "*** The 'features' task is deprecated. See rake -T cucumber ***"
51
51
  end
52
52
 
@@ -54,7 +54,7 @@ begin
54
54
  task 'db:test:prepare' do
55
55
  end
56
56
 
57
- task :stats => 'cucumber:statsetup'
57
+ task stats: 'cucumber:statsetup'
58
58
  rescue LoadError
59
59
  desc 'cucumber rake task not available (cucumber not installed)'
60
60
  task :cucumber do
@@ -6,24 +6,24 @@
6
6
  namespace :discerner do
7
7
  namespace :setup do
8
8
  desc 'Load dictionaries (specify file to parse with FILE=myfile.yml) '
9
- task :dictionaries => :environment do
9
+ task dictionaries: :environment do
10
10
  file = ENV["FILE"]
11
11
  raise "File name has to be provided" if file.blank?
12
12
  raise "File does not exist: #{file}" unless FileTest.exists?(file)
13
- parser = Discerner::Parser.new(:trace => Rake.application.options.trace)
13
+ parser = Discerner::Parser.new(trace: Rake.application.options.trace)
14
14
  parser.parse_dictionaries(File.read(file))
15
15
  end
16
16
 
17
17
  desc 'Load operators'
18
- task :operators => :environment do
18
+ task operators: :environment do
19
19
  file = File.join(Discerner::Engine.root, 'lib/setup/operators.yml')
20
20
  raise "File does not exist: #{file}" unless FileTest.exists?(file)
21
- Discerner::Parser.new(:trace => Rake.application.options.trace).parse_operators(File.read(file))
21
+ Discerner::Parser.new(trace: Rake.application.options.trace).parse_operators(File.read(file))
22
22
  end
23
23
  end
24
24
 
25
25
  desc 'Unload all dictionaries'
26
- task :unload_dictionaries => :environment do
26
+ task unload_dictionaries: :environment do
27
27
  Discerner::Search.destroy_all
28
28
  Discerner::Dictionary.destroy_all
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discerner
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Gurley, Yulia Bushmanova
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-15 00:00:00.000000000 Z
11
+ date: 2014-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.0'
19
+ version: '4.1'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 4.0.0
22
+ version: 4.1.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '4.0'
29
+ version: '4.1'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 4.0.0
32
+ version: 4.1.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: jquery-rails
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -432,6 +432,8 @@ files:
432
432
  - db/migrate/20140204170625_create_discerner_parameter_value_categories.rb
433
433
  - db/migrate/20140204170646_create_discerner_parameter_value_categorizations.rb
434
434
  - db/migrate/20140227191827_remove_blank_parameter_values_from_export_parameters.rb
435
+ - db/migrate/20140815214547_add_namespace_to_discerner_searches.rb
436
+ - db/migrate/20140815214629_add_namespace_to_discerner_dictionaries.rb
435
437
  - db/seeds.rb
436
438
  - lib/discerner.rb
437
439
  - lib/discerner/engine.rb