cloudkick 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/cloudkick.gemspec +1 -1
- data/doc/example.rb +1 -0
- data/lib/cloudkick.rb +2 -2
- data/lib/cloudkick/base.rb +3 -3
- data/lib/cloudkick/node.rb +2 -2
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.2
|
data/cloudkick.gemspec
CHANGED
data/doc/example.rb
CHANGED
data/lib/cloudkick.rb
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
#
|
|
13
|
-
#
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
14
|
require 'rubygems'
|
|
15
15
|
require 'crack'
|
|
16
16
|
require 'oauth'
|
data/lib/cloudkick/base.rb
CHANGED
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
#
|
|
13
|
-
#
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
14
|
module Cloudkick
|
|
15
15
|
class Base
|
|
16
16
|
|
|
17
|
-
BASE_URL = 'https://cloudkick.com'
|
|
17
|
+
BASE_URL = 'https://api.cloudkick.com'
|
|
18
18
|
|
|
19
19
|
def initialize(consumer_key, consumer_secret)
|
|
20
20
|
@@key = consumer_key
|
data/lib/cloudkick/node.rb
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
#
|
|
13
|
-
#
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
14
|
module Cloudkick
|
|
15
15
|
class Node < Base
|
|
16
16
|
|