shoulda-matchers 3.1.3 → 4.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. data/.hound/ruby.yml +336 -316
  3. data/.python-version +1 -0
  4. data/.rubocop.yml +3 -1
  5. data/.travis.yml +7 -6
  6. data/Appraisals +76 -44
  7. data/CONTRIBUTING.md +137 -66
  8. data/Gemfile +5 -5
  9. data/Gemfile.lock +30 -35
  10. data/MAINTAINING.md +250 -0
  11. data/MIT-LICENSE +1 -1
  12. data/NEWS.md +176 -4
  13. data/README.md +138 -200
  14. data/Rakefile +7 -0
  15. data/bin/setup +190 -0
  16. data/doc_config/yard/templates/default/fulldoc/html/css/global.css +4 -0
  17. data/doc_config/yard/templates/default/fulldoc/html/full_list.erb +0 -6
  18. data/doc_config/yard/templates/default/fulldoc/html/js/app.js +0 -17
  19. data/doc_config/yard/templates/default/fulldoc/html/setup.rb +27 -0
  20. data/gemfiles/4.2.gemfile +21 -20
  21. data/gemfiles/4.2.gemfile.lock +143 -140
  22. data/gemfiles/5.0.gemfile +37 -0
  23. data/gemfiles/5.0.gemfile.lock +238 -0
  24. data/gemfiles/5.1.gemfile +38 -0
  25. data/gemfiles/5.1.gemfile.lock +254 -0
  26. data/gemfiles/5.2.gemfile +40 -0
  27. data/gemfiles/5.2.gemfile.lock +273 -0
  28. data/lib/shoulda/matchers/action_controller/callback_matcher.rb +18 -6
  29. data/lib/shoulda/matchers/action_controller/permit_matcher.rb +6 -1
  30. data/lib/shoulda/matchers/action_controller/redirect_to_matcher.rb +1 -1
  31. data/lib/shoulda/matchers/action_controller/route_matcher.rb +87 -27
  32. data/lib/shoulda/matchers/active_model/allow_value_matcher.rb +1 -0
  33. data/lib/shoulda/matchers/active_model/allow_value_matcher/attribute_setter.rb +0 -4
  34. data/lib/shoulda/matchers/active_model/validate_absence_of_matcher.rb +5 -0
  35. data/lib/shoulda/matchers/active_model/validate_acceptance_of_matcher.rb +5 -0
  36. data/lib/shoulda/matchers/active_model/validate_confirmation_of_matcher.rb +26 -11
  37. data/lib/shoulda/matchers/active_model/validate_exclusion_of_matcher.rb +39 -4
  38. data/lib/shoulda/matchers/active_model/validate_inclusion_of_matcher.rb +116 -47
  39. data/lib/shoulda/matchers/active_model/validate_length_of_matcher.rb +127 -38
  40. data/lib/shoulda/matchers/active_model/validate_numericality_of_matcher.rb +55 -37
  41. data/lib/shoulda/matchers/active_model/validate_presence_of_matcher.rb +30 -1
  42. data/lib/shoulda/matchers/active_model/validation_matcher.rb +11 -4
  43. data/lib/shoulda/matchers/active_model/validation_matcher/build_description.rb +11 -6
  44. data/lib/shoulda/matchers/active_record.rb +3 -0
  45. data/lib/shoulda/matchers/active_record/association_matcher.rb +172 -22
  46. data/lib/shoulda/matchers/active_record/association_matchers/join_table_matcher.rb +1 -1
  47. data/lib/shoulda/matchers/active_record/association_matchers/option_verifier.rb +11 -6
  48. data/lib/shoulda/matchers/active_record/association_matchers/optional_matcher.rb +46 -0
  49. data/lib/shoulda/matchers/active_record/association_matchers/required_matcher.rb +51 -0
  50. data/lib/shoulda/matchers/active_record/define_enum_for_matcher.rb +268 -38
  51. data/lib/shoulda/matchers/active_record/have_db_index_matcher.rb +1 -1
  52. data/lib/shoulda/matchers/active_record/have_secure_token_matcher.rb +111 -0
  53. data/lib/shoulda/matchers/active_record/validate_uniqueness_of_matcher.rb +207 -79
  54. data/lib/shoulda/matchers/doublespeak/object_double.rb +5 -1
  55. data/lib/shoulda/matchers/independent/delegate_method_matcher.rb +100 -21
  56. data/lib/shoulda/matchers/rails_shim.rb +133 -52
  57. data/lib/shoulda/matchers/routing.rb +2 -2
  58. data/lib/shoulda/matchers/util.rb +23 -1
  59. data/lib/shoulda/matchers/util/word_wrap.rb +6 -2
  60. data/lib/shoulda/matchers/version.rb +1 -1
  61. data/script/install_gems_in_all_appraisals +3 -1
  62. data/script/run_all_tests +3 -1
  63. data/script/supported_ruby_versions +7 -0
  64. data/script/update_gem_in_all_appraisals +3 -1
  65. data/script/update_gems_in_all_appraisals +3 -1
  66. data/shoulda-matchers.gemspec +3 -3
  67. data/spec/acceptance/independent_matchers_spec.rb +2 -2
  68. data/spec/acceptance/multiple_libraries_integration_spec.rb +1 -1
  69. data/spec/acceptance/rails_integration_spec.rb +2 -2
  70. data/spec/spec_helper.rb +2 -3
  71. data/spec/support/acceptance/helpers.rb +2 -0
  72. data/spec/support/acceptance/helpers/command_helpers.rb +17 -4
  73. data/spec/support/acceptance/helpers/rails_migration_helpers.rb +21 -0
  74. data/spec/support/acceptance/helpers/step_helpers.rb +1 -1
  75. data/spec/support/tests/current_bundle.rb +3 -9
  76. data/spec/support/tests/filesystem.rb +2 -2
  77. data/spec/support/unit/attribute.rb +0 -2
  78. data/spec/support/unit/capture.rb +9 -3
  79. data/spec/support/unit/helpers/action_pack_versions.rb +22 -0
  80. data/spec/support/unit/helpers/active_model_versions.rb +4 -0
  81. data/spec/support/unit/helpers/active_record_versions.rb +22 -2
  82. data/spec/support/unit/helpers/active_resource_builder.rb +2 -2
  83. data/spec/support/unit/helpers/controller_builder.rb +1 -1
  84. data/spec/support/unit/helpers/message_helpers.rb +19 -0
  85. data/spec/support/unit/helpers/rails_versions.rb +14 -0
  86. data/spec/support/unit/matchers/fail_with_message_matcher.rb +7 -5
  87. data/spec/support/unit/matchers/print_warning_including.rb +21 -13
  88. data/spec/support/unit/model_creation_strategies/active_record.rb +1 -1
  89. data/spec/support/unit/model_creators/active_record.rb +0 -1
  90. data/spec/support/unit/model_creators/basic.rb +7 -2
  91. data/spec/support/unit/rails_application.rb +25 -0
  92. data/spec/support/unit/record_validating_confirmation_builder.rb +5 -2
  93. data/spec/support/unit/validation_matcher_scenario.rb +0 -2
  94. data/spec/unit/shoulda/matchers/action_controller/callback_matcher_spec.rb +18 -18
  95. data/spec/unit/shoulda/matchers/action_controller/permit_matcher_spec.rb +33 -5
  96. data/spec/unit/shoulda/matchers/action_controller/render_template_matcher_spec.rb +1 -1
  97. data/spec/unit/shoulda/matchers/active_model/allow_mass_assignment_of_matcher_spec.rb +80 -78
  98. data/spec/unit/shoulda/matchers/active_model/allow_value_matcher_spec.rb +7 -9
  99. data/spec/unit/shoulda/matchers/active_model/validate_absence_of_matcher_spec.rb +28 -4
  100. data/spec/unit/shoulda/matchers/active_model/validate_acceptance_of_matcher_spec.rb +19 -1
  101. data/spec/unit/shoulda/matchers/active_model/validate_confirmation_of_matcher_spec.rb +27 -4
  102. data/spec/unit/shoulda/matchers/active_model/validate_exclusion_of_matcher_spec.rb +62 -5
  103. data/spec/unit/shoulda/matchers/active_model/validate_inclusion_of_matcher_spec.rb +52 -18
  104. data/spec/unit/shoulda/matchers/active_model/validate_length_of_matcher_spec.rb +51 -4
  105. data/spec/unit/shoulda/matchers/active_model/validate_numericality_of_matcher_spec.rb +99 -71
  106. data/spec/unit/shoulda/matchers/active_model/validate_presence_of_matcher_spec.rb +41 -15
  107. data/spec/unit/shoulda/matchers/active_record/association_matcher_spec.rb +445 -15
  108. data/spec/unit/shoulda/matchers/active_record/define_enum_for_matcher_spec.rb +615 -93
  109. data/spec/unit/shoulda/matchers/active_record/have_secure_token_matcher_spec.rb +169 -0
  110. data/spec/unit/shoulda/matchers/active_record/validate_uniqueness_of_matcher_spec.rb +167 -97
  111. data/spec/unit/shoulda/matchers/doublespeak/world_spec.rb +2 -4
  112. data/spec/unit/shoulda/matchers/independent/delegate_method_matcher_spec.rb +152 -19
  113. data/spec/unit/shoulda/matchers/routing/route_matcher_spec.rb +258 -94
  114. data/spec/unit_spec_helper.rb +9 -1
  115. data/zeus.json +1 -1
  116. metadata +31 -16
  117. data/gemfiles/4.0.0.gemfile +0 -38
  118. data/gemfiles/4.0.0.gemfile.lock +0 -223
  119. data/gemfiles/4.0.1.gemfile +0 -38
  120. data/gemfiles/4.0.1.gemfile.lock +0 -225
  121. data/gemfiles/4.1.gemfile +0 -38
  122. data/gemfiles/4.1.gemfile.lock +0 -220
  123. data/script/SUPPORTED_VERSIONS +0 -1
