This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pry(main)> f = Foo::Bar.new | |
=> #<Foo::Bar:0x000000030204d8> | |
[3] pry(main)> $ f.[] | |
From: (pry) @ line 3: | |
Owner: Foo::Bar | |
Visibility: public | |
Number of lines: 3 | |
def [](key) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test: | |
[2] pry(main)> f = Foo::Bar.new | |
=> #<Foo::Bar:0x00000002f105e8> | |
[3] pry(main)> $ f.[] | |
From: (pry) @ line 3: | |
Owner: Foo::Bar | |
Visibility: public | |
Number of lines: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2] pry(main)> f = Foo::Bar.new | |
=> #<Foo::Bar:0x000000032174a8> | |
[3] pry(main)> $ f.[] | |
From: (pry) @ line 3: | |
Owner: Foo::Bar | |
Visibility: public | |
Number of lines: 3 | |
def [](key) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it 'should take care of corner cases like mongo[] e.g Foo::Bar.new[]- issue 998' do | |
klass = Class.new { def []; :hello; end } | |
meth = Pry::Method.from_str("klass.new[]", Pry.binding_for(binding)) | |
meth.name.should == "[]" | |
end | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[3] pry(main)> reload-code self | |
/home/deepender/pry/lib/pry/core_extensions.rb:7: warning: already initialized constant Pry::BINDING_METHOD_IMPL | |
/home/deepender/pry/lib/pry/core_extensions.rb:7: warning: previous definition of BINDING_METHOD_IMPL was here | |
self was reloaded! | |
[4] pry(main)> reload-code | |
/home/deepender/pry/lib/pry/core_extensions.rb:7: warning: already initialized constant Pry::BINDING_METHOD_IMPL | |
/home/deepender/pry/lib/pry/core_extensions.rb:7: warning: previous definition of BINDING_METHOD_IMPL was here | |
self was reloaded! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deepender@deepender-Vostro-1450:~/niveshi$ dbundle --verbose | |
Fetching gem metadata from https://rubygems.org/.......... | |
Fetching additional metadata from https://rubygems.org/.. | |
Resolving dependencies... | |
Using rake 10.1.0 | |
Using i18n 0.6.5 | |
Using multi_json 1.8.1 | |
Using activesupport 3.2.12 | |
Using builder 3.0.4 | |
Using activemodel 3.2.12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle install with git sources when specifying local override uses the local repository instead of checking a new one out | |
Failure/Error: expect(out).to match(/at #{lib_path('local-rack')}/) | |
expected "Fetching source index from file:/home/deepender/bundler/tmp/gems/remote1/\nResolving dependencies...\nusing 3 already installed gems\nYour bundle is complete!\nUse `bundle show [gemname]` to see where a bundled gem is installed." to match /at \/home\/deepender\/bundler\/tmp\/libs\/local-rack/ | |
Diff: | |
@@ -1,2 +1,6 @@ | |
-/at \/home\/deepender\/bundler\/tmp\/libs\/local-rack/ | |
+Fetching source index from file:/home/deepender/bundler/tmp/gems/remote1/ | |
+Resolving dependencies... | |
+using 3 already installed gems | |
+Your bundle is complete! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bundler.with_env helpers | |
Bundler.with_clean_env | |
should keep the original GEM_PATH even in sub processes | |
should not pass any bundler environment variables | |
should not pass RUBYOPT changes | |
should not change ORIGINAL_ENV | |
it should behave like Bundler.with_*_env | |
should reset and restore the environment | |
Bundler.with_original_env | |
should pass bundler environment variables set before Bundler was run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "manage.py", line 10, in <module> | |
execute_from_command_line(sys.argv) | |
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.1-py2.7.egg/django/core/management/__init__.py", line 399, in execute_from_command_line | |
utility.execute() | |
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.1-py2.7.egg/django/core/management/__init__.py", line 392, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.1-py2.7.egg/django/core/management/__init__.py", line 261, in fetch_command | |
commands = get_commands() | |
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.1-py2.7.egg/django/core/management/__init__.py", line 107, in get_commands |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#<FeedItemProject:0x007fd49cda48f0 @model=#<Project id: 1, complete: false, private: false, user_id: 1, course_id: 61, created_at: "2014-02-19 12:05:05", updated_at: "2014-02-19 12:29:21", certificate_file_name: nil, certificate_content_type: nil, certificate_file_size: nil, certificate_updated_at: nil, deleted_at: nil, custom_course_id: nil>, @type="Project", @time_ago="1 day ago", @owner={"id"=>1, "email"=>"[email protected]", "created_at"=>Wed, 19 Feb 2014 11:58:37 UTC +00:00, "updated_at"=>Wed, 19 Feb 2014 17:07:39 UTC +00:00, "avatar_file_name"=>nil, "avatar_content_type"=>nil, "avatar_file_size"=>nil, "avatar_updated_at"=>nil, "cv_file_name"=>nil, "cv_content_type"=>nil, "cv_file_size"=>nil, "cv_updated_at"=>nil, "name"=>"Deepender", "username"=>"deepender", "deleted_at"=>nil, "private"=>nil, "source"=>"default", "background_image"=>"royal_felt", "first_name"=>nil, "last_name"=>nil, "professionally_verified_id"=>nil, "old_id"=>nil, "reverse_relationships"=>[]}, @avatar="/images/medium/profile-de |
OlderNewer