Skip to content

Commit

Permalink
Preparing a release
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikko Ohtamaa committed May 11, 2011
1 parent f9485b1 commit 0fb39a9
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 5 deletions.
22 changes: 21 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ downloads/*
eggs/*
fake-eggs/*
parts/*
develop-eggs
dist
.installed.cfg
.mr.developer.cfg
Expand All @@ -30,4 +31,23 @@ dist
*.orig
*.rej
__minitage__*
src
.metadata
.secret.cfg
.settings
.project
.pydevproject
flattened-eggs

jsdoc*
releases

.DS_Store
docs/apidocs/*


*.min.js
*.debug.js
*.min.css
*.debug.css


5 changes: 5 additions & 0 deletions docs/HISTORY.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

1.0.2 - 1.1
------------------

* Changed protocol to https, as per Zoho API changes [miohtama]

1.0.1 - 1.0.2
-------------

Expand Down
6 changes: 3 additions & 3 deletions mfabrik/zoho/crm.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def insert_records(self, leads, extra_post_parameters={}):

post.update(extra_post_parameters)

response = self.do_xml_call("http://crm.zoho.com/crm/private/xml/Leads/insertRecords", post, root)
response = self.do_xml_call("https://crm.zoho.com/crm/private/xml/Leads/insertRecords", post, root)

self.check_successful_xml(response)

Expand Down Expand Up @@ -146,7 +146,7 @@ def get_records(self, selectColumns='leads(First Name,Last Name,Company)', param

post_params.update(parameters)

response = self.do_call("http://crm.zoho.com/crm/private/json/Leads/getRecords", post_params)
response = self.do_call("https://crm.zoho.com/crm/private/json/Leads/getRecords", post_params)

# raw data looks like {'response': {'result': {'Leads': {'row': [{'FL': [{'content': '177376000000142085', 'val': 'LEADID'}, ...
data = decode_json(response)
Expand Down Expand Up @@ -177,7 +177,7 @@ def delete_record(self, id, parameters={}):
post_params["id"] = id
post_params.update(parameters)

response = self.do_call("http://crm.zoho.com/crm/private/xml/Leads/deleteRecords", post_params)
response = self.do_call("https://crm.zoho.com/crm/private/xml/Leads/deleteRecords", post_params)

self.check_successful_xml(response)

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
import os

version = '1.0.2'
version = '1.1'

setup(name='mfabrik.zoho',
version=version,
Expand Down

0 comments on commit 0fb39a9

Please sign in to comment.