@@ -0,0 +1,190 @@
1
+ #!/usr/bin/env bash
2
+
3
+ set -euo pipefail
4
+
5
+ RUBY_VERSION=$(script/supported_ruby_versions | xargs -n 1 echo | sort -V | tail -n 1)
6
+
7
+ cd "$(dirname "$(dirname "$0")")"
8
+
9
+ uname=$(uname)
10
+
11
+ if [[ $uname == 'Darwin' ]]; then
12
+ platform='mac'
13
+ else
14
+ platform='linux'
15
+ fi
16
+
17
+ banner() {
18
+ echo -e "\033[34m== $@ ==\033[0m"
19
+ }
20
+
21
+ success() {
22
+ echo -e "\033[32m$@\033[0m"
23
+ }
24
+
25
+ warning() {
26
+ echo -e "\033[33m$@\033[0m"
27
+ }
28
+
29
+ error() {
30
+ echo -e "\033[31m$@\033[0m"
31
+ }
32
+
33
+ has-executable() {
34
+ type "$1" &>/dev/null
35
+ }
36
+
37
+ is-running() {
38
+ pgrep "$1" >/dev/null
39
+ }
40
+
41
+ install() {
42
+ local apt_package=""
43
+ local rpm_package=""
44
+ local brew_package=""
45
+ local default_package=""
46
+ local package=""
47
+
48
+ for arg in "$@"; do
49
+ case $arg in
50
+ apt=*)
51
+ apt_package="$arg"
52
+ ;;
53
+ rpm=*)
54
+ rpm_package="$arg"
55
+ ;;
56
+ brew=*)
57
+ brew_package="$arg"
58
+ ;;
59
+ *)
60
+ default_package="$arg"
61
+ ;;
62
+ esac
63
+ done
64
+
65
+ if has-executable brew; then
66
+ package="${brew_package:-$default_package}"
67
+
68
+ if [[ -n $package ]]; then
69
+ brew install "$package"
70
+ fi
71
+ elif has-executable apt-get; then
72
+ package="${apt_package:-$default_package}"
73
+
74
+ if [[ -n $package ]]; then
75
+ sudo apt-get install -y "$package"
76
+ fi
77
+ elif has-executable yum; then
78
+ package="${yum_package:-$default_package}"
79
+
80
+ if [[ -n $package ]]; then
81
+ sudo yum install -y "$package"
82
+ fi
83
+ else
84
+ error "Sorry, I'm not sure how to install $default_package."
85
+ exit 1
86
+ fi
87
+ }
88
+
89
+ check-for-build-tools() {
90
+ if [[ $platform == "linux" ]]; then
91
+ if ! has-executable apt-get; then
92
+ error "You don't seem to have a package manager installed."
93
+ echo "The setup script assumes you're using Debian or a Debian-derived flavor of Linux"
94
+ echo "(i.e. something with Apt). If this is not the case, then we would gladly take a"
95
+ echo "PR fixing this!"
96
+ exit 1
97
+ fi
98
+
99
+ # TODO: Check if build-essential is installed on Debian?
100
+ else
101
+ if ! has-executable brew; then
102
+ error "You don't seem to have Homebrew installed."
103
+ echo
104
+ echo "Follow the instructions here to do this:"
105
+ echo
106
+ echo "http://brew.sh"
107
+ exit 1
108
+ fi
109
+
110
+ # TODO: Check that OS X Command Line Tools are installed?
111
+ fi
112
+ }
113
+
114
+ install-development-libraries() {
115
+ install apt=ruby-dev rpm=ruby-devel
116
+ install rpm=zlib-devel
117
+ }
118
+
119
+ install-dependencies() {
120
+ if ! has-executable sqlite3; then
121
+ banner 'Installing SQLite 3'
122
+ install sqlite3
123
+ install apt=libsqlite3-dev rpm=sqlite-devel
124
+ fi
125
+
126
+ if ! has-executable psql; then
127
+ banner 'Installing PostgreSQL'
128
+ install postgresql
129
+ install apt=libpq-dev rpm=postgresql-devel
130
+ fi
131
+
132
+ if ! is-running postgres; then
133
+ banner 'Starting PostgreSQL'
134
+ start postgresql
135
+ fi
136
+
137
+ if ! has-executable heroku; then
138
+ banner 'Installing Heroku'
139
+ install heroku/brew/heroku heroku
140
+ fi
141
+
142
+ if has-executable rbenv; then
143
+ if ! (rbenv versions | grep $RUBY_VERSION'\>' &>/dev/null); then
144
+ banner "Installing Ruby $RUBY_VERSION with rbenv"
145
+ rbenv install --skip-existing "$RUBY_VERSION"
146
+ fi
147
+ elif has-executable rvm; then
148
+ if ! (rvm ls | grep $RUBY_VERSION'\>' &>/dev/null); then
149
+ banner "Installing Ruby $RUBY_VERSION with rvm"
150
+ error "You don't seem to have Ruby $RUBY_VERSION installed."
151
+ echo
152
+ echo "Use RVM to do so, and then re-run this command."
153
+ echo
154
+ fi
155
+ else
156
+ error "You don't seem to have a Ruby manager installed."
157
+ echo
158
+ echo 'We recommend using rbenv. You can find installation instructions here:'
159
+ echo
160
+ echo 'http://github.com/rbenv/rbenv'
161
+ echo
162
+ echo "When you're done, simply re-run this script!"
163
+ exit 1
164
+ fi
165
+
166
+ banner 'Installing Ruby dependencies'
167
+ gem install bundler --conservative
168
+ bundle check || bundle install
169
+ bundle exec appraisal install
170
+
171
+ if ! has-executable node; then
172
+ banner 'Installing Node'
173
+
174
+ if [[ $platform == 'linux' ]]; then
175
+ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
176
+
177
+ install nodejs
178
+
179
+ if ! has-executable npm; then
180
+ install npm
181
+ fi
182
+ else
183
+ install nodejs
184
+ fi
185
+ fi
186
+ }
187
+
188
+ check-for-build-tools
189
+ install-development-libraries
190
+ install-dependencies
@@ -60,3 +60,7 @@ blockquote p {
60
60
  font-weight: inherit;
61
61
  line-height: inherit;
62
62
  }
