consul 0.12.2 → 0.12.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of consul might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/consul.gemspec +1 -1
- data/lib/consul/version.rb +1 -1
- metadata +2 -126
- data/spec/rails-2.3/Gemfile +0 -13
- data/spec/rails-2.3/Gemfile.lock +0 -65
- data/spec/rails-2.3/Rakefile +0 -11
- data/spec/rails-2.3/app_root/app +0 -1
- data/spec/rails-2.3/app_root/config/boot.rb +0 -128
- data/spec/rails-2.3/app_root/config/database.yml +0 -21
- data/spec/rails-2.3/app_root/config/environment.rb +0 -14
- data/spec/rails-2.3/app_root/config/environments/in_memory.rb +0 -0
- data/spec/rails-2.3/app_root/config/environments/mysql.rb +0 -0
- data/spec/rails-2.3/app_root/config/environments/postgresql.rb +0 -0
- data/spec/rails-2.3/app_root/config/environments/sqlite.rb +0 -0
- data/spec/rails-2.3/app_root/config/environments/sqlite3.rb +0 -0
- data/spec/rails-2.3/app_root/config/initializers/fix_missing_source_file.rb +0 -1
- data/spec/rails-2.3/app_root/config/preinitializer.rb +0 -20
- data/spec/rails-2.3/app_root/config/routes.rb +0 -21
- data/spec/rails-2.3/app_root/db +0 -1
- data/spec/rails-2.3/app_root/log/.gitignore +0 -1
- data/spec/rails-2.3/rcov.opts +0 -2
- data/spec/rails-2.3/spec.opts +0 -4
- data/spec/rails-2.3/spec/spec_helper.rb +0 -36
- data/spec/rails-3.0/.rspec +0 -2
- data/spec/rails-3.0/Gemfile +0 -11
- data/spec/rails-3.0/Gemfile.lock +0 -126
- data/spec/rails-3.0/Rakefile +0 -11
- data/spec/rails-3.0/app_root/.gitignore +0 -4
- data/spec/rails-3.0/app_root/app +0 -1
- data/spec/rails-3.0/app_root/config/application.rb +0 -31
- data/spec/rails-3.0/app_root/config/boot.rb +0 -13
- data/spec/rails-3.0/app_root/config/database.yml +0 -4
- data/spec/rails-3.0/app_root/config/environment.rb +0 -5
- data/spec/rails-3.0/app_root/config/environments/test.rb +0 -35
- data/spec/rails-3.0/app_root/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/rails-3.0/app_root/config/initializers/inflections.rb +0 -10
- data/spec/rails-3.0/app_root/config/initializers/mime_types.rb +0 -5
- data/spec/rails-3.0/app_root/config/initializers/secret_token.rb +0 -7
- data/spec/rails-3.0/app_root/config/initializers/session_store.rb +0 -8
- data/spec/rails-3.0/app_root/config/routes.rb +0 -3
- data/spec/rails-3.0/app_root/db +0 -1
- data/spec/rails-3.0/app_root/lib/tasks/.gitkeep +0 -0
- data/spec/rails-3.0/app_root/log/.gitkeep +0 -0
- data/spec/rails-3.0/app_root/script/rails +0 -6
- data/spec/rails-3.0/rcov.opts +0 -2
- data/spec/rails-3.0/spec/spec_helper.rb +0 -23
- data/spec/rails-3.2/.rspec +0 -2
- data/spec/rails-3.2/Gemfile +0 -11
- data/spec/rails-3.2/Gemfile.lock +0 -135
- data/spec/rails-3.2/Rakefile +0 -11
- data/spec/rails-3.2/app_root/.gitignore +0 -4
- data/spec/rails-3.2/app_root/app +0 -1
- data/spec/rails-3.2/app_root/config/application.rb +0 -31
- data/spec/rails-3.2/app_root/config/boot.rb +0 -13
- data/spec/rails-3.2/app_root/config/database.yml +0 -4
- data/spec/rails-3.2/app_root/config/environment.rb +0 -5
- data/spec/rails-3.2/app_root/config/environments/test.rb +0 -35
- data/spec/rails-3.2/app_root/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/rails-3.2/app_root/config/initializers/inflections.rb +0 -10
- data/spec/rails-3.2/app_root/config/initializers/mime_types.rb +0 -5
- data/spec/rails-3.2/app_root/config/initializers/secret_token.rb +0 -7
- data/spec/rails-3.2/app_root/config/initializers/session_store.rb +0 -8
- data/spec/rails-3.2/app_root/config/routes.rb +0 -3
- data/spec/rails-3.2/app_root/db +0 -1
- data/spec/rails-3.2/app_root/log/.gitignore +0 -1
- data/spec/rails-3.2/rcov.opts +0 -2
- data/spec/rails-3.2/spec/spec_helper.rb +0 -27
- data/spec/rails-4.1/.rspec +0 -2
- data/spec/rails-4.1/Gemfile +0 -12
- data/spec/rails-4.1/Gemfile.lock +0 -134
- data/spec/rails-4.1/Rakefile +0 -12
- data/spec/rails-4.1/app_root/.gitignore +0 -16
- data/spec/rails-4.1/app_root/app +0 -1
- data/spec/rails-4.1/app_root/bin/bundle +0 -3
- data/spec/rails-4.1/app_root/bin/rails +0 -8
- data/spec/rails-4.1/app_root/bin/rake +0 -8
- data/spec/rails-4.1/app_root/bin/spring +0 -18
- data/spec/rails-4.1/app_root/config/application.rb +0 -28
- data/spec/rails-4.1/app_root/config/boot.rb +0 -4
- data/spec/rails-4.1/app_root/config/database.yml +0 -4
- data/spec/rails-4.1/app_root/config/environment.rb +0 -5
- data/spec/rails-4.1/app_root/config/environments/development.rb +0 -37
- data/spec/rails-4.1/app_root/config/environments/production.rb +0 -83
- data/spec/rails-4.1/app_root/config/environments/test.rb +0 -39
- data/spec/rails-4.1/app_root/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/rails-4.1/app_root/config/initializers/cookies_serializer.rb +0 -3
- data/spec/rails-4.1/app_root/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/rails-4.1/app_root/config/initializers/inflections.rb +0 -16
- data/spec/rails-4.1/app_root/config/initializers/mime_types.rb +0 -4
- data/spec/rails-4.1/app_root/config/initializers/session_store.rb +0 -3
- data/spec/rails-4.1/app_root/config/initializers/wrap_parameters.rb +0 -14
- data/spec/rails-4.1/app_root/config/locales/en.yml +0 -23
- data/spec/rails-4.1/app_root/config/routes.rb +0 -3
- data/spec/rails-4.1/app_root/config/secrets.yml +0 -22
- data/spec/rails-4.1/app_root/db +0 -1
- data/spec/rails-4.1/log/test.log +0 -0
- data/spec/rails-4.1/rcov.opts +0 -2
- data/spec/rails-4.1/spec/spec_helper.rb +0 -30
- data/spec/shared/app_root/app/controllers/application_controller.rb +0 -16
- data/spec/shared/app_root/app/controllers/cakes_controller.rb +0 -55
- data/spec/shared/app_root/app/controllers/client_notes_controller.rb +0 -13
- data/spec/shared/app_root/app/controllers/colors_controller.rb +0 -10
- data/spec/shared/app_root/app/controllers/dashboards_controller.rb +0 -20
- data/spec/shared/app_root/app/controllers/risks_controller.rb +0 -7
- data/spec/shared/app_root/app/controllers/songs_controller.rb +0 -14
- data/spec/shared/app_root/app/controllers/users_controller.rb +0 -13
- data/spec/shared/app_root/app/models/client.rb +0 -9
- data/spec/shared/app_root/app/models/deal.rb +0 -3
- data/spec/shared/app_root/app/models/deal/item.rb +0 -3
- data/spec/shared/app_root/app/models/note.rb +0 -7
- data/spec/shared/app_root/app/models/power.rb +0 -133
- data/spec/shared/app_root/app/models/song.rb +0 -6
- data/spec/shared/app_root/app/models/user.rb +0 -8
- data/spec/shared/app_root/db/migrate/001_create_users.rb +0 -13
- data/spec/shared/app_root/db/migrate/002_create_clients.rb +0 -13
- data/spec/shared/app_root/db/migrate/003_create_notes.rb +0 -13
- data/spec/shared/app_root/db/migrate/004_create_songs.rb +0 -14
- data/spec/shared/consul/active_record_spec.rb +0 -37
- data/spec/shared/consul/controllers/cakes_controller_spec.rb +0 -61
- data/spec/shared/consul/controllers/client_notes_controller_spec.rb +0 -25
- data/spec/shared/consul/controllers/colors_controller_spec.rb +0 -29
- data/spec/shared/consul/controllers/dashboards_controller_spec.rb +0 -26
- data/spec/shared/consul/controllers/risks_controller_spec.rb +0 -9
- data/spec/shared/consul/controllers/songs_controller_spec.rb +0 -13
- data/spec/shared/consul/controllers/users_controller_spec.rb +0 -25
- data/spec/shared/consul/power_spec.rb +0 -688
- data/spec/shared/consul/util_spec.rb +0 -17
@@ -1,17 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe Consul::Util do
|
4
|
-
|
5
|
-
describe '.adjective_and_argument' do
|
6
|
-
|
7
|
-
it 'should return [nil, argument] if given a single argument' do
|
8
|
-
Consul::Util.adjective_and_argument(Deal).should == [nil, Deal]
|
9
|
-
end
|
10
|
-
|
11
|
-
it 'should return [adjective, argument] if given an adjective and an argument' do
|
12
|
-
Consul::Util.adjective_and_argument('updatable', Deal).should == ['updatable', Deal]
|
13
|
-
end
|
14
|
-
|
15
|
-
end
|
16
|
-
|
17
|
-
end
|