Skip to content

Instantly share code, notes, and snippets.

View deependersingla's full-sized avatar

Deepender Singla deependersingla

View GitHub Profile
{
"credential": {
"name": "Innotools: Transform your business idea ",
"description": "For decades, and even today, every entrepreneur process is accompanied by the need to project the future. The Business Plan has been and is the tool that entrepreneurs use to analyze the market, competition, opportunity or calculate our potential costs and insurance revenues, projecting them into the future. We address the challenge of formulating an innovative value proposition through the exercise to empathize with the needs of the customer and end-user through the map empathy and creating an inclusive and comprehensive, overview of all the key elements involved of a business model.",
"issued_on": "2015-07-03T07:10:04.306Z",
"achievement_id": "19305",
"course_link": "https://miriadax.net/web/innotools-transforma-tu-idea-de-negocio-5-edicion-",
"complete": true,
"approve": true,
"recipient": {
lastSize 25
bidPrice 328.25
bidSize 222
askPrice 328.6
askSize 50
bidSize 222
volume 531873
askPrice 328.3
askSize 5
askSize 5
{
"credential": {
"name": "Professional Risk Manager",
"description": "The Professional Risk Manager (PRM\u2122) Designation is a globally recognized, graduate-level risk management credential. The PRM Program is a series of evaluation exams, designed for the development of professional risk managers. Endorsed by leading university programs and industry firms, it is the global standard for risk management professionals.",
"template_name": "Professional Risk Manager Designation",
"recipient": {
"name": "Test Account",
"email": "test@example.com"
},
"issued_on": "2016-01-01",
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
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
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!
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
[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!
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
[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)