source
stringclasses
1 value
repo
stringlengths
5
63
repo_url
stringlengths
24
82
path
stringlengths
5
167
language
stringclasses
1 value
license
stringclasses
5 values
stars
int64
10
51.4k
ref
stringclasses
23 values
size_bytes
int64
200
258k
text
stringlengths
137
258k
github
myobie/htmldiff
https://github.com/myobie/htmldiff
lib/html_diff/diff_builder.rb
Ruby
mit
248
master
1,176
# frozen_string_literal: true require 'diff/lcs' # rubocop:disable Style/ClassVars module HTMLDiff # Deprecated class included only for legacy compatibility. # # @deprecated Use HTMLDiff.diff instead. HTLMDiff::DiffBuilder will be removed in v2.0.0. class DiffBuilder @@warned_init = false @@warned_bui...
github
myobie/htmldiff
https://github.com/myobie/htmldiff
lib/html_diff/html_formatter.rb
Ruby
mit
248
master
4,535
# frozen_string_literal: true module HTMLDiff # Renders the diff as HTML with customizable tags and classes. module HtmlFormatter extend self # Format a sequence of diff changes into HTML. # # @param changes [Array<Array>] Array of [action, old_string, new_string] tuples, # where action is o...
github
myobie/htmldiff
https://github.com/myobie/htmldiff
lib/html_diff/differ.rb
Ruby
mit
248
master
4,221
# frozen_string_literal: true require 'diff/lcs' module HTMLDiff # Performs a LCS diff and joins consecutive operations of the same type, # including joining across whitespaces. module Differ extend self # Constants for array indices DEFAULT_MERGE_THRESHOLD = 5 INDEX_ACTION = 0 INDEX_OLD = ...
github
myobie/htmldiff
https://github.com/myobie/htmldiff
lib/html_diff/tokenizer.rb
Ruby
mit
248
master
1,832
# frozen_string_literal: true require 'strscan' module HTMLDiff # Splits a string into tokens for diff comparison. module Tokenizer extend self # Chinese, Japanese, Thai, and other Asian languages # which typically do not include whitespace in text # are intentionally omitted. COMBINED_SCRIPT...
github
ucnv/aviglitch
https://github.com/ucnv/aviglitch
aviglitch.gemspec
Ruby
mit
248
master
990
# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'aviglitch' Gem::Specification.new do |spec| spec.name = "aviglitch" spec.version = AviGlitch::VERSION spec.authors = ["ucnv"] spec.email = ["ucnvvv@gmail.com"...
github
ucnv/aviglitch
https://github.com/ucnv/aviglitch
Rakefile
Ruby
mit
248
master
278
require "bundler/gem_tasks" require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:spec) task :default => :spec require 'rdoc/task' Rake::RDocTask.new do |rdoc| rdoc.main = "README.md" rdoc.rdoc_dir = 'rdoc' rdoc.rdoc_files.include(%w{LICENSE *.md lib/**/*.rb}) end
github
ucnv/aviglitch
https://github.com/ucnv/aviglitch
lib/aviglitch.rb
Ruby
mit
248
master
1,536
require 'tempfile' require 'pathname' require 'stringio' require 'aviglitch/avi' require 'aviglitch/base' require 'aviglitch/frame' require 'aviglitch/frames' # AviGlitch provides the ways to glitch AVI formatted video files. # # == Synopsis: # # You can manipulate each frame, like: # # avi = AviGlitch.open '/path/t...
github
ucnv/aviglitch
https://github.com/ucnv/aviglitch
lib/aviglitch/frame.rb
Ruby
mit
248
master
1,878
module AviGlitch # Frame is the struct of the frame data and meta-data. # You can access this class through AviGlitch::Frames. # To modify the binary data, operate the +data+ property. class Frame AVIIF_LIST = 0x00000001 AVIIF_KEYFRAME = 0x00000010 AVIIF_NO_TIME = 0x00000100 attr_acces...
github
ucnv/aviglitch
https://github.com/ucnv/aviglitch
lib/aviglitch/frames.rb
Ruby
mit
248
master
10,247
module AviGlitch # Frames provides the interface to access each frame # in the AVI file. # It is implemented as Enumerable. You can access this object # through AviGlitch#frames, for example: # # avi = AviGlitch.new '/path/to/your.avi' # frames = avi.frames # frames.each do |frame| # ## fra...
github
ucnv/aviglitch
https://github.com/ucnv/aviglitch
lib/aviglitch/avi.rb
Ruby
mit
248
master
15,488
module AviGlitch # Avi parses the passed RIFF-AVI file and maintains binary data as # a structured object. # It contains headers, frame's raw data, and indices of frames. # The AviGlitch library accesses the data through this class internally. # class Avi # :stopdoc: # RiffChunk represents a par...
github
ucnv/aviglitch
https://github.com/ucnv/aviglitch
lib/aviglitch/base.rb
Ruby
mit
248
master
4,106
module AviGlitch # Base is the object that provides interfaces mainly used. # To glitch, and save file. The instance is returned through AviGlitch#open. # class Base # AviGlitch::Frames object generated from the +file+. attr_reader :frames # The input file attr_reader :avi ## # Create...
github
ucnv/aviglitch
https://github.com/ucnv/aviglitch
spec/spec_helper.rb
Ruby
mit
248
master
1,696
require 'rspec' require 'aviglitch' require 'pathname' require 'fileutils' require 'net/http' FILES_DIR = Pathname.new(File.dirname(__FILE__)).realpath + 'files' OUTPUT_DIR = FILES_DIR + 'output' RSpec.configure do |config| config.filter_run_excluding :skip => true config.expect_with :rspec do |c| c.syntax = ...
github
ucnv/aviglitch
https://github.com/ucnv/aviglitch
spec/aviglitch_spec.rb
Ruby
mit
248
master
5,033
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe AviGlitch do it 'should raise an error against unsupported files' do lambda { avi = AviGlitch.open __FILE__ }.should raise_error(RuntimeError) end it 'should return AviGlitch::Base object through the method #open' do a...
github
ucnv/aviglitch
https://github.com/ucnv/aviglitch
spec/datamosh_spec.rb
Ruby
mit
248
master
1,531
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe AviGlitch, 'datamosh cli' do before :all do here = File.dirname(__FILE__) lib = Pathname.new(File.join(here, '..', 'lib')).realpath datamosh = Pathname.new(File.join(here, '..', 'bin/datamosh')).realpath @cmd = "ruby -I%s %s ...
github
ucnv/aviglitch
https://github.com/ucnv/aviglitch
spec/frames_spec.rb
Ruby
mit
248
master
13,772
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') # Since Ruby 3.3.x, Windows frequently fails to close the Tempfile on GC. # Although not a fatal error, it should be better to remove them manually in such cases. # Now this spec is skipped in Windows because it could generate a lot of warning messages ...
github
ucnv/aviglitch
https://github.com/ucnv/aviglitch
spec/avi2_spec.rb
Ruby
mit
248
master
956
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe AviGlitch, 'AVI2.0' do it 'should save same file when nothing has changed' do avi = AviGlitch.open @in2 avi.glitch do |d| d end avi.output @out FileUtils.cmp(@in2, @out).should be true end it 'should be AVI1.0 ...
github
oscardelben/rawler
https://github.com/oscardelben/rawler
Rakefile
Ruby
mit
247
master
1,113
# encoding: utf-8 require 'rubygems' require 'bundler' require 'fileutils' begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end require 'rake' require 'jeweler' Jeweler::Tasks.ne...
github
oscardelben/rawler
https://github.com/oscardelben/rawler
Gemfile
Ruby
mit
247
master
402
source "http://rubygems.org" # Add dependencies required to use your gem here. # Example: # gem "activesupport", ">= 2.3.5" # Add dependencies to develop your gem here. # Include everything needed to run rake, tests, features, etc. gem 'nokogiri', '~> 1.5' group :development, :test do gem 'fakeweb' gem "rspec" ...
github
oscardelben/rawler
https://github.com/oscardelben/rawler
rawler.gemspec
Ruby
mit
247
master
2,502
# Generated by jeweler # DO NOT EDIT THIS FILE DIRECTLY # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = "rawler" s.version = "0.1.8" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_...
github
oscardelben/rawler
https://github.com/oscardelben/rawler
spec/spec_helper.rb
Ruby
mit
247
master
384
module Kernel def sleep(duration) nil end end require_relative '../lib/rawler' require 'fakeweb' FakeWeb.allow_net_connect = false def register(uri, content, status=200, options={}) FakeWeb.register_uri(:any, uri, { :body => content, :status => status, :content_type => 'text/html' }.merge(options)) end ...
github
oscardelben/rawler
https://github.com/oscardelben/rawler
spec/lib/rawler_spec.rb
Ruby
mit
247
master
10,101
# encoding: UTF-8 require 'spec_helper' describe Rawler::Base do let(:output) { double('output').as_null_object } let(:rawler) { Rawler::Base.new('http://example.com', output) } before(:each) do Rawler.stub(:output).and_return(output) register('http://example.com', site) end describe "logfile...
github
oscardelben/rawler
https://github.com/oscardelben/rawler
spec/lib/rawler/crawler_spec.rb
Ruby
mit
247
master
12,271
# encoding: UTF-8 require 'spec_helper' describe Rawler::Crawler do let(:url) { 'http://example.com' } let(:output) { double('output', :error => nil) } before(:each) do Rawler.stub(:url).and_return(url) Rawler.stub(:output).and_return(output) end context "basic functionality" do let(:url...
github
oscardelben/rawler
https://github.com/oscardelben/rawler
lib/rawler.rb
Ruby
mit
247
master
1,288
require 'rubygems' require 'net/https' require 'nokogiri' require 'logger' require_relative 'rawler/core_extensions' module Rawler dir = File.dirname(__FILE__) VERSION = File.read(File.join(dir, '..', 'VERSION')) mattr_accessor :output mattr_accessor :url mattr_accessor :wait mattr_accessor :username, :pas...
github
oscardelben/rawler
https://github.com/oscardelben/rawler
lib/rawler/crawler.rb
Ruby
mit
247
master
2,472
module Rawler class Crawler attr_accessor :url SKIP_FORMATS = /^(javascript|mailto|callto):/ def initialize(url) @url = url.strip end def links get_links('a') end def css_links get_links('link') end private def get_links(selector) links = nil ...
github
oscardelben/rawler
https://github.com/oscardelben/rawler
lib/rawler/request.rb
Ruby
mit
247
master
881
module Rawler class Request class << self def get(url) perform_request(:get, url) end def head(url) perform_request(:head, url) end private def perform_request(method, url) uri = URI.parse(url) proxy = URI.parse(ENV['http_proxy']) if ENV['ht...
github
oscardelben/rawler
https://github.com/oscardelben/rawler
lib/rawler/base.rb
Ruby
mit
247
master
3,761
module Rawler class Base DEFAULT_LOGFILE = "rawler_log.txt" attr_accessor :responses def initialize(url, output, options={}) @responses = {} Rawler.url = URI.escape(url) output.sync = true Rawler.output = Logger.new(output) Rawler.username = options[:username] ...
github
oscardelben/rawler
https://github.com/oscardelben/rawler
lib/rawler/core_extensions/module.rb
Ruby
mit
247
master
768
class Module def mattr_reader(*syms) syms.each do |sym| next if sym.is_a?(Hash) class_eval(<<-EOS, __FILE__, __LINE__) unless defined? @@#{sym} @@#{sym} = nil end def self.#{sym} @@#{sym} end def #{sym} @@#{sym} end ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
Guardfile
Ruby
apache-2.0
249
main
238
# A sample Guardfile # More info at https://github.com/guard/guard#readme guard 'rspec' do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { "spec" } end
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
Rakefile
Ruby
apache-2.0
249
main
733
require 'rubygems' require 'bundler' require 'bundler/gem_tasks' require 'date' task :default => [:gem] desc "Build the gem without a version change" task :gem do system "gem build viewpoint.gemspec" end desc "Clean the build environment" task :clean do system "rm -f viewpoint*.gem" end desc "Build the gem...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
viewpoint.gemspec
Ruby
apache-2.0
249
main
1,142
# -*- encoding: utf-8 -*- require 'date' version = File.read(File.expand_path("../VERSION", __FILE__)).strip Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.name = 'viewpoint' s.version = version s.date = Date.today.to_s s.summary = 'A Ruby client access library for Microsoft Exchange We...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
spec/spec_helper.rb
Ruby
apache-2.0
249
main
590
$: << File.dirname(__FILE__) + '/../lib/' require 'viewpoint' require 'viewpoint/logging/config' require 'ostruct' require 'turn/autorun' require_relative 'xml_matcher' RSpec.configure do |config| config.mock_with :rspec do |mocks| mocks.yield_receiver_to_any_instance_implementation_blocks = false end config...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
spec/xml_matcher.rb
Ruby
apache-2.0
249
main
207
RSpec::Matchers.define :match_xml do |expected| match do |actual| compare_xml(actual, expected) end def compare_xml(actual, expected) actual.to_xml == Nokogiri::XML(expected).to_xml end end
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
spec/unit/meeting_accessors_spec.rb
Ruby
apache-2.0
249
main
2,987
require_relative '../spec_helper' describe Viewpoint::EWS::MeetingAccessors do let(:ecli) { Viewpoint::EWSClient.new('dontcare', 'dontcare', 'dontcare') } let(:default_opts) do { id: 'foo-id', change_key: 'change-key', text: 'example text', sensitivity: 'Private', } end contex...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
spec/unit/ews_rooms_operations_spec.rb
Ruby
apache-2.0
249
main
963
require_relative '../spec_helper' describe "Room operations on Exchange Data Services" do #let(:ecli) { Viewpoint::EWSClient.new('dontcare', 'dontcare', 'dontcare') } before do con = double('Connection') @ews = Viewpoint::EWS::SOAP::ExchangeWebService.new con, {:server_version => Viewpoint::EWS::SOA...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
spec/unit/ews_parser_spec.rb
Ruby
apache-2.0
249
main
1,401
require_relative '../spec_helper' describe "Exchange Response Parser Functionality" do let(:success_body) { [{:find_folder_response=>{:elems=>[{:response_messages=>{:elems=>[{:find_folder_response_message=>{:attribs=>{:response_class=>"Success"}, :elems=>{:response_code=>{:text=>"NoError"}, :root_folder=>{:attr...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
spec/unit/mailbox_accessors_spec.rb
Ruby
apache-2.0
249
main
1,481
require_relative '../spec_helper' describe Viewpoint::EWS::MailboxAccessors do let(:ecli) { Viewpoint::EWSClient.new('dontcare', 'dontcare', 'dontcare') } let(:recipients) { ['anyrecipient'] } let(:timezone_request) do "<t:TimeZone> <t:Bias>0</t:Bias> <t:StandardTime> <t:Bias>0</t:Bias> <t:Time>02:00...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
spec/unit/dodgy_file_spec.rb
Ruby
apache-2.0
249
main
323
require_relative '../spec_helper' describe "Tolerant parsing" do it 'parses a successful response' do soap_resp = load_soap 'dodgy_ews', :response resp = Viewpoint::EWS::SOAP::EwsParser.new(soap_resp).parse(response_class: Viewpoint::EWS::SOAP::EwsResponse) expect { resp.body }.to_not raise_error end e...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
spec/unit/ews_soap_free_busy_response_spec.rb
Ruby
apache-2.0
249
main
6,852
require_relative '../spec_helper' describe Viewpoint::EWS::SOAP::EwsSoapFreeBusyResponse do let(:ews) { Viewpoint::EWS::SOAP::ExchangeWebService.new(double(:connection)) } ERROR_INVALID_SMTP_ADDRESS = <<EOS.gsub(%r{>\s+}, '>') <?xml version="1.0" encoding="utf-8"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
spec/unit/folder_accessors_spec.rb
Ruby
apache-2.0
249
main
2,564
require_relative '../spec_helper' module ResponseObjects def self.folders [ {:folder => {:display_name => {:text => 'Inbox'}}}, {:folder => {:display_name => {:text => 'Drafts'}}}, {:tasks_folder => {:display_name => {:text => 'Tasks'}}} ] end end describe Viewpoint::EWS::FolderAccessors do befo...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
spec/unit/ews_folder_operations_spec.rb
Ruby
apache-2.0
249
main
4,069
require_relative '../spec_helper' describe "Operations on Exchange Data Services" do before do con = double('Connection') @ews = Viewpoint::EWS::SOAP::ExchangeWebService.new con, {:server_version => Viewpoint::EWS::SOAP::VERSION_2010_SP2} end it "generates CreateFolder XML" do expect(@ews).to ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
spec/unit/item_accessors_spec.rb
Ruby
apache-2.0
249
main
2,578
require_relative '../spec_helper' module ResponseObjects def self.folders [ {:folder => {:display_name => {:text => 'Inbox'}}}, {:folder => {:display_name => {:text => 'Drafts'}}}, {:tasks_folder => {:display_name => {:text => 'Tasks'}}} ] end end describe Viewpoint::EWS::ItemAccessors do before...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
spec/unit/soap/builders/ews_builder_spec.rb
Ruby
apache-2.0
249
main
2,536
require_relative '../../../spec_helper' describe Viewpoint::EWS::SOAP::EwsBuilder do let(:builder) { described_class.new } let(:namespaces) { Viewpoint::EWS::SOAP::NAMESPACES } it 'should #build a basic structure' do doc = builder.build!(server_version: Viewpoint::EWS::SOAP::VERSION_2007) {|s| } expe...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
spec/ews/ews_client_spec.rb
Ruby
apache-2.0
249
main
757
require "spec_helper" describe Viewpoint::EWSClient do describe "#set_auto_deepen" do let(:client) { described_class.new "http://www.example.com", "test", "test" } it "sets autodeepen to true on the web service" do ews = double "ews" expect(ews).to receive(:auto_deepen=).with(true) {true} ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
spec/ews/types/calendar_item_spec.rb
Ruby
apache-2.0
249
main
397
require 'spec_helper' describe Viewpoint::EWS::Types::CalendarItem do describe "#duration" do it "returns the duration in seconds" do allow_any_instance_of(described_class).to receive(:simplify!) calitem = described_class.new(nil, nil) allow(calitem).to receive(:duration).and_return("PT0H30M0S...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
spec/viewpoint/string_utils_spec.rb
Ruby
apache-2.0
249
main
1,837
require 'spec_helper' describe Viewpoint::StringUtils do before do self.extend Viewpoint::StringUtils end describe "#ruby_case" do it "transforms RubyCase to ruby_case" do expect(self.send(:ruby_case,"RubyCase")).to eql("ruby_case") end it "transforms ruby_case to ruby_case" do expe...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/viewpoint.rb
Ruby
apache-2.0
249
main
3,414
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap.rb
Ruby
apache-2.0
249
main
2,390
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/errors.rb
Ruby
apache-2.0
249
main
1,405
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/mailbox_accessors.rb
Ruby
apache-2.0
249
main
3,381
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/item_accessors.rb
Ruby
apache-2.0
249
main
7,433
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/roomlist_accessors.rb
Ruby
apache-2.0
249
main
1,413
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2013 Camille Baldock <viewpoint@camillebaldock.co.uk> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a cop...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/calendar_accessors.rb
Ruby
apache-2.0
249
main
1,123
=begin This file is a cotribution to Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2013 Mark McCahill <mark.mccahill@duke.edu> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/ews_client.rb
Ruby
apache-2.0
249
main
3,969
require 'ews/folder_accessors' require 'ews/item_accessors' require 'ews/message_accessors' require 'ews/mailbox_accessors' require 'ews/push_subscription_accessors' require 'ews/calendar_accessors' require 'ews/room_accessors' require 'ews/roomlist_accessors' require 'ews/convert_accessors' require 'ews/meeting_access...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/push_subscription_accessors.rb
Ruby
apache-2.0
249
main
1,145
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/convert_accessors.rb
Ruby
apache-2.0
249
main
1,994
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2013 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/connection.rb
Ruby
apache-2.0
249
main
5,139
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/room_accessors.rb
Ruby
apache-2.0
249
main
1,473
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2013 Camille Baldock <viewpoint@camillebaldock.co.uk> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a cop...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/types.rb
Ruby
apache-2.0
249
main
4,233
module Viewpoint::EWS module Types include Viewpoint::StringUtils KEY_PATHS = { extended_properties: [:extended_property], } KEY_TYPES = { extended_properties: :build_extended_properties, } KEY_ALIAS = {} attr_reader :ews_item # @param [SOAP::ExchangeWebService] ews the ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/folder_accessors.rb
Ruby
apache-2.0
249
main
9,673
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/impersonation.rb
Ruby
apache-2.0
249
main
1,116
module Viewpoint::EWS ConnectingSID = { :UPN => 'PrincipalName', :SID => 'SID', :PSMTP => 'PrimarySmtpAddress', :SMTP => 'SmtpAddress' } # @param connecting_type [String] should be one of the ConnectingSID variables # ConnectingSID[:UPN] - use User Principal Name method # ConnectingSID[:...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/meeting_accessors.rb
Ruby
apache-2.0
249
main
841
module Viewpoint::EWS::MeetingAccessors include Viewpoint::EWS def accept_meeting(opts) ews.create_item({ message_disposition: 'SendOnly', items: [ { accept_item: opts_to_item(opts) } ] }) end def decline_meeting(opts) ews.create_item({ message_disposition: 'SendOnly', item...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/message_accessors.rb
Ruby
apache-2.0
249
main
3,497
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/connection_helper.rb
Ruby
apache-2.0
249
main
1,183
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/exchange_notification.rb
Ruby
apache-2.0
249
main
5,825
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/ews_soap_response.rb
Ruby
apache-2.0
249
main
2,491
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/exchange_web_service.rb
Ruby
apache-2.0
249
main
10,922
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/exchange_availability.rb
Ruby
apache-2.0
249
main
2,259
module Viewpoint::EWS::SOAP # Exchange Availability operations as listed in the EWS Documentation. # @see http://msdn.microsoft.com/en-us/library/bb409286.aspx module ExchangeAvailability include Viewpoint::EWS::SOAP # -------------- Availability Operations ------------- # Gets a mailbox user's Out...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/ews_soap_availability_response.rb
Ruby
apache-2.0
249
main
1,581
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/ews_response.rb
Ruby
apache-2.0
249
main
2,089
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/exchange_time_zones.rb
Ruby
apache-2.0
249
main
2,035
module Viewpoint::EWS::SOAP module ExchangeTimeZones include Viewpoint::EWS::SOAP # Request list of server known time zones # @param full [Boolean] Request full time zone definition? Returns only name and id if false. # @param ids [Array] Returns only the specified time zones instead of all if prese...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/ews_soap_roomlist_response.rb
Ruby
apache-2.0
249
main
1,598
=begin This file is a contribution to Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2013 Camille Baldock <viewpoint@camillebaldock.co.uk> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may ob...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/ews_soap_free_busy_response.rb
Ruby
apache-2.0
249
main
3,193
=begin This file is a cotribution to Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2013 Mark McCahill <mark.mccahill@duke.edu> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/exchange_synchronization.rb
Ruby
apache-2.0
249
main
4,197
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/ews_soap_room_response.rb
Ruby
apache-2.0
249
main
1,575
=begin This file is a contribution to Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2013 Camille Baldock <viewpoint@camillebaldock.co.uk> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may ob...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/exchange_user_configuration.rb
Ruby
apache-2.0
249
main
1,161
module Viewpoint::EWS::SOAP # Exchange User Configuration operations as listed in the EWS Documentation. # @see http://msdn.microsoft.com/en-us/library/bb409286.aspx module ExchangeUserConfiguration include Viewpoint::EWS::SOAP # The GetUserConfiguration operation gets a user configuration object from ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/response_message.rb
Ruby
apache-2.0
249
main
2,231
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/exchange_data_services.rb
Ruby
apache-2.0
249
main
31,861
module Viewpoint::EWS::SOAP # Exchange Data Service operations as listed in the EWS Documentation. # @see http://msdn.microsoft.com/en-us/library/bb409286.aspx module ExchangeDataServices include Viewpoint::EWS::SOAP # -------------- Item Operations ------------- # Identifies items that are located...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/builders/ews_builder.rb
Ruby
apache-2.0
249
main
42,088
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/parsers/ews_parser.rb
Ruby
apache-2.0
249
main
1,265
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/parsers/ews_sax_document.rb
Ruby
apache-2.0
249
main
2,240
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/responses/create_item_response_message.rb
Ruby
apache-2.0
249
main
839
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/responses/subscribe_response_message.rb
Ruby
apache-2.0
249
main
1,086
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/responses/sync_folder_items_response_message.rb
Ruby
apache-2.0
249
main
1,186
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/responses/sync_folder_hierarchy_response_message.rb
Ruby
apache-2.0
249
main
1,198
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/responses/get_events_response_message.rb
Ruby
apache-2.0
249
main
1,467
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/responses/find_item_response_message.rb
Ruby
apache-2.0
249
main
1,748
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/responses/send_notification_response_message.rb
Ruby
apache-2.0
249
main
1,698
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/soap/responses/create_attachment_response_message.rb
Ruby
apache-2.0
249
main
1,352
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/exceptions/exceptions.rb
Ruby
apache-2.0
249
main
2,084
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/types/calendar_item.rb
Ruby
apache-2.0
249
main
5,521
module Viewpoint::EWS::Types class CalendarItem include Viewpoint::EWS include Viewpoint::EWS::Types include Viewpoint::EWS::Types::Item include Viewpoint::StringUtils CALENDAR_ITEM_KEY_PATHS = { recurring?: [:is_recurring, :text], meeting?: [:is_meeting, :text], cancelled...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/types/deleted_event.rb
Ruby
apache-2.0
249
main
765
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/types/item_attachment.rb
Ruby
apache-2.0
249
main
2,350
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/types/out_of_office.rb
Ruby
apache-2.0
249
main
4,328
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/types/calendar_folder.rb
Ruby
apache-2.0
249
main
2,713
module Viewpoint::EWS::Types class CalendarFolder include Viewpoint::EWS include Viewpoint::EWS::Types include Viewpoint::EWS::Types::GenericFolder # Fetch items between a given time period # @param [DateTime] start_date the time to start fetching Items from # @param [DateTime] end_date the t...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/types/tasks_folder.rb
Ruby
apache-2.0
249
main
1,146
module Viewpoint::EWS::Types class TasksFolder include Viewpoint::EWS include Viewpoint::EWS::Types include Viewpoint::EWS::Types::GenericFolder # Creates a new task # @param attributes [Hash] Parameters of the task. Some example attributes are listed below. # @option attributes :subject [Str...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/types/attachment.rb
Ruby
apache-2.0
249
main
2,346
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/types/attendee.rb
Ruby
apache-2.0
249
main
1,013
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/types/mailbox_user.rb
Ruby
apache-2.0
249
main
5,868
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/types/status_event.rb
Ruby
apache-2.0
249
main
1,023
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
github
WinRb/Viewpoint
https://github.com/WinRb/Viewpoint
lib/ews/types/modified_event.rb
Ruby
apache-2.0
249
main
1,152
=begin This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services. Copyright © 2011 Dan Wanek <dan.wanek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...