63
+
64
+ ul ul, ol ol, ul ol, ol ul {
65
+ margin-bottom: 1.25em;
66
+ }
@@ -15,12 +15,6 @@
15
15
  <base id="base_target" target="_parent" />
16
16
  </head>
17
17
  <body>
18
- <script type="text/javascript" charset="utf-8">
19
- if (window.top.frames.main) {
20
- document.getElementById('base_target').target = 'main';
21
- document.body.className = 'frames';
22
- }
23
- </script>
24
18
  <div id="content">
25
19
  <h1 id="full_list_header"><%= @list_title %></h1>
26
20
 
@@ -119,22 +119,6 @@ function linkSummaries() {
119
119
  });
120
120
  }
121
121
 
122
- function framesInit() {
123
- if (hasFrames) {
124
- document.body.className = 'frames';
125
- $('#menu .noframes a').attr('href', document.location);
126
- try {
127
- window.top.document.title = $('html head title').text();
128
- } catch(error) {
129
- // some browsers will not allow this when serving from file://
130
- // but we don't want to stop the world.
131
- }
132
- }
133
- else {
134
- $('#menu .noframes a').text('frames').attr('href', framesUrl);
135
- }
136
- }
137
-
138
122
  function keyboardShortcuts() {
139
123
  if (window.top.frames.main) return;
140
124
 
@@ -284,7 +268,6 @@ function updateStickyHeaders() {
284
268
  }
285
269
 
286
270
  $(makeHeadersSticky);
287
- $(framesInit);
288
271
  $(createSourceLinks);
289
272
  $(createDefineLinks);
290
273
  $(createFullTreeLinks);
@@ -6,3 +6,30 @@ def javascripts
6
6
  javascripts = super
7
7
  javascripts.insert 1, 'js/jquery.stickyheaders.js'
8
8
  end
9
+
10
+ def class_list(root = Registry.root, tree = TreeContext.new)
11
+ out = String.new("")
12
+ children = run_verifier(root.children)
13
+ if root == Registry.root
14
+ children += @items.select {|o| o.namespace.is_a?(CodeObjects::Proxy) }
15
+ end
16
+ children.compact.sort_by(&:path).each do |child|
17
+ next unless child.is_a?(CodeObjects::NamespaceObject)
18
+ name = child.namespace.is_a?(CodeObjects::Proxy) ? child.path : child.name
19
+ has_children = run_verifier(child.children).any? {|o| o.is_a?(CodeObjects::NamespaceObject) }
20
+ out << "<li id='object_#{child.path}' class='#{tree.classes.join(' ')}'>"
21
+ out << "<div class='item'>"
22
+ out << "<a class='toggle'></a> " if has_children
23
+ out << linkify(child, name)
24
+ out << " &lt; #{child.superclass.name}" if child.is_a?(CodeObjects::ClassObject) && child.superclass
25
+ out << "<small class='search_info'>"
26
+ out << child.namespace.title
27
+ out << "</small>"
28
+ out << "</div>"
29
+ tree.nest do
30
+ out << "<ul>#{class_list(child, tree)}</ul>" if has_children
31
+ end
32
+ out << "</li>"
33
+ end
34
+ out
35
+ end
@@ -2,37 +2,38 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "appraisal", "~> 2.0"
5
+ gem "appraisal", "2.2.0"
6
6
  gem "bundler", "~> 1.1"
7
- gem "pry", :github => "pry/pry"
7
+ gem "pry"
8
8
  gem "pry-byebug"
9
- gem "rake", ">= 10.5.0", "< 11"
10
- gem "rspec", "~> 3.2"
11
- gem "zeus"
9
+ gem "rake", "12.3.0"
10
+ gem "rspec", "~> 3.6"
11
+ gem "zeus", require: false
12
12
  gem "yard"
13
13
  gem "redcarpet"
14
14
  gem "pygments.rb"
15
15
  gem "fssm"
16
- gem "rspec-rails", ">= 3.2.0", "< 4"
17
- gem "shoulda-context", "~> 1.2.0"
18
- gem "sqlite3", :platform => :ruby
19
- gem "pg", :platform => :ruby
20
- gem "activerecord-jdbc-adapter", :platform => :jruby
21
- gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby
22
- gem "jdbc-sqlite3", :platform => :jruby
23
- gem "jruby-openssl", :platform => :jruby
24
- gem "therubyrhino", :platform => :jruby
16
+ gem "activerecord-jdbc-adapter", platform: :jruby
17
+ gem "activerecord-jdbcsqlite3-adapter", platform: :jruby
18
+ gem "jdbc-sqlite3", platform: :jruby
19
+ gem "jruby-openssl", platform: :jruby
20
+ gem "therubyrhino", platform: :jruby
21
+ gem "sqlite3", platform: :ruby
22
+ gem "pg", platform: :ruby
25
23
  gem "spring"
26
24
  gem "spring-commands-rspec"
25
+ gem "minitest-reporters"
26
+ gem "rspec-rails", "~> 3.6"
27
+ gem "shoulda-context", "~> 1.2.0"
28
+ gem "rails", "~> 4.2.9"
29
+ gem "sass-rails", "~> 5.0"
27
30
  gem "uglifier", ">= 1.3.0"
28
31
  gem "coffee-rails", "~> 4.1.0"
29
32
  gem "jquery-rails"
30
33
  gem "turbolinks"
31
- gem "sdoc", "~> 0.4.0"
32
- gem "activeresource", "4.0.0"
33
- gem "protected_attributes", "~> 1.0.6"
34
- gem "minitest-reporters"
35
- gem "rails", "~> 4.2.0"
36
- gem "sass-rails", "~> 5.0"
37
34
  gem "jbuilder", "~> 2.0"
35
+ gem "sdoc", "~> 0.4.0", group: :doc
38
36
  gem "bcrypt", "~> 3.1.7"
37
+ gem "activeresource", "4.0.0"
38
+ gem "json", "~> 1.4"
39
+ gem "protected_attributes", "~> 1.0.6"
@@ -1,203 +1,205 @@
1
- GIT
2
- remote: git://github.com/pry/pry.git
3
- revision: 3c138cbf94a44f7a6696afdab1ab5149d7541974
4
- specs:
5
- pry (0.10.1)
6
- coderay (~> 1.1.0)
7
- method_source (~> 0.8.1)
8
- slop (~> 3.4)
9
-
10
1
  GEM
11
2
  remote: https://rubygems.org/
12
3
  specs:
13
- actionmailer (4.2.4)
14
- actionpack (= 4.2.4)
15
- actionview (= 4.2.4)
16
- activejob (= 4.2.4)
4
+ actionmailer (4.2.10)
5
+ actionpack (= 4.2.10)
6
+ actionview (= 4.2.10)
7
+ activejob (= 4.2.10)
17
8
  mail (~> 2.5, >= 2.5.4)
18
9
  rails-dom-testing (~> 1.0, >= 1.0.5)
19
- actionpack (4.2.4)
20
- actionview (= 4.2.4)
21
- activesupport (= 4.2.4)
10
+ actionpack (4.2.10)
11
+ actionview (= 4.2.10)
12
+ activesupport (= 4.2.10)
22
13
  rack (~> 1.6)
23
14
  rack-test (~> 0.6.2)
24
15
  rails-dom-testing (~> 1.0, >= 1.0.5)
25
16
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
26
- actionview (4.2.4)
27
- activesupport (= 4.2.4)
17
+ actionview (4.2.10)
18
+ activesupport (= 4.2.10)
28
19
  builder (~> 3.1)
29
20
  erubis (~> 2.7.0)
30
21
  rails-dom-testing (~> 1.0, >= 1.0.5)
31
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
32
- activejob (4.2.4)
33
- activesupport (= 4.2.4)
22
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
23
+ activejob (4.2.10)
24
+ activesupport (= 4.2.10)
34
25
  globalid (>= 0.3.0)
35
- activemodel (4.2.4)
36
- activesupport (= 4.2.4)
26
+ activemodel (4.2.10)
27
+ activesupport (= 4.2.10)
37
28
  builder (~> 3.1)
38
- activerecord (4.2.4)
39
- activemodel (= 4.2.4)
40
- activesupport (= 4.2.4)
29
+ activerecord (4.2.10)
30
+ activemodel (= 4.2.10)
31
+ activesupport (= 4.2.10)
41
32
  arel (~> 6.0)
42
33
  activeresource (4.0.0)
43
34
  activemodel (~> 4.0)
44
35
  activesupport (~> 4.0)
45
36
  rails-observers (~> 0.1.1)
46
- activesupport (4.2.4)
37
+ activesupport (4.2.10)
47
38
  i18n (~> 0.7)
48
- json (~> 1.7, >= 1.7.7)
49
39
  minitest (~> 5.1)
50
40
  thread_safe (~> 0.3, >= 0.3.4)
51
41
  tzinfo (~> 1.1)
52
42
  ansi (1.5.0)
53
- appraisal (2.1.0)
43
+ appraisal (2.2.0)
54
44
  bundler
55
45
  rake
56
46
  thor (>= 0.14.0)
57
- arel (6.0.3)
58
- bcrypt (3.1.10)
59
- builder (3.2.2)
60
- byebug (5.0.0)
61
- columnize (= 0.9.0)
62
- coderay (1.1.0)
63
- coffee-rails (4.1.0)
47
+ arel (6.0.4)
48
+ bcrypt (3.1.11)
49
+ builder (3.2.3)
50
+ byebug (9.1.0)
51
+ coderay (1.1.2)
52
+ coffee-rails (4.1.1)
64
53
  coffee-script (>= 2.2.0)
65
- railties (>= 4.0.0, < 5.0)
54
+ railties (>= 4.0.0, < 5.1.x)
66
55
  coffee-script (2.4.1)
67
56
  coffee-script-source
68
57
  execjs
69
- coffee-script-source (1.9.1.1)
70
- columnize (0.9.0)
71
- diff-lcs (1.2.5)
58
+ coffee-script-source (1.12.2)
59
+ concurrent-ruby (1.0.5)
60
+ crass (1.0.2)
61
+ diff-lcs (1.3)
72
62
  erubis (2.7.0)
73
- execjs (2.6.0)
63
+ execjs (2.7.0)
64
+ ffi (1.9.18)
74
65
  fssm (0.2.10)
75
- globalid (0.3.6)
76
- activesupport (>= 4.1.0)
77
- i18n (0.7.0)
78
- jbuilder (2.3.1)
79
- activesupport (>= 3.0.0, < 5)
80
- multi_json (~> 1.2)
81
- jquery-rails (4.0.5)
82
- rails-dom-testing (~> 1.0)
66
+ globalid (0.4.0)
67
+ activesupport (>= 4.2.0)
68
+ i18n (0.8.6)
69
+ jbuilder (2.7.0)
70
+ activesupport (>= 4.2.0)
71
+ multi_json (>= 1.2)
72
+ jquery-rails (4.3.1)
73
+ rails-dom-testing (>= 1, < 3)
83
74
  railties (>= 4.2.0)
84
75
  thor (>= 0.14, < 2.0)
85
- json (1.8.3)
86
- loofah (2.0.3)
76
+ json (1.8.6)
77
+ loofah (2.1.1)
78
+ crass (~> 1.0.2)
87
79
  nokogiri (>= 1.5.9)
88
- mail (2.6.3)
89
- mime-types (>= 1.16, < 3)
90
- method_source (0.8.2)
91
- mime-types (2.6.2)
92
- mini_portile2 (2.0.0)
93
- minitest (5.8.3)
94
- minitest-reporters (1.1.2)
80
+ mail (2.6.6)
81
+ mime-types (>= 1.16, < 4)
82
+ method_source (0.9.0)
83
+ mime-types (3.1)
84
+ mime-types-data (~> 3.2015)
85
+ mime-types-data (3.2016.0521)
86
+ mini_portile2 (2.3.0)
87
+ minitest (5.10.3)
88
+ minitest-reporters (1.1.14)
95
89
  ansi
96
90
  builder
97
91
  minitest (>= 5.0)
98
92
  ruby-progressbar
99
- multi_json (1.11.2)
100
- nokogiri (1.6.7.1)
101
- mini_portile2 (~> 2.0.0.rc2)
102
- pg (0.18.3)
103
- posix-spawn (0.3.11)
93
+ multi_json (1.12.2)
94
+ nokogiri (1.8.1)
95
+ mini_portile2 (~> 2.3.0)
96
+ pg (0.21.0)
104
97
  protected_attributes (1.0.9)
105
98
  activemodel (>= 4.0.1, < 5.0)
106
- pry-byebug (3.2.0)
107
- byebug (~> 5.0)
99
+ pry (0.11.3)
100
+ coderay (~> 1.1.0)
101
+ method_source (~> 0.9.0)
102
+ pry-byebug (3.5.1)
103
+ byebug (~> 9.1)
108
104
  pry (~> 0.10)
109
- pygments.rb (0.6.3)
110
- posix-spawn (~> 0.3.6)
111
- yajl-ruby (~> 1.2.0)
112
- rack (1.6.4)
105
+ pygments.rb (1.1.2)
106
+ multi_json (>= 1.0.0)
107
+ rack (1.6.8)
113
108
  rack-test (0.6.3)
114
109
  rack (>= 1.0)
115
- rails (4.2.4)
116
- actionmailer (= 4.2.4)
117
- actionpack (= 4.2.4)
118
- actionview (= 4.2.4)
119
- activejob (= 4.2.4)
120
- activemodel (= 4.2.4)
121
- activerecord (= 4.2.4)
122
- activesupport (= 4.2.4)
110
+ rails (4.2.10)
111
+ actionmailer (= 4.2.10)
112
+ actionpack (= 4.2.10)
113
+ actionview (= 4.2.10)
114
+ activejob (= 4.2.10)
115
+ activemodel (= 4.2.10)
116
+ activerecord (= 4.2.10)
117
+ activesupport (= 4.2.10)
123
118
  bundler (>= 1.3.0, < 2.0)
124
- railties (= 4.2.4)
119
+ railties (= 4.2.10)
125
120
  sprockets-rails
126
121
  rails-deprecated_sanitizer (1.0.3)
127
122
  activesupport (>= 4.2.0.alpha)
128
- rails-dom-testing (1.0.7)
123
+ rails-dom-testing (1.0.8)
129
124
  activesupport (>= 4.2.0.beta, < 5.0)
130
- nokogiri (~> 1.6.0)
125
+ nokogiri (~> 1.6)
131
126
  rails-deprecated_sanitizer (>= 1.0.1)
132
- rails-html-sanitizer (1.0.2)
127
+ rails-html-sanitizer (1.0.3)
133
128
  loofah (~> 2.0)
134
- rails-observers (0.1.2)
135
- activemodel (~> 4.0)
136
- railties (4.2.4)
137
- actionpack (= 4.2.4)
138
- activesupport (= 4.2.4)
129
+ rails-observers (0.1.5)
130
+ activemodel (>= 4.0)
131
+ railties (4.2.10)
132
+ actionpack (= 4.2.10)
133
+ activesupport (= 4.2.10)
139
134
  rake (>= 0.8.7)
140
135
  thor (>= 0.18.1, < 2.0)
141
- rake (10.5.0)
136
+ rake (12.3.0)
137
+ rb-fsevent (0.10.2)
138
+ rb-inotify (0.9.10)
139
+ ffi (>= 0.5.0, < 2)
142
140
  rdoc (4.3.0)
143
- redcarpet (3.3.2)
144
- rspec (3.4.0)
145
- rspec-core (~> 3.4.0)
146
- rspec-expectations (~> 3.4.0)
147
- rspec-mocks (~> 3.4.0)
148
- rspec-core (3.4.1)
149
- rspec-support (~> 3.4.0)
150
- rspec-expectations (3.4.0)
141
+ redcarpet (3.4.0)
142
+ rspec (3.6.0)
143
+ rspec-core (~> 3.6.0)
144
+ rspec-expectations (~> 3.6.0)
145
+ rspec-mocks (~> 3.6.0)
146
+ rspec-core (3.6.0)
147
+ rspec-support (~> 3.6.0)
148
+ rspec-expectations (3.6.0)
151
149
  diff-lcs (>= 1.2.0, < 2.0)
152
- rspec-support (~> 3.4.0)
153
- rspec-mocks (3.4.0)
150
+ rspec-support (~> 3.6.0)
151
+ rspec-mocks (3.6.0)
154
152
  diff-lcs (>= 1.2.0, < 2.0)
155
- rspec-support (~> 3.4.0)
156
- rspec-rails (3.4.0)
157
- actionpack (>= 3.0, < 4.3)
158
- activesupport (>= 3.0, < 4.3)
159
- railties (>= 3.0, < 4.3)
160
- rspec-core (~> 3.4.0)
161
- rspec-expectations (~> 3.4.0)
162
- rspec-mocks (~> 3.4.0)
163
- rspec-support (~> 3.4.0)
164
- rspec-support (3.4.1)
165
- ruby-progressbar (1.7.5)
166
- sass (3.4.18)
167
- sass-rails (5.0.4)
168
- railties (>= 4.0.0, < 5.0)
153
+ rspec-support (~> 3.6.0)
154
+ rspec-rails (3.6.1)
155
+ actionpack (>= 3.0)
156
+ activesupport (>= 3.0)
157
+ railties (>= 3.0)
158
+ rspec-core (~> 3.6.0)
159
+ rspec-expectations (~> 3.6.0)
160
+ rspec-mocks (~> 3.6.0)
161
+ rspec-support (~> 3.6.0)
162
+ rspec-support (3.6.0)
163
+ ruby-progressbar (1.8.1)
164
+ sass (3.5.2)
165
+ sass-listen (~> 4.0.0)
166
+ sass-listen (4.0.0)
167
+ rb-fsevent (~> 0.9, >= 0.9.4)
168
+ rb-inotify (~> 0.9, >= 0.9.7)
169
+ sass-rails (5.0.6)
170
+ railties (>= 4.0.0, < 6)
169
171
  sass (~> 3.1)
170
172
  sprockets (>= 2.8, < 4.0)
171
173
  sprockets-rails (>= 2.0, < 4.0)
172
174
  tilt (>= 1.1, < 3)
173
- sdoc (0.4.1)
175
+ sdoc (0.4.2)
174
176
  json (~> 1.7, >= 1.7.7)
175
177
  rdoc (~> 4.0)
176
- shoulda-context (1.2.1)
177
- slop (3.6.0)
178
- spring (1.4.0)
178
+ shoulda-context (1.2.2)
179
+ spring (2.0.2)
180
+ activesupport (>= 4.2)
179
181
  spring-commands-rspec (1.0.4)
180
182
  spring (>= 0.9.1)
181
- sprockets (3.3.5)
183
+ sprockets (3.7.1)
184
+ concurrent-ruby (~> 1.0)
182
185
  rack (> 1, < 3)
183
- sprockets-rails (2.3.3)
184
- actionpack (>= 3.0)
185
- activesupport (>= 3.0)
186
- sprockets (>= 2.8, < 4.0)
187
- sqlite3 (1.3.10)
188
- thor (0.19.1)
189
- thread_safe (0.3.5)
190
- tilt (2.0.1)
191
- turbolinks (2.5.3)
192
- coffee-rails
193
- tzinfo (1.2.2)
186
+ sprockets-rails (3.2.1)
187
+ actionpack (>= 4.0)
188
+ activesupport (>= 4.0)
189
+ sprockets (>= 3.0.0)
190
+ sqlite3 (1.3.13)
191
+ thor (0.20.0)
192
+ thread_safe (0.3.6)
193
+ tilt (2.0.8)
194
+ turbolinks (5.0.1)
195
+ turbolinks-source (~> 5)
196
+ turbolinks-source (5.0.3)
197
+ tzinfo (1.2.3)
194
198
  thread_safe (~> 0.1)
195
- uglifier (2.7.2)
196
- execjs (>= 0.3.0)
197
- json (>= 1.8.0)
198
- yajl-ruby (1.2.1)
199
- yard (0.8.7.6)
200
- zeus (0.15.4)
199
+ uglifier (3.2.0)
200
+ execjs (>= 0.3.0, < 3)
201
+ yard (0.9.9)
202
+ zeus (0.15.14)
201
203
  method_source (>= 0.6.7)
202
204
 
203
205
  PLATFORMS
@@ -207,7 +209,7 @@ DEPENDENCIES
207
209
  activerecord-jdbc-adapter
208
210
  activerecord-jdbcsqlite3-adapter
209
211
  activeresource (= 4.0.0)
210
- appraisal (~> 2.0)
212
+ appraisal (= 2.2.0)
211
213
  bcrypt (~> 3.1.7)
212
214
  bundler (~> 1.1)
213
215
  coffee-rails (~> 4.1.0)
@@ -216,17 +218,18 @@ DEPENDENCIES
216
218
  jdbc-sqlite3
217
219
  jquery-rails
218
220
  jruby-openssl
221
+ json (~> 1.4)
219
222
  minitest-reporters
220
223
  pg
221
224
  protected_attributes (~> 1.0.6)
222
- pry!
225
+ pry
223
226
  pry-byebug
224
227
  pygments.rb
225
- rails (~> 4.2.0)
226
- rake (>= 10.5.0, < 11)
228
+ rails (~> 4.2.9)
229
+ rake (= 12.3.0)
227
230
  redcarpet
228
- rspec (~> 3.2)
229
- rspec-rails (>= 3.2.0, < 4)
231
+ rspec (~> 3.6)
232
+ rspec-rails (~> 3.6)
230
233
  sass-rails (~> 5.0)
231
234
  sdoc (~> 0.4.0)
232
235
  shoulda-context (~> 1.2.0)
@@ -240,4 +243,4 @@ DEPENDENCIES
240
243
  zeus
241
244
 
242
245
  BUNDLED WITH
243
- 1.11.2
246
+ 1.16.1