thejumpcloud / jumpcloud-ruby-gem Goto Github PK
View Code? Open in Web Editor NEWSource code for JumpCloud's Ruby Gem, a Ruby-based SDK for the JumpCloud System Context API
Source code for JumpCloud's Ruby Gem, a Ruby-based SDK for the JumpCloud System Context API
I was about to start writing some code to fix the open issue on this repo, then noticed that the reporter copy and pasted some paths that indicated version 0.4.0 was installed. I double checked on RubyGems - 0.4.0 is released there and has ~3300 downloads.
Version 0.4.0 should get pushed here please :)
Please implement support for API 2.0 and groups!
Hi! Thanks for the decent service.
I'd like to clarify what it the current state of this repo and whether it is still supported. I see that it still operates on Tags which are currently phasing out. Also the repo has opened PRs and issues from 2015, which looks a bit odd.
Could you provide us with further plans on this repo and what alternatives you would recommend to use?
When using the following script:
#!/usr/local/bin/ruby
require 'rubygems'
require 'base64'
require 'jumpcloud'
tags = %w(group2,group1)
JumpCloud.set_system_tags(*tags)
It fails, but there is no logging of what,why or even a response code returned. It would really help automation if these two items existed.
Hi,
When calling
def self.get_system_data()
using a non-existing system_key, the resulting message is empty apparently.
JSON parse then crashes:
/usr/share/ruby/gems/2.0/gems/json-1.8.2/lib/json/common.rb:155:in initialize': A JSON text must at least contain two octets! (JSON::ParserError) from /usr/share/ruby/gems/2.0/gems/json-1.8.2/lib/json/common.rb:155:in
new'
from /usr/share/ruby/gems/2.0/gems/json-1.8.2/lib/json/common.rb:155:in parse' from /usr/local/share/ruby/gems/2.0/gems/jumpcloud-0.4.0/lib/jumpcloud.rb:88:in
get_system_data'
from /usr/local/share/ruby/gems/2.0/gems/jumpcloud-0.4.0/lib/jumpcloud.rb:48:in set_system_name' from ./jumpcloud-settags:3:in
You should return an error saying that the system_key doesn't exists instead.
Thanks
nicolas
Due to the fact that the install directory is hard coded we are unable to use this Gem on windows. Looking at the code it seems that all that would be needed is to add the ability to change the install directory.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.