best_in_placeish 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +12 -11
- data/.rspec +1 -1
- data/Gemfile +6 -6
- data/README.md +212 -195
- data/Rakefile +8 -8
- data/best_in_placeish.gemspec +27 -27
- data/lib/best_in_placeish.rb +8 -8
- data/lib/best_in_placeish/helper.rb +57 -57
- data/lib/best_in_placeish/test_helpers.rb +39 -39
- data/lib/best_in_placeish/utils.rb +15 -15
- data/lib/best_in_placeish/version.rb +3 -3
- data/lib/generators/best_in_placeish/setup_generator.rb +11 -11
- data/public/javascripts/best_in_placeish.js +39 -0
- data/spec/helpers/best_in_place_spec.rb +239 -239
- data/spec/integration/double_init_spec.rb +32 -32
- data/spec/integration/js_spec.rb +165 -165
- data/spec/integration/text_area_spec.rb +30 -30
- data/spec/spec_helper.rb +23 -23
- metadata +4 -6
- data/best_in_placeish-0.2.2.gem +0 -0
- data/best_in_placeish-0.2.3.gem +0 -0
data/spec/spec_helper.rb
CHANGED
@@ -1,23 +1,23 @@
|
|
1
|
-
# Configure Rails Envinronment
|
2
|
-
ENV["RAILS_ENV"] = "test"
|
3
|
-
|
4
|
-
require File.expand_path('../../test_app/config/environment', __FILE__)
|
5
|
-
require "rspec/rails"
|
6
|
-
require "nokogiri"
|
7
|
-
|
8
|
-
# Load support files
|
9
|
-
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each{|f| require f}
|
10
|
-
|
11
|
-
RSpec.configure do |config|
|
12
|
-
# Remove this line if you don't want RSpec's should and should_not
|
13
|
-
# methods or matchers
|
14
|
-
require 'rspec/expectations'
|
15
|
-
|
16
|
-
config.include RSpec::Matchers
|
17
|
-
config.include BestInPlace::TestHelpers
|
18
|
-
|
19
|
-
# == Mock Framework
|
20
|
-
config.mock_with :rspec
|
21
|
-
end
|
22
|
-
|
23
|
-
Capybara.default_wait_time = 5
|
1
|
+
# Configure Rails Envinronment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path('../../test_app/config/environment', __FILE__)
|
5
|
+
require "rspec/rails"
|
6
|
+
require "nokogiri"
|
7
|
+
|
8
|
+
# Load support files
|
9
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each{|f| require f}
|
10
|
+
|
11
|
+
RSpec.configure do |config|
|
12
|
+
# Remove this line if you don't want RSpec's should and should_not
|
13
|
+
# methods or matchers
|
14
|
+
require 'rspec/expectations'
|
15
|
+
|
16
|
+
config.include RSpec::Matchers
|
17
|
+
config.include BestInPlace::TestHelpers
|
18
|
+
|
19
|
+
# == Mock Framework
|
20
|
+
config.mock_with :rspec
|
21
|
+
end
|
22
|
+
|
23
|
+
Capybara.default_wait_time = 5
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: best_in_placeish
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 5
|
10
|
+
version: 0.2.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Bernat Farrero
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2012-01-25 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -97,8 +97,6 @@ files:
|
|
97
97
|
- Gemfile
|
98
98
|
- README.md
|
99
99
|
- Rakefile
|
100
|
-
- best_in_placeish-0.2.2.gem
|
101
|
-
- best_in_placeish-0.2.3.gem
|
102
100
|
- best_in_placeish.gemspec
|
103
101
|
- lib/best_in_placeish.rb
|
104
102
|
- lib/best_in_placeish/display_methods.rb
|
data/best_in_placeish-0.2.2.gem
DELETED
Binary file
|
data/best_in_placeish-0.2.3.gem
DELETED
Binary file
|