diff --git a/.gems/cache/json-1.8.1.gem b/.gems/cache/json-1.8.1.gem new file mode 100644 index 0000000..d903086 Binary files /dev/null and b/.gems/cache/json-1.8.1.gem differ diff --git a/.gems/cache/twitter-5.11.0.gem b/.gems/cache/twitter-5.11.0.gem new file mode 100644 index 0000000..4e2be46 Binary files /dev/null and b/.gems/cache/twitter-5.11.0.gem differ diff --git a/.gems/doc/json-1.8.1/rdoc/BigDecimal.html b/.gems/doc/json-1.8.1/rdoc/BigDecimal.html new file mode 100644 index 0000000..8bd7122 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/BigDecimal.html @@ -0,0 +1,345 @@ + + + + + + + Class: BigDecimal + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

BigDecimal

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ json_create(object) + click to toggle source +
+ + +
+ +

Import a JSON Marshalled object.

+ +

method used for JSON marshalling support.

+ + + +
+
+# File lib/json/add/bigdecimal.rb, line 10
+def self.json_create(object)
+  BigDecimal._load object['b']
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ as_json(*) + click to toggle source +
+ + +
+ +

Marshal the object to JSON.

+ +

method used for JSON marshalling support.

+ + + +
+
+# File lib/json/add/bigdecimal.rb, line 17
+def as_json(*)
+  {
+    JSON.create_id => self.class.name,
+    'b'            => _dump,
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ to_json(*) + click to toggle source +
+ + +
+ +

return the JSON value

+ + + +
+
+# File lib/json/add/bigdecimal.rb, line 25
+def to_json(*)
+  as_json.to_json
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/Class.html b/.gems/doc/json-1.8.1/rdoc/Class.html new file mode 100644 index 0000000..5905e7e --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/Class.html @@ -0,0 +1,268 @@ + + + + + + + Class: Class + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

Class

+ +
+ +

Extends any Class to include +json_creatable? method.

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ json_creatable?() + click to toggle source +
+ + +
+ +

Returns true if this class can be used to create an instance from a +serialised JSON string. The class has to implement +a class method json_create that expects a hash as first parameter. +The hash should include the required data.

+ + + +
+
+# File lib/json/common.rb, line 481
+def json_creatable?
+  respond_to?(:json_create)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/Complex.html b/.gems/doc/json-1.8.1/rdoc/Complex.html new file mode 100644 index 0000000..08f9e42 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/Complex.html @@ -0,0 +1,342 @@ + + + + + + + Class: Complex + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

Complex

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ json_create(object) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/add/complex.rb, line 7
+def self.json_create(object)
+  Complex(object['r'], object['i'])
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ as_json(*) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/add/complex.rb, line 11
+def as_json(*)
+  {
+    JSON.create_id => self.class.name,
+    'r'            => real,
+    'i'            => imag,
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ to_json(*) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/add/complex.rb, line 19
+def to_json(*)
+  as_json.to_json
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/Date.html b/.gems/doc/json-1.8.1/rdoc/Date.html new file mode 100644 index 0000000..0918f7a --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/Date.html @@ -0,0 +1,351 @@ + + + + + + + Class: Date + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

Date

+ +
+ +

Date serialization/deserialization

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ json_create(object) + click to toggle source +
+ + +
+ +

Deserializes JSON string by converting Julian year +y, month m, day d and Day of Calendar Reform +sg to Date.

+ + + +
+
+# File lib/json/add/date.rb, line 11
+def self.json_create(object)
+  civil(*object.values_at('y', 'm', 'd', 'sg'))
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ as_json(*) + click to toggle source +
+ + +
+ +

Returns a hash, that will be turned into a JSON +object and represent this object.

+ + + +
+
+# File lib/json/add/date.rb, line 19
+def as_json(*)
+  {
+    JSON.create_id => self.class.name,
+    'y' => year,
+    'm' => month,
+    'd' => day,
+    'sg' => start,
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ to_json(*args) + click to toggle source +
+ + +
+ +

Stores class name (Date) with Julian year +y, month m, day d and Day of Calendar Reform +sg as JSON string

+ + + +
+
+# File lib/json/add/date.rb, line 31
+def to_json(*args)
+  as_json.to_json(*args)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/DateTime.html b/.gems/doc/json-1.8.1/rdoc/DateTime.html new file mode 100644 index 0000000..817027c --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/DateTime.html @@ -0,0 +1,365 @@ + + + + + + + Class: DateTime + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

DateTime

+ +
+ +

DateTime serialization/deserialization

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ json_create(object) + click to toggle source +
+ + +
+ +

Deserializes JSON string by converting year +y, month m, day d, hour H, minute +M, second S, offset of and Day of Calendar +Reform sg to DateTime.

+ + + +
+
+# File lib/json/add/date_time.rb, line 12
+def self.json_create(object)
+  args = object.values_at('y', 'm', 'd', 'H', 'M', 'S')
+  of_a, of_b = object['of'].split('/')
+  if of_b and of_b != '0'
+    args << Rational(of_a.to_i, of_b.to_i)
+  else
+    args << of_a
+  end
+  args << object['sg']
+  civil(*args)
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ as_json(*) + click to toggle source +
+ + +
+ +

Returns a hash, that will be turned into a JSON +object and represent this object.

+ + + +
+
+# File lib/json/add/date_time.rb, line 28
+def as_json(*)
+  {
+    JSON.create_id => self.class.name,
+    'y' => year,
+    'm' => month,
+    'd' => day,
+    'H' => hour,
+    'M' => min,
+    'S' => sec,
+    'of' => offset.to_s,
+    'sg' => start,
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ to_json(*args) + click to toggle source +
+ + +
+ +

Stores class name (DateTime) with Julian year +y, month m, day d, hour H, minute +M, second S, offset of and Day of Calendar +Reform sg as JSON string

+ + + +
+
+# File lib/json/add/date_time.rb, line 45
+def to_json(*args)
+  as_json.to_json(*args)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/Exception.html b/.gems/doc/json-1.8.1/rdoc/Exception.html new file mode 100644 index 0000000..dd1a6a1 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/Exception.html @@ -0,0 +1,351 @@ + + + + + + + Class: Exception + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

Exception

+ +
+ +

Exception serialization/deserialization

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ json_create(object) + click to toggle source +
+ + +
+ +

Deserializes JSON string by constructing new Exception object with message m and +backtrace b serialized with to_json

+ + + +
+
+# File lib/json/add/exception.rb, line 10
+def self.json_create(object)
+  result = new(object['m'])
+  result.set_backtrace object['b']
+  result
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ as_json(*) + click to toggle source +
+ + +
+ +

Returns a hash, that will be turned into a JSON +object and represent this object.

+ + + +
+
+# File lib/json/add/exception.rb, line 18
+def as_json(*)
+  {
+    JSON.create_id => self.class.name,
+    'm'            => message,
+    'b'            => backtrace,
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ to_json(*args) + click to toggle source +
+ + +
+ +

Stores class name (Exception) with message +m and backtrace array b as JSON +string

+ + + +
+
+# File lib/json/add/exception.rb, line 28
+def to_json(*args)
+  as_json.to_json(*args)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON.html b/.gems/doc/json-1.8.1/rdoc/JSON.html new file mode 100644 index 0000000..998c3b2 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON.html @@ -0,0 +1,1180 @@ + + + + + + + Module: JSON + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+ + + +
+ +
+ + + + + + +
+

Namespace

+ +
+ + + + + + + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON

+ +
+ +

JavaScript Object Notation (JSON)

+ +

JSON is a lightweight data-interchange format. It +is easy for us humans to read and write. Plus, equally simple for machines +to generate or parse. JSON is completely language +agnostic, making it the ideal interchange format.

+ +

Built on two universally available structures:

+ +
1. A collection of name/value pairs. Often referred to as an _object_, hash table, record, struct, keyed list, or associative array.
+2. An ordered list of values. More commonly called an _array_, vector, sequence or list.
+ +

To read more about JSON visit: json.org

+ +

Parsing JSON

+ +

To parse a JSON string received by another +application or generated within your existing application:

+ +
require 'json'
+
+my_hash = JSON.parse('{"hello": "goodbye"}')
+puts my_hash["hello"] => "goodbye"
+ +

Notice the extra quotes '' around the hash notation. Ruby expects +the argument to be a string and can’t convert objects like a hash or array.

+ +

Ruby converts your string into a hash

+ +

Generating JSON

+ +

Creating a JSON string for communication or +serialization is just as simple.

+ +
require 'json'
+
+my_hash = {:hello => "goodbye"}
+puts JSON.generate(my_hash) => "{\"hello\":\"goodbye\"}"
+ +

Or an alternative way:

+ +
require 'json'
+puts {:hello => "goodbye"}.to_json => "{\"hello\":\"goodbye\"}"
+ +

JSON.generate only allows objects or arrays to be converted to JSON syntax. to_json, however, accepts many +Ruby classes even though it acts only as a method for serialization:

+ +
require 'json'
+
+1.to_json => "1"
+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
Infinity
+ +
+ + +
JSON_LOADED
+ +
+ + +
MinusInfinity
+ +
+ + +
NaN
+ +
+ + +
UnparserError
+ +

For backwards compatibility

+ + +
VERSION
+ +

JSON version

+ + +
+
+ + + + +
+

Attributes

+ + +
+ + + + +
+ create_id[RW] +
+ +
+ +

This is create identifier, which is used to decide if the +json_create hook of a class should be called. It defaults to +‘json_class’.

+ +
+
+ +
+ + + + +
+ dump_default_options[RW] +
+ +
+ +

The global default options for the JSON.dump method:

+ +
:max_nesting: false
+:allow_nan: true
+:quirks_mode: true
+ +
+
+ +
+ + +
+ generator[R] +
+ +
+ +

Returns the JSON generator module that is used by +JSON. This is either JSON::Ext::Generator or JSON::Pure::Generator.

+ +
+
+ +
+ + + + +
+ load_default_options[RW] +
+ +
+ +

The global default options for the JSON.load method:

+ +
:max_nesting: false
+:allow_nan: true
+:quirks_mode: true
+ +
+
+ +
+ + +
+ parser[R] +
+ +
+ +

Returns the JSON parser class that is used by JSON. This is either JSON::Ext::Parser or JSON::Pure::Parser.

+ +
+
+ +
+ + + + +
+ state[RW] +
+ +
+ +

Returns the JSON generator state class that is used +by JSON. This is either JSON::Ext::Generator::State +or JSON::Pure::Generator::State.

+ +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + + +
+ [](object, opts = {}) + click to toggle source +
+ + +
+ +

If object is string-like, parse the string and return the parsed +result as a Ruby data structure. Otherwise generate a JSON text from the Ruby data structure object and +return it.

+ +

The opts argument is passed through to generate/parse +respectively. See generate and parse for their documentation.

+ + + +
+
+# File lib/json/common.rb, line 12
+def [](object, opts = {})
+  if object.respond_to? :to_str
+    JSON.parse(object.to_str, opts)
+  else
+    JSON.generate(object, opts)
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ const_defined_in?(modul, constant) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/common.rb, line 429
+def self.const_defined_in?(modul, constant)
+  modul.const_defined?(constant)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ iconv(to, from, string) + click to toggle source +
+ + +
+ +

Encodes string using Ruby’s String.encode

+ + + +
+
+# File lib/json/common.rb, line 417
+def self.iconv(to, from, string)
+  string.encode(to, from)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ restore(source, proc = nil, options = {}) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: load +
+ +
+ + +
+ + + +
+ valid_utf8?(string) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/pure/generator.rb, line 74
+def valid_utf8?(string)
+  encoding = string.encoding
+  (encoding == Encoding::UTF_8 || encoding == Encoding::ASCII) &&
+    string.valid_encoding?
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ dump(obj, anIO = nil, limit = nil) + click to toggle source +
+ + +
+ +

Dumps obj as a JSON string, i.e. calls +generate on the object and returns the result.

+ +

If anIO (an IO-like object or an object that responds to the write method) +was given, the resulting JSON is written to it.

+ +

If the number of nested arrays or objects exceeds limit, an +ArgumentError exception is raised. This argument is similar (but not +exactly the same!) to the limit argument in Marshal.dump.

+ +

The default options for the generator can be changed via the dump_default_options +method.

+ +

This method is part of the implementation of the load/dump interface of +Marshal and YAML.

+ + + +
+
+# File lib/json/common.rb, line 384
+def dump(obj, anIO = nil, limit = nil)
+  if anIO and limit.nil?
+    anIO = anIO.to_io if anIO.respond_to?(:to_io)
+    unless anIO.respond_to?(:write)
+      limit = anIO
+      anIO = nil
+    end
+  end
+  opts = JSON.dump_default_options
+  limit and opts.update(:max_nesting => limit)
+  result = generate(obj, opts)
+  if anIO
+    anIO.write result
+    anIO
+  else
+    result
+  end
+rescue JSON::NestingError
+  raise ArgumentError, "exceed depth limit"
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ fast_generate(obj, opts = nil) + click to toggle source +
+ + +
+ +

Generate a JSON document from the Ruby data +structure obj and return it. This method disables the checks for +circles in Ruby objects.

+ +

WARNING: Be careful not to pass any Ruby data structures with +circles as obj argument because this will cause JSON to go into an infinite loop.

+ + + +
+
+# File lib/json/common.rb, line 238
+def fast_generate(obj, opts = nil)
+  if State === opts
+    state, opts = opts, nil
+  else
+    state = FAST_STATE_PROTOTYPE.dup
+  end
+  if opts
+    if opts.respond_to? :to_hash
+      opts = opts.to_hash
+    elsif opts.respond_to? :to_h
+      opts = opts.to_h
+    else
+      raise TypeError, "can't convert #{opts.class} into Hash"
+    end
+    state.configure(opts)
+  end
+  state.generate(obj)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ generate(obj, opts = nil) + click to toggle source +
+ + +
+ +

Generate a JSON document from the Ruby data +structure obj and return it. state is * a JSON::State +object,

+
  • +

    or a Hash like object (responding to to_hash),

    +
  • +

    an object convertible into a hash by a to_h method,

    +
+ +

that is used as or to configure a State object.

+ +

It defaults to a state object, that creates the shortest possible JSON text in one line, checks for circular data +structures and doesn’t allow NaN, Infinity, and -Infinity.

+ +

A state hash can have the following keys:

+
  • +

    indent: a string used to indent levels (default: "),

    +
  • +

    space: a string that is put after, a : or , delimiter (default: "),

    +
  • +

    space_before: a string that is put before a : pair delimiter +(default: "),

    +
  • +

    object_nl: a string that is put at the end of a JSON object (default: "),

    +
  • +

    array_nl: a string that is put at the end of a JSON array (default: "),

    +
  • +

    allow_nan: true if NaN, Infinity, and -Infinity should be generated, otherwise an +exception is thrown if these values are encountered. This options defaults +to false.

    +
  • +

    max_nesting: The maximum depth of nesting allowed in the data +structures from which JSON is to be generated. +Disable depth checking with :max_nesting => false, it defaults to 100.

    +
+ +

See also the fast_generate +for the fastest creation method with the least amount of sanity checks, and +the pretty_generate method +for some defaults for pretty output.

+ + + +
+
+# File lib/json/common.rb, line 207
+def generate(obj, opts = nil)
+  if State === opts
+    state, opts = opts, nil
+  else
+    state = SAFE_STATE_PROTOTYPE.dup
+  end
+  if opts
+    if opts.respond_to? :to_hash
+      opts = opts.to_hash
+    elsif opts.respond_to? :to_h
+      opts = opts.to_h
+    else
+      raise TypeError, "can't convert #{opts.class} into Hash"
+    end
+    state = state.configure(opts)
+  end
+  state.generate(obj)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ load(source, proc = nil, options = {}) + click to toggle source +
+ + +
+ +

Load a ruby data structure from a JSON +source and return it. A source can either be a string-like object, +an IO-like object, or an object responding to the read method. If +proc was given, it will be called with any nested Ruby object as +an argument recursively in depth first order. To modify the default options +pass in the optional options argument as well.

+ +

BEWARE: This method is meant to serialise data from trusted user input, +like from your own database server or clients under your control, it could +be dangerous to allow untrusted users to pass JSON +sources into it. The default options for the parser can be changed via the +load_default_options +method.

+ +

This method is part of the implementation of the load/dump interface of +Marshal and YAML.

+ + + +
+
+# File lib/json/common.rb, line 322
+def load(source, proc = nil, options = {})
+  opts = load_default_options.merge options
+  if source.respond_to? :to_str
+    source = source.to_str
+  elsif source.respond_to? :to_io
+    source = source.to_io.read
+  elsif source.respond_to?(:read)
+    source = source.read
+  end
+  if opts[:quirks_mode] && (source.nil? || source.empty?)
+    source = 'null'
+  end
+  result = parse(source, opts)
+  recurse_proc(result, &proc) if proc
+  result
+end
+
+ +
+ + +
+ Also aliased as: restore +
+ + + +
+ + +
+ + + +
+ parse(source, opts = {}) + click to toggle source +
+ + +
+ +

Parse the JSON document source into a Ruby +data structure and return it.

+ +

opts can have the following keys:

+
  • +

    max_nesting: The maximum depth of nesting allowed in the parsed data +structures. Disable depth checking with :max_nesting => false. It +defaults to 100.

    +
  • +

    allow_nan: If set to true, allow NaN, Infinity and -Infinity in defiance of RFC 4627 to be parsed +by the Parser. This option defaults to false.

    +
  • +

    symbolize_names: If set to true, returns symbols for the names +(keys) in a JSON object. Otherwise strings are +returned. Strings are the default.

    +
  • +

    create_additions: If set to false, the Parser doesn't create +additions even if a matching class and create_id was found. This option +defaults to true.

    +
  • +

    object_class: Defaults to Hash

    +
  • +

    array_class: Defaults to Array

    +
+ + + +
+
+# File lib/json/common.rb, line 154
+def parse(source, opts = {})
+  Parser.new(source, opts).parse
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ parse!(source, opts = {}) + click to toggle source +
+ + +
+ +

Parse the JSON document source into a Ruby +data structure and return it. The bang version of the parse method defaults +to the more dangerous values for the opts hash, so be sure only to +parse trusted source documents.

+ +

opts can have the following keys:

+
  • +

    max_nesting: The maximum depth of nesting allowed in the parsed data +structures. Enable depth checking with :max_nesting => anInteger. The +parse! methods defaults to not doing max depth checking: This can be +dangerous if someone wants to fill up your stack.

    +
  • +

    allow_nan: If set to true, allow NaN, Infinity, and -Infinity in defiance of RFC 4627 to be parsed +by the Parser. This option defaults to true.

    +
  • +

    create_additions: If set to false, the Parser doesn't create +additions even if a matching class and create_id was found. This option +defaults to true.

    +
+ + + +
+
+# File lib/json/common.rb, line 173
+def parse!(source, opts = {})
+  opts = {
+    :max_nesting  => false,
+    :allow_nan    => true
+  }.update(opts)
+  Parser.new(source, opts).parse
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ pretty_generate(obj, opts = nil) + click to toggle source +
+ + +
+ +

Generate a JSON document from the Ruby data +structure obj and return it. The returned document is a prettier +form of the document returned by unparse.

+ +

The opts argument can be used to configure the generator. See the +generate method for a more detailed explanation.

+ + + +
+
+# File lib/json/common.rb, line 269
+def pretty_generate(obj, opts = nil)
+  if State === opts
+    state, opts = opts, nil
+  else
+    state = PRETTY_STATE_PROTOTYPE.dup
+  end
+  if opts
+    if opts.respond_to? :to_hash
+      opts = opts.to_hash
+    elsif opts.respond_to? :to_h
+      opts = opts.to_h
+    else
+      raise TypeError, "can't convert #{opts.class} into Hash"
+    end
+    state.configure(opts)
+  end
+  state.generate(obj)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ recurse_proc(result, &proc) + click to toggle source +
+ + +
+ +

Recursively calls passed Proc if the parsed data structure is an +Array or Hash

+ + + +
+
+# File lib/json/common.rb, line 340
+def recurse_proc(result, &proc)
+  case result
+  when Array
+    result.each { |x| recurse_proc x, &proc }
+    proc.call result
+  when Hash
+    result.each { |x, y| recurse_proc x, &proc; recurse_proc y, &proc }
+    proc.call result
+  else
+    proc.call result
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/CircularDatastructure.html b/.gems/doc/json-1.8.1/rdoc/JSON/CircularDatastructure.html new file mode 100644 index 0000000..db848a4 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/CircularDatastructure.html @@ -0,0 +1,213 @@ + + + + + + + Class: JSON::CircularDatastructure + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::CircularDatastructure

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/Ext.html b/.gems/doc/json-1.8.1/rdoc/JSON/Ext.html new file mode 100644 index 0000000..ff46537 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/Ext.html @@ -0,0 +1,208 @@ + + + + + + + Module: JSON::Ext + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + + + + + + + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::Ext

+ +
+ +

This module holds all the modules/classes that implement JSON’s +functionality as C extensions.

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/GeneratorError.html b/.gems/doc/json-1.8.1/rdoc/JSON/GeneratorError.html new file mode 100644 index 0000000..06e1a8d --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/GeneratorError.html @@ -0,0 +1,215 @@ + + + + + + + Class: JSON::UnparserError + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::UnparserError

+ +
+ +

This exception is raised if a generator or unparser error occurs.

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/GenericObject.html b/.gems/doc/json-1.8.1/rdoc/JSON/GenericObject.html new file mode 100644 index 0000000..6ee4717 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/GenericObject.html @@ -0,0 +1,656 @@ + + + + + + + Class: JSON::GenericObject + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::GenericObject

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + + + +
+ json_creatable[W] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + + +
+ dump(obj, *args) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/generic_object.rb, line 40
+def dump(obj, *args)
+  ::JSON.dump(obj, *args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ from_hash(object) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/generic_object.rb, line 20
+def from_hash(object)
+  case
+  when object.respond_to?(:to_hash)
+    result = new
+    object.to_hash.each do |key, value|
+      result[key] = from_hash(value)
+    end
+    result
+  when object.respond_to?(:to_ary)
+    object.to_ary.map { |a| from_hash(a) }
+  else
+    object
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ json_creatable?() + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/generic_object.rb, line 8
+def json_creatable?
+  @json_creatable
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ json_create(data) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/generic_object.rb, line 14
+def json_create(data)
+  data = data.dup
+  data.delete JSON.create_id
+  self[data]
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ load(source, proc = nil, opts = {}) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/generic_object.rb, line 35
+def load(source, proc = nil, opts = {})
+  result = ::JSON.load(source, proc, opts.merge(:object_class => self))
+  result.nil? ? new : result
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ [](name) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/generic_object.rb, line 50
+def [](name)
+  table[name.to_sym]
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ []=(name, value) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/generic_object.rb, line 54
+def []=(name, value)
+  __send__ "#{name}=", value
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ as_json(*) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/generic_object.rb, line 62
+def as_json(*)
+  { JSON.create_id => self.class.name }.merge to_hash
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ to_hash() + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/generic_object.rb, line 46
+def to_hash
+  table
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ to_json(*a) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/generic_object.rb, line 66
+def to_json(*a)
+  as_json.to_json(*a)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ |(other) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/generic_object.rb, line 58
+def |(other)
+  self.class[other.to_hash.merge(to_hash)]
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/JSONError.html b/.gems/doc/json-1.8.1/rdoc/JSON/JSONError.html new file mode 100644 index 0000000..3f5b4dc --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/JSONError.html @@ -0,0 +1,266 @@ + + + + + + + Class: JSON::JSONError + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::JSONError

+ +
+ +

The base exception for JSON errors.

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ wrap(exception) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/common.rb, line 107
+def self.wrap(exception)
+  obj = new("Wrapped(#{exception.class}): #{exception.message.inspect}")
+  obj.set_backtrace exception.backtrace
+  obj
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/MissingUnicodeSupport.html b/.gems/doc/json-1.8.1/rdoc/JSON/MissingUnicodeSupport.html new file mode 100644 index 0000000..6a384a7 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/MissingUnicodeSupport.html @@ -0,0 +1,216 @@ + + + + + + + Class: JSON::MissingUnicodeSupport + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::MissingUnicodeSupport

+ +
+ +

This exception is raised if the required unicode support is missing on the +system. Usually this means that the iconv library is not installed.

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/NestingError.html b/.gems/doc/json-1.8.1/rdoc/JSON/NestingError.html new file mode 100644 index 0000000..8c5937a --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/NestingError.html @@ -0,0 +1,216 @@ + + + + + + + Class: JSON::NestingError + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::NestingError

+ +
+ +

This exception is raised if the nesting of parsed data structures is too +deep.

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/ParserError.html b/.gems/doc/json-1.8.1/rdoc/JSON/ParserError.html new file mode 100644 index 0000000..f408993 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/ParserError.html @@ -0,0 +1,215 @@ + + + + + + + Class: JSON::ParserError + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::ParserError

+ +
+ +

This exception is raised if a parser error occurs.

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/Pure.html b/.gems/doc/json-1.8.1/rdoc/JSON/Pure.html new file mode 100644 index 0000000..d451d5a --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/Pure.html @@ -0,0 +1,226 @@ + + + + + + + Module: JSON::Pure + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+ + + +
+ +
+ + + + + + +
+

Namespace

+ +
+ + + + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::Pure

+ +
+ +

This module holds all the modules/classes that implement JSON’s +functionality in pure ruby.

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator.html b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator.html new file mode 100644 index 0000000..1a08618 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator.html @@ -0,0 +1,217 @@ + + + + + + + Module: JSON::Pure::Generator + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + + + + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::Pure::Generator

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods.html b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods.html new file mode 100644 index 0000000..3c80bd1 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods.html @@ -0,0 +1,231 @@ + + + + + + + Module: JSON::Pure::Generator::GeneratorMethods + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + + + + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::Pure::Generator::GeneratorMethods

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/Array.html b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/Array.html new file mode 100644 index 0000000..37a379d --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/Array.html @@ -0,0 +1,260 @@ + + + + + + + Module: JSON::Pure::Generator::GeneratorMethods::Array + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::Pure::Generator::GeneratorMethods::Array

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ to_json(state = nil, *) + click to toggle source +
+ + +
+ +

Returns a JSON string containing a JSON array, that is unparsed from this Array instance. state is a JSON::State +object, that can also be used to configure the produced JSON string output further.

+ + + +
+
+# File lib/json/pure/generator.rb, line 382
+def to_json(state = nil, *)
+  state = State.from_state(state)
+  state.check_max_nesting
+  json_transform(state)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/FalseClass.html b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/FalseClass.html new file mode 100644 index 0000000..cb8106d --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/FalseClass.html @@ -0,0 +1,253 @@ + + + + + + + Module: JSON::Pure::Generator::GeneratorMethods::FalseClass + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::Pure::Generator::GeneratorMethods::FalseClass

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ to_json(*) + click to toggle source +
+ + +
+ +

Returns a JSON string for false: +‘false’.

+ + + +
+
+# File lib/json/pure/generator.rb, line 512
+def to_json(*) 'false' end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/Float.html b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/Float.html new file mode 100644 index 0000000..b6e591f --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/Float.html @@ -0,0 +1,271 @@ + + + + + + + Module: JSON::Pure::Generator::GeneratorMethods::Float + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::Pure::Generator::GeneratorMethods::Float

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ to_json(state = nil, *) + click to toggle source +
+ + +
+ +

Returns a JSON string representation +for this Float number.

+ + + +
+
+# File lib/json/pure/generator.rb, line 418
+def to_json(state = nil, *)
+  state = State.from_state(state)
+  case
+  when infinite?
+    if state.allow_nan?
+      to_s
+    else
+      raise GeneratorError, "#{self} not allowed in JSON"
+    end
+  when nan?
+    if state.allow_nan?
+      to_s
+    else
+      raise GeneratorError, "#{self} not allowed in JSON"
+    end
+  else
+    to_s
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/Hash.html b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/Hash.html new file mode 100644 index 0000000..c39f97a --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/Hash.html @@ -0,0 +1,261 @@ + + + + + + + Module: JSON::Pure::Generator::GeneratorMethods::Hash + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::Pure::Generator::GeneratorMethods::Hash

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ to_json(state = nil, *) + click to toggle source +
+ + +
+ +

Returns a JSON string containing a JSON object, that is unparsed from this Hash instance. state is a JSON::State object, +that can also be used to configure the produced JSON string output further. depth +is used to find out nesting depth, to indent accordingly.

+ + + +
+
+# File lib/json/pure/generator.rb, line 338
+def to_json(state = nil, *)
+  state = State.from_state(state)
+  state.check_max_nesting
+  json_transform(state)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/Integer.html b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/Integer.html new file mode 100644 index 0000000..1a4a12a --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/Integer.html @@ -0,0 +1,253 @@ + + + + + + + Module: JSON::Pure::Generator::GeneratorMethods::Integer + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::Pure::Generator::GeneratorMethods::Integer

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ to_json(*) + click to toggle source +
+ + +
+ +

Returns a JSON string representation +for this Integer number.

+ + + +
+
+# File lib/json/pure/generator.rb, line 413
+def to_json(*) to_s end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/NilClass.html b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/NilClass.html new file mode 100644 index 0000000..50b5426 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/NilClass.html @@ -0,0 +1,252 @@ + + + + + + + Module: JSON::Pure::Generator::GeneratorMethods::NilClass + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::Pure::Generator::GeneratorMethods::NilClass

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ to_json(*) + click to toggle source +
+ + +
+ +

Returns a JSON string for nil: ‘null’.

+ + + +
+
+# File lib/json/pure/generator.rb, line 517
+def to_json(*) 'null' end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/Object.html b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/Object.html new file mode 100644 index 0000000..1c318b3 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/Object.html @@ -0,0 +1,256 @@ + + + + + + + Module: JSON::Pure::Generator::GeneratorMethods::Object + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::Pure::Generator::GeneratorMethods::Object

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ to_json(*) + click to toggle source +
+ + +
+ +

Converts this object to a string (calling to_s), converts it to a JSON string, and returns the result. This +is a fallback, if no special method to_json was defined for some +object.

+ + + +
+
+# File lib/json/pure/generator.rb, line 329
+def to_json(*) to_s.to_json end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/String.html b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/String.html new file mode 100644 index 0000000..79ca5e4 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/String.html @@ -0,0 +1,398 @@ + + + + + + + Module: JSON::Pure::Generator::GeneratorMethods::String + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::Pure::Generator::GeneratorMethods::String

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ included(modul) + click to toggle source +
+ + +
+ +

Extends modul with the String::Extend module.

+ + + +
+
+# File lib/json/pure/generator.rb, line 483
+def self.included(modul)
+  modul.extend Extend
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ to_json(state = nil, *args) + click to toggle source +
+ + +
+ +

This string should be encoded with UTF-8 A call to this method returns a JSON string encoded with UTF16 big endian +characters as u????.

+ + + +
+
+# File lib/json/pure/generator.rb, line 444
+def to_json(state = nil, *args)
+  state = State.from_state(state)
+  if encoding == ::Encoding::UTF_8
+    string = self
+  else
+    string = encode(::Encoding::UTF_8)
+  end
+  if state.ascii_only?
+    '"' << JSON.utf8_to_json_ascii(string) << '"'
+  else
+    '"' << JSON.utf8_to_json(string) << '"'
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ to_json_raw(*args) + click to toggle source +
+ + +
+ +

This method creates a JSON text from +the result of a call to to_json_raw_object of +this String.

+ + + +
+
+# File lib/json/pure/generator.rb, line 500
+def to_json_raw(*args)
+  to_json_raw_object.to_json(*args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ to_json_raw_object() + click to toggle source +
+ + +
+ +

This method creates a raw object hash, that can be nested into other data +structures and will be unparsed as a raw string. This method should be +used, if you want to convert raw strings to JSON instead of UTF-8 strings, e. g. +binary data.

+ + + +
+
+# File lib/json/pure/generator.rb, line 491
+def to_json_raw_object
+  {
+    JSON.create_id  => self.class.name,
+    'raw'           => self.unpack('C*'),
+  }
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/String/Extend.html b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/String/Extend.html new file mode 100644 index 0000000..0935eb8 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/String/Extend.html @@ -0,0 +1,259 @@ + + + + + + + Module: JSON::Pure::Generator::GeneratorMethods::String::Extend + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::Pure::Generator::GeneratorMethods::String::Extend

+ +
+ +

Module that holds the extinding methods if, the String module is included.

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ json_create(o) + click to toggle source +
+ + +
+ +

Raw Strings are JSON Objects (the +raw bytes are stored in an array for the key “raw”). The Ruby String can be created by this module method.

+ + + +
+
+# File lib/json/pure/generator.rb, line 477
+def json_create(o)
+  o['raw'].pack('C*')
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/TrueClass.html b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/TrueClass.html new file mode 100644 index 0000000..39a696a --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/GeneratorMethods/TrueClass.html @@ -0,0 +1,252 @@ + + + + + + + Module: JSON::Pure::Generator::GeneratorMethods::TrueClass + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::Pure::Generator::GeneratorMethods::TrueClass

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ to_json(*) + click to toggle source +
+ + +
+ +

Returns a JSON string for true: ‘true’.

+ + + +
+
+# File lib/json/pure/generator.rb, line 507
+def to_json(*) 'true' end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/State.html b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/State.html new file mode 100644 index 0000000..892805c --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Generator/State.html @@ -0,0 +1,963 @@ + + + + + + + Class: JSON::Pure::Generator::State + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::Pure::Generator::State

+ +
+ +

This class is used to create State instances, that +are use to hold data while generating a JSON text from a Ruby data structure.

+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + + + +
+ array_nl[RW] +
+ +
+ +

This string is put at the end of a line that holds a JSON array.

+ +
+
+ +
+ + + + +
+ depth[RW] +
+ +
+ +

This integer returns the current depth data structure nesting in the +generated JSON.

+ +
+
+ +
+ + + + +
+ indent[RW] +
+ +
+ +

This string is used to indent levels in the JSON text.

+ +
+
+ +
+ + + + +
+ max_nesting[RW] +
+ +
+ +

This integer returns the maximum level of data structure nesting in the +generated JSON, max_nesting = 0 if no maximum +is checked.

+ +
+
+ +
+ + + + +
+ object_nl[RW] +
+ +
+ +

This string is put at the end of a line that holds a JSON object (or Hash).

+ +
+
+ +
+ + + + +
+ quirks_mode[RW] +
+ +
+ +

If this attribute is set to true, quirks mode is enabled, otherwise it’s +disabled.

+ +
+
+ +
+ + + + +
+ space[RW] +
+ +
+ +

This string is used to insert a space between the tokens in a JSON string.

+ +
+
+ +
+ + + + +
+ space_before[RW] +
+ +
+ +

This string is used to insert a space before the ‘:’ in JSON objects.

+ +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + + +
+ from_state(opts) + click to toggle source +
+ + +
+ +

Creates a State object from opts, which +ought to be Hash to create a new State instance +configured by opts, something else to create an unconfigured +instance. If opts is a State object, it +is just returned.

+ + + +
+
+# File lib/json/pure/generator.rb, line 129
+def self.from_state(opts)
+  case
+  when self === opts
+    opts
+  when opts.respond_to?(:to_hash)
+    new(opts.to_hash)
+  when opts.respond_to?(:to_h)
+    new(opts.to_h)
+  else
+    SAFE_STATE_PROTOTYPE.dup
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ new(opts = {}) + click to toggle source +
+ + +
+ +

Instantiates a new State object, configured by +opts.

+ +

opts can have the following keys:

+
  • +

    indent: a string used to indent levels (default: "),

    +
  • +

    space: a string that is put after, a : or , delimiter (default: "),

    +
  • +

    space_before: a +string that is put before a : pair delimiter (default: "),

    +
  • +

    object_nl: a string +that is put at the end of a JSON object +(default: "),

    +
  • +

    array_nl: a string +that is put at the end of a JSON array +(default: "),

    +
  • +

    check_circular: is deprecated now, use the :max_nesting option instead,

    +
  • +

    max_nesting: sets +the maximum level of data structure nesting in the generated JSON, max_nesting = 0 if no maximum +should be checked.

    +
  • +

    allow_nan: true if NaN, Infinity, and -Infinity should be generated, +otherwise an exception is thrown, if these values are encountered. This +options defaults to false.

    +
  • +

    quirks_mode: +Enables quirks_mode for +parser, that is for example generating single JSON values instead of documents is possible.

    +
+ + + +
+
+# File lib/json/pure/generator.rb, line 159
+def initialize(opts = {})
+  @indent                = ''
+  @space                 = ''
+  @space_before          = ''
+  @object_nl             = ''
+  @array_nl              = ''
+  @allow_nan             = false
+  @ascii_only            = false
+  @quirks_mode           = false
+  @buffer_initial_length = 1024
+  configure opts
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ [](name) + click to toggle source +
+ + +
+ +

Return the value returned by method name.

+ + + +
+
+# File lib/json/pure/generator.rb, line 307
+def [](name)
+  if respond_to?(name)
+    __send__(name)
+  else
+    instance_variable_get("@#{name}")
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ []=(name, value) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/pure/generator.rb, line 315
+def []=(name, value)
+  if respond_to?(name_writer = "#{name}=")
+    __send__ name_writer, value
+  else
+    instance_variable_set "@#{name}", value
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ allow_nan?() + click to toggle source +
+ + +
+ +

Returns true if NaN, Infinity, and -Infinity should be considered as valid +JSON and output.

+ + + +
+
+# File lib/json/pure/generator.rb, line 226
+def allow_nan?
+  @allow_nan
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ ascii_only?() + click to toggle source +
+ + +
+ +

Returns true, if only ASCII characters should be generated. Otherwise +returns false.

+ + + +
+
+# File lib/json/pure/generator.rb, line 232
+def ascii_only?
+  @ascii_only
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ check_circular?() + click to toggle source +
+ + +
+ +

Returns true, if circular data structures are checked, otherwise returns +false.

+ + + +
+
+# File lib/json/pure/generator.rb, line 220
+def check_circular?
+  !@max_nesting.zero?
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ configure(opts) + click to toggle source +
+ + +
+ +

Configure this State instance with the Hash +opts, and return itself.

+ + + +
+
+# File lib/json/pure/generator.rb, line 243
+def configure(opts)
+  if opts.respond_to?(:to_hash)
+    opts = opts.to_hash
+  elsif opts.respond_to?(:to_h)
+    opts = opts.to_h
+  else
+    raise TypeError, "can't convert #{opts.class} into Hash"
+  end
+  for key, value in opts
+    instance_variable_set "@#{key}", value
+  end
+  @indent                = opts[:indent] if opts.key?(:indent)
+  @space                 = opts[:space] if opts.key?(:space)
+  @space_before          = opts[:space_before] if opts.key?(:space_before)
+  @object_nl             = opts[:object_nl] if opts.key?(:object_nl)
+  @array_nl              = opts[:array_nl] if opts.key?(:array_nl)
+  @allow_nan             = !!opts[:allow_nan] if opts.key?(:allow_nan)
+  @ascii_only            = opts[:ascii_only] if opts.key?(:ascii_only)
+  @depth                 = opts[:depth] || 0
+  @quirks_mode           = opts[:quirks_mode] if opts.key?(:quirks_mode)
+  @buffer_initial_length ||= opts[:buffer_initial_length]
+
+  if !opts.key?(:max_nesting) # defaults to 100
+    @max_nesting = 100
+  elsif opts[:max_nesting]
+    @max_nesting = opts[:max_nesting]
+  else
+    @max_nesting = 0
+  end
+  self
+end
+
+ +
+ + +
+ Also aliased as: merge +
+ + + +
+ + +
+ + + +
+ generate(obj) + click to toggle source +
+ + +
+ +

Generates a valid JSON document from +object obj and returns the result. If no valid JSON document can be created this method +raises a GeneratorError exception.

+ + + +
+
+# File lib/json/pure/generator.rb, line 292
+def generate(obj)
+  result = obj.to_json(self)
+  JSON.valid_utf8?(result) or raise GeneratorError,
+    "source sequence #{result.inspect} is illegal/malformed utf-8"
+  unless @quirks_mode
+    unless result =~ /\A\s*\[/ && result =~ /\]\s*\Z/ ||
+      result =~ /\A\s*\{/ && result =~ /\}\s*\Z/
+    then
+      raise GeneratorError, "only generation of JSON objects or arrays allowed"
+    end
+  end
+  result
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ merge(opts) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: configure +
+ +
+ + +
+ + + +
+ quirks_mode?() + click to toggle source +
+ + +
+ +

Returns true, if quirks mode is enabled. Otherwise returns false.

+ + + +
+
+# File lib/json/pure/generator.rb, line 237
+def quirks_mode?
+  @quirks_mode
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ to_h() + click to toggle source +
+ + +
+ +

Returns the configuration instance variables as a hash, that can be passed +to the configure method.

+ + + +
+
+# File lib/json/pure/generator.rb, line 278
+def to_h
+  result = {}
+  for iv in instance_variables
+    iv = iv.to_s[1..-1]
+    result[iv.to_sym] = self[iv]
+  end
+  result
+end
+
+ +
+ + +
+ Also aliased as: to_hash +
+ + + +
+ + +
+ + + +
+ to_hash() + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: to_h +
+ +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Parser.html b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Parser.html new file mode 100644 index 0000000..6c128a3 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/JSON/Pure/Parser.html @@ -0,0 +1,563 @@ + + + + + + + Class: JSON::Pure::Parser + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

JSON::Pure::Parser

+ +
+ +

This class implements the JSON parser that is +used to parse a JSON string into a Ruby data +structure.

+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
ARRAY_CLOSE
+ +
+ + +
ARRAY_OPEN
+ +
+ + +
COLLECTION_DELIMITER
+ +
+ + +
EMPTY_8BIT_STRING
+ +
+ + +
FALSE
+ +
+ + +
FLOAT
+ +
+ + +
IGNORE
+ +
+ + +
INFINITY
+ +
+ + +
INTEGER
+ +
+ + +
MINUS_INFINITY
+ +
+ + +
NAN
+ +
+ + +
NULL
+ +
+ + +
OBJECT_CLOSE
+ +
+ + +
OBJECT_OPEN
+ +
+ + +
PAIR_DELIMITER
+ +
+ + +
STRING
+ +
+ + +
TRUE
+ +
+ + +
UNESCAPE_MAP
+ +

Unescape characters in strings.

+ + +
UNPARSED
+ +
+ + +
+
+ + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(source, opts = {}) + click to toggle source +
+ + +
+ +

Creates a new JSON::Pure::Parser instance for the +string source.

+ +

It will be configured by the opts hash. opts can have the +following keys:

+
  • +

    max_nesting: The maximum depth of nesting allowed in the parsed data +structures. Disable depth checking with :max_nesting => false|nil|0, it +defaults to 100.

    +
  • +

    allow_nan: If set to true, allow NaN, Infinity and -Infinity in +defiance of RFC 4627 to be parsed by the Parser. +This option defaults to false.

    +
  • +

    symbolize_names: If set to true, returns symbols for the names +(keys) in a JSON object. Otherwise strings +are returned, which is also the default.

    +
  • +

    create_additions: If set to true, the Parser creates additions when if a matching class +and create_id was found. This option defaults to false.

    +
  • +

    object_class: Defaults to Hash

    +
  • +

    array_class: Defaults to Array

    +
  • +

    quirks_mode: Enables quirks_mode for parser, that is for example +parsing single JSON values instead of +documents is possible.

    +
+ + + +
+
+# File lib/json/pure/parser.rb, line 73
+def initialize(source, opts = {})
+  opts ||= {}
+  unless @quirks_mode = opts[:quirks_mode]
+    source = convert_encoding source
+  end
+  super source
+  if !opts.key?(:max_nesting) # defaults to 100
+    @max_nesting = 100
+  elsif opts[:max_nesting]
+    @max_nesting = opts[:max_nesting]
+  else
+    @max_nesting = 0
+  end
+  @allow_nan = !!opts[:allow_nan]
+  @symbolize_names = !!opts[:symbolize_names]
+  if opts.key?(:create_additions)
+    @create_additions = !!opts[:create_additions]
+  else
+    @create_additions = false
+  end
+  @create_id = @create_additions ? JSON.create_id : nil
+  @object_class = opts[:object_class] || Hash
+  @array_class  = opts[:array_class] || Array
+  @match_string = opts[:match_string]
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ parse() + click to toggle source +
+ + +
+ +

Parses the current JSON string +source and returns the complete data structure as a result.

+ + + +
+
+# File lib/json/pure/parser.rb, line 112
+def parse
+  reset
+  obj = nil
+  if @quirks_mode
+    while !eos? && skip(IGNORE)
+    end
+    if eos?
+      raise ParserError, "source did not contain any JSON!"
+    else
+      obj = parse_value
+      obj == UNPARSED and raise ParserError, "source did not contain any JSON!"
+    end
+  else
+    until eos?
+      case
+      when scan(OBJECT_OPEN)
+        obj and raise ParserError, "source '#{peek(20)}' not in JSON!"
+        @current_nesting = 1
+        obj = parse_object
+      when scan(ARRAY_OPEN)
+        obj and raise ParserError, "source '#{peek(20)}' not in JSON!"
+        @current_nesting = 1
+        obj = parse_array
+      when skip(IGNORE)
+        ;
+      else
+        raise ParserError, "source '#{peek(20)}' not in JSON!"
+      end
+    end
+    obj or raise ParserError, "source did not contain any JSON!"
+  end
+  obj
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ quirks_mode?() + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/pure/parser.rb, line 101
+def quirks_mode?
+  !!@quirks_mode
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ reset() + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/pure/parser.rb, line 105
+def reset
+  super
+  @current_nesting = 0
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/Kernel.html b/.gems/doc/json-1.8.1/rdoc/Kernel.html new file mode 100644 index 0000000..633e2bb --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/Kernel.html @@ -0,0 +1,205 @@ + + + + + + + Module: Kernel + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + + + + + + + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

Kernel

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/OpenStruct.html b/.gems/doc/json-1.8.1/rdoc/OpenStruct.html new file mode 100644 index 0000000..b905447 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/OpenStruct.html @@ -0,0 +1,349 @@ + + + + + + + Class: OpenStruct + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

OpenStruct

+ +
+ +

OpenStruct serialization/deserialization

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ json_create(object) + click to toggle source +
+ + +
+ +

Deserializes JSON string by constructing new Struct object with values v serialized by +to_json.

+ + + +
+
+# File lib/json/add/ostruct.rb, line 11
+def self.json_create(object)
+  new(object['t'] || object[:t])
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ as_json(*) + click to toggle source +
+ + +
+ +

Returns a hash, that will be turned into a JSON +object and represent this object.

+ + + +
+
+# File lib/json/add/ostruct.rb, line 17
+def as_json(*)
+  klass = self.class.name
+  klass.to_s.empty? and raise JSON::JSONError, "Only named structs are supported!"
+  {
+    JSON.create_id => klass,
+    't'            => table,
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ to_json(*args) + click to toggle source +
+ + +
+ +

Stores class name (OpenStruct) with this +struct’s values v as a JSON string.

+ + + +
+
+# File lib/json/add/ostruct.rb, line 28
+def to_json(*args)
+  as_json.to_json(*args)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/README_rdoc.html b/.gems/doc/json-1.8.1/rdoc/README_rdoc.html new file mode 100644 index 0000000..98430c7 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/README_rdoc.html @@ -0,0 +1,554 @@ + + + + + + + + File: README.rdoc [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+ +

JSON implementation for Ruby

+ +

Description

+ +

This is a implementation of the JSON specification +according to RFC 4627 www.ietf.org/rfc/rfc4627.txt +. Starting from version 1.0.0 on there will be two variants available:

+ + +

Both variants of the JSON generator generate UTF-8 +character sequences by default. If an :ascii_only option with a true value +is given, they escape all non-ASCII and control characters with uXXXX +escape sequences, and support UTF-16 surrogate pairs in order to be able to +generate the whole range of unicode code points.

+ +

All strings, that are to be encoded as JSON +strings, should be UTF-8 byte sequences on the Ruby side. To encode raw +binary strings, that aren’t UTF-8 encoded, please use the +to_json_raw_object method of String (which produces an object, that +contains a byte array) and decode the result on the receiving endpoint.

+ +

The JSON parsers can parse UTF-8, UTF-16BE, +UTF-16LE, UTF-32BE, and UTF-32LE JSON documents +under Ruby 1.8. Under Ruby 1.9 they take advantage of Ruby’s M17n features +and can parse all documents which have the correct String#encoding set. If +a document string has ASCII-8BIT as an encoding the parser attempts to +figure out which of the UTF encodings from above it is and trys to parse +it.

+ +

Installation

+ +

It’s recommended to use the extension variant of JSON, because it’s faster than the pure ruby variant. +If you cannot build it on your system, you can settle for the latter.

+ +

Just type into the command line as root:

+ +
# rake install
+ +

The above command will build the extensions and install them on your +system.

+ +
# rake install_pure
+ +

or

+ +
# ruby install.rb
+ +

will just install the pure ruby implementation of JSON.

+ +

If you use Rubygems you can type

+ +
# gem install json
+ +

instead, to install the newest JSON version.

+ +

There is also a pure ruby json only variant of the gem, that can be +installed with:

+ +
# gem install json_pure
+ +

Compiling the extensions yourself

+ +

If you want to build the extensions yourself you need rake:

+ +
You can get it from rubyforge:
+  http://rubyforge.org/projects/rake
+
+or just type
+
+# gem install rake
+
+for the installation via rubygems.
+ +

If you want to create the parser.c file from its parser.rl file or draw +nice graphviz images of the state machines, you need ragel from: www.cs.queensu.ca/~thurston/ragel

+ +

Usage

+ +

To use JSON you can

+ +
require 'json'
+ +

to load the installed variant (either the extension ‘json’ or the pure +variant ‘json_pure’). If you have installed the extension variant, you can +pick either the extension variant or the pure variant by typing

+ +
require 'json/ext'
+ +

or

+ +
require 'json/pure'
+ +

Now you can parse a JSON document into a ruby data +structure by calling

+ +
JSON.parse(document)
+ +

If you want to generate a JSON document from a ruby +data structure call

+ +
JSON.generate(data)
+ +

You can also use the pretty_generate method (which formats the output more +verbosely and nicely) or fast_generate (which doesn’t do any of the +security checks generate performs, e. g. nesting deepness checks).

+ +

To create a valid JSON document you have to make +sure, that the output is embedded in either a JSON +array [] or a JSON object {}. The easiest way to do +this, is by putting your values in a Ruby Array or Hash instance.

+ +

There are also the JSON and JSON[] methods which +use parse on a String or generate a JSON document +from an array or hash:

+ +
document = JSON 'test'  => 23 # => "{\"test\":23}"
+document = JSON['test'] => 23 # => "{\"test\":23}"
+ +

and

+ +
data = JSON '{"test":23}'  # => {"test"=>23}
+data = JSON['{"test":23}'] # => {"test"=>23}
+ +

You can choose to load a set of common additions to ruby core’s objects if +you

+ +
require 'json/add/core'
+ +

After requiring this you can, e. g., serialise/deserialise Ruby ranges:

+ +
JSON JSON(1..10) # => 1..10
+ +

To find out how to add JSON support to other or +your own classes, read the section “More Examples” below.

+ +

To get the best compatibility to rails’ JSON +implementation, you can

+ +
require 'json/add/rails'
+ +

Both of the additions attempt to require ‘json’ (like above) first, if it +has not been required yet.

+ +

More Examples

+ +

To create a JSON document from a ruby data +structure, you can call JSON.generate like that:

+ +
json = JSON.generate [1, 2, {"a"=>3.141}, false, true, nil, 4..10]
+# => "[1,2,{\"a\":3.141},false,true,null,\"4..10\"]"
+ +

To get back a ruby data structure from a JSON +document, you have to call JSON.parse on it:

+ +
JSON.parse json
+# => [1, 2, {"a"=>3.141}, false, true, nil, "4..10"]
+ +

Note, that the range from the original data structure is a simple string +now. The reason for this is, that JSON doesn’t +support ranges or arbitrary classes. In this case the json library falls +back to call Object#to_json, which is the same as to_s.to_json.

+ +

It’s possible to add JSON support serialization to +arbitrary classes by simply implementing a more specialized version of the +to_json method, that should return a JSON object (a +hash converted to JSON with to_json) like this +(don’t forget the *a for all the arguments):

+ +
class Range
+  def to_json(*a)
+    {
+      'json_class'   => self.class.name, # = 'Range'
+      'data'         => [ first, last, exclude_end? ]
+    }.to_json(*a)
+  end
+end
+ +

The hash key ‘json_class’ is the class, that will be asked to deserialise +the JSON representation later. In this case it’s +‘Range’, but any namespace of the form ‘A::B’ or ‘::A::B’ will do. All +other keys are arbitrary and can be used to store the necessary data to +configure the object to be deserialised.

+ +

If a the key ‘json_class’ is found in a JSON +object, the JSON parser checks if the given class +responds to the json_create class method. If so, it is called with the JSON object converted to a Ruby hash. So a range can +be deserialised by implementing Range.json_create like this:

+ +
class Range
+  def self.json_create(o)
+    new(*o['data'])
+  end
+end
+ +

Now it possible to serialise/deserialise ranges as well:

+ +
json = JSON.generate [1, 2, {"a"=>3.141}, false, true, nil, 4..10]
+# => "[1,2,{\"a\":3.141},false,true,null,{\"json_class\":\"Range\",\"data\":[4,10,false]}]"
+JSON.parse json
+# => [1, 2, {"a"=>3.141}, false, true, nil, 4..10]
+ +

JSON.generate always creates the +shortest possible string representation of a ruby data structure in one +line. This is good for data storage or network protocols, but not so good +for humans to read. Fortunately there's also JSON.pretty_generate (or JSON.pretty_generate) that +creates a more readable output:

+ +
puts JSON.pretty_generate([1, 2, {"a"=>3.141}, false, true, nil, 4..10])
+[
+  1,
+  2,
+  {
+    "a": 3.141
+  },
+  false,
+  true,
+  null,
+  {
+    "json_class": "Range",
+    "data": [
+      4,
+      10,
+      false
+    ]
+  }
+]
+ +

There are also the methods Kernel#j for generate, and Kernel#jj for +pretty_generate output to the console, that work analogous to Core Ruby’s p +and the pp library’s pp methods.

+ +

The script tools/server.rb contains a small example if you want to test, +how receiving a JSON object from a webrick server +in your browser with the javasript prototype library www.prototypejs.org works.

+ +

Speed Comparisons

+ +

I have created some benchmark results (see the benchmarks/data-p4-3Ghz +subdir of the package) for the JSON-parser to estimate the speed up in the +C extension:

+ +
Comparing times (call_time_mean):
+ 1 ParserBenchmarkExt#parser   900 repeats:
+       553.922304770 (  real) ->   21.500x 
+         0.001805307
+ 2 ParserBenchmarkYAML#parser  1000 repeats:
+       224.513358139 (  real) ->    8.714x 
+         0.004454078
+ 3 ParserBenchmarkPure#parser  1000 repeats:
+        26.755020642 (  real) ->    1.038x 
+         0.037376163
+ 4 ParserBenchmarkRails#parser 1000 repeats:
+        25.763381731 (  real) ->    1.000x 
+         0.038814780
+           calls/sec (  time) ->    speed  covers
+           secs/call
+ +

In the table above 1 is JSON::Ext::Parser, 2 is YAML.load with YAML +compatbile JSON document, 3 is is JSON::Pure::Parser, and 4 is +ActiveSupport::JSON.decode. The ActiveSupport JSON-decoder converts the +input first to YAML and then uses the YAML-parser, the conversion seems to +slow it down so much that it is only as fast as the JSON::Pure::Parser!

+ +

If you look at the benchmark data you can see that this is mostly caused by +the frequent high outliers - the median of the Rails-parser runs is still +overall smaller than the median of the JSON::Pure::Parser runs:

+ +
Comparing times (call_time_median):
+ 1 ParserBenchmarkExt#parser   900 repeats:
+       800.592479481 (  real) ->   26.936x 
+         0.001249075
+ 2 ParserBenchmarkYAML#parser  1000 repeats:
+       271.002390644 (  real) ->    9.118x 
+         0.003690004
+ 3 ParserBenchmarkRails#parser 1000 repeats:
+        30.227910865 (  real) ->    1.017x 
+         0.033082008
+ 4 ParserBenchmarkPure#parser  1000 repeats:
+        29.722384421 (  real) ->    1.000x 
+         0.033644676
+           calls/sec (  time) ->    speed  covers
+           secs/call
+ +

I have benchmarked the JSON-Generator as well. This generated a few more +values, because there are different modes that also influence the achieved +speed:

+ +
Comparing times (call_time_mean):
+ 1 GeneratorBenchmarkExt#generator_fast    1000 repeats:
+       547.354332608 (  real) ->   15.090x 
+         0.001826970
+ 2 GeneratorBenchmarkExt#generator_safe    1000 repeats:
+       443.968212317 (  real) ->   12.240x 
+         0.002252414
+ 3 GeneratorBenchmarkExt#generator_pretty  900 repeats:
+       375.104545883 (  real) ->   10.341x 
+         0.002665923
+ 4 GeneratorBenchmarkPure#generator_fast   1000 repeats:
+        49.978706968 (  real) ->    1.378x 
+         0.020008521
+ 5 GeneratorBenchmarkRails#generator       1000 repeats:
+        38.531868759 (  real) ->    1.062x 
+         0.025952543
+ 6 GeneratorBenchmarkPure#generator_safe   1000 repeats:
+        36.927649925 (  real) ->    1.018x 7 (>=3859)
+         0.027079979
+ 7 GeneratorBenchmarkPure#generator_pretty 1000 repeats:
+        36.272134441 (  real) ->    1.000x 6 (>=3859)
+         0.027569373
+           calls/sec (  time) ->    speed  covers
+           secs/call
+ +

In the table above 1-3 are JSON::Ext::Generator methods. 4, 6, and 7 are JSON::Pure::Generator methods and 5 is +the Rails JSON generator. It is now a bit faster +than the generator_safe and generator_pretty methods of the pure variant +but slower than the others.

+ +

To achieve the fastest JSON document output, you +can use the fast_generate method. Beware, that this will disable the +checking for circular Ruby data structures, which may cause JSON to go into an infinite loop.

+ +

Here are the median comparisons for completeness’ sake:

+ +
Comparing times (call_time_median):
+ 1 GeneratorBenchmarkExt#generator_fast    1000 repeats:
+       708.258020939 (  real) ->   16.547x 
+         0.001411915
+ 2 GeneratorBenchmarkExt#generator_safe    1000 repeats:
+       569.105020353 (  real) ->   13.296x 
+         0.001757145
+ 3 GeneratorBenchmarkExt#generator_pretty  900 repeats:
+       482.825371244 (  real) ->   11.280x 
+         0.002071142
+ 4 GeneratorBenchmarkPure#generator_fast   1000 repeats:
+        62.717626652 (  real) ->    1.465x 
+         0.015944481
+ 5 GeneratorBenchmarkRails#generator       1000 repeats:
+        43.965681162 (  real) ->    1.027x 
+         0.022745013
+ 6 GeneratorBenchmarkPure#generator_safe   1000 repeats:
+        43.929073409 (  real) ->    1.026x 7 (>=3859)
+         0.022763968
+ 7 GeneratorBenchmarkPure#generator_pretty 1000 repeats:
+        42.802514491 (  real) ->    1.000x 6 (>=3859)
+         0.023363113
+           calls/sec (  time) ->    speed  covers
+           secs/call
+ +

Author

+ +

Florian Frank <flori@ping.de>

+ +

License

+ +

Ruby License, see the COPYING file included in the source distribution. The +Ruby License includes the GNU General Public License (GPL), Version 2, so +see the file GPL as well.

+ +

Download

+ +

The latest version of this library can be downloaded at

+ + +

Online Documentation should be located at

+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/Range.html b/.gems/doc/json-1.8.1/rdoc/Range.html new file mode 100644 index 0000000..f40cb12 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/Range.html @@ -0,0 +1,349 @@ + + + + + + + Class: Range + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

Range

+ +
+ +

Range serialization/deserialization

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ json_create(object) + click to toggle source +
+ + +
+ +

Deserializes JSON string by constructing new Range object with arguments a serialized by +to_json.

+ + + +
+
+# File lib/json/add/range.rb, line 10
+def self.json_create(object)
+  new(*object['a'])
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ as_json(*) + click to toggle source +
+ + +
+ +

Returns a hash, that will be turned into a JSON +object and represent this object.

+ + + +
+
+# File lib/json/add/range.rb, line 16
+def as_json(*)
+  {
+    JSON.create_id  => self.class.name,
+    'a'             => [ first, last, exclude_end? ]
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ to_json(*args) + click to toggle source +
+ + +
+ +

Stores class name (Range) with JSON array of arguments a which include +first (integer), last (integer), and +exclude_end? (boolean) as JSON string.

+ + + +
+
+# File lib/json/add/range.rb, line 26
+def to_json(*args)
+  as_json.to_json(*args)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/Rational.html b/.gems/doc/json-1.8.1/rdoc/Rational.html new file mode 100644 index 0000000..9b71378 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/Rational.html @@ -0,0 +1,342 @@ + + + + + + + Class: Rational + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

Rational

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ json_create(object) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/add/rational.rb, line 7
+def self.json_create(object)
+  Rational(object['n'], object['d'])
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ as_json(*) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/add/rational.rb, line 11
+def as_json(*)
+  {
+    JSON.create_id => self.class.name,
+    'n'            => numerator,
+    'd'            => denominator,
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ to_json(*) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/json/add/rational.rb, line 19
+def to_json(*)
+  as_json.to_json
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/Regexp.html b/.gems/doc/json-1.8.1/rdoc/Regexp.html new file mode 100644 index 0000000..70da129 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/Regexp.html @@ -0,0 +1,350 @@ + + + + + + + Class: Regexp + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

Regexp

+ +
+ +

Regexp serialization/deserialization

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ json_create(object) + click to toggle source +
+ + +
+ +

Deserializes JSON string by constructing new Regexp object with source s (Regexp or String) and options o serialized +by to_json

+ + + +
+
+# File lib/json/add/regexp.rb, line 11
+def self.json_create(object)
+  new(object['s'], object['o'])
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ as_json(*) + click to toggle source +
+ + +
+ +

Returns a hash, that will be turned into a JSON +object and represent this object.

+ + + +
+
+# File lib/json/add/regexp.rb, line 17
+def as_json(*)
+  {
+    JSON.create_id => self.class.name,
+    'o'            => options,
+    's'            => source,
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ to_json(*) + click to toggle source +
+ + +
+ +

Stores class name (Regexp) with options +o and source s (Regexp or +String) as JSON string

+ + + +
+
+# File lib/json/add/regexp.rb, line 27
+def to_json(*)
+  as_json.to_json
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/Struct.html b/.gems/doc/json-1.8.1/rdoc/Struct.html new file mode 100644 index 0000000..2e827cc --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/Struct.html @@ -0,0 +1,350 @@ + + + + + + + Class: Struct + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

Struct

+ +
+ +

Struct serialization/deserialization

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ json_create(object) + click to toggle source +
+ + +
+ +

Deserializes JSON string by constructing new Struct object with values v serialized by +to_json.

+ + + +
+
+# File lib/json/add/struct.rb, line 10
+def self.json_create(object)
+  new(*object['v'])
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ as_json(*) + click to toggle source +
+ + +
+ +

Returns a hash, that will be turned into a JSON +object and represent this object.

+ + + +
+
+# File lib/json/add/struct.rb, line 16
+def as_json(*)
+  klass = self.class.name
+  klass.to_s.empty? and raise JSON::JSONError, "Only named structs are supported!"
+  {
+    JSON.create_id => klass,
+    'v'            => values,
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ to_json(*args) + click to toggle source +
+ + +
+ +

Stores class name (Struct) with Struct values v as a JSON string. Only named structs are supported.

+ + + +
+
+# File lib/json/add/struct.rb, line 27
+def to_json(*args)
+  as_json.to_json(*args)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/Symbol.html b/.gems/doc/json-1.8.1/rdoc/Symbol.html new file mode 100644 index 0000000..6817097 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/Symbol.html @@ -0,0 +1,348 @@ + + + + + + + Class: Symbol + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

Symbol

+ +
+ +

Symbol serialization/deserialization

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ json_create(o) + click to toggle source +
+ + +
+ +

Deserializes JSON string by converting the +string value stored in the object to a Symbol

+ + + +
+
+# File lib/json/add/symbol.rb, line 22
+def self.json_create(o)
+  o['s'].to_sym
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ as_json(*) + click to toggle source +
+ + +
+ +

Returns a hash, that will be turned into a JSON +object and represent this object.

+ + + +
+
+# File lib/json/add/symbol.rb, line 9
+def as_json(*)
+  {
+    JSON.create_id => self.class.name,
+    's'            => to_s,
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ to_json(*a) + click to toggle source +
+ + +
+ +

Stores class name (Symbol) with String +representation of Symbol as a JSON string.

+ + + +
+
+# File lib/json/add/symbol.rb, line 17
+def to_json(*a)
+  as_json.to_json(*a)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/Time.html b/.gems/doc/json-1.8.1/rdoc/Time.html new file mode 100644 index 0000000..21ff475 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/Time.html @@ -0,0 +1,358 @@ + + + + + + + Class: Time + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + +
+

Files

+ +
+ + + + + +
+
+ +
+

Time

+ +
+ +

Time serialization/deserialization

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ json_create(object) + click to toggle source +
+ + +
+ +

Deserializes JSON string by converting time since +epoch to Time

+ + + +
+
+# File lib/json/add/time.rb, line 9
+def self.json_create(object)
+  if usec = object.delete('u') # used to be tv_usec -> tv_nsec
+    object['n'] = usec * 1000
+  end
+  if instance_methods.include?(:tv_nsec)
+    at(object['s'], Rational(object['n'], 1000))
+  else
+    at(object['s'], object['n'] / 1000)
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ as_json(*) + click to toggle source +
+ + +
+ +

Returns a hash, that will be turned into a JSON +object and represent this object.

+ + + +
+
+# File lib/json/add/time.rb, line 22
+def as_json(*)
+  nanoseconds = [ tv_usec * 1000 ]
+  respond_to?(:tv_nsec) and nanoseconds << tv_nsec
+  nanoseconds = nanoseconds.max
+  {
+    JSON.create_id => self.class.name,
+    's'            => tv_sec,
+    'n'            => nanoseconds,
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ to_json(*args) + click to toggle source +
+ + +
+ +

Stores class name (Time) with number of seconds +since epoch and number of microseconds for Time as +JSON string

+ + + +
+
+# File lib/json/add/time.rb, line 35
+def to_json(*args)
+  as_json.to_json(*args)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/json-1.8.1/rdoc/created.rid b/.gems/doc/json-1.8.1/rdoc/created.rid new file mode 100644 index 0000000..c9e706c --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/created.rid @@ -0,0 +1,23 @@ +Wed, 03 Sep 2014 10:26:43 +0200 +lib/json.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/common.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/ext.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/pure.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/version.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/generic_object.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/add/symbol.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/add/date.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/add/exception.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/add/ostruct.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/add/date_time.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/add/range.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/add/core.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/add/struct.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/add/complex.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/add/rational.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/add/time.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/add/bigdecimal.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/add/regexp.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/pure/generator.rb Wed, 03 Sep 2014 10:26:40 +0200 +lib/json/pure/parser.rb Wed, 03 Sep 2014 10:26:40 +0200 +README.rdoc Wed, 03 Sep 2014 10:26:40 +0200 diff --git a/.gems/doc/json-1.8.1/rdoc/images/brick.png b/.gems/doc/json-1.8.1/rdoc/images/brick.png new file mode 100644 index 0000000..7851cf3 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/brick.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/brick_link.png b/.gems/doc/json-1.8.1/rdoc/images/brick_link.png new file mode 100644 index 0000000..9ebf013 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/brick_link.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/bug.png b/.gems/doc/json-1.8.1/rdoc/images/bug.png new file mode 100644 index 0000000..2d5fb90 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/bug.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/bullet_black.png b/.gems/doc/json-1.8.1/rdoc/images/bullet_black.png new file mode 100644 index 0000000..5761970 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/bullet_black.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/bullet_toggle_minus.png b/.gems/doc/json-1.8.1/rdoc/images/bullet_toggle_minus.png new file mode 100644 index 0000000..b47ce55 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/bullet_toggle_minus.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/bullet_toggle_plus.png b/.gems/doc/json-1.8.1/rdoc/images/bullet_toggle_plus.png new file mode 100644 index 0000000..9ab4a89 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/bullet_toggle_plus.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/date.png b/.gems/doc/json-1.8.1/rdoc/images/date.png new file mode 100644 index 0000000..783c833 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/date.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/find.png b/.gems/doc/json-1.8.1/rdoc/images/find.png new file mode 100644 index 0000000..1547479 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/find.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/loadingAnimation.gif b/.gems/doc/json-1.8.1/rdoc/images/loadingAnimation.gif new file mode 100644 index 0000000..82290f4 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/loadingAnimation.gif differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/macFFBgHack.png b/.gems/doc/json-1.8.1/rdoc/images/macFFBgHack.png new file mode 100644 index 0000000..c6473b3 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/macFFBgHack.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/package.png b/.gems/doc/json-1.8.1/rdoc/images/package.png new file mode 100644 index 0000000..da3c2a2 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/package.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/page_green.png b/.gems/doc/json-1.8.1/rdoc/images/page_green.png new file mode 100644 index 0000000..de8e003 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/page_green.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/page_white_text.png b/.gems/doc/json-1.8.1/rdoc/images/page_white_text.png new file mode 100644 index 0000000..813f712 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/page_white_text.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/page_white_width.png b/.gems/doc/json-1.8.1/rdoc/images/page_white_width.png new file mode 100644 index 0000000..1eb8809 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/page_white_width.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/plugin.png b/.gems/doc/json-1.8.1/rdoc/images/plugin.png new file mode 100644 index 0000000..6187b15 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/plugin.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/ruby.png b/.gems/doc/json-1.8.1/rdoc/images/ruby.png new file mode 100644 index 0000000..f763a16 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/ruby.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/tag_green.png b/.gems/doc/json-1.8.1/rdoc/images/tag_green.png new file mode 100644 index 0000000..83ec984 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/tag_green.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/wrench.png b/.gems/doc/json-1.8.1/rdoc/images/wrench.png new file mode 100644 index 0000000..5c8213f Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/wrench.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/wrench_orange.png b/.gems/doc/json-1.8.1/rdoc/images/wrench_orange.png new file mode 100644 index 0000000..565a933 Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/wrench_orange.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/images/zoom.png b/.gems/doc/json-1.8.1/rdoc/images/zoom.png new file mode 100644 index 0000000..908612e Binary files /dev/null and b/.gems/doc/json-1.8.1/rdoc/images/zoom.png differ diff --git a/.gems/doc/json-1.8.1/rdoc/index.html b/.gems/doc/json-1.8.1/rdoc/index.html new file mode 100644 index 0000000..02985ac --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/index.html @@ -0,0 +1,711 @@ + + + + + + + + json-1.8.1 Documentation + + + + + + + + + + + + +

json-1.8.1 Documentation

+ + +
+ + +

Description

+ +

This is a implementation of the JSON specification +according to RFC 4627 www.ietf.org/rfc/rfc4627.txt +. Starting from version 1.0.0 on there will be two variants available:

+ + +

Both variants of the JSON generator generate UTF-8 +character sequences by default. If an :ascii_only option with a true value +is given, they escape all non-ASCII and control characters with uXXXX +escape sequences, and support UTF-16 surrogate pairs in order to be able to +generate the whole range of unicode code points.

+ +

All strings, that are to be encoded as JSON +strings, should be UTF-8 byte sequences on the Ruby side. To encode raw +binary strings, that aren’t UTF-8 encoded, please use the +to_json_raw_object method of String (which produces an object, that +contains a byte array) and decode the result on the receiving endpoint.

+ +

The JSON parsers can parse UTF-8, UTF-16BE, +UTF-16LE, UTF-32BE, and UTF-32LE JSON documents +under Ruby 1.8. Under Ruby 1.9 they take advantage of Ruby’s M17n features +and can parse all documents which have the correct String#encoding set. If +a document string has ASCII-8BIT as an encoding the parser attempts to +figure out which of the UTF encodings from above it is and trys to parse +it.

+ +

Installation

+ +

It’s recommended to use the extension variant of JSON, because it’s faster than the pure ruby variant. +If you cannot build it on your system, you can settle for the latter.

+ +

Just type into the command line as root:

+ +
# rake install
+ +

The above command will build the extensions and install them on your +system.

+ +
# rake install_pure
+ +

or

+ +
# ruby install.rb
+ +

will just install the pure ruby implementation of JSON.

+ +

If you use Rubygems you can type

+ +
# gem install json
+ +

instead, to install the newest JSON version.

+ +

There is also a pure ruby json only variant of the gem, that can be +installed with:

+ +
# gem install json_pure
+ +

Compiling the extensions yourself

+ +

If you want to build the extensions yourself you need rake:

+ +
You can get it from rubyforge:
+  http://rubyforge.org/projects/rake
+
+or just type
+
+# gem install rake
+
+for the installation via rubygems.
+ +

If you want to create the parser.c file from its parser.rl file or draw +nice graphviz images of the state machines, you need ragel from: www.cs.queensu.ca/~thurston/ragel

+ +

Usage

+ +

To use JSON you can

+ +
require 'json'
+ +

to load the installed variant (either the extension ‘json’ or the pure +variant ‘json_pure’). If you have installed the extension variant, you can +pick either the extension variant or the pure variant by typing

+ +
require 'json/ext'
+ +

or

+ +
require 'json/pure'
+ +

Now you can parse a JSON document into a ruby data +structure by calling

+ +
JSON.parse(document)
+ +

If you want to generate a JSON document from a ruby +data structure call

+ +
JSON.generate(data)
+ +

You can also use the pretty_generate method (which formats the output more +verbosely and nicely) or fast_generate (which doesn’t do any of the +security checks generate performs, e. g. nesting deepness checks).

+ +

To create a valid JSON document you have to make +sure, that the output is embedded in either a JSON +array [] or a JSON object {}. The easiest way to do +this, is by putting your values in a Ruby Array or Hash instance.

+ +

There are also the JSON and JSON[] methods which +use parse on a String or generate a JSON document +from an array or hash:

+ +
document = JSON 'test'  => 23 # => "{\"test\":23}"
+document = JSON['test'] => 23 # => "{\"test\":23}"
+ +

and

+ +
data = JSON '{"test":23}'  # => {"test"=>23}
+data = JSON['{"test":23}'] # => {"test"=>23}
+ +

You can choose to load a set of common additions to ruby core’s objects if +you

+ +
require 'json/add/core'
+ +

After requiring this you can, e. g., serialise/deserialise Ruby ranges:

+ +
JSON JSON(1..10) # => 1..10
+ +

To find out how to add JSON support to other or +your own classes, read the section “More Examples” below.

+ +

To get the best compatibility to rails’ JSON +implementation, you can

+ +
require 'json/add/rails'
+ +

Both of the additions attempt to require ‘json’ (like above) first, if it +has not been required yet.

+ +

More Examples

+ +

To create a JSON document from a ruby data +structure, you can call JSON.generate like that:

+ +
json = JSON.generate [1, 2, {"a"=>3.141}, false, true, nil, 4..10]
+# => "[1,2,{\"a\":3.141},false,true,null,\"4..10\"]"
+ +

To get back a ruby data structure from a JSON +document, you have to call JSON.parse on it:

+ +
JSON.parse json
+# => [1, 2, {"a"=>3.141}, false, true, nil, "4..10"]
+ +

Note, that the range from the original data structure is a simple string +now. The reason for this is, that JSON doesn’t +support ranges or arbitrary classes. In this case the json library falls +back to call Object#to_json, which is the same as to_s.to_json.

+ +

It’s possible to add JSON support serialization to +arbitrary classes by simply implementing a more specialized version of the +to_json method, that should return a JSON object (a +hash converted to JSON with to_json) like this +(don’t forget the *a for all the arguments):

+ +
class Range
+  def to_json(*a)
+    {
+      'json_class'   => self.class.name, # = 'Range'
+      'data'         => [ first, last, exclude_end? ]
+    }.to_json(*a)
+  end
+end
+ +

The hash key ‘json_class’ is the class, that will be asked to deserialise +the JSON representation later. In this case it’s +‘Range’, but any namespace of the form ‘A::B’ or ‘::A::B’ will do. All +other keys are arbitrary and can be used to store the necessary data to +configure the object to be deserialised.

+ +

If a the key ‘json_class’ is found in a JSON +object, the JSON parser checks if the given class +responds to the json_create class method. If so, it is called with the JSON object converted to a Ruby hash. So a range can +be deserialised by implementing Range.json_create like this:

+ +
class Range
+  def self.json_create(o)
+    new(*o['data'])
+  end
+end
+ +

Now it possible to serialise/deserialise ranges as well:

+ +
json = JSON.generate [1, 2, {"a"=>3.141}, false, true, nil, 4..10]
+# => "[1,2,{\"a\":3.141},false,true,null,{\"json_class\":\"Range\",\"data\":[4,10,false]}]"
+JSON.parse json
+# => [1, 2, {"a"=>3.141}, false, true, nil, 4..10]
+ +

JSON.generate always creates the +shortest possible string representation of a ruby data structure in one +line. This is good for data storage or network protocols, but not so good +for humans to read. Fortunately there's also JSON.pretty_generate (or JSON.pretty_generate) that +creates a more readable output:

+ +
puts JSON.pretty_generate([1, 2, {"a"=>3.141}, false, true, nil, 4..10])
+[
+  1,
+  2,
+  {
+    "a": 3.141
+  },
+  false,
+  true,
+  null,
+  {
+    "json_class": "Range",
+    "data": [
+      4,
+      10,
+      false
+    ]
+  }
+]
+ +

There are also the methods Kernel#j for generate, and Kernel#jj for +pretty_generate output to the console, that work analogous to Core Ruby’s p +and the pp library’s pp methods.

+ +

The script tools/server.rb contains a small example if you want to test, +how receiving a JSON object from a webrick server +in your browser with the javasript prototype library www.prototypejs.org works.

+ +

Speed Comparisons

+ +

I have created some benchmark results (see the benchmarks/data-p4-3Ghz +subdir of the package) for the JSON-parser to estimate the speed up in the +C extension:

+ +
Comparing times (call_time_mean):
+ 1 ParserBenchmarkExt#parser   900 repeats:
+       553.922304770 (  real) ->   21.500x 
+         0.001805307
+ 2 ParserBenchmarkYAML#parser  1000 repeats:
+       224.513358139 (  real) ->    8.714x 
+         0.004454078
+ 3 ParserBenchmarkPure#parser  1000 repeats:
+        26.755020642 (  real) ->    1.038x 
+         0.037376163
+ 4 ParserBenchmarkRails#parser 1000 repeats:
+        25.763381731 (  real) ->    1.000x 
+         0.038814780
+           calls/sec (  time) ->    speed  covers
+           secs/call
+ +

In the table above 1 is JSON::Ext::Parser, 2 is YAML.load with YAML +compatbile JSON document, 3 is is JSON::Pure::Parser, and 4 is +ActiveSupport::JSON.decode. The ActiveSupport JSON-decoder converts the +input first to YAML and then uses the YAML-parser, the conversion seems to +slow it down so much that it is only as fast as the JSON::Pure::Parser!

+ +

If you look at the benchmark data you can see that this is mostly caused by +the frequent high outliers - the median of the Rails-parser runs is still +overall smaller than the median of the JSON::Pure::Parser runs:

+ +
Comparing times (call_time_median):
+ 1 ParserBenchmarkExt#parser   900 repeats:
+       800.592479481 (  real) ->   26.936x 
+         0.001249075
+ 2 ParserBenchmarkYAML#parser  1000 repeats:
+       271.002390644 (  real) ->    9.118x 
+         0.003690004
+ 3 ParserBenchmarkRails#parser 1000 repeats:
+        30.227910865 (  real) ->    1.017x 
+         0.033082008
+ 4 ParserBenchmarkPure#parser  1000 repeats:
+        29.722384421 (  real) ->    1.000x 
+         0.033644676
+           calls/sec (  time) ->    speed  covers
+           secs/call
+ +

I have benchmarked the JSON-Generator as well. This generated a few more +values, because there are different modes that also influence the achieved +speed:

+ +
Comparing times (call_time_mean):
+ 1 GeneratorBenchmarkExt#generator_fast    1000 repeats:
+       547.354332608 (  real) ->   15.090x 
+         0.001826970
+ 2 GeneratorBenchmarkExt#generator_safe    1000 repeats:
+       443.968212317 (  real) ->   12.240x 
+         0.002252414
+ 3 GeneratorBenchmarkExt#generator_pretty  900 repeats:
+       375.104545883 (  real) ->   10.341x 
+         0.002665923
+ 4 GeneratorBenchmarkPure#generator_fast   1000 repeats:
+        49.978706968 (  real) ->    1.378x 
+         0.020008521
+ 5 GeneratorBenchmarkRails#generator       1000 repeats:
+        38.531868759 (  real) ->    1.062x 
+         0.025952543
+ 6 GeneratorBenchmarkPure#generator_safe   1000 repeats:
+        36.927649925 (  real) ->    1.018x 7 (>=3859)
+         0.027079979
+ 7 GeneratorBenchmarkPure#generator_pretty 1000 repeats:
+        36.272134441 (  real) ->    1.000x 6 (>=3859)
+         0.027569373
+           calls/sec (  time) ->    speed  covers
+           secs/call
+ +

In the table above 1-3 are JSON::Ext::Generator methods. 4, 6, and 7 are JSON::Pure::Generator methods and 5 is +the Rails JSON generator. It is now a bit faster +than the generator_safe and generator_pretty methods of the pure variant +but slower than the others.

+ +

To achieve the fastest JSON document output, you +can use the fast_generate method. Beware, that this will disable the +checking for circular Ruby data structures, which may cause JSON to go into an infinite loop.

+ +

Here are the median comparisons for completeness’ sake:

+ +
Comparing times (call_time_median):
+ 1 GeneratorBenchmarkExt#generator_fast    1000 repeats:
+       708.258020939 (  real) ->   16.547x 
+         0.001411915
+ 2 GeneratorBenchmarkExt#generator_safe    1000 repeats:
+       569.105020353 (  real) ->   13.296x 
+         0.001757145
+ 3 GeneratorBenchmarkExt#generator_pretty  900 repeats:
+       482.825371244 (  real) ->   11.280x 
+         0.002071142
+ 4 GeneratorBenchmarkPure#generator_fast   1000 repeats:
+        62.717626652 (  real) ->    1.465x 
+         0.015944481
+ 5 GeneratorBenchmarkRails#generator       1000 repeats:
+        43.965681162 (  real) ->    1.027x 
+         0.022745013
+ 6 GeneratorBenchmarkPure#generator_safe   1000 repeats:
+        43.929073409 (  real) ->    1.026x 7 (>=3859)
+         0.022763968
+ 7 GeneratorBenchmarkPure#generator_pretty 1000 repeats:
+        42.802514491 (  real) ->    1.000x 6 (>=3859)
+         0.023363113
+           calls/sec (  time) ->    speed  covers
+           secs/call
+ +

Author

+ +

Florian Frank <flori@ping.de>

+ +

License

+ +

Ruby License, see the COPYING file included in the source distribution. The +Ruby License includes the GNU General Public License (GPL), Version 2, so +see the file GPL as well.

+ +

Download

+ +

The latest version of this library can be downloaded at

+ + +

Online Documentation should be located at

+ + +
+ + + + +

Files

+ + + +

Classes/Modules

+ + +

Methods

+ + +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + diff --git a/.gems/doc/json-1.8.1/rdoc/js/darkfish.js b/.gems/doc/json-1.8.1/rdoc/js/darkfish.js new file mode 100644 index 0000000..7a2f44c --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/js/darkfish.js @@ -0,0 +1,118 @@ +/** + * + * Darkfish Page Functions + * $Id: darkfish.js 53 2009-01-07 02:52:03Z deveiant $ + * + * Author: Michael Granger + * + */ + +/* Provide console simulation for firebug-less environments */ +if (!("console" in window) || !("firebug" in console)) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", + "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"]; + + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +}; + + +/** + * Unwrap the first element that matches the given @expr@ from the targets and return them. + */ +$.fn.unwrap = function( expr ) { + return this.each( function() { + $(this).parents( expr ).eq( 0 ).after( this ).remove(); + }); +}; + + +function showSource( e ) { + var target = e.target; + var codeSections = $(target). + parents('.method-detail'). + find('.method-source-code'); + + $(target). + parents('.method-detail'). + find('.method-source-code'). + slideToggle(); +}; + +function hookSourceViews() { + $('.method-description,.method-heading').click( showSource ); +}; + +function toggleDebuggingSection() { + $('.debugging-section').slideToggle(); +}; + +function hookDebuggingToggle() { + $('#debugging-toggle img').click( toggleDebuggingSection ); +}; + +function hookQuickSearch() { + $('.quicksearch-field').each( function() { + var searchElems = $(this).parents('.section').find( 'li' ); + var toggle = $(this).parents('.section').find('h3 .search-toggle'); + // console.debug( "Toggle is: %o", toggle ); + var qsbox = $(this).parents('form').get( 0 ); + + $(this).quicksearch( this, searchElems, { + noSearchResultsIndicator: 'no-class-search-results', + focusOnLoad: false + }); + $(toggle).click( function() { + // console.debug( "Toggling qsbox: %o", qsbox ); + $(qsbox).toggle(); + }); + }); +}; + +function highlightTarget( anchor ) { + console.debug( "Highlighting target '%s'.", anchor ); + + $("a[name]").each( function() { + if ( $(this).attr("name") == anchor ) { + if ( !$(this).parent().parent().hasClass('target-section') ) { + console.debug( "Wrapping the target-section" ); + $('div.method-detail').unwrap( 'div.target-section' ); + $(this).parent().wrap( '
' ); + } else { + console.debug( "Already wrapped." ); + } + } + }); +}; + +function highlightLocationTarget() { + console.debug( "Location hash: %s", window.location.hash ); + if ( ! window.location.hash || window.location.hash.length == 0 ) return; + + var anchor = window.location.hash.substring(1); + console.debug( "Found anchor: %s; matching %s", anchor, "a[name=" + anchor + "]" ); + + highlightTarget( anchor ); +}; + +function highlightClickTarget( event ) { + console.debug( "Highlighting click target for event %o", event.target ); + try { + var anchor = $(event.target).attr( 'href' ).substring(1); + console.debug( "Found target anchor: %s", anchor ); + highlightTarget( anchor ); + } catch ( err ) { + console.error( "Exception while highlighting: %o", err ); + }; +}; + + +$(document).ready( function() { + hookSourceViews(); + hookDebuggingToggle(); + hookQuickSearch(); + highlightLocationTarget(); + + $('ul.link-list a').bind( "click", highlightClickTarget ); +}); diff --git a/.gems/doc/json-1.8.1/rdoc/js/jquery.js b/.gems/doc/json-1.8.1/rdoc/js/jquery.js new file mode 100644 index 0000000..afe9e74 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/js/jquery.js @@ -0,0 +1,32 @@ +/* + * jQuery 1.2.6 - New Wave Javascript + * + * Copyright (c) 2008 John Resig (jquery.com) + * Dual licensed under the MIT (MIT-LICENSE.txt) + * and GPL (GPL-LICENSE.txt) licenses. + * + * $Date: 2008-09-25 09:50:52 -0700 (Thu, 25 Sep 2008) $ + * $Rev: 38 $ + */ +(function(){var _jQuery=window.jQuery,_$=window.$;var jQuery=window.jQuery=window.$=function(selector,context){return new jQuery.fn.init(selector,context);};var quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,isSimple=/^.[^:#\[\.]*$/,undefined;jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document;if(selector.nodeType){this[0]=selector;this.length=1;return this;}if(typeof selector=="string"){var match=quickExpr.exec(selector);if(match&&(match[1]||!context)){if(match[1])selector=jQuery.clean([match[1]],context);else{var elem=document.getElementById(match[3]);if(elem){if(elem.id!=match[3])return jQuery().find(selector);return jQuery(elem);}selector=[];}}else +return jQuery(context).find(selector);}else if(jQuery.isFunction(selector))return jQuery(document)[jQuery.fn.ready?"ready":"load"](selector);return this.setArray(jQuery.makeArray(selector));},jquery:"1.2.6",size:function(){return this.length;},length:0,get:function(num){return num==undefined?jQuery.makeArray(this):this[num];},pushStack:function(elems){var ret=jQuery(elems);ret.prevObject=this;return ret;},setArray:function(elems){this.length=0;Array.prototype.push.apply(this,elems);return this;},each:function(callback,args){return jQuery.each(this,callback,args);},index:function(elem){var ret=-1;return jQuery.inArray(elem&&elem.jquery?elem[0]:elem,this);},attr:function(name,value,type){var options=name;if(name.constructor==String)if(value===undefined)return this[0]&&jQuery[type||"attr"](this[0],name);else{options={};options[name]=value;}return this.each(function(i){for(name in options)jQuery.attr(type?this.style:this,name,jQuery.prop(this,options[name],type,i,name));});},css:function(key,value){if((key=='width'||key=='height')&&parseFloat(value)<0)value=undefined;return this.attr(key,value,"curCSS");},text:function(text){if(typeof text!="object"&&text!=null)return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(text));var ret="";jQuery.each(text||this,function(){jQuery.each(this.childNodes,function(){if(this.nodeType!=8)ret+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this]);});});return ret;},wrapAll:function(html){if(this[0])jQuery(html,this[0].ownerDocument).clone().insertBefore(this[0]).map(function(){var elem=this;while(elem.firstChild)elem=elem.firstChild;return elem;}).append(this);return this;},wrapInner:function(html){return this.each(function(){jQuery(this).contents().wrapAll(html);});},wrap:function(html){return this.each(function(){jQuery(this).wrapAll(html);});},append:function(){return this.domManip(arguments,true,false,function(elem){if(this.nodeType==1)this.appendChild(elem);});},prepend:function(){return this.domManip(arguments,true,true,function(elem){if(this.nodeType==1)this.insertBefore(elem,this.firstChild);});},before:function(){return this.domManip(arguments,false,false,function(elem){this.parentNode.insertBefore(elem,this);});},after:function(){return this.domManip(arguments,false,true,function(elem){this.parentNode.insertBefore(elem,this.nextSibling);});},end:function(){return this.prevObject||jQuery([]);},find:function(selector){var elems=jQuery.map(this,function(elem){return jQuery.find(selector,elem);});return this.pushStack(/[^+>] [^+>]/.test(selector)||selector.indexOf("..")>-1?jQuery.unique(elems):elems);},clone:function(events){var ret=this.map(function(){if(jQuery.browser.msie&&!jQuery.isXMLDoc(this)){var clone=this.cloneNode(true),container=document.createElement("div");container.appendChild(clone);return jQuery.clean([container.innerHTML])[0];}else +return this.cloneNode(true);});var clone=ret.find("*").andSelf().each(function(){if(this[expando]!=undefined)this[expando]=null;});if(events===true)this.find("*").andSelf().each(function(i){if(this.nodeType==3)return;var events=jQuery.data(this,"events");for(var type in events)for(var handler in events[type])jQuery.event.add(clone[i],type,events[type][handler],events[type][handler].data);});return ret;},filter:function(selector){return this.pushStack(jQuery.isFunction(selector)&&jQuery.grep(this,function(elem,i){return selector.call(elem,i);})||jQuery.multiFilter(selector,this));},not:function(selector){if(selector.constructor==String)if(isSimple.test(selector))return this.pushStack(jQuery.multiFilter(selector,this,true));else +selector=jQuery.multiFilter(selector,this);var isArrayLike=selector.length&&selector[selector.length-1]!==undefined&&!selector.nodeType;return this.filter(function(){return isArrayLike?jQuery.inArray(this,selector)<0:this!=selector;});},add:function(selector){return this.pushStack(jQuery.unique(jQuery.merge(this.get(),typeof selector=='string'?jQuery(selector):jQuery.makeArray(selector))));},is:function(selector){return!!selector&&jQuery.multiFilter(selector,this).length>0;},hasClass:function(selector){return this.is("."+selector);},val:function(value){if(value==undefined){if(this.length){var elem=this[0];if(jQuery.nodeName(elem,"select")){var index=elem.selectedIndex,values=[],options=elem.options,one=elem.type=="select-one";if(index<0)return null;for(var i=one?index:0,max=one?index+1:options.length;i=0||jQuery.inArray(this.name,value)>=0);else if(jQuery.nodeName(this,"select")){var values=jQuery.makeArray(value);jQuery("option",this).each(function(){this.selected=(jQuery.inArray(this.value,values)>=0||jQuery.inArray(this.text,values)>=0);});if(!values.length)this.selectedIndex=-1;}else +this.value=value;});},html:function(value){return value==undefined?(this[0]?this[0].innerHTML:null):this.empty().append(value);},replaceWith:function(value){return this.after(value).remove();},eq:function(i){return this.slice(i,i+1);},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments));},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem);}));},andSelf:function(){return this.add(this.prevObject);},data:function(key,value){var parts=key.split(".");parts[1]=parts[1]?"."+parts[1]:"";if(value===undefined){var data=this.triggerHandler("getData"+parts[1]+"!",[parts[0]]);if(data===undefined&&this.length)data=jQuery.data(this[0],key);return data===undefined&&parts[1]?this.data(parts[0]):data;}else +return this.trigger("setData"+parts[1]+"!",[parts[0],value]).each(function(){jQuery.data(this,key,value);});},removeData:function(key){return this.each(function(){jQuery.removeData(this,key);});},domManip:function(args,table,reverse,callback){var clone=this.length>1,elems;return this.each(function(){if(!elems){elems=jQuery.clean(args,this.ownerDocument);if(reverse)elems.reverse();}var obj=this;if(table&&jQuery.nodeName(this,"table")&&jQuery.nodeName(elems[0],"tr"))obj=this.getElementsByTagName("tbody")[0]||this.appendChild(this.ownerDocument.createElement("tbody"));var scripts=jQuery([]);jQuery.each(elems,function(){var elem=clone?jQuery(this).clone(true)[0]:this;if(jQuery.nodeName(elem,"script"))scripts=scripts.add(elem);else{if(elem.nodeType==1)scripts=scripts.add(jQuery("script",elem).remove());callback.call(obj,elem);}});scripts.each(evalScript);});}};jQuery.fn.init.prototype=jQuery.fn;function evalScript(i,elem){if(elem.src)jQuery.ajax({url:elem.src,async:false,dataType:"script"});else +jQuery.globalEval(elem.text||elem.textContent||elem.innerHTML||"");if(elem.parentNode)elem.parentNode.removeChild(elem);}function now(){return+new Date;}jQuery.extend=jQuery.fn.extend=function(){var target=arguments[0]||{},i=1,length=arguments.length,deep=false,options;if(target.constructor==Boolean){deep=target;target=arguments[1]||{};i=2;}if(typeof target!="object"&&typeof target!="function")target={};if(length==i){target=this;--i;}for(;i-1;}},swap:function(elem,options,callback){var old={};for(var name in options){old[name]=elem.style[name];elem.style[name]=options[name];}callback.call(elem);for(var name in options)elem.style[name]=old[name];},css:function(elem,name,force){if(name=="width"||name=="height"){var val,props={position:"absolute",visibility:"hidden",display:"block"},which=name=="width"?["Left","Right"]:["Top","Bottom"];function getWH(){val=name=="width"?elem.offsetWidth:elem.offsetHeight;var padding=0,border=0;jQuery.each(which,function(){padding+=parseFloat(jQuery.curCSS(elem,"padding"+this,true))||0;border+=parseFloat(jQuery.curCSS(elem,"border"+this+"Width",true))||0;});val-=Math.round(padding+border);}if(jQuery(elem).is(":visible"))getWH();else +jQuery.swap(elem,props,getWH);return Math.max(0,val);}return jQuery.curCSS(elem,name,force);},curCSS:function(elem,name,force){var ret,style=elem.style;function color(elem){if(!jQuery.browser.safari)return false;var ret=defaultView.getComputedStyle(elem,null);return!ret||ret.getPropertyValue("color")=="";}if(name=="opacity"&&jQuery.browser.msie){ret=jQuery.attr(style,"opacity");return ret==""?"1":ret;}if(jQuery.browser.opera&&name=="display"){var save=style.outline;style.outline="0 solid black";style.outline=save;}if(name.match(/float/i))name=styleFloat;if(!force&&style&&style[name])ret=style[name];else if(defaultView.getComputedStyle){if(name.match(/float/i))name="float";name=name.replace(/([A-Z])/g,"-$1").toLowerCase();var computedStyle=defaultView.getComputedStyle(elem,null);if(computedStyle&&!color(elem))ret=computedStyle.getPropertyValue(name);else{var swap=[],stack=[],a=elem,i=0;for(;a&&color(a);a=a.parentNode)stack.unshift(a);for(;i]*?)\/>/g,function(all,front,tag){return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?all:front+">";});var tags=jQuery.trim(elem).toLowerCase(),div=context.createElement("div");var wrap=!tags.indexOf("",""]||!tags.indexOf("",""]||tags.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"","
"]||!tags.indexOf("",""]||(!tags.indexOf("",""]||!tags.indexOf("",""]||jQuery.browser.msie&&[1,"div
","
"]||[0,"",""];div.innerHTML=wrap[1]+elem+wrap[2];while(wrap[0]--)div=div.lastChild;if(jQuery.browser.msie){var tbody=!tags.indexOf(""&&tags.indexOf("=0;--j)if(jQuery.nodeName(tbody[j],"tbody")&&!tbody[j].childNodes.length)tbody[j].parentNode.removeChild(tbody[j]);if(/^\s/.test(elem))div.insertBefore(context.createTextNode(elem.match(/^\s*/)[0]),div.firstChild);}elem=jQuery.makeArray(div.childNodes);}if(elem.length===0&&(!jQuery.nodeName(elem,"form")&&!jQuery.nodeName(elem,"select")))return;if(elem[0]==undefined||jQuery.nodeName(elem,"form")||elem.options)ret.push(elem);else +ret=jQuery.merge(ret,elem);});return ret;},attr:function(elem,name,value){if(!elem||elem.nodeType==3||elem.nodeType==8)return undefined;var notxml=!jQuery.isXMLDoc(elem),set=value!==undefined,msie=jQuery.browser.msie;name=notxml&&jQuery.props[name]||name;if(elem.tagName){var special=/href|src|style/.test(name);if(name=="selected"&&jQuery.browser.safari)elem.parentNode.selectedIndex;if(name in elem&¬xml&&!special){if(set){if(name=="type"&&jQuery.nodeName(elem,"input")&&elem.parentNode)throw"type property can't be changed";elem[name]=value;}if(jQuery.nodeName(elem,"form")&&elem.getAttributeNode(name))return elem.getAttributeNode(name).nodeValue;return elem[name];}if(msie&¬xml&&name=="style")return jQuery.attr(elem.style,"cssText",value);if(set)elem.setAttribute(name,""+value);var attr=msie&¬xml&&special?elem.getAttribute(name,2):elem.getAttribute(name);return attr===null?undefined:attr;}if(msie&&name=="opacity"){if(set){elem.zoom=1;elem.filter=(elem.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(value)+''=="NaN"?"":"alpha(opacity="+value*100+")");}return elem.filter&&elem.filter.indexOf("opacity=")>=0?(parseFloat(elem.filter.match(/opacity=([^)]*)/)[1])/100)+'':"";}name=name.replace(/-([a-z])/ig,function(all,letter){return letter.toUpperCase();});if(set)elem[name]=value;return elem[name];},trim:function(text){return(text||"").replace(/^\s+|\s+$/g,"");},makeArray:function(array){var ret=[];if(array!=null){var i=array.length;if(i==null||array.split||array.setInterval||array.call)ret[0]=array;else +while(i)ret[--i]=array[i];}return ret;},inArray:function(elem,array){for(var i=0,length=array.length;i*",this).remove();while(this.firstChild)this.removeChild(this.firstChild);}},function(name,fn){jQuery.fn[name]=function(){return this.each(fn,arguments);};});jQuery.each(["Height","Width"],function(i,name){var type=name.toLowerCase();jQuery.fn[type]=function(size){return this[0]==window?jQuery.browser.opera&&document.body["client"+name]||jQuery.browser.safari&&window["inner"+name]||document.compatMode=="CSS1Compat"&&document.documentElement["client"+name]||document.body["client"+name]:this[0]==document?Math.max(Math.max(document.body["scroll"+name],document.documentElement["scroll"+name]),Math.max(document.body["offset"+name],document.documentElement["offset"+name])):size==undefined?(this.length?jQuery.css(this[0],type):null):this.css(type,size.constructor==String?size:size+"px");};});function num(elem,prop){return elem[0]&&parseInt(jQuery.curCSS(elem[0],prop,true),10)||0;}var chars=jQuery.browser.safari&&parseInt(jQuery.browser.version)<417?"(?:[\\w*_-]|\\\\.)":"(?:[\\w\u0128-\uFFFF*_-]|\\\\.)",quickChild=new RegExp("^>\\s*("+chars+"+)"),quickID=new RegExp("^("+chars+"+)(#)("+chars+"+)"),quickClass=new RegExp("^([#.]?)("+chars+"*)");jQuery.extend({expr:{"":function(a,i,m){return m[2]=="*"||jQuery.nodeName(a,m[2]);},"#":function(a,i,m){return a.getAttribute("id")==m[2];},":":{lt:function(a,i,m){return im[3]-0;},nth:function(a,i,m){return m[3]-0==i;},eq:function(a,i,m){return m[3]-0==i;},first:function(a,i){return i==0;},last:function(a,i,m,r){return i==r.length-1;},even:function(a,i){return i%2==0;},odd:function(a,i){return i%2;},"first-child":function(a){return a.parentNode.getElementsByTagName("*")[0]==a;},"last-child":function(a){return jQuery.nth(a.parentNode.lastChild,1,"previousSibling")==a;},"only-child":function(a){return!jQuery.nth(a.parentNode.lastChild,2,"previousSibling");},parent:function(a){return a.firstChild;},empty:function(a){return!a.firstChild;},contains:function(a,i,m){return(a.textContent||a.innerText||jQuery(a).text()||"").indexOf(m[3])>=0;},visible:function(a){return"hidden"!=a.type&&jQuery.css(a,"display")!="none"&&jQuery.css(a,"visibility")!="hidden";},hidden:function(a){return"hidden"==a.type||jQuery.css(a,"display")=="none"||jQuery.css(a,"visibility")=="hidden";},enabled:function(a){return!a.disabled;},disabled:function(a){return a.disabled;},checked:function(a){return a.checked;},selected:function(a){return a.selected||jQuery.attr(a,"selected");},text:function(a){return"text"==a.type;},radio:function(a){return"radio"==a.type;},checkbox:function(a){return"checkbox"==a.type;},file:function(a){return"file"==a.type;},password:function(a){return"password"==a.type;},submit:function(a){return"submit"==a.type;},image:function(a){return"image"==a.type;},reset:function(a){return"reset"==a.type;},button:function(a){return"button"==a.type||jQuery.nodeName(a,"button");},input:function(a){return/input|select|textarea|button/i.test(a.nodeName);},has:function(a,i,m){return jQuery.find(m[3],a).length;},header:function(a){return/h\d/i.test(a.nodeName);},animated:function(a){return jQuery.grep(jQuery.timers,function(fn){return a==fn.elem;}).length;}}},parse:[/^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,new RegExp("^([:.#]*)("+chars+"+)")],multiFilter:function(expr,elems,not){var old,cur=[];while(expr&&expr!=old){old=expr;var f=jQuery.filter(expr,elems,not);expr=f.t.replace(/^\s*,\s*/,"");cur=not?elems=f.r:jQuery.merge(cur,f.r);}return cur;},find:function(t,context){if(typeof t!="string")return[t];if(context&&context.nodeType!=1&&context.nodeType!=9)return[];context=context||document;var ret=[context],done=[],last,nodeName;while(t&&last!=t){var r=[];last=t;t=jQuery.trim(t);var foundToken=false,re=quickChild,m=re.exec(t);if(m){nodeName=m[1].toUpperCase();for(var i=0;ret[i];i++)for(var c=ret[i].firstChild;c;c=c.nextSibling)if(c.nodeType==1&&(nodeName=="*"||c.nodeName.toUpperCase()==nodeName))r.push(c);ret=r;t=t.replace(re,"");if(t.indexOf(" ")==0)continue;foundToken=true;}else{re=/^([>+~])\s*(\w*)/i;if((m=re.exec(t))!=null){r=[];var merge={};nodeName=m[2].toUpperCase();m=m[1];for(var j=0,rl=ret.length;j=0;if(!not&&pass||not&&!pass)tmp.push(r[i]);}return tmp;},filter:function(t,r,not){var last;while(t&&t!=last){last=t;var p=jQuery.parse,m;for(var i=0;p[i];i++){m=p[i].exec(t);if(m){t=t.substring(m[0].length);m[2]=m[2].replace(/\\/g,"");break;}}if(!m)break;if(m[1]==":"&&m[2]=="not")r=isSimple.test(m[3])?jQuery.filter(m[3],r,true).r:jQuery(r).not(m[3]);else if(m[1]==".")r=jQuery.classFilter(r,m[2],not);else if(m[1]=="["){var tmp=[],type=m[3];for(var i=0,rl=r.length;i=0)^not)tmp.push(a);}r=tmp;}else if(m[1]==":"&&m[2]=="nth-child"){var merge={},tmp=[],test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(m[3]=="even"&&"2n"||m[3]=="odd"&&"2n+1"||!/\D/.test(m[3])&&"0n+"+m[3]||m[3]),first=(test[1]+(test[2]||1))-0,last=test[3]-0;for(var i=0,rl=r.length;i=0)add=true;if(add^not)tmp.push(node);}r=tmp;}else{var fn=jQuery.expr[m[1]];if(typeof fn=="object")fn=fn[m[2]];if(typeof fn=="string")fn=eval("false||function(a,i){return "+fn+";}");r=jQuery.grep(r,function(elem,i){return fn(elem,i,m,r);},not);}}return{r:r,t:t};},dir:function(elem,dir){var matched=[],cur=elem[dir];while(cur&&cur!=document){if(cur.nodeType==1)matched.push(cur);cur=cur[dir];}return matched;},nth:function(cur,result,dir,elem){result=result||1;var num=0;for(;cur;cur=cur[dir])if(cur.nodeType==1&&++num==result)break;return cur;},sibling:function(n,elem){var r=[];for(;n;n=n.nextSibling){if(n.nodeType==1&&n!=elem)r.push(n);}return r;}});jQuery.event={add:function(elem,types,handler,data){if(elem.nodeType==3||elem.nodeType==8)return;if(jQuery.browser.msie&&elem.setInterval)elem=window;if(!handler.guid)handler.guid=this.guid++;if(data!=undefined){var fn=handler;handler=this.proxy(fn,function(){return fn.apply(this,arguments);});handler.data=data;}var events=jQuery.data(elem,"events")||jQuery.data(elem,"events",{}),handle=jQuery.data(elem,"handle")||jQuery.data(elem,"handle",function(){if(typeof jQuery!="undefined"&&!jQuery.event.triggered)return jQuery.event.handle.apply(arguments.callee.elem,arguments);});handle.elem=elem;jQuery.each(types.split(/\s+/),function(index,type){var parts=type.split(".");type=parts[0];handler.type=parts[1];var handlers=events[type];if(!handlers){handlers=events[type]={};if(!jQuery.event.special[type]||jQuery.event.special[type].setup.call(elem)===false){if(elem.addEventListener)elem.addEventListener(type,handle,false);else if(elem.attachEvent)elem.attachEvent("on"+type,handle);}}handlers[handler.guid]=handler;jQuery.event.global[type]=true;});elem=null;},guid:1,global:{},remove:function(elem,types,handler){if(elem.nodeType==3||elem.nodeType==8)return;var events=jQuery.data(elem,"events"),ret,index;if(events){if(types==undefined||(typeof types=="string"&&types.charAt(0)=="."))for(var type in events)this.remove(elem,type+(types||""));else{if(types.type){handler=types.handler;types=types.type;}jQuery.each(types.split(/\s+/),function(index,type){var parts=type.split(".");type=parts[0];if(events[type]){if(handler)delete events[type][handler.guid];else +for(handler in events[type])if(!parts[1]||events[type][handler].type==parts[1])delete events[type][handler];for(ret in events[type])break;if(!ret){if(!jQuery.event.special[type]||jQuery.event.special[type].teardown.call(elem)===false){if(elem.removeEventListener)elem.removeEventListener(type,jQuery.data(elem,"handle"),false);else if(elem.detachEvent)elem.detachEvent("on"+type,jQuery.data(elem,"handle"));}ret=null;delete events[type];}}});}for(ret in events)break;if(!ret){var handle=jQuery.data(elem,"handle");if(handle)handle.elem=null;jQuery.removeData(elem,"events");jQuery.removeData(elem,"handle");}}},trigger:function(type,data,elem,donative,extra){data=jQuery.makeArray(data);if(type.indexOf("!")>=0){type=type.slice(0,-1);var exclusive=true;}if(!elem){if(this.global[type])jQuery("*").add([window,document]).trigger(type,data);}else{if(elem.nodeType==3||elem.nodeType==8)return undefined;var val,ret,fn=jQuery.isFunction(elem[type]||null),event=!data[0]||!data[0].preventDefault;if(event){data.unshift({type:type,target:elem,preventDefault:function(){},stopPropagation:function(){},timeStamp:now()});data[0][expando]=true;}data[0].type=type;if(exclusive)data[0].exclusive=true;var handle=jQuery.data(elem,"handle");if(handle)val=handle.apply(elem,data);if((!fn||(jQuery.nodeName(elem,'a')&&type=="click"))&&elem["on"+type]&&elem["on"+type].apply(elem,data)===false)val=false;if(event)data.shift();if(extra&&jQuery.isFunction(extra)){ret=extra.apply(elem,val==null?data:data.concat(val));if(ret!==undefined)val=ret;}if(fn&&donative!==false&&val!==false&&!(jQuery.nodeName(elem,'a')&&type=="click")){this.triggered=true;try{elem[type]();}catch(e){}}this.triggered=false;}return val;},handle:function(event){var val,ret,namespace,all,handlers;event=arguments[0]=jQuery.event.fix(event||window.event);namespace=event.type.split(".");event.type=namespace[0];namespace=namespace[1];all=!namespace&&!event.exclusive;handlers=(jQuery.data(this,"events")||{})[event.type];for(var j in handlers){var handler=handlers[j];if(all||handler.type==namespace){event.handler=handler;event.data=handler.data;ret=handler.apply(this,arguments);if(val!==false)val=ret;if(ret===false){event.preventDefault();event.stopPropagation();}}}return val;},fix:function(event){if(event[expando]==true)return event;var originalEvent=event;event={originalEvent:originalEvent};var props="altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target timeStamp toElement type view wheelDelta which".split(" ");for(var i=props.length;i;i--)event[props[i]]=originalEvent[props[i]];event[expando]=true;event.preventDefault=function(){if(originalEvent.preventDefault)originalEvent.preventDefault();originalEvent.returnValue=false;};event.stopPropagation=function(){if(originalEvent.stopPropagation)originalEvent.stopPropagation();originalEvent.cancelBubble=true;};event.timeStamp=event.timeStamp||now();if(!event.target)event.target=event.srcElement||document;if(event.target.nodeType==3)event.target=event.target.parentNode;if(!event.relatedTarget&&event.fromElement)event.relatedTarget=event.fromElement==event.target?event.toElement:event.fromElement;if(event.pageX==null&&event.clientX!=null){var doc=document.documentElement,body=document.body;event.pageX=event.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc.clientLeft||0);event.pageY=event.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc.clientTop||0);}if(!event.which&&((event.charCode||event.charCode===0)?event.charCode:event.keyCode))event.which=event.charCode||event.keyCode;if(!event.metaKey&&event.ctrlKey)event.metaKey=event.ctrlKey;if(!event.which&&event.button)event.which=(event.button&1?1:(event.button&2?3:(event.button&4?2:0)));return event;},proxy:function(fn,proxy){proxy.guid=fn.guid=fn.guid||proxy.guid||this.guid++;return proxy;},special:{ready:{setup:function(){bindReady();return;},teardown:function(){return;}},mouseenter:{setup:function(){if(jQuery.browser.msie)return false;jQuery(this).bind("mouseover",jQuery.event.special.mouseenter.handler);return true;},teardown:function(){if(jQuery.browser.msie)return false;jQuery(this).unbind("mouseover",jQuery.event.special.mouseenter.handler);return true;},handler:function(event){if(withinElement(event,this))return true;event.type="mouseenter";return jQuery.event.handle.apply(this,arguments);}},mouseleave:{setup:function(){if(jQuery.browser.msie)return false;jQuery(this).bind("mouseout",jQuery.event.special.mouseleave.handler);return true;},teardown:function(){if(jQuery.browser.msie)return false;jQuery(this).unbind("mouseout",jQuery.event.special.mouseleave.handler);return true;},handler:function(event){if(withinElement(event,this))return true;event.type="mouseleave";return jQuery.event.handle.apply(this,arguments);}}}};jQuery.fn.extend({bind:function(type,data,fn){return type=="unload"?this.one(type,data,fn):this.each(function(){jQuery.event.add(this,type,fn||data,fn&&data);});},one:function(type,data,fn){var one=jQuery.event.proxy(fn||data,function(event){jQuery(this).unbind(event,one);return(fn||data).apply(this,arguments);});return this.each(function(){jQuery.event.add(this,type,one,fn&&data);});},unbind:function(type,fn){return this.each(function(){jQuery.event.remove(this,type,fn);});},trigger:function(type,data,fn){return this.each(function(){jQuery.event.trigger(type,data,this,true,fn);});},triggerHandler:function(type,data,fn){return this[0]&&jQuery.event.trigger(type,data,this[0],false,fn);},toggle:function(fn){var args=arguments,i=1;while(i=0){var selector=url.slice(off,url.length);url=url.slice(0,off);}callback=callback||function(){};var type="GET";if(params)if(jQuery.isFunction(params)){callback=params;params=null;}else{params=jQuery.param(params);type="POST";}var self=this;jQuery.ajax({url:url,type:type,dataType:"html",data:params,complete:function(res,status){if(status=="success"||status=="notmodified")self.html(selector?jQuery("
").append(res.responseText.replace(//g,"")).find(selector):res.responseText);self.each(callback,[res.responseText,status,res]);}});return this;},serialize:function(){return jQuery.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return jQuery.nodeName(this,"form")?jQuery.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type));}).map(function(i,elem){var val=jQuery(this).val();return val==null?null:val.constructor==Array?jQuery.map(val,function(val,i){return{name:elem.name,value:val};}):{name:elem.name,value:val};}).get();}});jQuery.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(i,o){jQuery.fn[o]=function(f){return this.bind(o,f);};});var jsc=now();jQuery.extend({get:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data=null;}return jQuery.ajax({type:"GET",url:url,data:data,success:callback,dataType:type});},getScript:function(url,callback){return jQuery.get(url,null,callback,"script");},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json");},post:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data={};}return jQuery.ajax({type:"POST",url:url,data:data,success:callback,dataType:type});},ajaxSetup:function(settings){jQuery.extend(jQuery.ajaxSettings,settings);},ajaxSettings:{url:location.href,global:true,type:"GET",timeout:0,contentType:"application/x-www-form-urlencoded",processData:true,async:true,data:null,username:null,password:null,accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(s){s=jQuery.extend(true,s,jQuery.extend(true,{},jQuery.ajaxSettings,s));var jsonp,jsre=/=\?(&|$)/g,status,data,type=s.type.toUpperCase();if(s.data&&s.processData&&typeof s.data!="string")s.data=jQuery.param(s.data);if(s.dataType=="jsonp"){if(type=="GET"){if(!s.url.match(jsre))s.url+=(s.url.match(/\?/)?"&":"?")+(s.jsonp||"callback")+"=?";}else if(!s.data||!s.data.match(jsre))s.data=(s.data?s.data+"&":"")+(s.jsonp||"callback")+"=?";s.dataType="json";}if(s.dataType=="json"&&(s.data&&s.data.match(jsre)||s.url.match(jsre))){jsonp="jsonp"+jsc++;if(s.data)s.data=(s.data+"").replace(jsre,"="+jsonp+"$1");s.url=s.url.replace(jsre,"="+jsonp+"$1");s.dataType="script";window[jsonp]=function(tmp){data=tmp;success();complete();window[jsonp]=undefined;try{delete window[jsonp];}catch(e){}if(head)head.removeChild(script);};}if(s.dataType=="script"&&s.cache==null)s.cache=false;if(s.cache===false&&type=="GET"){var ts=now();var ret=s.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+ts+"$2");s.url=ret+((ret==s.url)?(s.url.match(/\?/)?"&":"?")+"_="+ts:"");}if(s.data&&type=="GET"){s.url+=(s.url.match(/\?/)?"&":"?")+s.data;s.data=null;}if(s.global&&!jQuery.active++)jQuery.event.trigger("ajaxStart");var remote=/^(?:\w+:)?\/\/([^\/?#]+)/;if(s.dataType=="script"&&type=="GET"&&remote.test(s.url)&&remote.exec(s.url)[1]!=location.host){var head=document.getElementsByTagName("head")[0];var script=document.createElement("script");script.src=s.url;if(s.scriptCharset)script.charset=s.scriptCharset;if(!jsonp){var done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){done=true;success();complete();head.removeChild(script);}};}head.appendChild(script);return undefined;}var requestDone=false;var xhr=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(s.username)xhr.open(type,s.url,s.async,s.username,s.password);else +xhr.open(type,s.url,s.async);try{if(s.data)xhr.setRequestHeader("Content-Type",s.contentType);if(s.ifModified)xhr.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT");xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");xhr.setRequestHeader("Accept",s.dataType&&s.accepts[s.dataType]?s.accepts[s.dataType]+", */*":s.accepts._default);}catch(e){}if(s.beforeSend&&s.beforeSend(xhr,s)===false){s.global&&jQuery.active--;xhr.abort();return false;}if(s.global)jQuery.event.trigger("ajaxSend",[xhr,s]);var onreadystatechange=function(isTimeout){if(!requestDone&&xhr&&(xhr.readyState==4||isTimeout=="timeout")){requestDone=true;if(ival){clearInterval(ival);ival=null;}status=isTimeout=="timeout"&&"timeout"||!jQuery.httpSuccess(xhr)&&"error"||s.ifModified&&jQuery.httpNotModified(xhr,s.url)&&"notmodified"||"success";if(status=="success"){try{data=jQuery.httpData(xhr,s.dataType,s.dataFilter);}catch(e){status="parsererror";}}if(status=="success"){var modRes;try{modRes=xhr.getResponseHeader("Last-Modified");}catch(e){}if(s.ifModified&&modRes)jQuery.lastModified[s.url]=modRes;if(!jsonp)success();}else +jQuery.handleError(s,xhr,status);complete();if(s.async)xhr=null;}};if(s.async){var ival=setInterval(onreadystatechange,13);if(s.timeout>0)setTimeout(function(){if(xhr){xhr.abort();if(!requestDone)onreadystatechange("timeout");}},s.timeout);}try{xhr.send(s.data);}catch(e){jQuery.handleError(s,xhr,null,e);}if(!s.async)onreadystatechange();function success(){if(s.success)s.success(data,status);if(s.global)jQuery.event.trigger("ajaxSuccess",[xhr,s]);}function complete(){if(s.complete)s.complete(xhr,status);if(s.global)jQuery.event.trigger("ajaxComplete",[xhr,s]);if(s.global&&!--jQuery.active)jQuery.event.trigger("ajaxStop");}return xhr;},handleError:function(s,xhr,status,e){if(s.error)s.error(xhr,status,e);if(s.global)jQuery.event.trigger("ajaxError",[xhr,s,e]);},active:0,httpSuccess:function(xhr){try{return!xhr.status&&location.protocol=="file:"||(xhr.status>=200&&xhr.status<300)||xhr.status==304||xhr.status==1223||jQuery.browser.safari&&xhr.status==undefined;}catch(e){}return false;},httpNotModified:function(xhr,url){try{var xhrRes=xhr.getResponseHeader("Last-Modified");return xhr.status==304||xhrRes==jQuery.lastModified[url]||jQuery.browser.safari&&xhr.status==undefined;}catch(e){}return false;},httpData:function(xhr,type,filter){var ct=xhr.getResponseHeader("content-type"),xml=type=="xml"||!type&&ct&&ct.indexOf("xml")>=0,data=xml?xhr.responseXML:xhr.responseText;if(xml&&data.documentElement.tagName=="parsererror")throw"parsererror";if(filter)data=filter(data,type);if(type=="script")jQuery.globalEval(data);if(type=="json")data=eval("("+data+")");return data;},param:function(a){var s=[];if(a.constructor==Array||a.jquery)jQuery.each(a,function(){s.push(encodeURIComponent(this.name)+"="+encodeURIComponent(this.value));});else +for(var j in a)if(a[j]&&a[j].constructor==Array)jQuery.each(a[j],function(){s.push(encodeURIComponent(j)+"="+encodeURIComponent(this));});else +s.push(encodeURIComponent(j)+"="+encodeURIComponent(jQuery.isFunction(a[j])?a[j]():a[j]));return s.join("&").replace(/%20/g,"+");}});jQuery.fn.extend({show:function(speed,callback){return speed?this.animate({height:"show",width:"show",opacity:"show"},speed,callback):this.filter(":hidden").each(function(){this.style.display=this.oldblock||"";if(jQuery.css(this,"display")=="none"){var elem=jQuery("<"+this.tagName+" />").appendTo("body");this.style.display=elem.css("display");if(this.style.display=="none")this.style.display="block";elem.remove();}}).end();},hide:function(speed,callback){return speed?this.animate({height:"hide",width:"hide",opacity:"hide"},speed,callback):this.filter(":visible").each(function(){this.oldblock=this.oldblock||jQuery.css(this,"display");this.style.display="none";}).end();},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2){return jQuery.isFunction(fn)&&jQuery.isFunction(fn2)?this._toggle.apply(this,arguments):fn?this.animate({height:"toggle",width:"toggle",opacity:"toggle"},fn,fn2):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]();});},slideDown:function(speed,callback){return this.animate({height:"show"},speed,callback);},slideUp:function(speed,callback){return this.animate({height:"hide"},speed,callback);},slideToggle:function(speed,callback){return this.animate({height:"toggle"},speed,callback);},fadeIn:function(speed,callback){return this.animate({opacity:"show"},speed,callback);},fadeOut:function(speed,callback){return this.animate({opacity:"hide"},speed,callback);},fadeTo:function(speed,to,callback){return this.animate({opacity:to},speed,callback);},animate:function(prop,speed,easing,callback){var optall=jQuery.speed(speed,easing,callback);return this[optall.queue===false?"each":"queue"](function(){if(this.nodeType!=1)return false;var opt=jQuery.extend({},optall),p,hidden=jQuery(this).is(":hidden"),self=this;for(p in prop){if(prop[p]=="hide"&&hidden||prop[p]=="show"&&!hidden)return opt.complete.call(this);if(p=="height"||p=="width"){opt.display=jQuery.css(this,"display");opt.overflow=this.style.overflow;}}if(opt.overflow!=null)this.style.overflow="hidden";opt.curAnim=jQuery.extend({},prop);jQuery.each(prop,function(name,val){var e=new jQuery.fx(self,opt,name);if(/toggle|show|hide/.test(val))e[val=="toggle"?hidden?"show":"hide":val](prop);else{var parts=val.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),start=e.cur(true)||0;if(parts){var end=parseFloat(parts[2]),unit=parts[3]||"px";if(unit!="px"){self.style[name]=(end||1)+unit;start=((end||1)/e.cur(true))*start;self.style[name]=start+unit;}if(parts[1])end=((parts[1]=="-="?-1:1)*end)+start;e.custom(start,end,unit);}else +e.custom(start,val,"");}});return true;});},queue:function(type,fn){if(jQuery.isFunction(type)||(type&&type.constructor==Array)){fn=type;type="fx";}if(!type||(typeof type=="string"&&!fn))return queue(this[0],type);return this.each(function(){if(fn.constructor==Array)queue(this,type,fn);else{queue(this,type).push(fn);if(queue(this,type).length==1)fn.call(this);}});},stop:function(clearQueue,gotoEnd){var timers=jQuery.timers;if(clearQueue)this.queue([]);this.each(function(){for(var i=timers.length-1;i>=0;i--)if(timers[i].elem==this){if(gotoEnd)timers[i](true);timers.splice(i,1);}});if(!gotoEnd)this.dequeue();return this;}});var queue=function(elem,type,array){if(elem){type=type||"fx";var q=jQuery.data(elem,type+"queue");if(!q||array)q=jQuery.data(elem,type+"queue",jQuery.makeArray(array));}return q;};jQuery.fn.dequeue=function(type){type=type||"fx";return this.each(function(){var q=queue(this,type);q.shift();if(q.length)q[0].call(this);});};jQuery.extend({speed:function(speed,easing,fn){var opt=speed&&speed.constructor==Object?speed:{complete:fn||!fn&&easing||jQuery.isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&easing.constructor!=Function&&easing};opt.duration=(opt.duration&&opt.duration.constructor==Number?opt.duration:jQuery.fx.speeds[opt.duration])||jQuery.fx.speeds.def;opt.old=opt.complete;opt.complete=function(){if(opt.queue!==false)jQuery(this).dequeue();if(jQuery.isFunction(opt.old))opt.old.call(this);};return opt;},easing:{linear:function(p,n,firstNum,diff){return firstNum+diff*p;},swing:function(p,n,firstNum,diff){return((-Math.cos(p*Math.PI)/2)+0.5)*diff+firstNum;}},timers:[],timerId:null,fx:function(elem,options,prop){this.options=options;this.elem=elem;this.prop=prop;if(!options.orig)options.orig={};}});jQuery.fx.prototype={update:function(){if(this.options.step)this.options.step.call(this.elem,this.now,this);(jQuery.fx.step[this.prop]||jQuery.fx.step._default)(this);if(this.prop=="height"||this.prop=="width")this.elem.style.display="block";},cur:function(force){if(this.elem[this.prop]!=null&&this.elem.style[this.prop]==null)return this.elem[this.prop];var r=parseFloat(jQuery.css(this.elem,this.prop,force));return r&&r>-10000?r:parseFloat(jQuery.curCSS(this.elem,this.prop))||0;},custom:function(from,to,unit){this.startTime=now();this.start=from;this.end=to;this.unit=unit||this.unit||"px";this.now=this.start;this.pos=this.state=0;this.update();var self=this;function t(gotoEnd){return self.step(gotoEnd);}t.elem=this.elem;jQuery.timers.push(t);if(jQuery.timerId==null){jQuery.timerId=setInterval(function(){var timers=jQuery.timers;for(var i=0;ithis.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var done=true;for(var i in this.options.curAnim)if(this.options.curAnim[i]!==true)done=false;if(done){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(jQuery.css(this.elem,"display")=="none")this.elem.style.display="block";}if(this.options.hide)this.elem.style.display="none";if(this.options.hide||this.options.show)for(var p in this.options.curAnim)jQuery.attr(this.elem.style,p,this.options.orig[p]);}if(done)this.options.complete.call(this.elem);return false;}else{var n=t-this.startTime;this.state=n/this.options.duration;this.pos=jQuery.easing[this.options.easing||(jQuery.easing.swing?"swing":"linear")](this.state,n,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update();}return true;}};jQuery.extend(jQuery.fx,{speeds:{slow:600,fast:200,def:400},step:{scrollLeft:function(fx){fx.elem.scrollLeft=fx.now;},scrollTop:function(fx){fx.elem.scrollTop=fx.now;},opacity:function(fx){jQuery.attr(fx.elem.style,"opacity",fx.now);},_default:function(fx){fx.elem.style[fx.prop]=fx.now+fx.unit;}}});jQuery.fn.offset=function(){var left=0,top=0,elem=this[0],results;if(elem)with(jQuery.browser){var parent=elem.parentNode,offsetChild=elem,offsetParent=elem.offsetParent,doc=elem.ownerDocument,safari2=safari&&parseInt(version)<522&&!/adobeair/i.test(userAgent),css=jQuery.curCSS,fixed=css(elem,"position")=="fixed";if(elem.getBoundingClientRect){var box=elem.getBoundingClientRect();add(box.left+Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),box.top+Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));add(-doc.documentElement.clientLeft,-doc.documentElement.clientTop);}else{add(elem.offsetLeft,elem.offsetTop);while(offsetParent){add(offsetParent.offsetLeft,offsetParent.offsetTop);if(mozilla&&!/^t(able|d|h)$/i.test(offsetParent.tagName)||safari&&!safari2)border(offsetParent);if(!fixed&&css(offsetParent,"position")=="fixed")fixed=true;offsetChild=/^body$/i.test(offsetParent.tagName)?offsetChild:offsetParent;offsetParent=offsetParent.offsetParent;}while(parent&&parent.tagName&&!/^body|html$/i.test(parent.tagName)){if(!/^inline|table.*$/i.test(css(parent,"display")))add(-parent.scrollLeft,-parent.scrollTop);if(mozilla&&css(parent,"overflow")!="visible")border(parent);parent=parent.parentNode;}if((safari2&&(fixed||css(offsetChild,"position")=="absolute"))||(mozilla&&css(offsetChild,"position")!="absolute"))add(-doc.body.offsetLeft,-doc.body.offsetTop);if(fixed)add(Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));}results={top:top,left:left};}function border(elem){add(jQuery.curCSS(elem,"borderLeftWidth",true),jQuery.curCSS(elem,"borderTopWidth",true));}function add(l,t){left+=parseInt(l,10)||0;top+=parseInt(t,10)||0;}return results;};jQuery.fn.extend({position:function(){var left=0,top=0,results;if(this[0]){var offsetParent=this.offsetParent(),offset=this.offset(),parentOffset=/^body|html$/i.test(offsetParent[0].tagName)?{top:0,left:0}:offsetParent.offset();offset.top-=num(this,'marginTop');offset.left-=num(this,'marginLeft');parentOffset.top+=num(offsetParent,'borderTopWidth');parentOffset.left+=num(offsetParent,'borderLeftWidth');results={top:offset.top-parentOffset.top,left:offset.left-parentOffset.left};}return results;},offsetParent:function(){var offsetParent=this[0].offsetParent;while(offsetParent&&(!/^body|html$/i.test(offsetParent.tagName)&&jQuery.css(offsetParent,'position')=='static'))offsetParent=offsetParent.offsetParent;return jQuery(offsetParent);}});jQuery.each(['Left','Top'],function(i,name){var method='scroll'+name;jQuery.fn[method]=function(val){if(!this[0])return;return val!=undefined?this.each(function(){this==window||this==document?window.scrollTo(!i?val:jQuery(window).scrollLeft(),i?val:jQuery(window).scrollTop()):this[method]=val;}):this[0]==window||this[0]==document?self[i?'pageYOffset':'pageXOffset']||jQuery.boxModel&&document.documentElement[method]||document.body[method]:this[0][method];};});jQuery.each(["Height","Width"],function(i,name){var tl=i?"Left":"Top",br=i?"Right":"Bottom";jQuery.fn["inner"+name]=function(){return this[name.toLowerCase()]()+num(this,"padding"+tl)+num(this,"padding"+br);};jQuery.fn["outer"+name]=function(margin){return this["inner"+name]()+num(this,"border"+tl+"Width")+num(this,"border"+br+"Width")+(margin?num(this,"margin"+tl)+num(this,"margin"+br):0);};});})(); \ No newline at end of file diff --git a/.gems/doc/json-1.8.1/rdoc/js/quicksearch.js b/.gems/doc/json-1.8.1/rdoc/js/quicksearch.js new file mode 100644 index 0000000..70dbd33 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/js/quicksearch.js @@ -0,0 +1,114 @@ +/** + * + * JQuery QuickSearch - Hook up a form field to hide non-matching elements. + * $Id: quicksearch.js 53 2009-01-07 02:52:03Z deveiant $ + * + * Author: Michael Granger + * + */ +jQuery.fn.quicksearch = function( target, searchElems, options ) { + // console.debug( "Quicksearch fn" ); + + var settings = { + delay: 250, + clearButton: false, + highlightMatches: false, + focusOnLoad: false, + noSearchResultsIndicator: null + }; + if ( options ) $.extend( settings, options ); + + return jQuery(this).each( function() { + // console.debug( "Creating a new quicksearch on %o for %o", this, searchElems ); + new jQuery.quicksearch( this, searchElems, settings ); + }); +}; + + +jQuery.quicksearch = function( searchBox, searchElems, settings ) { + var timeout; + var boxdiv = $(searchBox).parents('div').eq(0); + + function init() { + setupKeyEventHandlers(); + focusOnLoad(); + }; + + function setupKeyEventHandlers() { + // console.debug( "Hooking up the 'keypress' event to %o", searchBox ); + $(searchBox). + unbind( 'keyup' ). + keyup( function(e) { return onSearchKey( e.keyCode ); }); + $(searchBox). + unbind( 'keypress' ). + keypress( function(e) { + switch( e.which ) { + // Execute the search on Enter, Tab, or Newline + case 9: + case 13: + case 10: + clearTimeout( timeout ); + e.preventDefault(); + doQuickSearch(); + break; + + // Allow backspace + case 8: + return true; + break; + + // Only allow valid search characters + default: + return validQSChar( e.charCode ); + } + }); + }; + + function focusOnLoad() { + if ( !settings.focusOnLoad ) return false; + $(searchBox).focus(); + }; + + function onSearchKey ( code ) { + clearTimeout( timeout ); + // console.debug( "...scheduling search." ); + timeout = setTimeout( doQuickSearch, settings.delay ); + }; + + function validQSChar( code ) { + var c = String.fromCharCode( code ); + return ( + (c == ':') || + (c >= 'a' && c <= 'z') || + (c >= 'A' && c <= 'Z') + ); + }; + + function doQuickSearch() { + var searchText = searchBox.value; + var pat = new RegExp( searchText, "im" ); + var shownCount = 0; + + if ( settings.noSearchResultsIndicator ) { + $('#' + settings.noSearchResultsIndicator).hide(); + } + + // All elements start out hidden + $(searchElems).each( function(index) { + var str = $(this).text(); + + if ( pat.test(str) ) { + shownCount += 1; + $(this).fadeIn(); + } else { + $(this).hide(); + } + }); + + if ( shownCount == 0 && settings.noSearchResultsIndicator ) { + $('#' + settings.noSearchResultsIndicator).slideDown(); + } + }; + + init(); +}; diff --git a/.gems/doc/json-1.8.1/rdoc/js/thickbox-compressed.js b/.gems/doc/json-1.8.1/rdoc/js/thickbox-compressed.js new file mode 100644 index 0000000..3a3fdae --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/js/thickbox-compressed.js @@ -0,0 +1,10 @@ +/* + * Thickbox 3 - One Box To Rule Them All. + * By Cody Lindley (http://www.codylindley.com) + * Copyright (c) 2007 cody lindley + * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php +*/ + +var tb_pathToImage = "../images/loadingAnimation.gif"; + +eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$(o).2S(9(){1u(\'a.18, 3n.18, 3i.18\');1w=1p 1t();1w.L=2H});9 1u(b){$(b).s(9(){6 t=X.Q||X.1v||M;6 a=X.u||X.23;6 g=X.1N||P;19(t,a,g);X.2E();H P})}9 19(d,f,g){3m{3(2t o.v.J.2i==="2g"){$("v","11").r({A:"28%",z:"28%"});$("11").r("22","2Z");3(o.1Y("1F")===M){$("v").q("<4 5=\'B\'><4 5=\'8\'>");$("#B").s(G)}}n{3(o.1Y("B")===M){$("v").q("<4 5=\'B\'><4 5=\'8\'>");$("#B").s(G)}}3(1K()){$("#B").1J("2B")}n{$("#B").1J("2z")}3(d===M){d=""}$("v").q("<4 5=\'K\'><1I L=\'"+1w.L+"\' />");$(\'#K\').2y();6 h;3(f.O("?")!==-1){h=f.3l(0,f.O("?"))}n{h=f}6 i=/\\.2s$|\\.2q$|\\.2m$|\\.2l$|\\.2k$/;6 j=h.1C().2h(i);3(j==\'.2s\'||j==\'.2q\'||j==\'.2m\'||j==\'.2l\'||j==\'.2k\'){1D="";1G="";14="";1z="";1x="";R="";1n="";1r=P;3(g){E=$("a[@1N="+g+"]").36();25(D=0;((D&1d;&1d;2T &2R;"}n{1D=E[D].Q;1G=E[D].u;14="<1e 5=\'1U\'>&1d;&1d;&2O; 2N"}}n{1r=1b;1n="1t "+(D+1)+" 2L "+(E.1c)}}}S=1p 1t();S.1g=9(){S.1g=M;6 a=2x();6 x=a[0]-1M;6 y=a[1]-1M;6 b=S.z;6 c=S.A;3(b>x){c=c*(x/b);b=x;3(c>y){b=b*(y/c);c=y}}n 3(c>y){b=b*(y/c);c=y;3(b>x){c=c*(x/b);b=x}}13=b+30;1a=c+2G;$("#8").q("<1I 5=\'2F\' L=\'"+f+"\' z=\'"+b+"\' A=\'"+c+"\' 23=\'"+d+"\'/>"+"<4 5=\'2D\'>"+d+"<4 5=\'2C\'>"+1n+14+R+"<4 5=\'2A\'>1l 1k 1j 1s");$("#Z").s(G);3(!(14==="")){9 12(){3($(o).N("s",12)){$(o).N("s",12)}$("#8").C();$("v").q("<4 5=\'8\'>");19(1D,1G,g);H P}$("#1U").s(12)}3(!(R==="")){9 1i(){$("#8").C();$("v").q("<4 5=\'8\'>");19(1z,1x,g);H P}$("#1X").s(1i)}o.1h=9(e){3(e==M){I=2w.2v}n{I=e.2u}3(I==27){G()}n 3(I==3k){3(!(R=="")){o.1h="";1i()}}n 3(I==3j){3(!(14=="")){o.1h="";12()}}};16();$("#K").C();$("#1L").s(G);$("#8").r({Y:"T"})};S.L=f}n{6 l=f.2r(/^[^\\?]+\\??/,\'\');6 m=2p(l);13=(m[\'z\']*1)+30||3h;1a=(m[\'A\']*1)+3g||3f;W=13-30;V=1a-3e;3(f.O(\'2j\')!=-1){1E=f.1B(\'3d\');$("#15").C();3(m[\'1A\']!="1b"){$("#8").q("<4 5=\'2f\'><4 5=\'1H\'>"+d+"<4 5=\'2e\'>1l 1k 1j 1s ")}n{$("#B").N();$("#8").q(" ")}}n{3($("#8").r("Y")!="T"){3(m[\'1A\']!="1b"){$("#8").q("<4 5=\'2f\'><4 5=\'1H\'>"+d+"<4 5=\'2e\'>1l 1k 1j 1s<4 5=\'F\' J=\'z:"+W+"p;A:"+V+"p\'>")}n{$("#B").N();$("#8").q("<4 5=\'F\' 3c=\'3b\' J=\'z:"+W+"p;A:"+V+"p;\'>")}}n{$("#F")[0].J.z=W+"p";$("#F")[0].J.A=V+"p";$("#F")[0].3a=0;$("#1H").11(d)}}$("#Z").s(G);3(f.O(\'37\')!=-1){$("#F").q($(\'#\'+m[\'26\']).1T());$("#8").24(9(){$(\'#\'+m[\'26\']).q($("#F").1T())});16();$("#K").C();$("#8").r({Y:"T"})}n 3(f.O(\'2j\')!=-1){16();3($.1q.35){$("#K").C();$("#8").r({Y:"T"})}}n{$("#F").34(f+="&1y="+(1p 33().32()),9(){16();$("#K").C();1u("#F a.18");$("#8").r({Y:"T"})})}}3(!m[\'1A\']){o.21=9(e){3(e==M){I=2w.2v}n{I=e.2u}3(I==27){G()}}}}31(e){}}9 1m(){$("#K").C();$("#8").r({Y:"T"})}9 G(){$("#2Y").N("s");$("#Z").N("s");$("#8").2X("2W",9(){$(\'#8,#B,#1F\').2V("24").N().C()});$("#K").C();3(2t o.v.J.2i=="2g"){$("v","11").r({A:"1Z",z:"1Z"});$("11").r("22","")}o.1h="";o.21="";H P}9 16(){$("#8").r({2U:\'-\'+20((13/2),10)+\'p\',z:13+\'p\'});3(!(1V.1q.2Q&&1V.1q.2P<7)){$("#8").r({38:\'-\'+20((1a/2),10)+\'p\'})}}9 2p(a){6 b={};3(!a){H b}6 c=a.1B(/[;&]/);25(6 i=0;i + + + + + + + File: bigdecimal.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • json
  • + +
  • bigdecimal
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/add/complex_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/add/complex_rb.html new file mode 100644 index 0000000..8ee60f1 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/add/complex_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: complex.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • json
  • + +
  • complex
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/add/core_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/add/core_rb.html new file mode 100644 index 0000000..03cb0df --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/add/core_rb.html @@ -0,0 +1,71 @@ + + + + + + + + File: core.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • json/add/date
  • + +
  • json/add/date_time
  • + +
  • json/add/exception
  • + +
  • json/add/range
  • + +
  • json/add/regexp
  • + +
  • json/add/struct
  • + +
  • json/add/symbol
  • + +
  • json/add/time
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +

This file requires the implementations of ruby core’s custom objects for +serialisation/deserialisation.

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/add/date_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/add/date_rb.html new file mode 100644 index 0000000..79ac08f --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/add/date_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: date.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • json
  • + +
  • date
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/add/date_time_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/add/date_time_rb.html new file mode 100644 index 0000000..73141bb --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/add/date_time_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: date_time.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • json
  • + +
  • date
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/add/exception_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/add/exception_rb.html new file mode 100644 index 0000000..57a3159 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/add/exception_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: exception.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • json
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/add/ostruct_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/add/ostruct_rb.html new file mode 100644 index 0000000..24274b6 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/add/ostruct_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: ostruct.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • json
  • + +
  • ostruct
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/add/range_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/add/range_rb.html new file mode 100644 index 0000000..2e0d7d0 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/add/range_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: range.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • json
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/add/rational_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/add/rational_rb.html new file mode 100644 index 0000000..8bafcdf --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/add/rational_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: rational.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • json
  • + +
  • rational
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/add/regexp_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/add/regexp_rb.html new file mode 100644 index 0000000..b62711c --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/add/regexp_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: regexp.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • json
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/add/struct_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/add/struct_rb.html new file mode 100644 index 0000000..a31843e --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/add/struct_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: struct.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • json
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/add/symbol_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/add/symbol_rb.html new file mode 100644 index 0000000..8c39fe6 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/add/symbol_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: symbol.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • json
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/add/time_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/add/time_rb.html new file mode 100644 index 0000000..5397697 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/add/time_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: time.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • json
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/common_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/common_rb.html new file mode 100644 index 0000000..047c004 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/common_rb.html @@ -0,0 +1,58 @@ + + + + + + + + File: common.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • json/version
  • + +
  • json/generic_object
  • + +
  • iconv
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/ext_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/ext_rb.html new file mode 100644 index 0000000..f1e52cb --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/ext_rb.html @@ -0,0 +1,60 @@ + + + + + + + + File: ext.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • simplecov
  • + +
  • json/common
  • + +
  • json/ext/parser
  • + +
  • json/ext/generator
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/generic_object_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/generic_object_rb.html new file mode 100644 index 0000000..d80ddac --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/generic_object_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: generic_object.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • ostruct
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/pure/generator_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/pure/generator_rb.html new file mode 100644 index 0000000..0ddc091 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/pure/generator_rb.html @@ -0,0 +1,52 @@ + + + + + + + + File: generator.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/pure/parser_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/pure/parser_rb.html new file mode 100644 index 0000000..6789c5e --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/pure/parser_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: parser.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • strscan
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/pure_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/pure_rb.html new file mode 100644 index 0000000..697c454 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/pure_rb.html @@ -0,0 +1,60 @@ + + + + + + + + File: pure.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • simplecov
  • + +
  • json/common
  • + +
  • json/pure/parser
  • + +
  • json/pure/generator
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json/version_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json/version_rb.html new file mode 100644 index 0000000..3562b71 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json/version_rb.html @@ -0,0 +1,52 @@ + + + + + + + + File: version.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/lib/json_rb.html b/.gems/doc/json-1.8.1/rdoc/lib/json_rb.html new file mode 100644 index 0000000..1b9d813 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/lib/json_rb.html @@ -0,0 +1,60 @@ + + + + + + + + File: json.rb [json-1.8.1 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:26:40 +0200
+ + +
Requires
+
+
    + +
  • json/common
  • + +
  • json/version
  • + +
  • json/ext
  • + +
  • json/pure
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/json-1.8.1/rdoc/rdoc.css b/.gems/doc/json-1.8.1/rdoc/rdoc.css new file mode 100644 index 0000000..ea91421 --- /dev/null +++ b/.gems/doc/json-1.8.1/rdoc/rdoc.css @@ -0,0 +1,763 @@ +/* + * "Darkfish" Rdoc CSS + * $Id: rdoc.css 54 2009-01-27 01:09:48Z deveiant $ + * + * Author: Michael Granger + * + */ + +/* Base Green is: #6C8C22 */ + +*{ padding: 0; margin: 0; } + +body { + background: #efefef; + font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif; +} +body.class, body.module, body.file { + margin-left: 40px; +} +body.file-popup { + font-size: 90%; + margin-left: 0; +} + +h1 { + font-size: 300%; + text-shadow: rgba(135,145,135,0.65) 2px 2px 3px; + color: #6C8C22; +} +h2,h3,h4 { margin-top: 1.5em; } + +:link, +:visited { + color: #6C8C22; + text-decoration: none; +} +:link:hover, +:visited:hover { + border-bottom: 1px dotted #6C8C22; +} + +pre { + background: #ddd; + padding: 0.5em 0; +} + + +/* @group Generic Classes */ + +.initially-hidden { + display: none; +} + +.quicksearch-field { + width: 98%; + background: #ddd; + border: 1px solid #aaa; + height: 1.5em; + -webkit-border-radius: 4px; +} +.quicksearch-field:focus { + background: #f1edba; +} + +.missing-docs { + font-size: 120%; + background: white url(images/wrench_orange.png) no-repeat 4px center; + color: #ccc; + line-height: 2em; + border: 1px solid #d00; + opacity: 1; + padding-left: 20px; + text-indent: 24px; + letter-spacing: 3px; + font-weight: bold; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; +} + +.target-section { + border: 2px solid #dcce90; + border-left-width: 8px; + padding: 0 1em; + background: #fff3c2; +} + +/* @end */ + + +/* @group Index Page, Standalone file pages */ +body.indexpage { + margin: 1em 3em; +} +body.indexpage p, +body.indexpage div, +body.file p { + margin: 1em 0; +} + +.indexpage .rdoc-list p, .file .rdoc-list p { + margin: 0em 0; +} + +.indexpage ol, +.file #documentation ol { + line-height: 160%; +} + +.indexpage ul, +.file #documentation ul { + line-height: 160%; + list-style: none; +} +.indexpage ul :link, +.indexpage ul :visited { + font-size: 16px; +} + +.indexpage li, +.file #documentation li { + padding-left: 20px; +} + +.indexpage ol, +.file #documentation ol { + margin-left: 20px; +} + +.indexpage ol > li, +.file #documentation ol > li { + padding-left: 0; +} + +.indexpage ul > li, +.file #documentation ul > li { + background: url(images/bullet_black.png) no-repeat left 4px; +} +.indexpage li.module { + background: url(images/package.png) no-repeat left 4px; +} +.indexpage li.class { + background: url(images/ruby.png) no-repeat left 4px; +} +.indexpage li.file { + background: url(images/page_white_text.png) no-repeat left 4px; +} +.file li p, +.indexpage li p { + margin: 0 0; +} + +/* @end */ + +/* @group Top-Level Structure */ + +.class #metadata, +.file #metadata, +.module #metadata { + float: left; + width: 260px; +} + +.class #documentation, +.file #documentation, +.module #documentation { + margin: 2em 1em 5em 300px; + min-width: 340px; +} + +.file #metadata { + margin: 0.8em; +} + +#validator-badges { + clear: both; + margin: 1em 1em 2em; +} + +/* @end */ + +/* @group Metadata Section */ +#metadata .section { + background-color: #dedede; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border: 1px solid #aaa; + margin: 0 8px 16px; + font-size: 90%; + overflow: hidden; +} +#metadata h3.section-header { + margin: 0; + padding: 2px 8px; + background: #ccc; + color: #666; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-bottom: 1px solid #aaa; +} +#metadata #home-section h3.section-header { + border-bottom: 0; +} + +#metadata ul, +#metadata dl, +#metadata p { + padding: 8px; + list-style: none; +} + +#file-metadata ul { + padding-left: 28px; + list-style-image: url(images/page_green.png); +} + +dl.svninfo { + color: #666; + margin: 0; +} +dl.svninfo dt { + font-weight: bold; +} + +ul.link-list li { + white-space: nowrap; +} +ul.link-list .type { + font-size: 8px; + text-transform: uppercase; + color: white; + background: #969696; + padding: 2px 4px; + -webkit-border-radius: 5px; +} + +/* @end */ + + +/* @group Project Metadata Section */ +#project-metadata { + margin-top: 3em; +} + +.file #project-metadata { + margin-top: 0em; +} + +#project-metadata .section { + border: 1px solid #aaa; +} +#project-metadata h3.section-header { + border-bottom: 1px solid #aaa; + position: relative; +} +#project-metadata h3.section-header .search-toggle { + position: absolute; + right: 5px; +} + + +#project-metadata form { + color: #777; + background: #ccc; + padding: 8px 8px 16px; + border-bottom: 1px solid #bbb; +} +#project-metadata fieldset { + border: 0; +} + +#no-class-search-results { + margin: 0 auto 1em; + text-align: center; + font-size: 14px; + font-weight: bold; + color: #aaa; +} + +/* @end */ + + +/* @group Documentation Section */ +.description { + font-size: 100%; + color: #333; +} + +.description p { + margin: 1em 0.4em; +} + +.description li p { + margin: 0; +} + +.description ul { + margin-left: 1.5em; +} +.description ul li { + line-height: 1.4em; +} + +.description dl, +#documentation dl { + margin: 8px 1.5em; + border: 1px solid #ccc; +} +.description dl { + font-size: 14px; +} + +.description dt, +#documentation dt { + padding: 2px 4px; + font-weight: bold; + background: #ddd; +} +.description dd, +#documentation dd { + padding: 2px 12px; +} +.description dd + dt, +#documentation dd + dt { + margin-top: 0.7em; +} + +#documentation .section { + font-size: 90%; +} + +#documentation h2.section-header { + margin-top: 2em; + padding: 0.75em 0.5em; + background: #ccc; + color: #333; + font-size: 175%; + border: 1px solid #bbb; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} + +#documentation h3.section-header { + margin-top: 2em; + padding: 0.25em 0.5em; + background-color: #dedede; + color: #333; + font-size: 150%; + border: 1px solid #bbb; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} + +#constants-list > dl, +#attributes-list > dl { + margin: 1em 0 2em; + border: 0; +} +#constants-list > dl dt, +#attributes-list > dl dt { + padding-left: 0; + font-weight: bold; + font-family: Monaco, "Andale Mono"; + background: inherit; +} +#constants-list > dl dt a, +#attributes-list > dl dt a { + color: inherit; +} +#constants-list > dl dd, +#attributes-list > dl dd { + margin: 0 0 1em 0; + padding: 0; + color: #666; +} + +.documentation-section h2 { + position: relative; +} + +.documentation-section h2 a { + position: absolute; + top: 8px; + right: 10px; + font-size: 12px; + color: #9b9877; + visibility: hidden; +} + +.documentation-section h2:hover a { + visibility: visible; +} + +/* @group Method Details */ + +#documentation .method-source-code { + display: none; +} + +#documentation .method-detail { + margin: 0.5em 0; + padding: 0.5em 0; + cursor: pointer; +} +#documentation .method-detail:hover { + background-color: #f1edba; +} +#documentation .method-heading { + position: relative; + padding: 2px 4px 0 20px; + font-size: 125%; + font-weight: bold; + color: #333; + background: url(images/brick.png) no-repeat left bottom; +} +#documentation .method-heading :link, +#documentation .method-heading :visited { + color: inherit; +} +#documentation .method-click-advice { + position: absolute; + top: 2px; + right: 5px; + font-size: 10px; + color: #9b9877; + visibility: hidden; + padding-right: 20px; + line-height: 20px; + background: url(images/zoom.png) no-repeat right top; +} +#documentation .method-detail:hover .method-click-advice { + visibility: visible; +} + +#documentation .method-alias .method-heading { + color: #666; + background: url(images/brick_link.png) no-repeat left bottom; +} + +#documentation .method-description, +#documentation .aliases { + margin: 0 20px; + color: #666; +} + +#documentation .method-description p, +#documentation .aliases p { + line-height: 1.2em; +} + +#documentation .aliases { + padding-top: 4px; + font-style: italic; + cursor: default; +} +#documentation .method-description p { + padding: 0; +} +#documentation .method-description p + p { + margin-bottom: 0.5em; +} +#documentation .method-description ul { + margin-left: 1.5em; +} + +#documentation .attribute-method-heading { + background: url(images/tag_green.png) no-repeat left bottom; +} +#documentation #attribute-method-details .method-detail:hover { + background-color: transparent; + cursor: default; +} +#documentation .attribute-access-type { + font-size: 60%; + text-transform: uppercase; + vertical-align: super; + padding: 0 2px; +} +/* @end */ + +/* @end */ + + + +/* @group Source Code */ + +div.method-source-code { + background: #262626; + color: #efefef; + margin: 1em; + padding: 0.5em; + border: 1px dashed #999; + overflow: hidden; +} + +div.method-source-code pre { + background: inherit; + padding: 0; + color: white; + overflow: auto; +} + +/* @group Ruby keyword styles */ + +.ruby-constant { color: #7fffd4; background: transparent; } +.ruby-keyword { color: #00ffff; background: transparent; } +.ruby-ivar { color: #eedd82; background: transparent; } +.ruby-operator { color: #00ffee; background: transparent; } +.ruby-identifier { color: #ffdead; background: transparent; } +.ruby-node { color: #ffa07a; background: transparent; } +.ruby-comment { color: #b22222; font-weight: bold; background: transparent; } +.ruby-regexp { color: #ffa07a; background: transparent; } +.ruby-value { color: #7fffd4; background: transparent; } + +/* @end */ +/* @end */ + + +/* @group File Popup Contents */ + +.file #metadata, +.file-popup #metadata { +} + +.file-popup dl { + font-size: 80%; + padding: 0.75em; + background-color: #dedede; + color: #333; + border: 1px solid #bbb; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} +.file dt { + font-weight: bold; + padding-left: 22px; + line-height: 20px; + background: url(images/page_white_width.png) no-repeat left top; +} +.file dt.modified-date { + background: url(images/date.png) no-repeat left top; +} +.file dt.requires { + background: url(images/plugin.png) no-repeat left top; +} +.file dt.scs-url { + background: url(images/wrench.png) no-repeat left top; +} + +.file dl dd { + margin: 0 0 1em 0; +} +.file #metadata dl dd ul { + list-style: circle; + margin-left: 20px; + padding-top: 0; +} +.file #metadata dl dd ul li { +} + + +.file h2 { + margin-top: 2em; + padding: 0.75em 0.5em; + background-color: #dedede; + color: #333; + font-size: 120%; + border: 1px solid #bbb; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} + +/* @end */ + + + + +/* @group ThickBox Styles */ +#TB_window { + font: 12px Arial, Helvetica, sans-serif; + color: #333333; +} + +#TB_secondLine { + font: 10px Arial, Helvetica, sans-serif; + color:#666666; +} + +#TB_window :link, +#TB_window :visited { color: #666666; } +#TB_window :link:hover, +#TB_window :visited:hover { color: #000; } +#TB_window :link:active, +#TB_window :visited:active { color: #666666; } +#TB_window :link:focus, +#TB_window :visited:focus { color: #666666; } + +#TB_overlay { + position: fixed; + z-index:100; + top: 0px; + left: 0px; + height:100%; + width:100%; +} + +.TB_overlayMacFFBGHack {background: url(images/macFFBgHack.png) repeat;} +.TB_overlayBG { + background-color:#000; + filter:alpha(opacity=75); + -moz-opacity: 0.75; + opacity: 0.75; +} + +* html #TB_overlay { /* ie6 hack */ + position: absolute; + height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); +} + +#TB_window { + position: fixed; + background: #ffffff; + z-index: 102; + color:#000000; + display:none; + border: 4px solid #525252; + text-align:left; + top:50%; + left:50%; +} + +* html #TB_window { /* ie6 hack */ + position: absolute; + margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); +} + +#TB_window img#TB_Image { + display:block; + margin: 15px 0 0 15px; + border-right: 1px solid #ccc; + border-bottom: 1px solid #ccc; + border-top: 1px solid #666; + border-left: 1px solid #666; +} + +#TB_caption{ + height:25px; + padding:7px 30px 10px 25px; + float:left; +} + +#TB_closeWindow{ + height:25px; + padding:11px 25px 10px 0; + float:right; +} + +#TB_closeAjaxWindow{ + padding:7px 10px 5px 0; + margin-bottom:1px; + text-align:right; + float:right; +} + +#TB_ajaxWindowTitle{ + float:left; + padding:7px 0 5px 10px; + margin-bottom:1px; + font-size: 22px; +} + +#TB_title{ + background-color: #6C8C22; + color: #dedede; + height:40px; +} +#TB_title :link, +#TB_title :visited { + color: white !important; + border-bottom: 1px dotted #dedede; +} + +#TB_ajaxContent{ + clear:both; + padding:2px 15px 15px 15px; + overflow:auto; + text-align:left; + line-height:1.4em; +} + +#TB_ajaxContent.TB_modal{ + padding:15px; +} + +#TB_ajaxContent p{ + padding:5px 0px 5px 0px; +} + +#TB_load{ + position: fixed; + display:none; + height:13px; + width:208px; + z-index:103; + top: 50%; + left: 50%; + margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */ +} + +* html #TB_load { /* ie6 hack */ + position: absolute; + margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); +} + +#TB_HideSelect{ + z-index:99; + position:fixed; + top: 0; + left: 0; + background-color:#fff; + border:none; + filter:alpha(opacity=0); + -moz-opacity: 0; + opacity: 0; + height:100%; + width:100%; +} + +* html #TB_HideSelect { /* ie6 hack */ + position: absolute; + height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); +} + +#TB_iframeContent{ + clear:both; + border:none; + margin-bottom:-1px; + margin-top:1px; + _margin-bottom:1px; +} + +/* @end */ + +/* @group Debugging Section */ + +#debugging-toggle { + text-align: center; +} +#debugging-toggle img { + cursor: pointer; +} + +#rdoc-debugging-section-dump { + display: none; + margin: 0 2em 2em; + background: #ccc; + border: 1px solid #999; +} + + + +/* @end */ diff --git a/.gems/doc/json-1.8.1/ri/BigDecimal/as_json-i.ri b/.gems/doc/json-1.8.1/ri/BigDecimal/as_json-i.ri new file mode 100644 index 0000000..21e3ee1 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/BigDecimal/as_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/BigDecimal/cdesc-BigDecimal.ri b/.gems/doc/json-1.8.1/ri/BigDecimal/cdesc-BigDecimal.ri new file mode 100644 index 0000000..dffcdeb Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/BigDecimal/cdesc-BigDecimal.ri differ diff --git a/.gems/doc/json-1.8.1/ri/BigDecimal/json_create-c.ri b/.gems/doc/json-1.8.1/ri/BigDecimal/json_create-c.ri new file mode 100644 index 0000000..204dbf4 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/BigDecimal/json_create-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/BigDecimal/to_json-i.ri b/.gems/doc/json-1.8.1/ri/BigDecimal/to_json-i.ri new file mode 100644 index 0000000..7f04615 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/BigDecimal/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Class/cdesc-Class.ri b/.gems/doc/json-1.8.1/ri/Class/cdesc-Class.ri new file mode 100644 index 0000000..089f98b Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Class/cdesc-Class.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Class/json_creatable%3f-i.ri b/.gems/doc/json-1.8.1/ri/Class/json_creatable%3f-i.ri new file mode 100644 index 0000000..71197c7 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Class/json_creatable%3f-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Complex/as_json-i.ri b/.gems/doc/json-1.8.1/ri/Complex/as_json-i.ri new file mode 100644 index 0000000..97eedea Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Complex/as_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Complex/cdesc-Complex.ri b/.gems/doc/json-1.8.1/ri/Complex/cdesc-Complex.ri new file mode 100644 index 0000000..eeba635 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Complex/cdesc-Complex.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Complex/json_create-c.ri b/.gems/doc/json-1.8.1/ri/Complex/json_create-c.ri new file mode 100644 index 0000000..aeae186 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Complex/json_create-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Complex/to_json-i.ri b/.gems/doc/json-1.8.1/ri/Complex/to_json-i.ri new file mode 100644 index 0000000..082ac0d Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Complex/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Date/as_json-i.ri b/.gems/doc/json-1.8.1/ri/Date/as_json-i.ri new file mode 100644 index 0000000..3811209 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Date/as_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Date/cdesc-Date.ri b/.gems/doc/json-1.8.1/ri/Date/cdesc-Date.ri new file mode 100644 index 0000000..9e54d1a Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Date/cdesc-Date.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Date/json_create-c.ri b/.gems/doc/json-1.8.1/ri/Date/json_create-c.ri new file mode 100644 index 0000000..9b9c7aa Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Date/json_create-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Date/to_json-i.ri b/.gems/doc/json-1.8.1/ri/Date/to_json-i.ri new file mode 100644 index 0000000..5d352e8 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Date/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/DateTime/as_json-i.ri b/.gems/doc/json-1.8.1/ri/DateTime/as_json-i.ri new file mode 100644 index 0000000..a7eff28 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/DateTime/as_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/DateTime/cdesc-DateTime.ri b/.gems/doc/json-1.8.1/ri/DateTime/cdesc-DateTime.ri new file mode 100644 index 0000000..ff16dfa Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/DateTime/cdesc-DateTime.ri differ diff --git a/.gems/doc/json-1.8.1/ri/DateTime/json_create-c.ri b/.gems/doc/json-1.8.1/ri/DateTime/json_create-c.ri new file mode 100644 index 0000000..b9c34be Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/DateTime/json_create-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/DateTime/to_json-i.ri b/.gems/doc/json-1.8.1/ri/DateTime/to_json-i.ri new file mode 100644 index 0000000..1d2743a Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/DateTime/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Exception/as_json-i.ri b/.gems/doc/json-1.8.1/ri/Exception/as_json-i.ri new file mode 100644 index 0000000..eaa211b Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Exception/as_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Exception/cdesc-Exception.ri b/.gems/doc/json-1.8.1/ri/Exception/cdesc-Exception.ri new file mode 100644 index 0000000..f649ef0 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Exception/cdesc-Exception.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Exception/json_create-c.ri b/.gems/doc/json-1.8.1/ri/Exception/json_create-c.ri new file mode 100644 index 0000000..2498fec Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Exception/json_create-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Exception/to_json-i.ri b/.gems/doc/json-1.8.1/ri/Exception/to_json-i.ri new file mode 100644 index 0000000..7c2f24e Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Exception/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/%5b%5d-c.ri b/.gems/doc/json-1.8.1/ri/JSON/%5b%5d-c.ri new file mode 100644 index 0000000..d5f9609 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/%5b%5d-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/CircularDatastructure/cdesc-CircularDatastructure.ri b/.gems/doc/json-1.8.1/ri/JSON/CircularDatastructure/cdesc-CircularDatastructure.ri new file mode 100644 index 0000000..0dca3d2 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/CircularDatastructure/cdesc-CircularDatastructure.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Ext/cdesc-Ext.ri b/.gems/doc/json-1.8.1/ri/JSON/Ext/cdesc-Ext.ri new file mode 100644 index 0000000..f86ed4c Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Ext/cdesc-Ext.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/GeneratorError/cdesc-GeneratorError.ri b/.gems/doc/json-1.8.1/ri/JSON/GeneratorError/cdesc-GeneratorError.ri new file mode 100644 index 0000000..2ffd122 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/GeneratorError/cdesc-GeneratorError.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/GenericObject/%5b%5d%3d-i.ri b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/%5b%5d%3d-i.ri new file mode 100644 index 0000000..0325fbc Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/%5b%5d%3d-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/GenericObject/%5b%5d-i.ri b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/%5b%5d-i.ri new file mode 100644 index 0000000..787a71a Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/%5b%5d-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/GenericObject/%7c-i.ri b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/%7c-i.ri new file mode 100644 index 0000000..e3e7730 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/%7c-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/GenericObject/as_json-i.ri b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/as_json-i.ri new file mode 100644 index 0000000..3274353 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/as_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/GenericObject/cdesc-GenericObject.ri b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/cdesc-GenericObject.ri new file mode 100644 index 0000000..5af3fa7 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/cdesc-GenericObject.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/GenericObject/dump-c.ri b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/dump-c.ri new file mode 100644 index 0000000..1e2f57b Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/dump-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/GenericObject/from_hash-c.ri b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/from_hash-c.ri new file mode 100644 index 0000000..e6056a3 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/from_hash-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/GenericObject/json_creatable%3f-c.ri b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/json_creatable%3f-c.ri new file mode 100644 index 0000000..feda920 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/json_creatable%3f-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/GenericObject/json_creatable-c.ri b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/json_creatable-c.ri new file mode 100644 index 0000000..47934c0 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/json_creatable-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/GenericObject/json_create-c.ri b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/json_create-c.ri new file mode 100644 index 0000000..ebd4662 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/json_create-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/GenericObject/load-c.ri b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/load-c.ri new file mode 100644 index 0000000..b47e46d Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/load-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/GenericObject/to_hash-i.ri b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/to_hash-i.ri new file mode 100644 index 0000000..840c332 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/to_hash-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/GenericObject/to_json-i.ri b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/to_json-i.ri new file mode 100644 index 0000000..4e7265c Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/GenericObject/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/JSONError/cdesc-JSONError.ri b/.gems/doc/json-1.8.1/ri/JSON/JSONError/cdesc-JSONError.ri new file mode 100644 index 0000000..2541c9f Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/JSONError/cdesc-JSONError.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/JSONError/wrap-c.ri b/.gems/doc/json-1.8.1/ri/JSON/JSONError/wrap-c.ri new file mode 100644 index 0000000..a0c42f3 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/JSONError/wrap-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/MissingUnicodeSupport/cdesc-MissingUnicodeSupport.ri b/.gems/doc/json-1.8.1/ri/JSON/MissingUnicodeSupport/cdesc-MissingUnicodeSupport.ri new file mode 100644 index 0000000..8120c48 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/MissingUnicodeSupport/cdesc-MissingUnicodeSupport.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/NestingError/cdesc-NestingError.ri b/.gems/doc/json-1.8.1/ri/JSON/NestingError/cdesc-NestingError.ri new file mode 100644 index 0000000..60ba051 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/NestingError/cdesc-NestingError.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/ParserError/cdesc-ParserError.ri b/.gems/doc/json-1.8.1/ri/JSON/ParserError/cdesc-ParserError.ri new file mode 100644 index 0000000..e0e7d4f Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/ParserError/cdesc-ParserError.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Array/cdesc-Array.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Array/cdesc-Array.ri new file mode 100644 index 0000000..15f7f04 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Array/cdesc-Array.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Array/to_json-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Array/to_json-i.ri new file mode 100644 index 0000000..24437d1 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Array/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/FalseClass/cdesc-FalseClass.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/FalseClass/cdesc-FalseClass.ri new file mode 100644 index 0000000..55eec06 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/FalseClass/cdesc-FalseClass.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/FalseClass/to_json-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/FalseClass/to_json-i.ri new file mode 100644 index 0000000..6e558f7 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/FalseClass/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Float/cdesc-Float.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Float/cdesc-Float.ri new file mode 100644 index 0000000..3de33ad Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Float/cdesc-Float.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Float/to_json-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Float/to_json-i.ri new file mode 100644 index 0000000..7113b63 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Float/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Hash/cdesc-Hash.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Hash/cdesc-Hash.ri new file mode 100644 index 0000000..ff9c0f5 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Hash/cdesc-Hash.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Hash/to_json-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Hash/to_json-i.ri new file mode 100644 index 0000000..bc10f44 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Hash/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Integer/cdesc-Integer.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Integer/cdesc-Integer.ri new file mode 100644 index 0000000..4acb55a Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Integer/cdesc-Integer.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Integer/to_json-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Integer/to_json-i.ri new file mode 100644 index 0000000..0e70a6a Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Integer/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/NilClass/cdesc-NilClass.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/NilClass/cdesc-NilClass.ri new file mode 100644 index 0000000..66ac34e Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/NilClass/cdesc-NilClass.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/NilClass/to_json-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/NilClass/to_json-i.ri new file mode 100644 index 0000000..7fe8c52 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/NilClass/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Object/cdesc-Object.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Object/cdesc-Object.ri new file mode 100644 index 0000000..3347d33 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Object/cdesc-Object.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Object/to_json-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Object/to_json-i.ri new file mode 100644 index 0000000..a4ef688 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/Object/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/Extend/cdesc-Extend.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/Extend/cdesc-Extend.ri new file mode 100644 index 0000000..779a603 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/Extend/cdesc-Extend.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/Extend/json_create-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/Extend/json_create-i.ri new file mode 100644 index 0000000..f4753df Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/Extend/json_create-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/cdesc-String.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/cdesc-String.ri new file mode 100644 index 0000000..ca671aa Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/cdesc-String.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/included-c.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/included-c.ri new file mode 100644 index 0000000..7e7da35 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/included-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/to_json-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/to_json-i.ri new file mode 100644 index 0000000..02b5418 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/to_json_raw-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/to_json_raw-i.ri new file mode 100644 index 0000000..948b560 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/to_json_raw-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/to_json_raw_object-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/to_json_raw_object-i.ri new file mode 100644 index 0000000..4926f5d Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/String/to_json_raw_object-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/TrueClass/cdesc-TrueClass.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/TrueClass/cdesc-TrueClass.ri new file mode 100644 index 0000000..b808041 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/TrueClass/cdesc-TrueClass.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/TrueClass/to_json-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/TrueClass/to_json-i.ri new file mode 100644 index 0000000..baa097d Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/TrueClass/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/cdesc-GeneratorMethods.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/cdesc-GeneratorMethods.ri new file mode 100644 index 0000000..523ec40 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/GeneratorMethods/cdesc-GeneratorMethods.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/%5b%5d%3d-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/%5b%5d%3d-i.ri new file mode 100644 index 0000000..f08daa0 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/%5b%5d%3d-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/%5b%5d-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/%5b%5d-i.ri new file mode 100644 index 0000000..cbe5046 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/%5b%5d-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/allow_nan%3f-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/allow_nan%3f-i.ri new file mode 100644 index 0000000..ec04c5e Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/allow_nan%3f-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/array_nl-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/array_nl-i.ri new file mode 100644 index 0000000..c3c46cf --- /dev/null +++ b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/array_nl-i.ri @@ -0,0 +1,2 @@ +U:RDoc::Attr[ iI" array_nl:EFI"*JSON::Pure::Generator::State#array_nl;FI"RW;F: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"EThis string is put at the end of a line that holds a JSON array.;T: +@file0FI"lib/json/pure/generator.rb;T \ No newline at end of file diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/ascii_only%3f-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/ascii_only%3f-i.ri new file mode 100644 index 0000000..ddf9c0a Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/ascii_only%3f-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/cdesc-State.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/cdesc-State.ri new file mode 100644 index 0000000..d151006 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/cdesc-State.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/check_circular%3f-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/check_circular%3f-i.ri new file mode 100644 index 0000000..cdd447d Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/check_circular%3f-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/configure-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/configure-i.ri new file mode 100644 index 0000000..1436aa5 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/configure-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/depth-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/depth-i.ri new file mode 100644 index 0000000..e013c03 --- /dev/null +++ b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/depth-i.ri @@ -0,0 +1,3 @@ +U:RDoc::Attr[ iI" +depth:EFI"'JSON::Pure::Generator::State#depth;FI"RW;F: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"IThis integer returns the current depth data structure nesting in the;TI"generated JSON.;T: +@file0FI"lib/json/pure/generator.rb;T \ No newline at end of file diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/from_state-c.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/from_state-c.ri new file mode 100644 index 0000000..feab4ae Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/from_state-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/generate-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/generate-i.ri new file mode 100644 index 0000000..4f15058 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/generate-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/indent-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/indent-i.ri new file mode 100644 index 0000000..e92f9af --- /dev/null +++ b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/indent-i.ri @@ -0,0 +1,2 @@ +U:RDoc::Attr[ iI" indent:EFI"(JSON::Pure::Generator::State#indent;FI"RW;F: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I";This string is used to indent levels in the JSON text.;T: +@file0FI"lib/json/pure/generator.rb;T \ No newline at end of file diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/max_nesting-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/max_nesting-i.ri new file mode 100644 index 0000000..cb590e2 --- /dev/null +++ b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/max_nesting-i.ri @@ -0,0 +1,2 @@ +U:RDoc::Attr[ iI"max_nesting:EFI"-JSON::Pure::Generator::State#max_nesting;FI"RW;F: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"HThis integer returns the maximum level of data structure nesting in;TI"Bthe generated JSON, max_nesting = 0 if no maximum is checked.;T: +@file0FI"lib/json/pure/generator.rb;T \ No newline at end of file diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/merge-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/merge-i.ri new file mode 100644 index 0000000..d8d06f3 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/merge-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/new-c.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/new-c.ri new file mode 100644 index 0000000..4298b3d Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/new-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/object_nl-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/object_nl-i.ri new file mode 100644 index 0000000..22fcbe1 --- /dev/null +++ b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/object_nl-i.ri @@ -0,0 +1,2 @@ +U:RDoc::Attr[ iI"object_nl:EFI"+JSON::Pure::Generator::State#object_nl;FI"RW;F: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"IThis string is put at the end of a line that holds a JSON object (or;TI" Hash).;T: +@file0FI"lib/json/pure/generator.rb;T \ No newline at end of file diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/quirks_mode%3f-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/quirks_mode%3f-i.ri new file mode 100644 index 0000000..f42db1d Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/quirks_mode%3f-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/quirks_mode-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/quirks_mode-i.ri new file mode 100644 index 0000000..ecbfd66 --- /dev/null +++ b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/quirks_mode-i.ri @@ -0,0 +1,2 @@ +U:RDoc::Attr[ iI"quirks_mode:EFI"-JSON::Pure::Generator::State#quirks_mode;FI"RW;F: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"HIf this attribute is set to true, quirks mode is enabled, otherwise;TI"it's disabled.;T: +@file0FI"lib/json/pure/generator.rb;T \ No newline at end of file diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/space-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/space-i.ri new file mode 100644 index 0000000..201e629 --- /dev/null +++ b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/space-i.ri @@ -0,0 +1,3 @@ +U:RDoc::Attr[ iI" +space:EFI"'JSON::Pure::Generator::State#space;FI"RW;F: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"GThis string is used to insert a space between the tokens in a JSON;TI" string.;T: +@file0FI"lib/json/pure/generator.rb;T \ No newline at end of file diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/space_before-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/space_before-i.ri new file mode 100644 index 0000000..62324d9 --- /dev/null +++ b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/space_before-i.ri @@ -0,0 +1,2 @@ +U:RDoc::Attr[ iI"space_before:EFI".JSON::Pure::Generator::State#space_before;FI"RW;F: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"JThis string is used to insert a space before the ':' in JSON objects.;T: +@file0FI"lib/json/pure/generator.rb;T \ No newline at end of file diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/to_h-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/to_h-i.ri new file mode 100644 index 0000000..b5b68e6 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/to_h-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/to_hash-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/to_hash-i.ri new file mode 100644 index 0000000..511320b Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/State/to_hash-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/cdesc-Generator.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/cdesc-Generator.ri new file mode 100644 index 0000000..8cf7d90 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Generator/cdesc-Generator.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Parser/cdesc-Parser.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Parser/cdesc-Parser.ri new file mode 100644 index 0000000..daa7749 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Parser/cdesc-Parser.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Parser/new-c.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Parser/new-c.ri new file mode 100644 index 0000000..5fcd649 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Parser/new-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Parser/parse-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Parser/parse-i.ri new file mode 100644 index 0000000..a18d369 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Parser/parse-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Parser/quirks_mode%3f-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Parser/quirks_mode%3f-i.ri new file mode 100644 index 0000000..04eefab Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Parser/quirks_mode%3f-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/Parser/reset-i.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/Parser/reset-i.ri new file mode 100644 index 0000000..2e1ff30 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/Parser/reset-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/Pure/cdesc-Pure.ri b/.gems/doc/json-1.8.1/ri/JSON/Pure/cdesc-Pure.ri new file mode 100644 index 0000000..a8b6b52 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/Pure/cdesc-Pure.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/UnparserError/cdesc-UnparserError.ri b/.gems/doc/json-1.8.1/ri/JSON/UnparserError/cdesc-UnparserError.ri new file mode 100644 index 0000000..54f21cc Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/UnparserError/cdesc-UnparserError.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/cdesc-JSON.ri b/.gems/doc/json-1.8.1/ri/JSON/cdesc-JSON.ri new file mode 100644 index 0000000..1090da1 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/cdesc-JSON.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/const_defined_in%3f-c.ri b/.gems/doc/json-1.8.1/ri/JSON/const_defined_in%3f-c.ri new file mode 100644 index 0000000..1126326 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/const_defined_in%3f-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/create_id-c.ri b/.gems/doc/json-1.8.1/ri/JSON/create_id-c.ri new file mode 100644 index 0000000..893f1ee --- /dev/null +++ b/.gems/doc/json-1.8.1/ri/JSON/create_id-c.ri @@ -0,0 +1,2 @@ +U:RDoc::Attr[ iI"create_id:EFI"JSON::create_id;FI"RW;F: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"LThis is create identifier, which is used to decide if the _json_create_;TI"Chook of a class should be called. It defaults to 'json_class'.;T: +@file0TI"lib/json/common.rb;T \ No newline at end of file diff --git a/.gems/doc/json-1.8.1/ri/JSON/dump-i.ri b/.gems/doc/json-1.8.1/ri/JSON/dump-i.ri new file mode 100644 index 0000000..1819de6 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/dump-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/dump_default_options-c.ri b/.gems/doc/json-1.8.1/ri/JSON/dump_default_options-c.ri new file mode 100644 index 0000000..995c699 --- /dev/null +++ b/.gems/doc/json-1.8.1/ri/JSON/dump_default_options-c.ri @@ -0,0 +1,4 @@ +U:RDoc::Attr[ iI"dump_default_options:EFI"JSON::dump_default_options;FI"RW;F: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"9The global default options for the JSON.dump method:;To:RDoc::Markup::Verbatim; [I":max_nesting: false +;FI":allow_nan: true +;FI":quirks_mode: true;F: +@file0TI"lib/json/common.rb;T \ No newline at end of file diff --git a/.gems/doc/json-1.8.1/ri/JSON/fast_generate-i.ri b/.gems/doc/json-1.8.1/ri/JSON/fast_generate-i.ri new file mode 100644 index 0000000..eb6101c Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/fast_generate-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/generate-i.ri b/.gems/doc/json-1.8.1/ri/JSON/generate-i.ri new file mode 100644 index 0000000..0d37eaf Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/generate-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/generator-c.ri b/.gems/doc/json-1.8.1/ri/JSON/generator-c.ri new file mode 100644 index 0000000..e276188 --- /dev/null +++ b/.gems/doc/json-1.8.1/ri/JSON/generator-c.ri @@ -0,0 +1,2 @@ +U:RDoc::Attr[ iI"generator:EFI"JSON::generator;FI"R;F: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"DReturns the JSON generator module that is used by JSON. This is;TI":either JSON::Ext::Generator or JSON::Pure::Generator.;T: +@file0TI"lib/json/common.rb;T \ No newline at end of file diff --git a/.gems/doc/json-1.8.1/ri/JSON/iconv-c.ri b/.gems/doc/json-1.8.1/ri/JSON/iconv-c.ri new file mode 100644 index 0000000..d6542fc Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/iconv-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/load-i.ri b/.gems/doc/json-1.8.1/ri/JSON/load-i.ri new file mode 100644 index 0000000..53de361 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/load-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/load_default_options-c.ri b/.gems/doc/json-1.8.1/ri/JSON/load_default_options-c.ri new file mode 100644 index 0000000..d826776 --- /dev/null +++ b/.gems/doc/json-1.8.1/ri/JSON/load_default_options-c.ri @@ -0,0 +1,4 @@ +U:RDoc::Attr[ iI"load_default_options:EFI"JSON::load_default_options;FI"RW;F: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"9The global default options for the JSON.load method:;To:RDoc::Markup::Verbatim; [I":max_nesting: false +;FI":allow_nan: true +;FI":quirks_mode: true;F: +@file0TI"lib/json/common.rb;T \ No newline at end of file diff --git a/.gems/doc/json-1.8.1/ri/JSON/parse%21-i.ri b/.gems/doc/json-1.8.1/ri/JSON/parse%21-i.ri new file mode 100644 index 0000000..92ea206 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/parse%21-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/parse-i.ri b/.gems/doc/json-1.8.1/ri/JSON/parse-i.ri new file mode 100644 index 0000000..c4d712a Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/parse-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/parser-c.ri b/.gems/doc/json-1.8.1/ri/JSON/parser-c.ri new file mode 100644 index 0000000..b51ef18 --- /dev/null +++ b/.gems/doc/json-1.8.1/ri/JSON/parser-c.ri @@ -0,0 +1,2 @@ +U:RDoc::Attr[ iI" parser:EFI"JSON::parser;FI"R;F: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"GReturns the JSON parser class that is used by JSON. This is either;TI"-JSON::Ext::Parser or JSON::Pure::Parser.;T: +@file0TI"lib/json/common.rb;T \ No newline at end of file diff --git a/.gems/doc/json-1.8.1/ri/JSON/pretty_generate-i.ri b/.gems/doc/json-1.8.1/ri/JSON/pretty_generate-i.ri new file mode 100644 index 0000000..0cf6129 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/pretty_generate-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/recurse_proc-i.ri b/.gems/doc/json-1.8.1/ri/JSON/recurse_proc-i.ri new file mode 100644 index 0000000..a339e6d Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/recurse_proc-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/restore-c.ri b/.gems/doc/json-1.8.1/ri/JSON/restore-c.ri new file mode 100644 index 0000000..fd7cf93 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/restore-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/JSON/state-c.ri b/.gems/doc/json-1.8.1/ri/JSON/state-c.ri new file mode 100644 index 0000000..ce0103b --- /dev/null +++ b/.gems/doc/json-1.8.1/ri/JSON/state-c.ri @@ -0,0 +1,3 @@ +U:RDoc::Attr[ iI" +state:EFI"JSON::state;FI"RW;F: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"IReturns the JSON generator state class that is used by JSON. This is;TI"Heither JSON::Ext::Generator::State or JSON::Pure::Generator::State.;T: +@file0TI"lib/json/common.rb;T \ No newline at end of file diff --git a/.gems/doc/json-1.8.1/ri/JSON/valid_utf8%3f-c.ri b/.gems/doc/json-1.8.1/ri/JSON/valid_utf8%3f-c.ri new file mode 100644 index 0000000..c195fa9 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/JSON/valid_utf8%3f-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Kernel/cdesc-Kernel.ri b/.gems/doc/json-1.8.1/ri/Kernel/cdesc-Kernel.ri new file mode 100644 index 0000000..bd2dd1f Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Kernel/cdesc-Kernel.ri differ diff --git a/.gems/doc/json-1.8.1/ri/OpenStruct/as_json-i.ri b/.gems/doc/json-1.8.1/ri/OpenStruct/as_json-i.ri new file mode 100644 index 0000000..60acd7f Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/OpenStruct/as_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/OpenStruct/cdesc-OpenStruct.ri b/.gems/doc/json-1.8.1/ri/OpenStruct/cdesc-OpenStruct.ri new file mode 100644 index 0000000..b3a74a9 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/OpenStruct/cdesc-OpenStruct.ri differ diff --git a/.gems/doc/json-1.8.1/ri/OpenStruct/json_create-c.ri b/.gems/doc/json-1.8.1/ri/OpenStruct/json_create-c.ri new file mode 100644 index 0000000..8fea5b2 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/OpenStruct/json_create-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/OpenStruct/to_json-i.ri b/.gems/doc/json-1.8.1/ri/OpenStruct/to_json-i.ri new file mode 100644 index 0000000..3207260 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/OpenStruct/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Range/as_json-i.ri b/.gems/doc/json-1.8.1/ri/Range/as_json-i.ri new file mode 100644 index 0000000..f4d4c8e Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Range/as_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Range/cdesc-Range.ri b/.gems/doc/json-1.8.1/ri/Range/cdesc-Range.ri new file mode 100644 index 0000000..6687dbf Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Range/cdesc-Range.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Range/json_create-c.ri b/.gems/doc/json-1.8.1/ri/Range/json_create-c.ri new file mode 100644 index 0000000..cef9963 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Range/json_create-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Range/to_json-i.ri b/.gems/doc/json-1.8.1/ri/Range/to_json-i.ri new file mode 100644 index 0000000..7dcb50a Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Range/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Rational/as_json-i.ri b/.gems/doc/json-1.8.1/ri/Rational/as_json-i.ri new file mode 100644 index 0000000..d6db73a Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Rational/as_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Rational/cdesc-Rational.ri b/.gems/doc/json-1.8.1/ri/Rational/cdesc-Rational.ri new file mode 100644 index 0000000..1b4ede5 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Rational/cdesc-Rational.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Rational/json_create-c.ri b/.gems/doc/json-1.8.1/ri/Rational/json_create-c.ri new file mode 100644 index 0000000..1f9c874 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Rational/json_create-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Rational/to_json-i.ri b/.gems/doc/json-1.8.1/ri/Rational/to_json-i.ri new file mode 100644 index 0000000..bb8a283 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Rational/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Regexp/as_json-i.ri b/.gems/doc/json-1.8.1/ri/Regexp/as_json-i.ri new file mode 100644 index 0000000..df81d44 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Regexp/as_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Regexp/cdesc-Regexp.ri b/.gems/doc/json-1.8.1/ri/Regexp/cdesc-Regexp.ri new file mode 100644 index 0000000..e8f9bc7 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Regexp/cdesc-Regexp.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Regexp/json_create-c.ri b/.gems/doc/json-1.8.1/ri/Regexp/json_create-c.ri new file mode 100644 index 0000000..403af1c Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Regexp/json_create-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Regexp/to_json-i.ri b/.gems/doc/json-1.8.1/ri/Regexp/to_json-i.ri new file mode 100644 index 0000000..060d2c6 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Regexp/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Struct/as_json-i.ri b/.gems/doc/json-1.8.1/ri/Struct/as_json-i.ri new file mode 100644 index 0000000..f3d20ca Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Struct/as_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Struct/cdesc-Struct.ri b/.gems/doc/json-1.8.1/ri/Struct/cdesc-Struct.ri new file mode 100644 index 0000000..e388709 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Struct/cdesc-Struct.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Struct/json_create-c.ri b/.gems/doc/json-1.8.1/ri/Struct/json_create-c.ri new file mode 100644 index 0000000..e3d3c13 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Struct/json_create-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Struct/to_json-i.ri b/.gems/doc/json-1.8.1/ri/Struct/to_json-i.ri new file mode 100644 index 0000000..212599c Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Struct/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Symbol/as_json-i.ri b/.gems/doc/json-1.8.1/ri/Symbol/as_json-i.ri new file mode 100644 index 0000000..a183556 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Symbol/as_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Symbol/cdesc-Symbol.ri b/.gems/doc/json-1.8.1/ri/Symbol/cdesc-Symbol.ri new file mode 100644 index 0000000..ab06d01 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Symbol/cdesc-Symbol.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Symbol/json_create-c.ri b/.gems/doc/json-1.8.1/ri/Symbol/json_create-c.ri new file mode 100644 index 0000000..663d8ca Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Symbol/json_create-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Symbol/to_json-i.ri b/.gems/doc/json-1.8.1/ri/Symbol/to_json-i.ri new file mode 100644 index 0000000..b078505 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Symbol/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Time/as_json-i.ri b/.gems/doc/json-1.8.1/ri/Time/as_json-i.ri new file mode 100644 index 0000000..6f21068 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Time/as_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Time/cdesc-Time.ri b/.gems/doc/json-1.8.1/ri/Time/cdesc-Time.ri new file mode 100644 index 0000000..66e3e93 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Time/cdesc-Time.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Time/json_create-c.ri b/.gems/doc/json-1.8.1/ri/Time/json_create-c.ri new file mode 100644 index 0000000..5f20f3a Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Time/json_create-c.ri differ diff --git a/.gems/doc/json-1.8.1/ri/Time/to_json-i.ri b/.gems/doc/json-1.8.1/ri/Time/to_json-i.ri new file mode 100644 index 0000000..a5af1c8 Binary files /dev/null and b/.gems/doc/json-1.8.1/ri/Time/to_json-i.ri differ diff --git a/.gems/doc/json-1.8.1/ri/cache.ri b/.gems/doc/json-1.8.1/ri/cache.ri new file mode 100644 index 0000000..cb56aac --- /dev/null +++ b/.gems/doc/json-1.8.1/ri/cache.ri @@ -0,0 +1,17 @@ +{ :ancestors{I"JSON::JSONError:EF[I"StandardError;FI"JSON::ParserError;F[I"JSON::JSONError;FI"JSON::NestingError;F[I"JSON::ParserError;FI" JSON::CircularDatastructure;F[I"JSON::NestingError;FI"JSON::GeneratorError;F[@ I"JSON::UnparserError;F[@ I" JSON::MissingUnicodeSupport;F[@ I" +Class;F[I" Object;FI"JSON::GenericObject;F[I"OpenStruct;FI" Symbol;F[I" Object;FI" Date;F[I" Object;FI"Exception;F[I" Object;FI"OpenStruct;F[I" Object;FI" DateTime;F[I" Object;FI" +Range;F[I" Object;FI" Struct;F[I" Object;FI" Complex;F[I" Object;FI" Rational;F[I" Object;FI" Time;F[I" Object;FI"BigDecimal;F[I" Object;FI" Regexp;F[I" Object;FI"!JSON::Pure::Generator::State;F[I" Object;FI"JSON::Pure::Parser;F[I"StringScanner;F:attributes{I"JSON::GenericObject;F[I"attr_writer json_creatable;F@C[ I"attr_accessor array_nl;FI"attr_accessor depth;FI"attr_accessor indent;FI"attr_accessor max_nesting;FI"attr_accessor object_nl;FI"attr_accessor quirks_mode;FI"attr_accessor space;FI"attr_accessor space_before;FI" JSON;F[ I"attr_accessor create_id;FI"'attr_accessor dump_default_options;FI"'attr_accessor load_default_options;FI"attr_accessor state;FI"attr_reader generator;FI"attr_reader parser;F:class_methods{I"JSON::JSONError;F[I" wrap;FI"JSON::GenericObject;F[ I" dump;FI"from_hash;FI"json_creatable;FI"json_creatable?;FI"json_create;FI" load;FI" Symbol;F[I"json_create;FI" Date;F[I"json_create;FI"Exception;F[I"json_create;FI"OpenStruct;F[I"json_create;FI" DateTime;F[I"json_create;FI" +Range;F[I"json_create;FI" Struct;F[I"json_create;FI" Complex;F[I"json_create;FI" Rational;F[I"json_create;FI" Time;F[I"json_create;FI"BigDecimal;F[I"json_create;FI" Regexp;F[I"json_create;F@C[I"from_state;FI"new;FI"JSON::Pure::Parser;F[I"new;FI" JSON;F[I"[];FI"const_defined_in?;FI"create_id;FI"dump_default_options;FI"generator;FI" +iconv;FI"load_default_options;FI" parser;FI" restore;FI" +state;FI"valid_utf8?;FI"4JSON::Pure::Generator::GeneratorMethods::String;F[I" included;F: encodingIu: Encoding +UTF-8;F:instance_methods{ I" +Class;F[I"json_creatable?;FI"JSON::GenericObject;F[ I"[];FI"[]=;FI" as_json;FI" to_hash;FI" to_json;FI"|;FI" Symbol;F[I" as_json;FI" to_json;FI" Date;F[I" as_json;FI" to_json;FI"Exception;F[I" as_json;FI" to_json;FI"OpenStruct;F[I" as_json;FI" to_json;FI" DateTime;F[I" as_json;FI" to_json;FI" +Range;F[I" as_json;FI" to_json;FI" Struct;F[I" as_json;FI" to_json;FI" Complex;F[I" as_json;FI" to_json;FI" Rational;F[I" as_json;FI" to_json;FI" Time;F[I" as_json;FI" to_json;FI"BigDecimal;F[I" as_json;FI" to_json;FI" Regexp;F[I" as_json;FI" to_json;F@C[I"[];FI"[]=;FI"allow_nan?;FI" array_nl;FI"ascii_only?;FI"check_circular?;FI"configure;FI" +depth;FI" generate;FI" indent;FI"max_nesting;FI" +merge;FI"object_nl;FI"quirks_mode;FI"quirks_mode?;FI" +space;FI"space_before;FI" to_h;FI" to_hash;FI"JSON::Pure::Parser;F[I" +parse;FI"quirks_mode?;FI" +reset;FI" JSON;F[ I" dump;FI"fast_generate;FI" generate;FI" load;FI" +parse;FI" parse!;FI"pretty_generate;FI"recurse_proc;FI"4JSON::Pure::Generator::GeneratorMethods::Object;F[I" to_json;FI"2JSON::Pure::Generator::GeneratorMethods::Hash;F[I" to_json;FI"3JSON::Pure::Generator::GeneratorMethods::Array;F[I" to_json;FI"5JSON::Pure::Generator::GeneratorMethods::Integer;F[I" to_json;FI"3JSON::Pure::Generator::GeneratorMethods::Float;F[I" to_json;F@[I" to_json;FI"to_json_raw;FI"to_json_raw_object;FI" + + + + + + Module: Twitter + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + + + + + +
+

Namespace

+ +
+ + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter

+ +
+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
NullObject
+ +
+ + +
Status
+ +
+ + +
+
+ + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Arguments.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Arguments.html new file mode 100644 index 0000000..e0af6be --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Arguments.html @@ -0,0 +1,420 @@ + + + + + + + Class: Twitter::Arguments + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Arguments

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ options[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(args) + click to toggle source +
+ + +
+ +

Initializes a new Arguments object

+ +

@return [Twitter::Arguments]

+ + + +
+
+# File lib/twitter/arguments.rb, line 8
+def initialize(args)
+  @options = args.last.is_a?(::Hash) ? args.pop : {}
+  super(args.flatten)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Base.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Base.html new file mode 100644 index 0000000..a805e60 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Base.html @@ -0,0 +1,866 @@ + + + + + + + Class: Twitter::Base + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + + + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Base

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ attrs[R] +
+ +
+ + + +
+
+ +
+ + +
+ to_h[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + + +
+ attr_reader(*attrs) + click to toggle source +
+ + +
+ +

Define methods that retrieve the value from attributes

+ +

@param attrs [Array, Symbol]

+ + + +
+
+# File lib/twitter/base.rb, line 21
+def attr_reader(*attrs)
+  attrs.each do |attr|
+    define_attribute_method(attr)
+    define_predicate_method(attr)
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ define_attribute_method(key1, klass = nil, key2 = nil) + click to toggle source +
+ + +
+ +

Dynamically define a method for an attribute

+ +

@param key1 [Symbol] @param klass [Symbol] @param key2 [Symbol]

+ + + +
+
+# File lib/twitter/base.rb, line 85
+def define_attribute_method(key1, klass = nil, key2 = nil)
+  define_method(key1) do ||
+    if @attrs[key1].nil? || @attrs[key1].respond_to?(:empty?) && @attrs[key1].empty?
+      NullObject.new
+    else
+      if klass.nil?
+        @attrs[key1]
+      else
+        attrs = attrs_for_object(key1, key2)
+        Twitter.const_get(klass).new(attrs)
+      end
+    end
+  end
+  memoize(key1)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ define_predicate_method(key1, key2 = key1) + click to toggle source +
+ + +
+ +

Dynamically define a predicate method for an attribute

+ +

@param key1 [Symbol] @param key2 [Symbol]

+ + + +
+
+# File lib/twitter/base.rb, line 116
+def define_predicate_method(key1, key2 = key1)
+  define_method(:"#{key1}?") do ||
+    !@attrs[key2].nil? && @attrs[key2] != false && !(@attrs[key2].respond_to?(:empty?) && @attrs[key2].empty?)
+  end
+  memoize(:"#{key1}?")
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ define_uri_method(key1, key2) + click to toggle source +
+ + +
+ +

Dynamically define a method for a URI

+ +

@param key1 [Symbol] @param key2 [Symbol]

+ + + +
+
+# File lib/twitter/base.rb, line 73
+def define_uri_method(key1, key2)
+  define_method(key1) do ||
+    Addressable::URI.parse(@attrs[key2]) unless @attrs[key2].nil?
+  end
+  memoize(key1)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ deprecate_attribute_method(key) + click to toggle source +
+ + +
+ +

Dynamically define a method for an attribute

+ +

@param key [Symbol]

+ + + +
+
+# File lib/twitter/base.rb, line 104
+def deprecate_attribute_method(key)
+  define_method(key) do ||
+    warn "#{Kernel.caller.first}: [DEPRECATION] ##{key} is deprecated. Use ##{key}? instead."
+    @attrs[key]
+  end
+  memoize(key)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ display_uri_attr_reader() + click to toggle source +
+ + +
+ +

Define display_uri attribute methods

+ + + +
+
+# File lib/twitter/base.rb, line 62
+def display_uri_attr_reader
+  define_attribute_method(:display_url)
+  alias_method(:display_uri, :display_url)
+  define_predicate_method(:display_uri, :display_url)
+  alias_method(:display_url?, :display_uri?)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ new(attrs = {}) + click to toggle source +
+ + +
+ +

Initializes a new object

+ +

@param attrs [Hash] @return [Twitter::Base]

+ + + +
+
+# File lib/twitter/base.rb, line 128
+def initialize(attrs = {})
+  @attrs = attrs || {}
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ object_attr_reader(klass, key1, key2 = nil) + click to toggle source +
+ + +
+ +

Define object methods from attributes

+ +

@param klass [Symbol] @param key1 [Symbol] @param key2 [Symbol]

+ + + +
+
+# File lib/twitter/base.rb, line 40
+def object_attr_reader(klass, key1, key2 = nil)
+  define_attribute_method(key1, klass, key2)
+  define_predicate_method(key1)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ predicate_attr_reader(*attrs) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/base.rb, line 28
+def predicate_attr_reader(*attrs)
+  attrs.each do |attr|
+    define_predicate_method(attr)
+    deprecate_attribute_method(attr)
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ uri_attr_reader(*attrs) + click to toggle source +
+ + +
+ +

Define URI methods from attributes

+ +

@param attrs [Array, Symbol]

+ + + +
+
+# File lib/twitter/base.rb, line 48
+def uri_attr_reader(*attrs)
+  attrs.each do |uri_key|
+    array = uri_key.to_s.split('_')
+    index = array.index('uri')
+    array[index] = 'url'
+    url_key = array.join('_').to_sym
+    define_uri_method(uri_key, url_key)
+    alias_method(url_key, uri_key)
+    define_predicate_method(uri_key, url_key)
+    alias_method(:"#{url_key}?", :"#{uri_key}?")
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ [](method) + click to toggle source +
+ + +
+ +

Fetches an attribute of an object using hash notation

+ +

@param method [String, Symbol] Message to send to the object

+ + + +
+
+# File lib/twitter/base.rb, line 135
+def [](method)
+  warn "#{Kernel.caller.first}: [DEPRECATION] #[#{method.inspect}] is deprecated. Use ##{method} to fetch the value."
+  send(method.to_sym)
+rescue NoMethodError
+  nil
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/BasicUser.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/BasicUser.html new file mode 100644 index 0000000..57e4c59 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/BasicUser.html @@ -0,0 +1,368 @@ + + + + + + + Class: Twitter::BasicUser + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::BasicUser

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ screen_name[R] +
+ +
+ + + +
+
+ +
+ + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Client.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Client.html new file mode 100644 index 0000000..a198e0e --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Client.html @@ -0,0 +1,673 @@ + + + + + + + Class: Twitter::Client + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Client

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + + + +
+ access_token[RW] +
+ +
+ + + +
+
+ +
+ + + + +
+ access_token_secret[RW] +
+ +
+ + + +
+
+ +
+ + + + +
+ consumer_key[RW] +
+ +
+ + + +
+
+ +
+ + + + +
+ consumer_secret[RW] +
+ +
+ + + +
+
+ +
+ + + + +
+ proxy[RW] +
+ +
+ + + +
+
+ +
+ + + + +
+ user_agent[W] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(options = {}) + click to toggle source +
+ + +
+ +

Initializes a new Client object

+ +

@param options [Hash] @return [Twitter::Client]

+ + + +
+
+# File lib/twitter/client.rb, line 21
+def initialize(options = {})
+  options.each do |key, value|
+    send(:"#{key}=", value)
+  end
+  yield(self) if block_given?
+  validate_credential_type!
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ credentials() + click to toggle source +
+ + +
+ +

@return [Hash]

+ + + +
+
+# File lib/twitter/client.rb, line 40
+def credentials
+  {
+    :consumer_key    => consumer_key,
+    :consumer_secret => consumer_secret,
+    :token           => access_token,
+    :token_secret    => access_token_secret,
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ credentials?() + click to toggle source +
+ + +
+ +

@return [Boolean]

+ + + +
+
+# File lib/twitter/client.rb, line 50
+def credentials?
+  credentials.values.all?
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ user_agent() + click to toggle source +
+ + +
+ +

@return [String]

+ + + +
+
+# File lib/twitter/client.rb, line 35
+def user_agent
+  @user_agent ||= "Twitter Ruby Gem #{Twitter::Version}"
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ user_token?() + click to toggle source +
+ + +
+ +

@return [Boolean]

+ + + +
+
+# File lib/twitter/client.rb, line 30
+def user_token?
+  !!(access_token && access_token_secret)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Configuration.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Configuration.html new file mode 100644 index 0000000..050cfb5 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Configuration.html @@ -0,0 +1,527 @@ + + + + + + + Class: Twitter::Configuration + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Configuration

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ characters_reserved_per_media[R] +
+ +
+ + + +
+
+ +
+ + +
+ max_media_per_upload[R] +
+ +
+ + + +
+
+ +
+ + +
+ non_username_paths[R] +
+ +
+ + + +
+
+ +
+ + +
+ photo_size_limit[R] +
+ +
+ + + +
+
+ +
+ + +
+ short_uri_length[R] +
+ +
+ + + +
+
+ +
+ + +
+ short_uri_length_https[R] +
+ +
+ + + +
+
+ +
+ + +
+ short_url_length[R] +
+ +
+ + + +
+
+ +
+ + +
+ short_url_length_https[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Instance Methods

+ + +
+ + + +
+ photo_sizes() + click to toggle source +
+ + +
+ +

Returns an array of photo sizes

+ +

@return [Array<Twitter::Size>]

+ + + +
+
+# File lib/twitter/configuration.rb, line 14
+def photo_sizes
+  @attrs.fetch(:photo_sizes, []).inject({}) do |object, (key, value)|
+    object[key] = Size.new(value)
+    object
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Creatable.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Creatable.html new file mode 100644 index 0000000..69d2826 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Creatable.html @@ -0,0 +1,436 @@ + + + + + + + Module: Twitter::Creatable + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Creatable

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ created?() + click to toggle source +
+ + +
+ +

@return [Boolean]

+ + + +
+
+# File lib/twitter/creatable.rb, line 17
+def created?
+  !!@attrs[:created_at]
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ created_at() + click to toggle source +
+ + +
+ +

Time when the object was created on Twitter

+ +

@return [Time]

+ + + +
+
+# File lib/twitter/creatable.rb, line 11
+def created_at
+  Time.parse(@attrs[:created_at]) unless @attrs[:created_at].nil?
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Cursor.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Cursor.html new file mode 100644 index 0000000..c671401 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Cursor.html @@ -0,0 +1,459 @@ + + + + + + + Class: Twitter::Cursor + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Cursor

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ attrs[R] +
+ +
+ + + +
+
+ +
+ + +
+ to_h[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(attrs, key, klass, request) + click to toggle source +
+ + +
+ +

Initializes a new Cursor

+ +

@param attrs [Hash] @param key [String, Symbol] The key to fetch the data +from the response @param klass [Class] The class to instantiate objects in +the response @param request [Twitter::Request] @return [Twitter::Cursor]

+ + + +
+
+# File lib/twitter/cursor.rb, line 20
+def initialize(attrs, key, klass, request)
+  @key = key.to_sym
+  @klass = klass
+  @client = request.client
+  @request_method = request.verb
+  @path = request.path
+  @options = request.options
+  @collection = []
+  self.attrs = attrs
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/DirectMessage.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/DirectMessage.html new file mode 100644 index 0000000..30c9fad --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/DirectMessage.html @@ -0,0 +1,399 @@ + + + + + + + Class: Twitter::DirectMessage + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::DirectMessage

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ full_text[R] +
+ +
+ + + +
+
+ +
+ + +
+ text[R] +
+ +
+ + + +
+
+ +
+ + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entities.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entities.html new file mode 100644 index 0000000..c7cc0f2 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entities.html @@ -0,0 +1,825 @@ + + + + + + + Module: Twitter::Entities + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Entities

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ entities?() + click to toggle source +
+ + +
+ +

@return [Boolean]

+ + + +
+
+# File lib/twitter/entities.rb, line 13
+def entities?
+  !@attrs[:entities].nil? && @attrs[:entities].any? { |_, array| array.any? }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ hashtags() + click to toggle source +
+ + +
+ +

@note Must include entities in your request for this method to work @return +[Array<Twitter::Entity::Hashtag>]

+ + + +
+
+# File lib/twitter/entities.rb, line 20
+def hashtags
+  entities(Entity::Hashtag, :hashtags)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ hashtags?() + click to toggle source +
+ + +
+ +

@return [Boolean]

+ + + +
+
+# File lib/twitter/entities.rb, line 26
+def hashtags?
+  hashtags.any?
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ media() + click to toggle source +
+ + +
+ +

@note Must include entities in your request for this method to work @return +[Array<Twitter::Media>]

+ + + +
+
+# File lib/twitter/entities.rb, line 33
+def media
+  extended_entities = entities(MediaFactory, :media, :extended_entities)
+  extended_entities.empty? ? entities(MediaFactory, :media) : extended_entities
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ media?() + click to toggle source +
+ + +
+ +

@return [Boolean]

+ + + +
+
+# File lib/twitter/entities.rb, line 40
+def media?
+  media.any?
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ symbols() + click to toggle source +
+ + +
+ +

@note Must include entities in your request for this method to work @return +[Array<Twitter::Entity::Symbol>]

+ + + +
+
+# File lib/twitter/entities.rb, line 47
+def symbols
+  entities(Entity::Symbol, :symbols)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ symbols?() + click to toggle source +
+ + +
+ +

@return [Boolean]

+ + + +
+
+# File lib/twitter/entities.rb, line 53
+def symbols?
+  symbols.any?
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ uris() + click to toggle source +
+ + +
+ +

@note Must include entities in your request for this method to work @return +[Array<Twitter::Entity::URI>]

+ + + +
+
+# File lib/twitter/entities.rb, line 60
+def uris
+  entities(Entity::URI, :urls)
+end
+
+ +
+ + +
+ Also aliased as: urls +
+ + + +
+ + +
+ + + +
+ uris?() + click to toggle source +
+ + +
+ +

@return [Boolean]

+ + + +
+
+# File lib/twitter/entities.rb, line 67
+def uris?
+  uris.any?
+end
+
+ +
+ + +
+ Also aliased as: urls? +
+ + + +
+ + +
+ + + +
+ urls() + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: uris +
+ +
+ + +
+ + + +
+ urls?() + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: uris? +
+ +
+ + +
+ + + +
+ user_mentions() + click to toggle source +
+ + +
+ +

@note Must include entities in your request for this method to work @return +[Array<Twitter::Entity::UserMention>]

+ + + +
+
+# File lib/twitter/entities.rb, line 74
+def user_mentions
+  entities(Entity::UserMention, :user_mentions)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ user_mentions?() + click to toggle source +
+ + +
+ +

@return [Boolean]

+ + + +
+
+# File lib/twitter/entities.rb, line 80
+def user_mentions?
+  user_mentions.any?
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entity.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entity.html new file mode 100644 index 0000000..b59bfaa --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entity.html @@ -0,0 +1,421 @@ + + + + + + + Class: Twitter::Entity + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ + + +
+ + +
+

Parent

+ + + +
+ + + + + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Entity

+ +
+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
URL
+ +
+ + +
Uri
+ +
+ + +
Url
+ +
+ + +
+
+ + + + +
+

Attributes

+ + +
+ + +
+ indices[R] +
+ +
+ + + +
+
+ +
+ + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entity/Hashtag.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entity/Hashtag.html new file mode 100644 index 0000000..b8345df --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entity/Hashtag.html @@ -0,0 +1,368 @@ + + + + + + + Class: Twitter::Entity::Hashtag + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Entity::Hashtag

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ text[R] +
+ +
+ + + +
+
+ +
+ + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entity/Symbol.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entity/Symbol.html new file mode 100644 index 0000000..853837a --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entity/Symbol.html @@ -0,0 +1,368 @@ + + + + + + + Class: Twitter::Entity::Symbol + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Entity::Symbol

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ text[R] +
+ +
+ + + +
+
+ +
+ + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entity/URI.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entity/URI.html new file mode 100644 index 0000000..25f6209 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entity/URI.html @@ -0,0 +1,346 @@ + + + + + + + Class: Twitter::Entity::URL + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Entity::URL

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entity/UserMention.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entity/UserMention.html new file mode 100644 index 0000000..e1ee83b --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Entity/UserMention.html @@ -0,0 +1,398 @@ + + + + + + + Class: Twitter::Entity::UserMention + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Entity::UserMention

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ id[R] +
+ +
+ + + +
+
+ +
+ + +
+ name[R] +
+ +
+ + + +
+
+ +
+ + +
+ screen_name[R] +
+ +
+ + + +
+
+ +
+ + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Enumerable.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Enumerable.html new file mode 100644 index 0000000..19e9b5e --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Enumerable.html @@ -0,0 +1,408 @@ + + + + + + + Module: Twitter::Enumerable + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Enumerable

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ each(start = 0) + click to toggle source +
+ + +
+ +

@return [Enumerator]

+ + + +
+
+# File lib/twitter/enumerable.rb, line 6
+def each(start = 0)
+  return to_enum(:each, start) unless block_given?
+  Array(@collection[start..-1]).each do |element|
+    yield(element)
+  end
+  unless last?
+    start = [@collection.size, start].max
+    fetch_next_page
+    each(start, &Proc.new)
+  end
+  self
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error.html new file mode 100644 index 0000000..deef306 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error.html @@ -0,0 +1,643 @@ + + + + + + + Class: Twitter::Error + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ + + +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error

+ +
+ +

Custom error class for rescuing from all Twitter errors

+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
AlreadyPosted
+ +
+ + +
Codes
+ +
+ + +
EnhanceYourCalm
+ +
+ + +
RateLimited
+ +
+ + +
+
+ + + + +
+

Attributes

+ + +
+ + +
+ code[R] +
+ +
+ + + +
+
+ +
+ + +
+ rate_limit[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + + +
+ errors() + click to toggle source +
+ + +
+ +

@return [Hash]

+ + + +
+
+# File lib/twitter/error.rb, line 44
+def errors
+  @errors ||= {
+    400 => Twitter::Error::BadRequest,
+    401 => Twitter::Error::Unauthorized,
+    403 => Twitter::Error::Forbidden,
+    404 => Twitter::Error::NotFound,
+    406 => Twitter::Error::NotAcceptable,
+    408 => Twitter::Error::RequestTimeout,
+    420 => Twitter::Error::EnhanceYourCalm,
+    422 => Twitter::Error::UnprocessableEntity,
+    429 => Twitter::Error::TooManyRequests,
+    500 => Twitter::Error::InternalServerError,
+    502 => Twitter::Error::BadGateway,
+    503 => Twitter::Error::ServiceUnavailable,
+    504 => Twitter::Error::GatewayTimeout,
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ forbidden_messages() + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/error.rb, line 62
+def forbidden_messages
+  @forbidden_messages ||= {
+    'Status is a duplicate.' => Twitter::Error::DuplicateStatus,
+    'You have already favorited this status.' => Twitter::Error::AlreadyFavorited,
+    'sharing is not permissible for this status (Share validations failed)' => Twitter::Error::AlreadyRetweeted,
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ from_response(response) + click to toggle source +
+ + +
+ +

Create a new error from an HTTP response

+ +

@param response [Faraday::Response] @return [Twitter::Error]

+ + + +
+
+# File lib/twitter/error.rb, line 38
+def from_response(response)
+  message, code = parse_error(response.body)
+  new(message, response.response_headers, code)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ new(message = '', rate_limit = {}, code = nil) + click to toggle source +
+ + +
+ +

Initializes a new Error object

+ +

@param message [Exception, String] @param rate_limit [Hash] @param code +[Integer] @return [Twitter::Error]

+ + + +
+
+# File lib/twitter/error.rb, line 98
+def initialize(message = '', rate_limit = {}, code = nil)
+  super(message)
+  @rate_limit = Twitter::RateLimit.new(rate_limit)
+  @code = code
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/AlreadyFavorited.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/AlreadyFavorited.html new file mode 100644 index 0000000..936e781 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/AlreadyFavorited.html @@ -0,0 +1,348 @@ + + + + + + + Class: Twitter::Error::AlreadyFavorited + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::AlreadyFavorited

+ +
+ +

Raised when a Tweet has already been favorited

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/AlreadyRetweeted.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/AlreadyRetweeted.html new file mode 100644 index 0000000..1f73c50 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/AlreadyRetweeted.html @@ -0,0 +1,348 @@ + + + + + + + Class: Twitter::Error::AlreadyRetweeted + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::AlreadyRetweeted

+ +
+ +

Raised when a Tweet has already been retweeted

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/BadGateway.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/BadGateway.html new file mode 100644 index 0000000..f1b1c60 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/BadGateway.html @@ -0,0 +1,349 @@ + + + + + + + Class: Twitter::Error::BadGateway + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::BadGateway

+ +
+ +

Raised when Twitter returns the HTTP +status code 502

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/BadRequest.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/BadRequest.html new file mode 100644 index 0000000..eead96d --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/BadRequest.html @@ -0,0 +1,349 @@ + + + + + + + Class: Twitter::Error::BadRequest + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::BadRequest

+ +
+ +

Raised when Twitter returns the HTTP +status code 400

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/ClientError.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/ClientError.html new file mode 100644 index 0000000..8754197 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/ClientError.html @@ -0,0 +1,349 @@ + + + + + + + Class: Twitter::Error::ClientError + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::ClientError

+ +
+ +

Raised when Twitter returns a 4xx HTTP +status code

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/Code.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/Code.html new file mode 100644 index 0000000..3a399ec --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/Code.html @@ -0,0 +1,449 @@ + + + + + + + Module: Twitter::Error::Code + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::Code

+ +
+ +

If error code is missing see dev.twitter.com/docs/error-codes-responses

+ +
+ + + + +
+ + + + + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/ConfigurationError.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/ConfigurationError.html new file mode 100644 index 0000000..7c3b127 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/ConfigurationError.html @@ -0,0 +1,346 @@ + + + + + + + Class: Twitter::Error::ConfigurationError + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::ConfigurationError

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/DuplicateStatus.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/DuplicateStatus.html new file mode 100644 index 0000000..10b610e --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/DuplicateStatus.html @@ -0,0 +1,348 @@ + + + + + + + Class: Twitter::Error::DuplicateStatus + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::DuplicateStatus

+ +
+ +

Raised when a Tweet has already been posted

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/Forbidden.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/Forbidden.html new file mode 100644 index 0000000..6ffe50f --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/Forbidden.html @@ -0,0 +1,349 @@ + + + + + + + Class: Twitter::Error::Forbidden + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::Forbidden

+ +
+ +

Raised when Twitter returns the HTTP +status code 403

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/GatewayTimeout.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/GatewayTimeout.html new file mode 100644 index 0000000..8ab6edd --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/GatewayTimeout.html @@ -0,0 +1,349 @@ + + + + + + + Class: Twitter::Error::GatewayTimeout + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::GatewayTimeout

+ +
+ +

Raised when Twitter returns the HTTP +status code 504

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/InternalServerError.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/InternalServerError.html new file mode 100644 index 0000000..6713f1e --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/InternalServerError.html @@ -0,0 +1,349 @@ + + + + + + + Class: Twitter::Error::InternalServerError + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::InternalServerError

+ +
+ +

Raised when Twitter returns the HTTP +status code 500

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/NotAcceptable.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/NotAcceptable.html new file mode 100644 index 0000000..64eeda6 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/NotAcceptable.html @@ -0,0 +1,349 @@ + + + + + + + Class: Twitter::Error::NotAcceptable + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::NotAcceptable

+ +
+ +

Raised when Twitter returns the HTTP +status code 406

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/NotFound.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/NotFound.html new file mode 100644 index 0000000..fe36d5a --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/NotFound.html @@ -0,0 +1,349 @@ + + + + + + + Class: Twitter::Error::NotFound + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::NotFound

+ +
+ +

Raised when Twitter returns the HTTP +status code 404

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/RequestTimeout.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/RequestTimeout.html new file mode 100644 index 0000000..8faef16 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/RequestTimeout.html @@ -0,0 +1,349 @@ + + + + + + + Class: Twitter::Error::RequestTimeout + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::RequestTimeout

+ +
+ +

Raised when Twitter returns the HTTP +status code 408

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/ServerError.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/ServerError.html new file mode 100644 index 0000000..4136161 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/ServerError.html @@ -0,0 +1,349 @@ + + + + + + + Class: Twitter::Error::ServerError + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::ServerError

+ +
+ +

Raised when Twitter returns a 5xx HTTP +status code

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/ServiceUnavailable.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/ServiceUnavailable.html new file mode 100644 index 0000000..539ad05 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/ServiceUnavailable.html @@ -0,0 +1,349 @@ + + + + + + + Class: Twitter::Error::ServiceUnavailable + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::ServiceUnavailable

+ +
+ +

Raised when Twitter returns the HTTP +status code 503

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/TooManyRequests.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/TooManyRequests.html new file mode 100644 index 0000000..48c536d --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/TooManyRequests.html @@ -0,0 +1,349 @@ + + + + + + + Class: Twitter::Error::TooManyRequests + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::TooManyRequests

+ +
+ +

Raised when Twitter returns the HTTP +status code 429

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/UnacceptableIO.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/UnacceptableIO.html new file mode 100644 index 0000000..bf6e139 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/UnacceptableIO.html @@ -0,0 +1,398 @@ + + + + + + + Class: Twitter::Error::UnacceptableIO + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::UnacceptableIO

+ +
+ +

Raised when a Tweet includes media that doesn’t +have a to_io method

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ new() + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/error.rb, line 108
+def initialize
+  super('The IO object for media must respond to to_io')
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/Unauthorized.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/Unauthorized.html new file mode 100644 index 0000000..172f309 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/Unauthorized.html @@ -0,0 +1,349 @@ + + + + + + + Class: Twitter::Error::Unauthorized + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::Unauthorized

+ +
+ +

Raised when Twitter returns the HTTP +status code 401

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/UnprocessableEntity.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/UnprocessableEntity.html new file mode 100644 index 0000000..5473679 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Error/UnprocessableEntity.html @@ -0,0 +1,349 @@ + + + + + + + Class: Twitter::Error::UnprocessableEntity + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Error::UnprocessableEntity

+ +
+ +

Raised when Twitter returns the HTTP +status code 422

+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Factory.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Factory.html new file mode 100644 index 0000000..4b7201d --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Factory.html @@ -0,0 +1,401 @@ + + + + + + + Class: Twitter::Factory + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Factory

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(method, klass, attrs = {}) + click to toggle source +
+ + +
+ +

Construct a new object

+ +

@param method [Symbol] @param klass [Class] @param attrs [Hash] @raise +[IndexError] Error raised when supplied argument +is missing a key. @return [Twitter::Base]

+ + + +
+
+# File lib/twitter/factory.rb, line 11
+def new(method, klass, attrs = {})
+  type = attrs.fetch(method.to_sym)
+  const_name = type.gsub(/\/(.?)/) { "::#{Regexp.last_match[1].upcase}" }.gsub(/(?:^|_)(.)/) { Regexp.last_match[1].upcase }
+  klass.const_get(const_name.to_sym).new(attrs)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Geo.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Geo.html new file mode 100644 index 0000000..91d1f58 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Geo.html @@ -0,0 +1,413 @@ + + + + + + + Class: Twitter::Geo + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+ + + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + +
+

Namespace

+ +
+ + + + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Geo

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ coordinates[R] +
+ +
+ + + +
+
+ +
+ + +
+ coords[R] +
+ +
+ + + +
+
+ +
+ + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Geo/Point.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Geo/Point.html new file mode 100644 index 0000000..f5e2688 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Geo/Point.html @@ -0,0 +1,531 @@ + + + + + + + Class: Twitter::Geo::Point + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Geo::Point

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ lat() + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: latitude +
+ +
+ + +
+ + + +
+ latitude() + click to toggle source +
+ + +
+ +

@return [Integer]

+ + + +
+
+# File lib/twitter/geo/point.rb, line 7
+def latitude
+  coordinates[0]
+end
+
+ +
+ + +
+ Also aliased as: lat +
+ + + +
+ + +
+ + + +
+ lng() + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: longitude +
+ +
+ + +
+ + + +
+ long() + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: longitude +
+ +
+ + +
+ + + +
+ longitude() + click to toggle source +
+ + +
+ +

@return [Integer]

+ + + +
+
+# File lib/twitter/geo/point.rb, line 13
+def longitude
+  coordinates[1]
+end
+
+ +
+ + +
+ Also aliased as: long, lng +
+ + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Geo/Polygon.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Geo/Polygon.html new file mode 100644 index 0000000..7303106 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Geo/Polygon.html @@ -0,0 +1,346 @@ + + + + + + + Class: Twitter::Geo::Polygon + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Geo::Polygon

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/GeoFactory.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/GeoFactory.html new file mode 100644 index 0000000..482469f --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/GeoFactory.html @@ -0,0 +1,399 @@ + + + + + + + Class: Twitter::GeoFactory + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::GeoFactory

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(attrs = {}) + click to toggle source +
+ + +
+ +

Construct a new geo object

+ +

@param attrs [Hash] @raise [IndexError] Error +raised when supplied argument is missing a :type key. @return +[Twitter::Geo]

+ + + +
+
+# File lib/twitter/geo_factory.rb, line 13
+def new(attrs = {})
+  super(:type, Geo, attrs)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/GeoResults.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/GeoResults.html new file mode 100644 index 0000000..1efd235 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/GeoResults.html @@ -0,0 +1,494 @@ + + + + + + + Class: Twitter::GeoResults + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::GeoResults

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ attrs[R] +
+ +
+ + + +
+
+ +
+ + +
+ to_h[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(attrs = {}) + click to toggle source +
+ + +
+ +

Initializes a new GeoResults object

+ +

@param attrs [Hash] @return [Twitter::GeoResults]

+ + + +
+
+# File lib/twitter/geo_results.rb, line 17
+def initialize(attrs = {})
+  @attrs = attrs
+  @collection = @attrs[:result].fetch(:places, []).collect do |place|
+    Place.new(place)
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ token() + click to toggle source +
+ + +
+ +

@return [String]

+ + + +
+
+# File lib/twitter/geo_results.rb, line 25
+def token
+  @attrs[:token]
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Identity.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Identity.html new file mode 100644 index 0000000..d65b90e --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Identity.html @@ -0,0 +1,434 @@ + + + + + + + Class: Twitter::Identity + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Identity

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ id[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(attrs = {}) + click to toggle source +
+ + +
+ +

Initializes a new object

+ +

@param attrs [Hash] @raise [ArgumentError] Error +raised when supplied argument is missing an :id key. @return +[Twitter::Identity]

+ + + +
+
+# File lib/twitter/identity.rb, line 14
+def initialize(attrs = {})
+  attrs.fetch(:id)
+  super
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Language.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Language.html new file mode 100644 index 0000000..ab87070 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Language.html @@ -0,0 +1,398 @@ + + + + + + + Class: Twitter::Language + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Language

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ code[R] +
+ +
+ + + +
+
+ +
+ + +
+ name[R] +
+ +
+ + + +
+
+ +
+ + +
+ status[R] +
+ +
+ + + +
+
+ +
+ + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/List.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/List.html new file mode 100644 index 0000000..968e658 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/List.html @@ -0,0 +1,694 @@ + + + + + + + Class: Twitter::List + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::List

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ description[R] +
+ +
+ + + +
+
+ +
+ + +
+ full_name[R] +
+ +
+ + + +
+
+ +
+ + +
+ member_count[R] +
+ +
+ + + +
+
+ +
+ + +
+ mode[R] +
+ +
+ + + +
+
+ +
+ + +
+ name[R] +
+ +
+ + + +
+
+ +
+ + +
+ slug[R] +
+ +
+ + + +
+
+ +
+ + +
+ subscriber_count[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Instance Methods

+ + +
+ + + +
+ members_uri() + click to toggle source +
+ + +
+ +

@return [Addressable::URI] The URI to the list members.

+ + + +
+
+# File lib/twitter/list.rb, line 13
+def members_uri
+  Addressable::URI.parse("https://twitter.com/#{user.screen_name}/#{slug}/members")
+end
+
+ +
+ + +
+ Also aliased as: members_url +
+ + + +
+ + +
+ + + +
+ members_url() + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: members_uri +
+ +
+ + +
+ + + +
+ subscribers_uri() + click to toggle source +
+ + +
+ +

@return [Addressable::URI] The URI to the list subscribers.

+ + + +
+
+# File lib/twitter/list.rb, line 20
+def subscribers_uri
+  Addressable::URI.parse("https://twitter.com/#{user.screen_name}/#{slug}/subscribers")
+end
+
+ +
+ + +
+ Also aliased as: subscribers_url +
+ + + +
+ + +
+ + + +
+ subscribers_url() + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: subscribers_uri +
+ +
+ + +
+ + + +
+ uri() + click to toggle source +
+ + +
+ +

@return [Addressable::URI] The URI to the list.

+ + + +
+
+# File lib/twitter/list.rb, line 27
+def uri
+  Addressable::URI.parse("https://twitter.com/#{user.screen_name}/#{slug}")
+end
+
+ +
+ + +
+ Also aliased as: url +
+ + + +
+ + +
+ + + +
+ url() + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: uri +
+ +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Media.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Media.html new file mode 100644 index 0000000..4f44692 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Media.html @@ -0,0 +1,348 @@ + + + + + + + Module: Twitter::Media + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + +
+

Namespace

+ +
+ + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Media

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Media/Photo.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Media/Photo.html new file mode 100644 index 0000000..a607b6a --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Media/Photo.html @@ -0,0 +1,422 @@ + + + + + + + Class: Twitter::Media::Photo + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Media::Photo

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ indices[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Instance Methods

+ + +
+ + + +
+ sizes() + click to toggle source +
+ + +
+ +

Returns an array of photo sizes

+ +

@return [Array<Twitter::Size>]

+ + + +
+
+# File lib/twitter/media/photo.rb, line 13
+def sizes
+  @attrs.fetch(:sizes, []).inject({}) do |object, (key, value)|
+    object[key] = Size.new(value)
+    object
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/MediaFactory.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/MediaFactory.html new file mode 100644 index 0000000..1c048c6 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/MediaFactory.html @@ -0,0 +1,399 @@ + + + + + + + Class: Twitter::MediaFactory + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::MediaFactory

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(attrs = {}) + click to toggle source +
+ + +
+ +

Construct a new media object

+ +

@param attrs [Hash] @raise [IndexError] Error +raised when supplied argument is missing a :type key. @return +[Twitter::Media]

+ + + +
+
+# File lib/twitter/media_factory.rb, line 12
+def new(attrs = {})
+  super(:type, Media, attrs)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Metadata.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Metadata.html new file mode 100644 index 0000000..70cf034 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Metadata.html @@ -0,0 +1,383 @@ + + + + + + + Class: Twitter::Metadata + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Metadata

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ iso_language_code[R] +
+ +
+ + + +
+
+ +
+ + +
+ result_type[R] +
+ +
+ + + +
+
+ +
+ + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/OEmbed.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/OEmbed.html new file mode 100644 index 0000000..145a754 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/OEmbed.html @@ -0,0 +1,473 @@ + + + + + + + Class: Twitter::OEmbed + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::OEmbed

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ author_name[R] +
+ +
+ + + +
+
+ +
+ + +
+ cache_age[R] +
+ +
+ + + +
+
+ +
+ + +
+ height[R] +
+ +
+ + + +
+
+ +
+ + +
+ html[R] +
+ +
+ + + +
+
+ +
+ + +
+ provider_name[R] +
+ +
+ + + +
+
+ +
+ + +
+ type[R] +
+ +
+ + + +
+
+ +
+ + +
+ version[R] +
+ +
+ + + +
+
+ +
+ + +
+ width[R] +
+ +
+ + + +
+
+ +
+ + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Place.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Place.html new file mode 100644 index 0000000..73ca6bb --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Place.html @@ -0,0 +1,578 @@ + + + + + + + Class: Twitter::Place + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Place

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ attributes[R] +
+ +
+ + + +
+
+ +
+ + +
+ country[R] +
+ +
+ + + +
+
+ +
+ + +
+ full_name[R] +
+ +
+ + + +
+
+ +
+ + +
+ name[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(attrs = {}) + click to toggle source +
+ + +
+ +

Initializes a new place

+ +

@param attrs [Hash] @raise [ArgumentError] Error +raised when supplied argument is missing a :woeid key. @return +[Twitter::Place]

+ + + +
+
+# File lib/twitter/place.rb, line 19
+def initialize(attrs = {})
+  attrs[:id] ||= attrs.fetch(:woeid)
+  super
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ country_code() + click to toggle source +
+ + +
+ +

@return [String]

+ + + +
+
+# File lib/twitter/place.rb, line 25
+def country_code
+  @attrs[:country_code] || @attrs[:countryCode] # rubocop:disable SymbolName
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ parent_id() + click to toggle source +
+ + +
+ +

@return [Integer]

+ + + +
+
+# File lib/twitter/place.rb, line 31
+def parent_id
+  @attrs[:parentid]
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ place_type() + click to toggle source +
+ + +
+ +

@return [String]

+ + + +
+
+# File lib/twitter/place.rb, line 37
+def place_type
+  @attrs[:place_type] || @attrs[:placeType] && @attrs[:placeType][:name] # rubocop:disable SymbolName
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Profile.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Profile.html new file mode 100644 index 0000000..9abd499 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Profile.html @@ -0,0 +1,752 @@ + + + + + + + Module: Twitter::Profile + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + + + + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Profile

+ +
+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
PREDICATE_URI_METHOD_REGEX
+ +
+ + +
PROFILE_IMAGE_SUFFIX_REGEX
+ +
+ + +
+
+ + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ profile_banner_uri(size = :web) + click to toggle source +
+ + +
+ +

Return the URL to the user’s profile banner image

+ +

@param size [String, Symbol] The size of the image. Must be one of: +‘mobile’, ‘mobile_retina’, ‘web’, ‘web_retina’, ‘ipad’, or ‘ipad_retina’ +@return [Addressable::URI]

+ + + +
+
+# File lib/twitter/profile.rb, line 28
+def profile_banner_uri(size = :web)
+  parse_encoded_uri(insecure_uri([@attrs[:profile_banner_url], size].join('/'))) unless @attrs[:profile_banner_url].nil?
+end
+
+ +
+ + +
+ Also aliased as: profile_banner_url +
+ + + +
+ + +
+ + + +
+ profile_banner_uri?() + click to toggle source +
+ + +
+ +

@return [Boolean]

+ + + +
+
+# File lib/twitter/profile.rb, line 43
+def profile_banner_uri?
+  !!@attrs[:profile_banner_url]
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ profile_banner_uri_https(size = :web) + click to toggle source +
+ + +
+ +

Return the secure URL to the user’s profile banner image

+ +

@param size [String, Symbol] The size of the image. Must be one of: +‘mobile’, ‘mobile_retina’, ‘web’, ‘web_retina’, ‘ipad’, or ‘ipad_retina’ +@return [Addressable::URI]

+ + + +
+
+# File lib/twitter/profile.rb, line 37
+def profile_banner_uri_https(size = :web)
+  parse_encoded_uri([@attrs[:profile_banner_url], size].join('/')) unless @attrs[:profile_banner_url].nil?
+end
+
+ +
+ + +
+ Also aliased as: profile_banner_url_https +
+ + + +
+ + +
+ + + +
+ profile_banner_url(size = :web) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: profile_banner_uri +
+ +
+ + +
+ + + +
+ profile_banner_url_https(size = :web) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: profile_banner_uri_https +
+ +
+ + +
+ + + +
+ profile_image_uri(size = :normal) + click to toggle source +
+ + +
+ +

Return the URL to the user’s profile image

+ +

@param size [String, Symbol] The size of the image. Must be one of: ‘mini’, +‘normal’, ‘bigger’ or ‘original’ @return [Addressable::URI]

+ + + +
+
+# File lib/twitter/profile.rb, line 53
+def profile_image_uri(size = :normal)
+  parse_encoded_uri(insecure_uri(profile_image_uri_https(size))) unless @attrs[:profile_image_url_https].nil?
+end
+
+ +
+ + +
+ Also aliased as: profile_image_url +
+ + + +
+ + +
+ + + +
+ profile_image_uri?() + click to toggle source +
+ + +
+ +

@return [Boolean]

+ + + +
+
+# File lib/twitter/profile.rb, line 74
+def profile_image_uri?
+  !!@attrs[:profile_image_url_https]
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ profile_image_uri_https(size = :normal) + click to toggle source +
+ + +
+ +

Return the secure URL to the user’s profile image

+ +

@param size [String, Symbol] The size of the image. Must be one of: ‘mini’, +‘normal’, ‘bigger’ or ‘original’ @return [Addressable::URI]

+ + + +
+
+# File lib/twitter/profile.rb, line 62
+def profile_image_uri_https(size = :normal)
+  # The profile image URL comes in looking like like this:
+  # https://a0.twimg.com/profile_images/1759857427/image1326743606_normal.png
+  # It can be converted to any of the following sizes:
+  # https://a0.twimg.com/profile_images/1759857427/image1326743606.png
+  # https://a0.twimg.com/profile_images/1759857427/image1326743606_mini.png
+  # https://a0.twimg.com/profile_images/1759857427/image1326743606_bigger.png
+  parse_encoded_uri(@attrs[:profile_image_url_https].sub(PROFILE_IMAGE_SUFFIX_REGEX, profile_image_suffix(size))) unless @attrs[:profile_image_url_https].nil?
+end
+
+ +
+ + +
+ Also aliased as: profile_image_url_https +
+ + + +
+ + +
+ + + +
+ profile_image_url(size = :normal) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: profile_image_uri +
+ +
+ + +
+ + + +
+ profile_image_url_https(size = :normal) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: profile_image_uri_https +
+ +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/ProfileBanner.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/ProfileBanner.html new file mode 100644 index 0000000..5b957b4 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/ProfileBanner.html @@ -0,0 +1,400 @@ + + + + + + + Class: Twitter::ProfileBanner + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::ProfileBanner

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ sizes() + click to toggle source +
+ + +
+ +

Returns an array of photo sizes

+ +

@return [Array<Twitter::Size>]

+ + + +
+
+# File lib/twitter/profile_banner.rb, line 8
+def sizes
+  @attrs.fetch(:sizes, []).inject({}) do |object, (key, value)|
+    object[key] = Size.new(value)
+    object
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST.html new file mode 100644 index 0000000..5a2f21b --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST.html @@ -0,0 +1,459 @@ + + + + + + + Module: Twitter::REST + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ + + + + +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/API.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/API.html new file mode 100644 index 0000000..3c114f8 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/API.html @@ -0,0 +1,414 @@ + + + + + + + Module: Twitter::REST::API + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ + + +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::API

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Client.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Client.html new file mode 100644 index 0000000..946156e --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Client.html @@ -0,0 +1,741 @@ + + + + + + + Class: Twitter::REST::Client + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + + + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Client

+ +
+ +

Wrapper for the Twitter REST API

+ +

@note All methods have been separated into modules and follow the same +grouping used in {dev.twitter.com/doc the Twitter API +Documentation}. @see dev.twitter.com/pages/every_developer

+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
ENDPOINT
+ +
+ + +
URL_PREFIX
+ +
+ + +
+
+ + + + +
+

Attributes

+ + +
+ + + + +
+ bearer_token[RW] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Instance Methods

+ + +
+ + + +
+ bearer_token?() + click to toggle source +
+ + +
+ +

@return [Boolean]

+ + + +
+
+# File lib/twitter/rest/client.rb, line 89
+def bearer_token?
+  !!bearer_token
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ connection_options() + click to toggle source +
+ + +
+ +

@return [Hash]

+ + + +
+
+# File lib/twitter/rest/client.rb, line 33
+def connection_options
+  @connection_options ||= {
+    :builder => middleware,
+    :headers => {
+      :accept => 'application/json',
+      :user_agent => user_agent,
+    },
+    :request => {
+      :open_timeout => 10,
+      :timeout => 30,
+    },
+    :proxy => proxy
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ connection_options=(connection_options) + click to toggle source +
+ + +
+ +

@param connection_options +[Hash] @return [Hash]

+ + + +
+
+# File lib/twitter/rest/client.rb, line 27
+def connection_options=(connection_options)
+  warn "#{Kernel.caller.first}: [DEPRECATION] Twitter::REST::Client#connection_options= is deprecated and will be removed in version 6.0.0."
+  @connection_options = connection_options
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ credentials?() + click to toggle source +
+ + +
+ +

@return [Boolean]

+ + + +
+
+# File lib/twitter/rest/client.rb, line 94
+def credentials?
+  super || bearer_token?
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ get(path, params = {}) + click to toggle source +
+ + +
+ +

Perform an HTTP GET request

+ + + +
+
+# File lib/twitter/rest/client.rb, line 77
+def get(path, params = {})
+  headers = request_headers(:get, URL_PREFIX + path, params)
+  request(:get, path, params, headers)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ middleware() + click to toggle source +
+ + +
+ +

@note Faraday’s middleware stack implementation is comparable to that of +Rack middleware. The order of middleware is important: the first +middleware on the list wraps all others, while the last middleware is the +innermost one. @see github.com/technoweenie/faraday#advanced-middleware-usage +@see mislav.uniqpath.com/2011/07/faraday-advanced-http/ +@return [Faraday::RackBuilder]

+ + + +
+
+# File lib/twitter/rest/client.rb, line 59
+def middleware
+  @middleware ||= Faraday::RackBuilder.new do |faraday|
+    # Convert file uploads to Faraday::UploadIO objects
+    faraday.request :multipart_with_file
+    # Checks for files in the payload, otherwise leaves everything untouched
+    faraday.request :multipart
+    # Encodes as "application/x-www-form-urlencoded" if not already encoded
+    faraday.request :url_encoded
+    # Handle error responses
+    faraday.response :raise_error
+    # Parse JSON response bodies
+    faraday.response :parse_json
+    # Set default HTTP adapter
+    faraday.adapter :net_http
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ middleware=(middleware) + click to toggle source +
+ + +
+ +

@params middleware [Faraday::RackBuilder] @return [Faraday::RackBuilder]

+ + + +
+
+# File lib/twitter/rest/client.rb, line 50
+def middleware=(middleware)
+  warn "#{Kernel.caller.first}: [DEPRECATION] Twitter::REST::Client#middleware= is deprecated and will be removed in version 6.0.0."
+  @middleware = middleware
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ post(path, params = {}) + click to toggle source +
+ + +
+ +

Perform an HTTP POST request

+ + + +
+
+# File lib/twitter/rest/client.rb, line 83
+def post(path, params = {})
+  headers = params.values.any? { |value| value.respond_to?(:to_io) } ? request_headers(:post, URL_PREFIX + path, params, {}) : request_headers(:post, URL_PREFIX + path, params)
+  request(:post, path, params, headers)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/DirectMessages.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/DirectMessages.html new file mode 100644 index 0000000..9ece3a3 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/DirectMessages.html @@ -0,0 +1,791 @@ + + + + + + + Module: Twitter::REST::DirectMessages + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + + + + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::DirectMessages

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ create_direct_message(user, text, options = {}) + click to toggle source +
+ + +
+ +

Sends a new direct message to the specified user from the authenticating +user

+ +

@see dev.twitter.com/docs/api/1.1/post/direct_messages/new +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Twitter::DirectMessage] The sent message. @param user [Integer, String, +Twitter::User] A Twitter user ID, screen +name, URI, or object. @param text [String] The text of your direct message, +up to 140 characters. @param options [Hash] A customizable set of options.

+ + + +
+
+# File lib/twitter/rest/direct_messages.rb, line 127
+def create_direct_message(user, text, options = {})
+  merge_user!(options, user)
+  options[:text] = text
+  perform_with_object(:post, '/1.1/direct_messages/new.json', options, Twitter::DirectMessage)
+end
+
+ +
+ + +
+ Also aliased as: d, m, dm +
+ + + +
+ + +
+ + + +
+ d(user, text, options = {}) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: create_direct_message +
+ +
+ + +
+ + + +
+ destroy_direct_message(*args) + click to toggle source +
+ + +
+ +

Destroys direct messages

+ +

@see dev.twitter.com/docs/api/1.1/post/direct_messages/destroy +@note This method requires an access token with RWD (read, write & +direct message) permissions. Consult The Application Permission Model for +more information. @rate_limited No @authentication Requires user context +@raise [Twitter::Error::Unauthorized] Error +raised when supplied user credentials are not valid. @return +[Array<Twitter::DirectMessage>] Deleted direct message. @overload destroy_direct_message(*ids)

+ +
@param ids [Enumerable<Integer>] A collection of direct message IDs.
+ +

@overload destroy_direct_message(*ids, +options)

+ +
@param ids [Enumerable<Integer>] A collection of direct message IDs.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/direct_messages.rb, line 112
+def destroy_direct_message(*args)
+  parallel_objects_from_response(Twitter::DirectMessage, :post, '/1.1/direct_messages/destroy.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ direct_message(id, options = {}) + click to toggle source +
+ + +
+ +

Returns a direct message

+ +

@see dev.twitter.com/docs/api/1.1/get/direct_messages/show +@note This method requires an access token with RWD (read, write & +direct message) permissions. Consult The Application Permission Model for +more information. @rate_limited Yes @authentication Requires user context +@raise [Twitter::Error::Unauthorized] Error +raised when supplied user credentials are not valid. @return +[Twitter::DirectMessage] The requested messages. @param id [Integer] A +direct message ID. @param options [Hash] A customizable set of options.

+ + + +
+
+# File lib/twitter/rest/direct_messages.rb, line 58
+def direct_message(id, options = {})
+  options[:id] = id
+  perform_with_object(:get, '/1.1/direct_messages/show.json', options, Twitter::DirectMessage)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ direct_messages(*args) + click to toggle source +
+ + +
+ +

@note This method requires an access token with RWD (read, write & +direct message) permissions. Consult The Application Permission Model for +more information. @rate_limited Yes @authentication Requires user context +@raise [Twitter::Error::Unauthorized] Error +raised when supplied user credentials are not valid. @return +[Array<Twitter::DirectMessage>] The requested messages. @overload direct_messages(options += {})

+ +
Returns the 20 most recent direct messages sent to the authenticating user
+
+@see https://dev.twitter.com/docs/api/1.1/get/direct_messages
+@param options [Hash] A customizable set of options.
+@option options [Integer] :since_id Returns results with an ID greater than (that is, more recent than) the specified ID.
+@option options [Integer] :max_id Returns results with an ID less than (that is, older than) or equal to the specified ID.
+@option options [Integer] :count Specifies the number of records to retrieve. Must be less than or equal to 200.
+@option options [Integer] :page Specifies the page of results to retrieve.
+ +

@overload direct_messages(*ids)

+ +
Returns direct messages
+
+@see https://dev.twitter.com/docs/api/1.1/get/direct_messages/show
+@param ids [Enumerable<Integer>] A collection of direct message IDs.
+ +

@overload direct_messages(*ids, +options)

+ +
Returns direct messages
+
+@see https://dev.twitter.com/docs/api/1.1/get/direct_messages/show
+@param ids [Enumerable<Integer>] A collection of direct message IDs.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/direct_messages.rb, line 88
+def direct_messages(*args)
+  arguments = Twitter::Arguments.new(args)
+  if arguments.empty?
+    direct_messages_received(arguments.options)
+  else
+    pmap(arguments) do |id|
+      direct_message(id, arguments.options)
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ direct_messages_received(options = {}) + click to toggle source +
+ + +
+ +

Returns the 20 most recent direct messages sent to the authenticating user

+ +

@see dev.twitter.com/docs/api/1.1/get/direct_messages +@note This method requires an access token with RWD (read, write & +direct message) permissions. Consult The Application Permission Model for +more information. @rate_limited Yes @authentication Requires user context +@raise [Twitter::Error::Unauthorized] Error +raised when supplied user credentials are not valid. @return +[Array<Twitter::DirectMessage>] Direct messages sent to the +authenticating user. @param options [Hash] A customizable set of options. +@option options [Integer] :since_id Returns results with an ID greater than +(that is, more recent than) the specified ID. @option options [Integer] +:max_id Returns results with an ID less than (that is, older than) or equal +to the specified ID. @option options [Integer] :count Specifies the number +of records to retrieve. Must be less than or equal to 200. @option options +[Integer] :page Specifies the page of results to retrieve.

+ + + +
+
+# File lib/twitter/rest/direct_messages.rb, line 27
+def direct_messages_received(options = {})
+  perform_with_objects(:get, '/1.1/direct_messages.json', options, Twitter::DirectMessage)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ direct_messages_sent(options = {}) + click to toggle source +
+ + +
+ +

Returns the 20 most recent direct messages sent by the authenticating user

+ +

@see dev.twitter.com/docs/api/1.1/get/direct_messages/sent +@note This method requires an access token with RWD (read, write & +direct message) permissions. Consult The Application Permission Model for +more information. @rate_limited Yes @authentication Requires user context +@raise [Twitter::Error::Unauthorized] Error +raised when supplied user credentials are not valid. @return +[Array<Twitter::DirectMessage>] Direct messages sent by the +authenticating user. @param options [Hash] A customizable set of options. +@option options [Integer] :since_id Returns results with an ID greater than +(that is, more recent than) the specified ID. @option options [Integer] +:max_id Returns results with an ID less than (that is, older than) or equal +to the specified ID. @option options [Integer] :count Specifies the number +of records to retrieve. Must be less than or equal to 200. @option options +[Integer] :page Specifies the page of results to retrieve.

+ + + +
+
+# File lib/twitter/rest/direct_messages.rb, line 44
+def direct_messages_sent(options = {})
+  perform_with_objects(:get, '/1.1/direct_messages/sent.json', options, Twitter::DirectMessage)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ dm(user, text, options = {}) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: create_direct_message +
+ +
+ + +
+ + + +
+ m(user, text, options = {}) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: create_direct_message +
+ +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Favorites.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Favorites.html new file mode 100644 index 0000000..a4600a7 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Favorites.html @@ -0,0 +1,790 @@ + + + + + + + Module: Twitter::REST::Favorites + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Favorites

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ create_favorite!(*args) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: favorite! +
+ +
+ + +
+ + + +
+ destroy_favorite(*args) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: unfavorite +
+ +
+ + +
+ + + +
+ fav(*args) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: favorite +
+ +
+ + +
+ + + +
+ fav!(*args) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: favorite! +
+ +
+ + +
+ + + +
+ fave(*args) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: favorite +
+ +
+ + +
+ + + +
+ fave!(*args) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: favorite! +
+ +
+ + +
+ + + +
+ favorite(*args) + click to toggle source +
+ + +
+ +

Favorites the specified Tweets as the authenticating user

+ +

@see dev.twitter.com/docs/api/1.1/post/favorites/create +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::Tweet>] The favorited Tweets. @overload favorite(*tweets)

+ +
@param tweets [Enumerable<Integer, String, URI, Twitter::Tweet>] A collection of Tweet IDs, URIs, or objects.
+ +

@overload favorite(*tweets, options)

+ +
@param tweets [Enumerable<Integer, String, URI, Twitter::Tweet>] A collection of Tweet IDs, URIs, or objects.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/favorites.rb, line 69
+def favorite(*args)
+  arguments = Twitter::Arguments.new(args)
+  pmap(arguments) do |tweet|
+    begin
+      perform_with_object(:post, '/1.1/favorites/create.json', arguments.options.merge(:id => extract_id(tweet)), Twitter::Tweet)
+    rescue Twitter::Error::AlreadyFavorited
+      next
+    end
+  end.compact
+end
+
+ +
+ + +
+ Also aliased as: fav, fave +
+ + + +
+ + +
+ + + +
+ favorite!(*args) + click to toggle source +
+ + +
+ +

Favorites the specified Tweets as the authenticating user and raises an +error if one has already been favorited

+ +

@see dev.twitter.com/docs/api/1.1/post/favorites/create +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::AlreadyFavorited] Error raised +when tweet has already been favorited. @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::Tweet>] The favorited Tweets. @overload favorite(*tweets)

+ +
@param tweets [Enumerable<Integer, String, URI, Twitter::Tweet>] A collection of Tweet IDs, URIs, or objects.
+ +

@overload favorite(*tweets, options)

+ +
@param tweets [Enumerable<Integer, String, URI, Twitter::Tweet>] A collection of Tweet IDs, URIs, or objects.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/favorites.rb, line 96
+def favorite!(*args)
+  arguments = Twitter::Arguments.new(args)
+  pmap(arguments) do |tweet|
+    perform_with_object(:post, '/1.1/favorites/create.json', arguments.options.merge(:id => extract_id(tweet)), Twitter::Tweet)
+  end
+end
+
+ +
+ + +
+ Also aliased as: create_favorite!, fav!, fave! +
+ + + +
+ + +
+ + + +
+ favorites(*args) + click to toggle source +
+ + +
+ +

@see dev.twitter.com/docs/api/1.1/get/favorites/list +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::Tweet>] favorite Tweets. +@overload favorites(options = {})

+ +
Returns the 20 most recent favorite Tweets for the authenticating user
+
+@param options [Hash] A customizable set of options.
+@option options [Integer] :count Specifies the number of records to retrieve. Must be less than or equal to 100.
+@option options [Integer] :since_id Returns results with an ID greater than (that is, more recent than) the specified ID.
+ +

@overload favorites(user, options = {})

+ +
Returns the 20 most recent favorite Tweets for the specified user
+
+@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param options [Hash] A customizable set of options.
+@option options [Integer] :count Specifies the number of records to retrieve. Must be less than or equal to 100.
+@option options [Integer] :since_id Returns results with an ID greater than (that is, more recent than) the specified ID.
+ + + +
+
+# File lib/twitter/rest/favorites.rb, line 33
+def favorites(*args)
+  arguments = Twitter::Arguments.new(args)
+  merge_user!(arguments.options, arguments.pop) if arguments.last
+  perform_with_objects(:get, '/1.1/favorites/list.json', arguments.options, Twitter::Tweet)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ unfavorite(*args) + click to toggle source +
+ + +
+ +

Un-favorites the specified Tweets as the +authenticating user

+ +

@see dev.twitter.com/docs/api/1.1/post/favorites/destroy +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::Tweet>] The un-favorited Tweets. @overload unfavorite(*tweets)

+ +
@param tweets [Enumerable<Integer, String, URI, Twitter::Tweet>] A collection of Tweet IDs, URIs, or objects.
+ +

@overload unfavorite(*tweets, options)

+ +
@param tweets [Enumerable<Integer, String, URI, Twitter::Tweet>] A collection of Tweet IDs, URIs, or objects.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/favorites.rb, line 51
+def unfavorite(*args)
+  parallel_objects_from_response(Twitter::Tweet, :post, '/1.1/favorites/destroy.json', args)
+end
+
+ +
+ + +
+ Also aliased as: destroy_favorite +
+ + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/FriendsAndFollowers.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/FriendsAndFollowers.html new file mode 100644 index 0000000..ddb4251 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/FriendsAndFollowers.html @@ -0,0 +1,1323 @@ + + + + + + + Module: Twitter::REST::FriendsAndFollowers + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ + + +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::FriendsAndFollowers

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ create_friendship(*args) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: follow +
+ +
+ + +
+ + + +
+ create_friendship!(*args) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: follow! +
+ +
+ + +
+ + + +
+ destroy_friendship(*args) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: unfollow +
+ +
+ + +
+ + + +
+ follow(*args) + click to toggle source +
+ + +
+ +

Allows the authenticating user to follow the specified users, unless they +are already followed

+ +

@see dev.twitter.com/docs/api/1.1/post/friendships/create +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::User>] The followed users. @overload follow(*users)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+ +

@overload follow(*users, options)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+@param options [Hash] A customizable set of options.
+@option options [Boolean] :follow (false) Enable notifications for the target user.
+ + + +
+
+# File lib/twitter/rest/friends_and_followers.rb, line 106
+def follow(*args)
+  arguments = Twitter::Arguments.new(args)
+  existing_friends = Thread.new do
+    friend_ids.to_a
+  end
+  new_friends = Thread.new do
+    users(args).collect(&:id)
+  end
+  follow!(new_friends.value - existing_friends.value, arguments.options)
+end
+
+ +
+ + +
+ Also aliased as: create_friendship +
+ + + +
+ + +
+ + + +
+ follow!(*args) + click to toggle source +
+ + +
+ +

Allows the authenticating user to follow the specified users

+ +

@see dev.twitter.com/docs/api/1.1/post/friendships/create +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::User>] The followed users. @overload follow!(*users)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+ +

@overload follow!(*users, options)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+@param options [Hash] A customizable set of options.
+@option options [Boolean] :follow (false) Enable notifications for the target user.
+ + + +
+
+# File lib/twitter/rest/friends_and_followers.rb, line 132
+def follow!(*args)
+  arguments = Twitter::Arguments.new(args)
+  pmap(arguments) do |user|
+    perform_with_object(:post, '/1.1/friendships/create.json', merge_user(arguments.options, user), Twitter::User)
+  end.compact
+end
+
+ +
+ + +
+ Also aliased as: create_friendship! +
+ + + +
+ + +
+ + + +
+ follower_ids(*args) + click to toggle source +
+ + +
+ +

@see dev.twitter.com/docs/api/1.1/get/followers/ids +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::Cursor] +@overload follower_ids(options += {})

+ +
Returns an array of numeric IDs for every user following the authenticated user
+
+@param options [Hash] A customizable set of options.
+ +

@overload follower_ids(user, +options = {})

+ +
Returns an array of numeric IDs for every user following the specified user
+
+@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/friends_and_followers.rb, line 47
+def follower_ids(*args)
+  cursor_from_response_with_user(:ids, nil, :get, '/1.1/followers/ids.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ followers(*args) + click to toggle source +
+ + +
+ +

Returns a cursored collection of user objects for users following the +specified user.

+ +

@see dev.twitter.com/docs/api/1.1/get/followers/list +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::Cursor] +@overload followers(options = {})

+ +
Returns a cursored collection of user objects for users following the authenticated user.
+
+@param options [Hash] A customizable set of options.
+@option options [Boolean, String, Integer] :skip_status Do not include contributee's Tweets when set to true, 't' or 1.
+@option options [Boolean, String, Integer] :include_user_entities The user entities node will be disincluded when set to false.
+ +

@overload followers(user, options = {})

+ +
Returns a cursored collection of user objects for users following the specified user.
+
+@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param options [Hash] A customizable set of options.
+@option options [Boolean, String, Integer] :skip_status Do not include contributee's Tweets when set to true, 't' or 1.
+@option options [Boolean, String, Integer] :include_user_entities The user entities node will be disincluded when set to false.
+ + + +
+
+# File lib/twitter/rest/friends_and_followers.rb, line 229
+def followers(*args)
+  cursor_from_response_with_user(:users, Twitter::User, :get, '/1.1/followers/list.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ following(*args) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: friends +
+ +
+ + +
+ + + +
+ friend_ids(*args) + click to toggle source +
+ + +
+ +

@see dev.twitter.com/docs/api/1.1/get/friends/ids +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::Cursor] +@overload friend_ids(options += {})

+ +
Returns an array of numeric IDs for every user the authenticated user is following
+
+@param options [Hash] A customizable set of options.
+ +

@overload friend_ids(user, +options = {})

+ +
Returns an array of numeric IDs for every user the specified user is following
+
+@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/friends_and_followers.rb, line 29
+def friend_ids(*args)
+  cursor_from_response_with_user(:ids, nil, :get, '/1.1/friends/ids.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ friends(*args) + click to toggle source +
+ + +
+ +

Returns a cursored collection of user objects for every user the specified +user is following (otherwise known as their “friends”).

+ +

@see dev.twitter.com/docs/api/1.1/get/friends/list +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::Cursor] +@overload friends(options = {})

+ +
Returns a cursored collection of user objects for every user the authenticated user is following (otherwise known as their "friends").
+
+@param options [Hash] A customizable set of options.
+@option options [Boolean, String, Integer] :skip_status Do not include contributee's Tweets when set to true, 't' or 1.
+@option options [Boolean, String, Integer] :include_user_entities The user entities node will be disincluded when set to false.
+ +

@overload friends(user, options = {})

+ +
Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their "friends").
+
+@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param options [Hash] A customizable set of options.
+@option options [Boolean, String, Integer] :skip_status Do not include contributee's Tweets when set to true, 't' or 1.
+@option options [Boolean, String, Integer] :include_user_entities The user entities node will be disincluded when set to false.
+ + + +
+
+# File lib/twitter/rest/friends_and_followers.rb, line 253
+def friends(*args)
+  cursor_from_response_with_user(:users, Twitter::User, :get, '/1.1/friends/list.json', args)
+end
+
+ +
+ + +
+ Also aliased as: following +
+ + + +
+ + +
+ + + +
+ friendship(source, target, options = {}) + click to toggle source +
+ + +
+ +

Returns detailed information about the relationship between two users

+ +

@see dev.twitter.com/docs/api/1.1/get/friendships/show +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Twitter::Relationship] @param source [Integer, String, Twitter::User] The +Twitter user ID, screen name, or object of +the source user. @param target [Integer, String, Twitter::User] The Twitter user ID, screen name, or object of +the target user. @param options [Hash] A customizable set of options.

+ + + +
+
+# File lib/twitter/rest/friends_and_followers.rb, line 185
+def friendship(source, target, options = {})
+  merge_user!(options, source, 'source')
+  options[:source_id] = options.delete(:source_user_id) unless options[:source_user_id].nil?
+  merge_user!(options, target, 'target')
+  options[:target_id] = options.delete(:target_user_id) unless options[:target_user_id].nil?
+  perform_with_object(:get, '/1.1/friendships/show.json', options, Twitter::Relationship)
+end
+
+ +
+ + +
+ Also aliased as: friendship_show, relationship +
+ + + +
+ + +
+ + + +
+ friendship?(source, target, options = {}) + click to toggle source +
+ + +
+ +

Test for the existence of friendship between two users

+ +

@see dev.twitter.com/docs/api/1.1/get/friendships/show +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Boolean] true if +user_a follows user_b, otherwise false. @param source [Integer, String, +Twitter::User] The Twitter user ID, screen +name, or object of the source user. @param target [Integer, String, +Twitter::User] The Twitter user ID, screen +name, or object of the target user. @param options [Hash] A customizable +set of options.

+ + + +
+
+# File lib/twitter/rest/friends_and_followers.rb, line 205
+def friendship?(source, target, options = {})
+  friendship(source, target, options).source.following?
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ friendship_show(source, target, options = {}) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: friendship +
+ +
+ + +
+ + + +
+ friendship_update(user, options = {}) + click to toggle source +
+ + +
+ +

Allows one to enable or disable retweets and device notifications from the +specified user.

+ +

@see dev.twitter.com/docs/api/1.1/post/friendships/update +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Twitter::Relationship] @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object. +@param options [Hash] A customizable set of options. @option options +[Boolean] :device Enable/disable device notifications from the target user. +@option options [Boolean] :retweets Enable/disable retweets from the target +user.

+ + + +
+
+# File lib/twitter/rest/friends_and_followers.rb, line 170
+def friendship_update(user, options = {})
+  merge_user!(options, user)
+  perform_with_object(:post, '/1.1/friendships/update.json', options, Twitter::Relationship)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ friendships(*args) + click to toggle source +
+ + +
+ +

Returns the relationship of the authenticating user to the comma separated +list of up to 100 screen_names or user_ids provided. Values for connections +can be: following, following_requested, followed_by, none.

+ +

@see dev.twitter.com/docs/api/1.1/get/friendships/lookup +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::User>] The requested users. @overload +friendships(*users)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+ +

@overload friendships(*users, options)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/friends_and_followers.rb, line 63
+def friendships(*args)
+  arguments = Twitter::Arguments.new(args)
+  merge_users!(arguments.options, arguments)
+  perform_with_objects(:get, '/1.1/friendships/lookup.json', arguments.options, Twitter::User)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ friendships_incoming(options = {}) + click to toggle source +
+ + +
+ +

Returns an array of numeric IDs for every user who has a pending request to +follow the authenticating user

+ +

@see dev.twitter.com/docs/api/1.1/get/friendships/incoming +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::Cursor] +@param options [Hash] A customizable set of options.

+ + + +
+
+# File lib/twitter/rest/friends_and_followers.rb, line 77
+def friendships_incoming(options = {})
+  perform_with_cursor(:get, '/1.1/friendships/incoming.json', options, :ids)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ friendships_outgoing(options = {}) + click to toggle source +
+ + +
+ +

Returns an array of numeric IDs for every protected user for whom the +authenticating user has a pending follow request

+ +

@see dev.twitter.com/docs/api/1.1/get/friendships/outgoing +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::Cursor] +@param options [Hash] A customizable set of options.

+ + + +
+
+# File lib/twitter/rest/friends_and_followers.rb, line 89
+def friendships_outgoing(options = {})
+  perform_with_cursor(:get, '/1.1/friendships/outgoing.json', options, :ids)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ no_retweet_ids(options = {}) + click to toggle source +
+ + +
+ +

Returns a collection of user IDs that the currently authenticated user does +not want to receive retweets from. @see dev.twitter.com/docs/api/1.1/get/friendships/no_retweets/ids +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Integer>] @param options [Hash] A customizable set of options.

+ + + +
+
+# File lib/twitter/rest/friends_and_followers.rb, line 265
+def no_retweet_ids(options = {})
+  get('/1.1/friendships/no_retweets/ids.json', options).body.collect(&:to_i)
+end
+
+ +
+ + +
+ Also aliased as: no_retweets_ids +
+ + + +
+ + +
+ + + +
+ no_retweets_ids(options = {}) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: no_retweet_ids +
+ +
+ + +
+ + + +
+ relationship(source, target, options = {}) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: friendship +
+ +
+ + +
+ + + +
+ unfollow(*args) + click to toggle source +
+ + +
+ +

Allows the authenticating user to unfollow the specified users

+ +

@see dev.twitter.com/docs/api/1.1/post/friendships/destroy +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::User>] The unfollowed users. @overload +unfollow(*users)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+ +

@overload unfollow(*users, options)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/friends_and_followers.rb, line 153
+def unfollow(*args)
+  parallel_users_from_response(:post, '/1.1/friendships/destroy.json', args)
+end
+
+ +
+ + +
+ Also aliased as: destroy_friendship +
+ + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Help.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Help.html new file mode 100644 index 0000000..a30b0a9 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Help.html @@ -0,0 +1,534 @@ + + + + + + + Module: Twitter::REST::Help + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Help

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ configuration(options = {}) + click to toggle source +
+ + +
+ +

Returns the current configuration used by Twitter

+ +

@see dev.twitter.com/docs/api/1.1/get/help/configuration +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Twitter::Configuration] Twitter’s configuration.

+ + + +
+
+# File lib/twitter/rest/help.rb, line 18
+def configuration(options = {})
+  perform_with_object(:get, '/1.1/help/configuration.json', options, Twitter::Configuration)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ languages(options = {}) + click to toggle source +
+ + +
+ +

Returns the list of languages supported by Twitter

+ +

@see dev.twitter.com/docs/api/1.1/get/help/languages +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::Language>]

+ + + +
+
+# File lib/twitter/rest/help.rb, line 29
+def languages(options = {})
+  perform_with_objects(:get, '/1.1/help/languages.json', options, Twitter::Language)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ privacy(options = {}) + click to toggle source +
+ + +
+ +

Returns {twitter.com/privacy +Twitter’s Privacy Policy}

+ +

@see dev.twitter.com/docs/api/1.1/get/help/privacy +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [String]

+ + + +
+
+# File lib/twitter/rest/help.rb, line 40
+def privacy(options = {})
+  get('/1.1/help/privacy.json', options).body[:privacy]
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ tos(options = {}) + click to toggle source +
+ + +
+ +

Returns {twitter.com/tos Twitter’s +Terms of Service}

+ +

@see dev.twitter.com/docs/api/1.1/get/help/tos +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [String]

+ + + +
+
+# File lib/twitter/rest/help.rb, line 51
+def tos(options = {})
+  get('/1.1/help/tos.json', options).body[:tos]
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Lists.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Lists.html new file mode 100644 index 0000000..d476e03 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Lists.html @@ -0,0 +1,1463 @@ + + + + + + + Module: Twitter::REST::Lists + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ + + +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Lists

+ +
+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
MAX_USERS_PER_REQUEST
+ +
+ + +
URI_SUBSTRING
+ +
+ + +
+
+ + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ add_list_member(*args) + click to toggle source +
+ + +
+ +

Add a member to a list

+ +

@see dev.twitter.com/docs/api/1.1/post/lists/members/create +@note Lists are limited to having 500 members. +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::List] The +list. @overload add_list_member(list, +user_to_add, options = {})

+ +
@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param user_to_add [Integer, String] The user id or screen name to add to the list.
+@param options [Hash] A customizable set of options.
+ +

@overload add_list_member(user, list, +user_to_add, options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param user_to_add [Integer, String] The user id or screen name to add to the list.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/lists.rb, line 258
+def add_list_member(*args)
+  list_from_response_with_user(:post, '/1.1/lists/members/create.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ add_list_members(*args) + click to toggle source +
+ + +
+ +

Adds specified members to a list

+ +

@see dev.twitter.com/docs/api/1.1/post/lists/members/create_all +@note Lists are limited to having 500 members, and +you are limited to adding up to 100 members to a list at a time with this +method. @rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::List] The +list. @overload add_list_members(list, +users, options = {})

+ +
@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+@param options [Hash] A customizable set of options.
+ +

@overload add_list_members(user, +list, users, options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/lists.rb, line 198
+def add_list_members(*args)
+  list_from_response_with_users(:post, '/1.1/lists/members/create_all.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ create_list(name, options = {}) + click to toggle source +
+ + +
+ +

Creates a new list for the authenticated user

+ +

@see dev.twitter.com/docs/api/1.1/post/lists/create +@note Accounts are limited to 20 lists. @rate_limited No @authentication +Requires user context @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are +not valid. @return [Twitter::List] The created list. @param name [String] +The name for the list. @param options [Hash] A customizable set of options. +@option options [String] :mode (‘public’) Whether your list is public or +private. Values can be ‘public’ or ‘private’. @option options [String] +:description The description to give the list.

+ + + +
+
+# File lib/twitter/rest/lists.rb, line 317
+def create_list(name, options = {})
+  perform_with_object(:post, '/1.1/lists/create.json', options.merge(:name => name), Twitter::List)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ destroy_list(*args) + click to toggle source +
+ + +
+ +

Deletes the specified list

+ +

@see dev.twitter.com/docs/api/1.1/post/lists/destroy +@note Must be owned by the authenticated user. @rate_limited No +@authentication Requires user context @raise [Twitter::Error::Unauthorized] +Error raised when supplied user credentials are +not valid. @return [Twitter::List] The deleted list. @overload destroy_list(list, options = +{})

+ +
@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param options [Hash] A customizable set of options.
+ +

@overload destroy_list(user, +list, options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/lists.rb, line 278
+def destroy_list(*args)
+  list_from_response(:post, '/1.1/lists/destroy.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ list(*args) + click to toggle source +
+ + +
+ +

Show the specified list

+ +

@see dev.twitter.com/docs/api/1.1/get/lists/show +@note Private lists will only be shown if the authenticated user owns the +specified list. @rate_limited Yes @authentication Requires user context +@raise [Twitter::Error::Unauthorized] Error +raised when supplied user credentials are not valid. @return +[Twitter::List] The specified list. @overload list(list, options = {})

+ +
@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param options [Hash] A customizable set of options.
+ +

@overload list(user, list, options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/lists.rb, line 337
+def list(*args)
+  list_from_response(:get, '/1.1/lists/show.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ list_member?(*args) + click to toggle source +
+ + +
+ +

Check if a user is a member of the specified list

+ +

@see dev.twitter.com/docs/api/1.1/get/lists/members/show +@authentication Requires user context @rate_limited Yes @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Boolean] true if +user is a member of the specified list, otherwise false. @overload +list_member?(list, user_to_check, options = {})

+ +
@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param user_to_check [Integer, String] The user ID or screen name of the list member.
+@param options [Hash] A customizable set of options.
+ +

@overload list_member?(user, list, user_to_check, options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param user_to_check [Integer, String] The user ID or screen name of the list member.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/lists.rb, line 219
+def list_member?(*args)
+  list_user?(:get, '/1.1/lists/members/show.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ list_members(*args) + click to toggle source +
+ + +
+ +

Returns the members of the specified list

+ +

@see dev.twitter.com/docs/api/1.1/get/lists/members +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::Cursor] +@overload list_members(list, +options = {})

+ +
@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param options [Hash] A customizable set of options.
+ +

@overload list_members(user, +list, options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/lists.rb, line 237
+def list_members(*args)
+  cursor_from_response_with_list(:get, '/1.1/lists/members.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ list_subscribe(*args) + click to toggle source +
+ + +
+ +

Make the authenticated user follow the specified list

+ +

@see dev.twitter.com/docs/api/1.1/post/lists/subscribers/create +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::List] The +specified list. @overload list_subscribe(list, options += {})

+ +
@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param options [Hash] A customizable set of options.
+ +

@overload list_subscribe(user, list, +options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/lists.rb, line 138
+def list_subscribe(*args)
+  list_from_response(:post, '/1.1/lists/subscribers/create.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ list_subscriber?(*args) + click to toggle source +
+ + +
+ +

Check if a user is a subscriber of the specified list

+ +

@see dev.twitter.com/docs/api/1.1/get/lists/subscribers/show +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Boolean] true if +user is a subscriber of the specified list, otherwise false. @overload +list_subscriber?(list, user_to_check, options = {})

+ +
@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param user_to_check [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param options [Hash] A customizable set of options.
+ +

@overload list_subscriber?(user, list, user_to_check, options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param user_to_check [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param options [Hash] A customizable set of options.
+ +

@return [Boolean] true if user is a subscriber of the specified list, +otherwise false.

+ + + +
+
+# File lib/twitter/rest/lists.rb, line 159
+def list_subscriber?(*args)
+  list_user?(:get, '/1.1/lists/subscribers/show.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ list_subscribers(*args) + click to toggle source +
+ + +
+ +

Returns the subscribers of the specified list

+ +

@see dev.twitter.com/docs/api/1.1/get/lists/subscribers +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::Cursor] The +subscribers of the specified list. @overload list_subscribers(list, +options = {})

+ +
@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param options [Hash] A customizable set of options.
+ +

@overload list_subscribers(user, +list, options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/lists.rb, line 120
+def list_subscribers(*args)
+  cursor_from_response_with_list(:get, '/1.1/lists/subscribers.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ list_timeline(*args) + click to toggle source +
+ + +
+ +

Show tweet timeline for members of the specified list

+ +

@see dev.twitter.com/docs/api/1.1/get/lists/statuses +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::Tweet>] @overload list_timeline(list, options = +{})

+ +
@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param options [Hash] A customizable set of options.
+@option options [Integer] :since_id Returns results with an ID greater than (that is, more recent than) the specified ID.
+@option options [Integer] :max_id Returns results with an ID less than (that is, older than) or equal to the specified ID.
+@option options [Integer] :count The number of results to retrieve.
+ +

@overload list_timeline(user, list, +options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param options [Hash] A customizable set of options.
+@option options [Integer] :since_id Returns results with an ID greater than (that is, more recent than) the specified ID.
+@option options [Integer] :max_id Returns results with an ID less than (that is, older than) or equal to the specified ID.
+@option options [Integer] :count The number of results to retrieve.
+ + + +
+
+# File lib/twitter/rest/lists.rb, line 58
+def list_timeline(*args)
+  arguments = Twitter::Arguments.new(args)
+  merge_list!(arguments.options, arguments.pop)
+  merge_owner!(arguments.options, arguments.pop)
+  perform_with_objects(:get, '/1.1/lists/statuses.json', arguments.options, Twitter::Tweet)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ list_unsubscribe(*args) + click to toggle source +
+ + +
+ +

Unsubscribes the authenticated user form the specified list

+ +

@see dev.twitter.com/docs/api/1.1/post/lists/subscribers/destroy +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::List] The +specified list. @overload list_unsubscribe(list, +options = {})

+ +
@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param options [Hash] A customizable set of options.
+ +

@overload list_unsubscribe(user, +list, options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/lists.rb, line 177
+def list_unsubscribe(*args)
+  list_from_response(:post, '/1.1/lists/subscribers/destroy.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ list_update(*args) + click to toggle source +
+ + +
+ +

Updates the specified list

+ +

@see dev.twitter.com/docs/api/1.1/post/lists/update +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::List] The +created list. @overload list_update(list, options = {})

+ +
@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param options [Hash] A customizable set of options.
+@option options [String] :mode ('public') Whether your list is public or private. Values can be 'public' or 'private'.
+@option options [String] :description The description to give the list.
+ +

@overload list_update(user, +list, options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param options [Hash] A customizable set of options.
+@option options [String] :mode ('public') Whether your list is public or private. Values can be 'public' or 'private'.
+@option options [String] :description The description to give the list.
+ + + +
+
+# File lib/twitter/rest/lists.rb, line 301
+def list_update(*args)
+  list_from_response(:post, '/1.1/lists/update.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ lists(*args) + click to toggle source +
+ + +
+ +

Returns all lists the authenticating or specified user subscribes to, +including their own

+ +

@see dev.twitter.com/docs/api/1.1/get/lists/list +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::List>] @overload lists(options = {})

+ +
@param options [Hash] A customizable set of options.
+@option options [Boolean] :reverse Set this to true if you would like owned lists to be returned first.
+ +

@overload lists(user, options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param options [Hash] A customizable set of options.
+@option options [Boolean] :reverse Set this to true if you would like owned lists to be returned first.
+ + + +
+
+# File lib/twitter/rest/lists.rb, line 33
+def lists(*args)
+  objects_from_response_with_user(Twitter::List, :get, '/1.1/lists/list.json', args)
+end
+
+ +
+ + +
+ Also aliased as: lists_subscribed_to +
+ + + +
+ + +
+ + + +
+ lists_subscribed_to(*args) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: lists +
+ +
+ + +
+ + + +
+ memberships(*args) + click to toggle source +
+ + +
+ +

List the lists the specified user has been added +to

+ +

@see dev.twitter.com/docs/api/1.1/get/lists/memberships +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::Cursor] +@overload memberships(options = {})

+ +
@param options [Hash] A customizable set of options.
+@option options [Integer] :count The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be returned in a single page.
+@option options [Boolean, String, Integer] :filter_to_owned_lists When set to true, t or 1, will return just lists the authenticating user owns, and the user represented by user_id or screen_name is a member of.
+ +

@overload memberships(user, options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param options [Hash] A customizable set of options.
+@option options [Integer] :count The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be returned in a single page.
+@option options [Boolean, String, Integer] :filter_to_owned_lists When set to true, t or 1, will return just lists the authenticating user owns, and the user represented by user_id or screen_name is a member of.
+ + + +
+
+# File lib/twitter/rest/lists.rb, line 102
+def memberships(*args)
+  cursor_from_response_with_user(:lists, Twitter::List, :get, '/1.1/lists/memberships.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ owned_lists(*args) + click to toggle source +
+ + +
+ +

Returns the lists owned by the specified Twitter user

+ +

@see dev.twitter.com/docs/api/1.1/get/lists/ownerships +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::List>] @overload owned_lists(options = {})

+ +
@param options [Hash] A customizable set of options.
+@option options [Integer] :count The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be returned in a single page.
+ +

@overload owned_lists(user, +options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param options [Hash] A customizable set of options.
+@option options [Integer] :count The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be returned in a single page.
+ + + +
+
+# File lib/twitter/rest/lists.rb, line 392
+def owned_lists(*args)
+  cursor_from_response_with_user(:lists, Twitter::List, :get, '/1.1/lists/ownerships.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ remove_list_member(*args) + click to toggle source +
+ + +
+ +

Removes the specified member from the list

+ +

@see dev.twitter.com/docs/api/1.1/post/lists/members/destroy +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::List] The +list. @overload remove_list_member(list, +user_to_remove, options = {})

+ +
@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param user_to_remove [Integer, String] The user id or screen name of the list member to remove.
+@param options [Hash] A customizable set of options.
+ +

@overload remove_list_member(user, +list, user_to_remove, options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param user_to_remove [Integer, String] The user id or screen name of the list member to remove.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/lists.rb, line 81
+def remove_list_member(*args)
+  list_from_response_with_user(:post, '/1.1/lists/members/destroy.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ remove_list_members(*args) + click to toggle source +
+ + +
+ +

Removes specified members from the list

+ +

@see dev.twitter.com/docs/api/1.1/post/lists/members/destroy_all +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::List] The +list. @overload remove_list_members(list, +users, options = {})

+ +
@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+@param options [Hash] A customizable set of options.
+ +

@overload remove_list_members(user, +list, users, options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
+@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/lists.rb, line 373
+def remove_list_members(*args)
+  list_from_response_with_users(:post, '/1.1/lists/members/destroy_all.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ subscriptions(*args) + click to toggle source +
+ + +
+ +

List the lists the specified user follows

+ +

@see dev.twitter.com/docs/api/1.1/get/lists/subscriptions +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::Cursor] +@overload subscriptions(options = {})

+ +
@param options [Hash] A customizable set of options.
+ +

@overload subscriptions(user, options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/lists.rb, line 353
+def subscriptions(*args)
+  cursor_from_response_with_user(:lists, Twitter::List, :get, '/1.1/lists/subscriptions.json', args)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Media.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Media.html new file mode 100644 index 0000000..f73e2a1 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Media.html @@ -0,0 +1,405 @@ + + + + + + + Module: Twitter::REST::Media + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Media

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ upload(media, options = {}) + click to toggle source +
+ + +
+ +

Uploads media to attach to a tweet

+ +

@see dev.twitter.com/docs/api/multiple-media-extended-entities +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @raise +[Twitter::Error::UnacceptableIO] Error when the +IO object for the media argument does not have a to_io method. @return +[Integer] The uploaded media ID. @param media [File, Hash] A File object +with your picture (PNG, JPEG or GIF) @param options [Hash] A customizable +set of options.

+ + + +
+
+# File lib/twitter/rest/media.rb, line 17
+def upload(media, options = {})
+  fail(Twitter::Error::UnacceptableIO.new) unless media.respond_to?(:to_io)
+  url_prefix = 'https://upload.twitter.com'
+  path = '/1.1/media/upload.json'
+  conn = connection.dup
+  conn.url_prefix = url_prefix
+  headers = request_headers(:post, url_prefix + path, options)
+  options.merge!(:media => media)
+  conn.post(path, options) { |request| request.headers.update(headers) }.env.body[:media_id]
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/OAuth.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/OAuth.html new file mode 100644 index 0000000..d81541a --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/OAuth.html @@ -0,0 +1,552 @@ + + + + + + + Module: Twitter::REST::OAuth + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::OAuth

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ bearer_token(options = {}) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: token +
+ +
+ + +
+ + + +
+ invalidate_token(access_token, options = {}) + click to toggle source +
+ + +
+ +

Allows a registered application to revoke an issued OAuth 2 Bearer Token by +presenting its client credentials.

+ +

@see dev.twitter.com/docs/api/1.1/post/oauth2/invalidate_token +@rate_limited No @authentication Required @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @param access_token [String, +Twitter::Token] The bearer token to revoke. @param options [Hash] A +customizable set of options. @return [Twitter::Token] The invalidated +token. token_type should be nil.

+ + + +
+
+# File lib/twitter/rest/oauth.rb, line 42
+def invalidate_token(access_token, options = {})
+  access_token = access_token.access_token if access_token.is_a?(Twitter::Token)
+  options[:access_token] = access_token
+  perform_with_object(:post, '/oauth2/invalidate_token', options, Twitter::Token)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ reverse_token() + click to toggle source +
+ + +
+ +

Allows a registered application to revoke an issued OAuth 2 Bearer Token by +presenting its client credentials.

+ +

@see dev.twitter.com/docs/api/1.1/post/oauth2/invalidate_token +@rate_limited No @authentication Required @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [String] The token +string.

+ + + +
+
+# File lib/twitter/rest/oauth.rb, line 55
+def reverse_token
+  conn = connection.dup
+  conn.builder.swap(4, Twitter::REST::Response::ParseErrorJson)
+  response = conn.post('/oauth/request_token?x_auth_mode=reverse_auth') do |request|
+    request.headers[:authorization] = oauth_auth_header(:post, 'https://api.twitter.com/oauth/request_token', :x_auth_mode => 'reverse_auth').to_s
+  end
+  response.body
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ token(options = {}) + click to toggle source +
+ + +
+ +

Allows a registered application to obtain an OAuth +2 Bearer Token, which can be used to make API requests on an application’s own behalf, without a +user context.

+ +

Only one bearer token may exist outstanding for an application, and +repeated requests to this method will yield the same already-existent token +until it has been invalidated.

+ +

@see dev.twitter.com/docs/api/1.1/post/oauth2/token +@rate_limited No @authentication Required @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::Token] The +Bearer Token. token_type should be ‘bearer’. +@param options [Hash] A customizable set of options. @example Generate a +Bearer Token

+ +
client = Twitter::REST::Client.new(:consumer_key => "abc", :consumer_secret => 'def')
+bearer_token = client.token
+ + + +
+
+# File lib/twitter/rest/oauth.rb, line 26
+def token(options = {})
+  options[:bearer_token_request] = true
+  options[:grant_type] ||= 'client_credentials'
+  perform_with_object(:post, '/oauth2/token', options, Twitter::Token)
+end
+
+ +
+ + +
+ Also aliased as: bearer_token +
+ + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/PlacesAndGeo.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/PlacesAndGeo.html new file mode 100644 index 0000000..3950e89 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/PlacesAndGeo.html @@ -0,0 +1,676 @@ + + + + + + + Module: Twitter::REST::PlacesAndGeo + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + + + + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::PlacesAndGeo

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ geo_search(options = {}) + click to toggle source +
+ + +
+ +

Search for places that can be attached to a {Twitter::REST::Tweets#update}

+ +

@see dev.twitter.com/docs/api/1.1/get/geo/search +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @param options [Hash] A +customizable set of options. @option options [Float] :lat The latitude to +search around. This option will be ignored unless it is inside the range +-90.0 to +90.0 (North is positive) inclusive. It will also be ignored if +there isn’t a corresponding :long option. @option options [Float] :long The +longitude to search around. The valid range for longitude is -180.0 to ++180.0 (East is positive) inclusive. This option will be ignored if outside +that range, if it is not a number, if geo_enabled is disabled, or if there +not a corresponding :lat option. @option options [String] :query Free-form +text to match against while executing a geo-based query, best suited for +finding nearby locations by name. @option options [String] :ip An IP +address. Used when attempting to fix geolocation based off of the user’s IP +address. @option options [String] :granularity (‘neighborhood’) This is the +minimal granularity of place types to return and must be one of: ‘poi’, +‘neighborhood’, ‘city’, ‘admin’ or ‘country’. @option options [String] +:accuracy (‘0m’) A hint on the “region” in which to search. If a number, +then this is a radius in meters, but it can also take a string that is +suffixed with ft to specify feet. If coming from a device, in practice, +this value is whatever accuracy the device has measuring its location +(whether it be coming from a GPS, WiFi triangulation, etc.). @option +options [Integer] :max_results A hint as to the number of results to +return. This does not guarantee that the number of results returned will +equal max_results, but instead informs how many “nearby” results to return. +Ideally, only pass in the number of places you intend to display to the +user here. @option options [String] :contained_within This is the place_id +which you would like to restrict the search results to. Setting this value +means only places within the given place_id will be found. @option options +[String] :“attribute:street_address” This option searches for places which +have this given street address. There are other well-known and +application-specific attributes available. Custom attributes are also +permitted. @return [Array<Twitter::Place>]

+ + + +
+
+# File lib/twitter/rest/places_and_geo.rb, line 59
+def geo_search(options = {})
+  perform_with_object(:get, '/1.1/geo/search.json', options, Twitter::GeoResults)
+end
+
+ +
+ + +
+ Also aliased as: places_nearby +
+ + + +
+ + +
+ + + +
+ place(place_id, options = {}) + click to toggle source +
+ + +
+ +

Returns all the information about a known place

+ +

@see dev.twitter.com/docs/api/1.1/get/geo/id/:place_id +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @param place_id [String] A +place in the world. These IDs can be retrieved from {Twitter::REST::PlacesAndGeo#reverse_geocode}. +@param options [Hash] A customizable set of options. @return +[Twitter::Place] The requested place.

+ + + +
+
+# File lib/twitter/rest/places_and_geo.rb, line 20
+def place(place_id, options = {})
+  perform_with_object(:get, "/1.1/geo/id/#{place_id}.json", options, Twitter::Place)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ places_nearby(options = {}) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: geo_search +
+ +
+ + +
+ + + +
+ places_similar(options = {}) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: similar_places +
+ +
+ + +
+ + + +
+ reverse_geocode(options = {}) + click to toggle source +
+ + +
+ +

Searches for up to 20 places that can be used as a place_id

+ +

@see dev.twitter.com/docs/api/1.1/get/geo/reverse_geocode +@note This request is an informative call and will deliver generalized +results about geography. @rate_limited Yes @authentication Requires user +context @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are +not valid. @param options [Hash] A customizable set of options. @option +options [Float] :lat The latitude to search around. This option will be +ignored unless it is inside the range -90.0 to +90.0 (North is positive) +inclusive. It will also be ignored if there isn’t a corresponding :long +option. @option options [Float] :long The longitude to search around. The +valid range for longitude is -180.0 to +180.0 (East is positive) inclusive. +This option will be ignored if outside that range, if it is not a number, +if geo_enabled is disabled, or if there not a corresponding :lat option. +@option options [String] :accuracy (‘0m’) A hint on the “region” in which +to search. If a number, then this is a radius in meters, but it can also +take a string that is suffixed with ft to specify feet. If coming from a +device, in practice, this value is whatever accuracy the device has +measuring its location (whether it be coming from a GPS, WiFi +triangulation, etc.). @option options [String] :granularity +(‘neighborhood’) This is the minimal granularity of place types to return +and must be one of: ‘poi’, ‘neighborhood’, ‘city’, ‘admin’ or ‘country’. +@option options [Integer] :max_results A hint as to the number of results +to return. This does not guarantee that the number of results returned will +equal max_results, but instead informs how many “nearby” results to return. +Ideally, only pass in the number of places you intend to display to the +user here. @return [Array<Twitter::Place>]

+ + + +
+
+# File lib/twitter/rest/places_and_geo.rb, line 38
+def reverse_geocode(options = {})
+  perform_with_object(:get, '/1.1/geo/reverse_geocode.json', options, Twitter::GeoResults)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ similar_places(options = {}) + click to toggle source +
+ + +
+ +

Locates places near the given coordinates which are similar in name

+ +

@see dev.twitter.com/docs/api/1.1/get/geo/similar_places +@note Conceptually, you would use this method to get a list of known places +to choose from first. Then, if the desired place doesn’t exist, make a +request to {Twitter::REST::PlacesAndGeo#place} +to create a new one. The token contained in the response is the token +necessary to create a new place. @rate_limited Yes @authentication Requires +user context @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are +not valid. @param options [Hash] A customizable set of options. @option +options [Float] :lat The latitude to search around. This option will be +ignored unless it is inside the range -90.0 to +90.0 (North is positive) +inclusive. It will also be ignored if there isn’t a corresponding :long +option. @option options [Float] :long The longitude to search around. The +valid range for longitude is -180.0 to +180.0 (East is positive) inclusive. +This option will be ignored if outside that range, if it is not a number, +if geo_enabled is disabled, or if there not a corresponding :lat option. +@option options [String] :name The name a place is known as. @option +options [String] :contained_within This is the place_id which you would +like to restrict the search results to. Setting this value means only +places within the given place_id will be found. @option options [String] +:“attribute:street_address” This option searches for places which have this +given street address. There are other well-known and application-specific +attributes available. Custom attributes are also permitted. @return +[Array<Twitter::Place>]

+ + + +
+
+# File lib/twitter/rest/places_and_geo.rb, line 78
+def similar_places(options = {})
+  perform_with_object(:get, '/1.1/geo/similar_places.json', options, Twitter::GeoResults)
+end
+
+ +
+ + +
+ Also aliased as: places_similar +
+ + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Request.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Request.html new file mode 100644 index 0000000..c53cea9 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Request.html @@ -0,0 +1,348 @@ + + + + + + + Module: Twitter::REST::Request + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+ + + +
+ +
+ + + + + + +
+

Namespace

+ +
+ + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Request

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Request/MultipartWithFile.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Request/MultipartWithFile.html new file mode 100644 index 0000000..fa6d359 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Request/MultipartWithFile.html @@ -0,0 +1,427 @@ + + + + + + + Class: Twitter::REST::Request::MultipartWithFile + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+ + + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Request::MultipartWithFile

+ +
+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
CONTENT_TYPE
+ +
+ + +
GIF_REGEX
+ +
+ + +
JPEG_REGEX
+ +
+ + +
PNG_REGEX
+ +
+ + +
+
+ + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ call(request) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/rest/request/multipart_with_file.rb, line 12
+def call(request)
+  request.body.each do |key, value|
+    next unless value.respond_to?(:to_io)
+    request.body[key] = Faraday::UploadIO.new(value, mime_type(value.path), value.path)
+  end if request.body.is_a?(::Hash)
+  @app.call(request)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Response.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Response.html new file mode 100644 index 0000000..58e40d8 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Response.html @@ -0,0 +1,358 @@ + + + + + + + Module: Twitter::REST::Response + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ + + +
+ + + + + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Response

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Response/ParseErrorJson.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Response/ParseErrorJson.html new file mode 100644 index 0000000..2cc68b6 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Response/ParseErrorJson.html @@ -0,0 +1,395 @@ + + + + + + + Class: Twitter::REST::Response::ParseErrorJson + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+ + + +
+ +
+ + + + + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Response::ParseErrorJson

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ unparsable_status_codes() + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/rest/response/parse_error_json.rb, line 7
+def unparsable_status_codes
+  super + [200]
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Response/ParseJson.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Response/ParseJson.html new file mode 100644 index 0000000..a9a8960 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Response/ParseJson.html @@ -0,0 +1,483 @@ + + + + + + + Class: Twitter::REST::Response::ParseJson + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Response::ParseJson

+ +
+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
WHITESPACE_REGEX
+ +
+ + +
+
+ + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ on_complete(response) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/rest/response/parse_json.rb, line 19
+def on_complete(response)
+  response.body = parse(response.body) if respond_to?(:parse) && !unparsable_status_codes.include?(response.status)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ parse(body) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/rest/response/parse_json.rb, line 10
+def parse(body)
+  case body
+  when WHITESPACE_REGEX, nil
+    nil
+  else
+    JSON.parse(body, :symbolize_names => true)
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ unparsable_status_codes() + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/rest/response/parse_json.rb, line 23
+def unparsable_status_codes
+  [204, 301, 302, 304]
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Response/RaiseError.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Response/RaiseError.html new file mode 100644 index 0000000..48801d7 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Response/RaiseError.html @@ -0,0 +1,403 @@ + + + + + + + Class: Twitter::REST::Response::RaiseError + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Response::RaiseError

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ on_complete(response) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/rest/response/raise_error.rb, line 8
+def on_complete(response)
+  status_code = response.status.to_i
+  klass = Twitter::Error.errors[status_code]
+  return unless klass
+  error = if klass == Twitter::Error::Forbidden
+    handle_forbidden_errors(response)
+  else
+    klass.from_response(response)
+  end
+  fail(error)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/SavedSearches.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/SavedSearches.html new file mode 100644 index 0000000..dc0d8f8 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/SavedSearches.html @@ -0,0 +1,582 @@ + + + + + + + Module: Twitter::REST::SavedSearches + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + + + + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::SavedSearches

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ create_saved_search(query, options = {}) + click to toggle source +
+ + +
+ +

Creates a saved search for the authenticated user

+ +

@see dev.twitter.com/docs/api/1.1/post/saved_searches/create +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Twitter::SavedSearch] The created saved search. @param query [String] The +query of the search the user would like to save. @param options [Hash] A +customizable set of options.

+ + + +
+
+# File lib/twitter/rest/saved_searches.rb, line 66
+def create_saved_search(query, options = {})
+  perform_with_object(:post, '/1.1/saved_searches/create.json', options.merge(:query => query), Twitter::SavedSearch)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ destroy_saved_search(*args) + click to toggle source +
+ + +
+ +

Destroys saved searches for the authenticated user

+ +

@see dev.twitter.com/docs/api/1.1/post/saved_searches/destroy/:id +@note The search specified by ID must be owned by the authenticating user. +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::SavedSearch>] The deleted saved searches. @overload +destroy_saved_search(*ids)

+ +
@param ids [Enumerable<Integer>] A collection of saved search IDs.
+ +

@overload destroy_saved_search(*ids, +options)

+ +
@param ids [Enumerable<Integer>] A collection of saved search IDs.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/saved_searches.rb, line 84
+def destroy_saved_search(*args)
+  arguments = Twitter::Arguments.new(args)
+  pmap(arguments) do |id|
+    perform_with_object(:post, "/1.1/saved_searches/destroy/#{id}.json", arguments.options, Twitter::SavedSearch)
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ saved_search(id, options = {}) + click to toggle source +
+ + +
+ +

Retrieve the data for saved searches owned by the authenticating user

+ +

@see dev.twitter.com/docs/api/1.1/get/saved_searches/show/:id +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Twitter::SavedSearch] The saved searches. @param id [Integer] The ID of +the saved search. @param options [Hash] A customizable set of options.

+ + + +
+
+# File lib/twitter/rest/saved_searches.rb, line 53
+def saved_search(id, options = {})
+  perform_with_object(:get, "/1.1/saved_searches/show/#{id}.json", options, Twitter::SavedSearch)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ saved_searches(*args) + click to toggle source +
+ + +
+ +

@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::SavedSearch>] The saved searches. @overload saved_search(options = +{})

+ +
Returns the authenticated user's saved search queries
+
+@see https://dev.twitter.com/docs/api/1.1/get/saved_searches/list
+@param options [Hash] A customizable set of options.
+ +

@overload saved_search(*ids)

+ +
Retrieve the data for saved searches owned by the authenticating user
+
+@see https://dev.twitter.com/docs/api/1.1/get/saved_searches/show/:id
+@param ids [Enumerable<Integer>] A collection of saved search IDs.
+ +

@overload saved_search(*ids, +options)

+ +
Retrieve the data for saved searches owned by the authenticating user
+
+@see https://dev.twitter.com/docs/api/1.1/get/saved_searches/show/:id
+@param ids [Enumerable<Integer>] A collection of saved search IDs.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/saved_searches.rb, line 33
+def saved_searches(*args)
+  arguments = Twitter::Arguments.new(args)
+  if arguments.empty?
+    perform_with_objects(:get, '/1.1/saved_searches/list.json', arguments.options, Twitter::SavedSearch)
+  else
+    pmap(arguments) do |id|
+      saved_search(id, arguments.options)
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Search.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Search.html new file mode 100644 index 0000000..dfa8122 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Search.html @@ -0,0 +1,443 @@ + + + + + + + Module: Twitter::REST::Search + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Search

+ +
+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
MAX_TWEETS_PER_REQUEST
+ +
+ + +
+
+ + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ search(q, options = {}) + click to toggle source +
+ + +
+ +

Returns tweets that match a specified query.

+ +

@see dev.twitter.com/docs/api/1.1/get/search/tweets +@see dev.twitter.com/docs/using-search +@note Please note that Twitter’s search service and, by extension, the Search API is not meant to be +an exhaustive source of Tweets. Not all Tweets will be indexed or made available via the +search interface. @rate_limited Yes @authentication Requires user context +@raise [Twitter::Error::Unauthorized] Error +raised when supplied user credentials are not valid. @param q [String] A +search term. @param options [Hash] A customizable set of options. @option +options [String] :geocode Returns tweets by users located within a given +radius of the given latitude/longitude. The location is preferentially +taking from the Geotagging API, but will fall back +to their Twitter profile. The parameter +value is specified by “latitude,longitude,radius”, where radius units must +be specified as either “mi” (miles) or “km” (kilometers). Note that you +cannot use the near operator via the API to geocode +arbitrary locations; however you can use this geocode parameter to search +near geocodes directly. @option options [String] :lang Restricts tweets to +the given language, given by an ISO 639-1 code. @option options [String] +:locale Specify the language of the query you are sending (only ja is +currently effective). This is intended for language-specific clients and +the default should work in the majority of cases. @option options [String] +:result_type Specifies what type of search results you would prefer to +receive. Options are “mixed”, “recent”, and “popular”. The current default +is “mixed.” @option options [Integer] :count The number of tweets to return +per page, up to a maximum of 100. @option options [String] :until Optional. +Returns tweets generated before the given date. Date should be formatted as +YYYY-MM-DD. @option options [Integer] :since_id Returns results with an ID +greater than (that is, more recent than) the specified ID. There are limits +to the number of Tweets which can be accessed +through the API. If the limit of Tweets has occured since the since_id, the since_id +will be forced to the oldest ID available. @option options [Integer] +:max_id Returns results with an ID less than (that is, older than) or equal +to the specified ID. @return [Twitter::SearchResults] Return tweets that +match a specified query with search metadata

+ + + +
+
+# File lib/twitter/rest/search.rb, line 28
+def search(q, options = {})
+  options[:count] ||= MAX_TWEETS_PER_REQUEST
+  request = Twitter::Request.new(self, :get, '/1.1/search/tweets.json', options.merge(:q => q))
+  response = get(request.path, request.options).body
+  Twitter::SearchResults.new(response, request)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/SpamReporting.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/SpamReporting.html new file mode 100644 index 0000000..a632a66 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/SpamReporting.html @@ -0,0 +1,417 @@ + + + + + + + Module: Twitter::REST::SpamReporting + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::SpamReporting

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ report_spam(*args) + click to toggle source +
+ + +
+ +

The users specified are blocked by the authenticated user and reported as +spammers

+ +

@see dev.twitter.com/docs/api/1.1/post/users/report_spam +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::User>] The reported users. @overload report_spam(*users)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+ +

@overload report_spam(*users, +options)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/spam_reporting.rb, line 22
+def report_spam(*args)
+  parallel_users_from_response(:post, '/1.1/users/report_spam.json', args)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/SuggestedUsers.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/SuggestedUsers.html new file mode 100644 index 0000000..a73fc8e --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/SuggestedUsers.html @@ -0,0 +1,464 @@ + + + + + + + Module: Twitter::REST::SuggestedUsers + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::SuggestedUsers

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ suggest_users(slug, options = {}) + click to toggle source +
+ + +
+ +

Access the users in a given category of the Twitter suggested user list and return their +most recent Tweet if they are not a protected +user

+ +

@see dev.twitter.com/docs/api/1.1/get/users/suggestions/:slug/members +@rate_limited Yes @authentication Requires user context @param slug +[String] The short name of list or a category. @param options [Hash] A +customizable set of options. @return [Array<Twitter::User>]

+ + + +
+
+# File lib/twitter/rest/suggested_users.rb, line 44
+def suggest_users(slug, options = {})
+  perform_with_objects(:get, "/1.1/users/suggestions/#{slug}/members.json", options, Twitter::User)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ suggestions(*args) + click to toggle source +
+ + +
+ +

@return [Array<Twitter::Suggestion>] @rate_limited Yes +@authentication Requires user context @raise [Twitter::Error::Unauthorized] +Error raised when supplied user credentials are +not valid. @overload suggestions(options = {})

+ +
Returns the list of suggested user categories
+
+@see https://dev.twitter.com/docs/api/1.1/get/users/suggestions
+@param options [Hash] A customizable set of options.
+ +

@overload suggestions(slug, options = {})

+ +
Returns the users in a given category
+
+@see https://dev.twitter.com/docs/api/1.1/get/users/suggestions/:slug
+@param slug [String] The short name of list or a category.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/suggested_users.rb, line 27
+def suggestions(*args)
+  arguments = Twitter::Arguments.new(args)
+  if arguments.last
+    perform_with_object(:get, "/1.1/users/suggestions/#{arguments.pop}.json", arguments.options, Twitter::Suggestion)
+  else
+    perform_with_objects(:get, '/1.1/users/suggestions.json', arguments.options, Twitter::Suggestion)
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Timelines.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Timelines.html new file mode 100644 index 0000000..0a2be56 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Timelines.html @@ -0,0 +1,860 @@ + + + + + + + Module: Twitter::REST::Timelines + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + + + + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Timelines

+ +
+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
DEFAULT_TWEETS_PER_REQUEST
+ +
+ + +
MAX_TWEETS_PER_REQUEST
+ +
+ + +
+
+ + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ home_timeline(options = {}) + click to toggle source +
+ + +
+ +

Returns the 20 most recent Tweets, including +retweets if they exist, posted by the authenticating user and the users +they follow

+ +

@see dev.twitter.com/docs/api/1.1/get/statuses/home_timeline +@note This method can only return up to 800 Tweets, including retweets. @rate_limited Yes +@authentication Requires user context @raise [Twitter::Error::Unauthorized] +Error raised when supplied user credentials are +not valid. @return [Array<Twitter::Tweet>] @param options [Hash] A +customizable set of options. @option options [Integer] :since_id Returns +results with an ID greater than (that is, more recent than) the specified +ID. @option options [Integer] :max_id Returns results with an ID less than +(that is, older than) or equal to the specified ID. @option options +[Integer] :count Specifies the number of records to retrieve. Must be less +than or equal to 200. @option options [Boolean, String, Integer] :trim_user +Each tweet returned in a timeline will include a user object with only the +author’s numerical ID when set to true, ‘t’ or 1. @option options [Boolean, +String, Integer] :exclude_replies This parameter will prevent replies from +appearing in the returned timeline. Using exclude_replies with the count +parameter will mean you will receive up-to count tweets - this is because +the count parameter retrieves that many tweets before filtering out +retweets and replies. @option options [Boolean, String, Integer] +:include_rts Specifies that the timeline should include native retweets in +addition to regular tweets. Note: If you’re using the trim_user parameter +in conjunction with include_rts, the retweets will no longer contain a full +user object. @option options [Boolean, String, Integer] +:contributor_details Specifies that the contributors element should be +enhanced to include the screen_name of the contributor.

+ + + +
+
+# File lib/twitter/rest/timelines.rb, line 113
+def home_timeline(options = {})
+  perform_with_objects(:get, '/1.1/statuses/home_timeline.json', options, Twitter::Tweet)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ mentions(options = {}) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: mentions_timeline +
+ +
+ + +
+ + + +
+ mentions_timeline(options = {}) + click to toggle source +
+ + +
+ +

Returns the 20 most recent mentions (statuses containing @username) for the +authenticating user

+ +

@see dev.twitter.com/docs/api/1.1/get/statuses/mentions_timeline +@note This method can only return up to 800 Tweets. @rate_limited Yes @authentication Requires +user context @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are +not valid. @return [Array<Twitter::Tweet>] @param options [Hash] A +customizable set of options. @option options [Integer] :since_id Returns +results with an ID greater than (that is, more recent than) the specified +ID. @option options [Integer] :max_id Returns results with an ID less than +(that is, older than) or equal to the specified ID. @option options +[Integer] :count Specifies the number of records to retrieve. Must be less +than or equal to 200. @option options [Boolean, String, Integer] :trim_user +Each tweet returned in a timeline will include a user object with only the +author’s numerical ID when set to true, ‘t’ or 1.

+ + + +
+
+# File lib/twitter/rest/timelines.rb, line 26
+def mentions_timeline(options = {})
+  perform_with_objects(:get, '/1.1/statuses/mentions_timeline.json', options, Twitter::Tweet)
+end
+
+ +
+ + +
+ Also aliased as: mentions +
+ + + +
+ + +
+ + + +
+ retweeted_by(user, options = {}) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: retweeted_by_user +
+ +
+ + +
+ + + +
+ retweeted_by_me(options = {}) + click to toggle source +
+ + +
+ +

Returns the 20 most recent retweets posted by the authenticating user

+ +

@see dev.twitter.com/docs/api/1.1/get/statuses/user_timeline +@note This method can only return up to 3,200 Tweets. @rate_limited Yes @authentication Requires +user context @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are +not valid. @return [Array<Twitter::Tweet>] @param options [Hash] A +customizable set of options. @option options [Integer] :since_id Returns +results with an ID greater than (that is, more recent than) the specified +ID. @option options [Integer] :max_id Returns results with an ID less than +(that is, older than) or equal to the specified ID. @option options +[Integer] :count Specifies the number of records to retrieve. Must be less +than or equal to 200. @option options [Boolean, String, Integer] :trim_user +Each tweet returned in a timeline will include a user object with only the +author’s numerical ID when set to true, ‘t’ or 1. @option options [Boolean, +String, Integer] :exclude_replies This parameter will prevent replies from +appearing in the returned timeline. Using exclude_replies with the count +parameter will mean you will receive up-to count tweets - this is because +the count parameter retrieves that many tweets before filtering out +retweets and replies. @option options [Boolean, String, Integer] +:contributor_details Specifies that the contributors element should be +enhanced to include the screen_name of the contributor.

+ + + +
+
+# File lib/twitter/rest/timelines.rb, line 91
+def retweeted_by_me(options = {})
+  retweets_from_timeline(options) do |opts|
+    user_timeline(opts)
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ retweeted_by_user(user, options = {}) + click to toggle source +
+ + +
+ +

Returns the 20 most recent retweets posted by the specified user

+ +

@see dev.twitter.com/docs/api/1.1/get/statuses/user_timeline +@note This method can only return up to 3,200 Tweets. @rate_limited Yes @authentication Requires +user context @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are +not valid. @return [Array<Twitter::Tweet>] @param user [Integer, +String, Twitter::User] A Twitter user ID, +screen name, URI, or object. @param options [Hash] A customizable set of +options. @option options [Integer] :since_id Returns results with an ID +greater than (that is, more recent than) the specified ID. @option options +[Integer] :max_id Returns results with an ID less than (that is, older +than) or equal to the specified ID. @option options [Integer] :count +Specifies the number of records to retrieve. Must be less than or equal to +200. @option options [Boolean, String, Integer] :trim_user Each tweet +returned in a timeline will include a user object with only the author’s +numerical ID when set to true, ‘t’ or 1. @option options [Boolean, String, +Integer] :exclude_replies This parameter will prevent replies from +appearing in the returned timeline. Using exclude_replies with the count +parameter will mean you will receive up-to count tweets - this is because +the count parameter retrieves that many tweets before filtering out +retweets and replies. @option options [Boolean, String, Integer] +:contributor_details Specifies that the contributors element should be +enhanced to include the screen_name of the contributor.

+ + + +
+
+# File lib/twitter/rest/timelines.rb, line 69
+def retweeted_by_user(user, options = {})
+  retweets_from_timeline(options) do |opts|
+    user_timeline(user, opts)
+  end
+end
+
+ +
+ + +
+ Also aliased as: retweeted_by +
+ + + +
+ + +
+ + + +
+ retweeted_to_me(options = {}) + click to toggle source +
+ + +
+ +

Returns the 20 most recent retweets posted by users the authenticating user +follow.

+ +

@see dev.twitter.com/docs/api/1.1/get/statuses/home_timeline +@note This method can only return up to 800 Tweets, including retweets. @rate_limited Yes +@authentication Requires user context @raise [Twitter::Error::Unauthorized] +Error raised when supplied user credentials are +not valid. @return [Array<Twitter::Tweet>] @param options [Hash] A +customizable set of options. @option options [Integer] :since_id Returns +results with an ID greater than (that is, more recent than) the specified +ID. @option options [Integer] :max_id Returns results with an ID less than +(that is, older than) or equal to the specified ID. @option options +[Integer] :count Specifies the number of records to retrieve. Must be less +than or equal to 200. @option options [Boolean, String, Integer] :trim_user +Each tweet returned in a timeline will include a user object with only the +author’s numerical ID when set to true, ‘t’ or 1. @option options [Boolean, +String, Integer] :exclude_replies This parameter will prevent replies from +appearing in the returned timeline. Using exclude_replies with the count +parameter will mean you will receive up-to count tweets - this is because +the count parameter retrieves that many tweets before filtering out +retweets and replies. @option options [Boolean, String, Integer] +:contributor_details Specifies that the contributors element should be +enhanced to include the screen_name of the contributor.

+ + + +
+
+# File lib/twitter/rest/timelines.rb, line 132
+def retweeted_to_me(options = {})
+  retweets_from_timeline(options) do |opts|
+    home_timeline(opts)
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ retweets_of_me(options = {}) + click to toggle source +
+ + +
+ +

Returns the 20 most recent tweets of the authenticated user that have been +retweeted by others

+ +

@see dev.twitter.com/docs/api/1.1/get/statuses/retweets_of_me +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::Tweet>] @param options [Hash] A customizable set of +options. @option options [Integer] :count Specifies the number of records +to retrieve. Must be less than or equal to 200. @option options [Integer] +:since_id Returns results with an ID greater than (that is, more recent +than) the specified ID. @option options [Integer] :max_id Returns results +with an ID less than (that is, older than) or equal to the specified ID. +@option options [Boolean, String, Integer] :trim_user Each tweet returned +in a timeline will include a user object with only the author’s numerical +ID when set to true, ‘t’ or 1. @option options [Boolean, String, Integer] +:include_user_entities The user entities node will be disincluded when set +to false.

+ + + +
+
+# File lib/twitter/rest/timelines.rb, line 151
+def retweets_of_me(options = {})
+  perform_with_objects(:get, '/1.1/statuses/retweets_of_me.json', options, Twitter::Tweet)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ user_timeline(*args) + click to toggle source +
+ + +
+ +

Returns the 20 most recent Tweets posted by the +specified user

+ +

@see dev.twitter.com/docs/api/1.1/get/statuses/user_timeline +@note This method can only return up to 3,200 Tweets. @rate_limited Yes @authentication Requires +user context @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are +not valid. @return [Array<Twitter::Tweet>] @overload user_timeline(user, +options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param options [Hash] A customizable set of options.
+@option options [Integer] :since_id Returns results with an ID greater than (that is, more recent than) the specified ID.
+@option options [Integer] :max_id Returns results with an ID less than (that is, older than) or equal to the specified ID.
+@option options [Integer] :count Specifies the number of records to retrieve. Must be less than or equal to 200.
+@option options [Boolean, String, Integer] :trim_user Each tweet returned in a timeline will include a user object with only the author's numerical ID when set to true, 't' or 1.
+@option options [Boolean, String, Integer] :exclude_replies This parameter will prevent replies from appearing in the returned timeline. Using exclude_replies with the count parameter will mean you will receive up-to count tweets - this is because the count parameter retrieves that many tweets before filtering out retweets and replies.
+@option options [Boolean, String, Integer] :contributor_details Specifies that the contributors element should be enhanced to include the screen_name of the contributor.
+@option options [Boolean, String, Integer] :include_rts Specifies that the timeline should include native retweets in addition to regular tweets. Note: If you're using the trim_user parameter in conjunction with include_rts, the retweets will no longer contain a full user object.
+ + + +
+
+# File lib/twitter/rest/timelines.rb, line 49
+def user_timeline(*args)
+  objects_from_response_with_user(Twitter::Tweet, :get, '/1.1/statuses/user_timeline.json', args)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Trends.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Trends.html new file mode 100644 index 0000000..02fbb2d --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Trends.html @@ -0,0 +1,609 @@ + + + + + + + Module: Twitter::REST::Trends + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + + + + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Trends

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + + + + +
+ + + +
+ trend_locations(options = {}) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: trends_available +
+ +
+ + + + + + + + + + + + + + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Tweets.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Tweets.html new file mode 100644 index 0000000..49d3ee8 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Tweets.html @@ -0,0 +1,1208 @@ + + + + + + + Module: Twitter::REST::Tweets + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + + + + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Tweets

+ +
+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
MAX_TWEETS_PER_REQUEST
+ +
+ + +
+
+ + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ destroy_status(*args) + click to toggle source +
+ + +
+ +

Destroys the specified Tweets

+ +

@see dev.twitter.com/docs/api/1.1/post/statuses/destroy/:id +@note The authenticating user must be the author of the specified Tweets. @rate_limited No @authentication Requires +user context @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are +not valid. @return [Array<Twitter::Tweet>] The deleted Tweets. @overload destroy_status(*tweets)

+ +
@param tweets [Enumerable<Integer, String, URI, Twitter::Tweet>] A collection of Tweet IDs, URIs, or objects.
+ +

@overload destroy_status(*tweets, +options)

+ +
@param tweets [Enumerable<Integer, String, URI, Twitter::Tweet>] A collection of Tweet IDs, URIs, or objects.
+@param options [Hash] A customizable set of options.
+@option options [Boolean, String, Integer] :trim_user Each tweet returned in a timeline will include a user object with only the author's numerical ID when set to true, 't' or 1.
+ + + +
+
+# File lib/twitter/rest/tweets.rb, line 99
+def destroy_status(*args)
+  arguments = Twitter::Arguments.new(args)
+  pmap(arguments) do |tweet|
+    perform_with_object(:post, "/1.1/statuses/destroy/#{extract_id(tweet)}.json", arguments.options, Twitter::Tweet)
+  end
+end
+
+ +
+ + +
+ Also aliased as: destroy_tweet +
+ + + +
+ + +
+ + + +
+ destroy_tweet(*args) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: destroy_status +
+ +
+ + +
+ + + +
+ oembed(tweet, options = {}) + click to toggle source +
+ + +
+ +

Returns oEmbed for a Tweet

+ +

@see dev.twitter.com/docs/api/1.1/get/statuses/oembed +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::OEmbed] OEmbed for the requested Tweet. @param tweet [Integer, String, URI, +Twitter::Tweet] A Tweet ID, URI, or object. +@param options [Hash] A customizable set of options. @option options +[Integer] :maxwidth The maximum width in pixels that the embed should be +rendered at. This value is constrained to be between 250 and 550 pixels. +@option options [Boolean, String, Integer] :hide_media Specifies whether +the embedded Tweet should automatically expand +images which were uploaded via {dev.twitter.com/docs/api/1.1/post/statuses/update_with_media +POST statuses/update_with_media}. When set to either true, t or 1 images +will not be expanded. Defaults to false. @option options [Boolean, String, +Integer] :hide_thread Specifies whether the embedded Tweet should automatically show the original +message in the case that the embedded Tweet is +a reply. When set to either true, t or 1 the original Tweet will not be shown. Defaults to false. +@option options [Boolean, String, Integer] :omit_script Specifies whether +the embedded Tweet HTML should include a +`<script>` element pointing to widgets.js. In cases where a page +already includes widgets.js, setting this value to true will prevent a +redundant script element from being included. When set to either true, t or +1 the `<script>` element will not be included in the embed HTML, +meaning that pages must include a reference to widgets.js manually. +Defaults to false. @option options [String] :align Specifies whether the +embedded Tweet should be left aligned, right +aligned, or centered in the page. Valid values are left, right, center, and +none. Defaults to none, meaning no alignment styles are specified for the +Tweet. @option options [String] :related A +value for the TWT related parameter, as described in {dev.twitter.com/docs/intents +Web Intents}. This value will be forwarded to all Web Intents calls. +@option options [String] :lang Language code +for the rendered embed. This will affect the text and localization of the +rendered HTML.

+ + + +
+
+# File lib/twitter/rest/tweets.rb, line 253
+def oembed(tweet, options = {})
+  options[:id] = extract_id(tweet)
+  perform_with_object(:get, '/1.1/statuses/oembed.json', options, Twitter::OEmbed)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ oembeds(*args) + click to toggle source +
+ + +
+ +

Returns oEmbeds for Tweets

+ +

@see dev.twitter.com/docs/api/1.1/get/statuses/oembed +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::OEmbed>] OEmbeds for the requested Tweets. @overload oembed(*tweets)

+ +
@param tweets [Enumerable<Integer, String, URI, Twitter::Tweet>] A collection of Tweet IDs, URIs, or objects.
+ +

@overload oembed(*tweets, options)

+ +
@param tweets [Enumerable<Integer, String, URI, Twitter::Tweet>] A collection of Tweet IDs, URIs, or objects.
+@param options [Hash] A customizable set of options.
+@option options [Integer] :maxwidth The maximum width in pixels that the embed should be rendered at. This value is constrained to be between 250 and 550 pixels.
+@option options [Boolean, String, Integer] :hide_media Specifies whether the embedded Tweet should automatically expand images which were uploaded via {https://dev.twitter.com/docs/api/1.1/post/statuses/update_with_media POST statuses/update_with_media}. When set to either true, t or 1 images will not be expanded. Defaults to false.
+@option options [Boolean, String, Integer] :hide_thread Specifies whether the embedded Tweet should automatically show the original message in the case that the embedded Tweet is a reply. When set to either true, t or 1 the original Tweet will not be shown. Defaults to false.
+@option options [Boolean, String, Integer] :omit_script Specifies whether the embedded Tweet HTML should include a `<script>` element pointing to widgets.js. In cases where a page already includes widgets.js, setting this value to true will prevent a redundant script element from being included. When set to either true, t or 1 the `<script>` element will not be included in the embed HTML, meaning that pages must include a reference to widgets.js manually. Defaults to false.
+@option options [String] :align Specifies whether the embedded Tweet should be left aligned, right aligned, or centered in the page. Valid values are left, right, center, and none. Defaults to none, meaning no alignment styles are specified for the Tweet.
+@option options [String] :related A value for the TWT related parameter, as described in {https://dev.twitter.com/docs/intents Web Intents}. This value will be forwarded to all Web Intents calls.
+@option options [String] :lang Language code for the rendered embed. This will affect the text and localization of the rendered HTML.
+ + + +
+
+# File lib/twitter/rest/tweets.rb, line 277
+def oembeds(*args)
+  arguments = Twitter::Arguments.new(args)
+  pmap(arguments) do |tweet|
+    oembed(extract_id(tweet), arguments.options)
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ retweet(*args) + click to toggle source +
+ + +
+ +

Retweets the specified Tweets as the +authenticating user

+ +

@see dev.twitter.com/docs/api/1.1/post/statuses/retweet/:id +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::Tweet>] The original tweets with retweet details +embedded. @overload retweet(*tweets)

+ +
@param tweets [Enumerable<Integer, String, URI, Twitter::Tweet>] A collection of Tweet IDs, URIs, or objects.
+ +

@overload retweet(*tweets, options)

+ +
@param tweets [Enumerable<Integer, String, URI, Twitter::Tweet>] A collection of Tweet IDs, URIs, or objects.
+@param options [Hash] A customizable set of options.
+@option options [Boolean, String, Integer] :trim_user Each tweet returned in a timeline will include a user object with only the author's numerical ID when set to true, 't' or 1.
+ + + +
+
+# File lib/twitter/rest/tweets.rb, line 176
+def retweet(*args)
+  arguments = Twitter::Arguments.new(args)
+  pmap(arguments) do |tweet|
+    begin
+      post_retweet(extract_id(tweet), arguments.options)
+    rescue Twitter::Error::AlreadyRetweeted
+      next
+    end
+  end.compact
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ retweet!(*args) + click to toggle source +
+ + +
+ +

Retweets the specified Tweets as the +authenticating user and raises an error if one has already been retweeted

+ +

@see dev.twitter.com/docs/api/1.1/post/statuses/retweet/:id +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::AlreadyRetweeted] Error raised +when tweet has already been retweeted. @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::Tweet>] The original tweets with retweet details +embedded. @overload retweet!(*tweets)

+ +
@param tweets [Enumerable<Integer, String, URI, Twitter::Tweet>] A collection of Tweet IDs, URIs, or objects.
+ +

@overload retweet!(*tweets, options)

+ +
@param tweets [Enumerable<Integer, String, URI, Twitter::Tweet>] A collection of Tweet IDs, URIs, or objects.
+@param options [Hash] A customizable set of options.
+@option options [Boolean, String, Integer] :trim_user Each tweet returned in a timeline will include a user object with only the author's numerical ID when set to true, 't' or 1.
+ + + +
+
+# File lib/twitter/rest/tweets.rb, line 201
+def retweet!(*args)
+  arguments = Twitter::Arguments.new(args)
+  pmap(arguments) do |tweet|
+    post_retweet(extract_id(tweet), arguments.options)
+  end.compact
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ retweeters_ids(*args) + click to toggle source +
+ + +
+ +

Returns a collection of up to 100 user IDs belonging to users who have +retweeted the tweet specified by the id parameter.

+ +

@see dev.twitter.com/docs/api/1.1/get/statuses/retweeters/ids +@rate_limited Yes @authentication Required @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::Cursor] +@overload retweeters_ids(options)

+ +
@param options [Hash] A customizable set of options.
+ +

@overload retweeters_ids(id, options = +{})

+ +
@param tweet [Integer, String, URI, Twitter::Tweet] A Tweet ID, URI, or object.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/tweets.rb, line 296
+def retweeters_ids(*args)
+  arguments = Twitter::Arguments.new(args)
+  arguments.options[:id] ||= extract_id(arguments.first)
+  perform_with_cursor(:get, '/1.1/statuses/retweeters/ids.json', arguments.options, :ids)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ retweeters_of(tweet, options = {}) + click to toggle source +
+ + +
+ +

Show up to 100 users who retweeted the Tweet

+ +

@see dev.twitter.com/docs/api/1.1/get/statuses/retweets/:id +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Array] @param tweet +[Integer, String, URI, Twitter::Tweet] A Tweet +ID, URI, or object. @param options [Hash] A customizable set of options. +@option options [Integer] :count Specifies the number of records to +retrieve. Must be less than or equal to 100. @option options [Boolean, +String, Integer] :trim_user Each tweet returned in a timeline will include +a user object with only the author’s numerical ID when set to true, ‘t’ or +1. @option options [Boolean] :ids_only (‘false’) Only return user IDs +instead of full user objects.

+ + + +
+
+# File lib/twitter/rest/tweets.rb, line 43
+def retweeters_of(tweet, options = {})
+  ids_only = !!options.delete(:ids_only)
+  retweeters = retweets(tweet, options).collect(&:user)
+  ids_only ? retweeters.collect(&:id) : retweeters
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ retweets(tweet, options = {}) + click to toggle source +
+ + +
+ +

Returns up to 100 of the first retweets of a given tweet

+ +

@see dev.twitter.com/docs/api/1.1/get/statuses/retweets/:id +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::Tweet>] @param tweet [Integer, String, URI, +Twitter::Tweet] A Tweet ID, URI, or object. +@param options [Hash] A customizable set of options. @option options +[Integer] :count Specifies the number of records to retrieve. Must be less +than or equal to 100. @option options [Boolean, String, Integer] :trim_user +Each tweet returned in a timeline will include a user object with only the +author’s numerical ID when set to true, ‘t’ or 1.

+ + + +
+
+# File lib/twitter/rest/tweets.rb, line 27
+def retweets(tweet, options = {})
+  perform_with_objects(:get, "/1.1/statuses/retweets/#{extract_id(tweet)}.json", options, Twitter::Tweet)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ status(tweet, options = {}) + click to toggle source +
+ + +
+ +

Returns a Tweet

+ +

@see dev.twitter.com/docs/api/1.1/get/statuses/show/:id +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @raise +[Twitter::Error::Forbidden] Error raised when +supplied status is over 140 characters. @return [Twitter::Tweet] The +requested Tweet. @param tweet [Integer, String, +URI, Twitter::Tweet] A Tweet ID, URI, or +object. @param options [Hash] A customizable set of options. @option +options [Boolean, String, Integer] :trim_user Each tweet returned in a +timeline will include a user object with only the author’s numerical ID +when set to true, ‘t’ or 1.

+ + + +
+
+# File lib/twitter/rest/tweets.rb, line 60
+def status(tweet, options = {})
+  perform_with_object(:get, "/1.1/statuses/show/#{extract_id(tweet)}.json", options, Twitter::Tweet)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ statuses(*args) + click to toggle source +
+ + +
+ +

Returns Tweets

+ +

@see dev.twitter.com/docs/api/1.1/get/statuses/lookup +@rate_limited Yes @authentication Required @return +[Array<Twitter::Tweet>] The requested Tweets. @overload statuses(*tweets)

+ +
@param tweets [Enumerable<Integer, String, URI, Twitter::Tweet>] A collection of Tweet IDs, URIs, or objects.
+ +

@overload statuses(*tweets, options)

+ +
@param tweets [Enumerable<Integer, String, URI, Twitter::Tweet>] A collection of Tweet IDs, URIs, or objects.
+@param options [Hash] A customizable set of options.
+@option options [Symbol, String] :method Requests users via a GET request instead of the standard POST request if set to ':get'.
+@option options [Boolean, String, Integer] :trim_user Each tweet returned in a timeline will include a user object with only the author's numerical ID when set to true, 't' or 1.
+ + + +
+
+# File lib/twitter/rest/tweets.rb, line 77
+def statuses(*args)
+  arguments = Twitter::Arguments.new(args)
+  request_method = arguments.options.delete(:method) || :post
+  flat_pmap(arguments.each_slice(MAX_TWEETS_PER_REQUEST)) do |tweets|
+    perform_with_objects(request_method, '/1.1/statuses/lookup.json', arguments.options.merge(:id => tweets.collect { |u| extract_id(u) }.join(',')), Twitter::Tweet)
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ update(status, options = {}) + click to toggle source +
+ + +
+ +

Updates the authenticating user’s status

+ +

@see dev.twitter.com/docs/api/1.1/post/statuses/update +@note A status update with text identical to the authenticating user’s +current status will be ignored to prevent duplicates. @rate_limited No +@authentication Requires user context @raise [Twitter::Error::Unauthorized] +Error raised when supplied user credentials are +not valid. @return [Twitter::Tweet] The created Tweet. @param status [String] The text of your +status update, up to 140 characters. @param options [Hash] A customizable +set of options. @option options [Boolean, String, Integer] +:possibly_sensitive Set to true for content which may not be suitable for +every audience. @option options [Twitter::Tweet] :in_reply_to_status An +existing status that the update is in reply to. @option options [Integer] +:in_reply_to_status_id The ID of an existing status that the update is in +reply to. @option options [Float] :lat The latitude of the location this +tweet refers to. This option will be ignored unless it is inside the range +-90.0 to +90.0 (North is positive) inclusive. It will also be ignored if +there isn’t a corresponding :long option. @option options [Float] :long The +longitude of the location this tweet refers to. The valid ranges for +longitude is -180.0 to +180.0 (East is positive) inclusive. This option +will be ignored if outside that range, if it is not a number, if +geo_enabled is disabled, or if there not a corresponding :lat option. +@option options [Twitter::Place] :place A place in the world. These can be +retrieved from {Twitter::REST::PlacesAndGeo#reverse_geocode}. +@option options [String] :place_id A place in the world. These IDs can be +retrieved from {Twitter::REST::PlacesAndGeo#reverse_geocode}. +@option options [String] :media_ids A comma separated list of uploaded +media IDs to attach to the Tweet. @option +options [String] :display_coordinates Whether or not to put a pin on the +exact coordinates a tweet has been sent from. @option options [Boolean, +String, Integer] :trim_user Each tweet returned in a timeline will include +a user object with only the author’s numerical ID when set to true, ‘t’ or +1.

+ + + +
+
+# File lib/twitter/rest/tweets.rb, line 129
+def update(status, options = {})
+  update!(status, options)
+rescue Twitter::Error::DuplicateStatus
+  user_timeline(:count => 1).first
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ update!(status, options = {}) + click to toggle source +
+ + +
+ +

Updates the authenticating user’s status

+ +

@see dev.twitter.com/docs/api/1.1/post/statuses/update +@note A status update with text identical to the authenticating user’s +current status will be ignored to prevent duplicates. @rate_limited No +@authentication Requires user context @raise [Twitter::Error::Unauthorized] +Error raised when supplied user credentials are +not valid. @raise [Twitter::Error::DuplicateStatus] Error raised when a duplicate status is posted. +@return [Twitter::Tweet] The created Tweet. +@param status [String] The text of your status update, up to 140 +characters. @param options [Hash] A customizable set of options. @option +options [Boolean, String, Integer] :possibly_sensitive Set to true for +content which may not be suitable for every audience. @option options +[Twitter::Tweet] :in_reply_to_status An existing status that the update is +in reply to. @option options [Integer] :in_reply_to_status_id The ID of an +existing status that the update is in reply to. @option options [Float] +:lat The latitude of the location this tweet refers to. This option will be +ignored unless it is inside the range -90.0 to +90.0 (North is positive) +inclusive. It will also be ignored if there isn’t a corresponding :long +option. @option options [Float] :long The longitude of the location this +tweet refers to. The valid ranges for longitude is -180.0 to +180.0 (East +is positive) inclusive. This option will be ignored if outside that range, +if it is not a number, if geo_enabled is disabled, or if there not a +corresponding :lat option. @option options [Twitter::Place] :place A place +in the world. These can be retrieved from {Twitter::REST::PlacesAndGeo#reverse_geocode}. +@option options [String] :place_id A place in the world. These IDs can be +retrieved from {Twitter::REST::PlacesAndGeo#reverse_geocode}. +@option options [String] :media_ids A comma separated list of uploaded +media IDs to attach to the Tweet. @option +options [String] :display_coordinates Whether or not to put a pin on the +exact coordinates a tweet has been sent from. @option options [Boolean, +String, Integer] :trim_user Each tweet returned in a timeline will include +a user object with only the author’s numerical ID when set to true, ‘t’ or +1.

+ + + +
+
+# File lib/twitter/rest/tweets.rb, line 156
+def update!(status, options = {})
+  hash = options.dup
+  hash[:in_reply_to_status_id] = hash.delete(:in_reply_to_status).id unless hash[:in_reply_to_status].nil?
+  hash[:place_id] = hash.delete(:place).woeid unless hash[:place].nil?
+  perform_with_object(:post, '/1.1/statuses/update.json', hash.merge(:status => status), Twitter::Tweet)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ update_with_media(status, media, options = {}) + click to toggle source +
+ + +
+ +

Updates the authenticating user’s status with media

+ +

@see dev.twitter.com/docs/api/1.1/post/statuses/update_with_media +@note A status update with text/media identical to the authenticating +user’s current status will NOT be ignored @rate_limited No @authentication +Requires user context @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are +not valid. @raise [Twitter::Error::UnacceptableIO] Error when the IO object for the media argument +does not have a to_io method. @return [Twitter::Tweet] The created Tweet. @param status [String] The text of your +status update, up to 140 characters. @param media [File, Hash] A File +object with your picture (PNG, JPEG or GIF) @param options [Hash] A +customizable set of options. @option options [Boolean, String, Integer] +:possibly_sensitive Set to true for content which may not be suitable for +every audience. @option options [Twitter::Tweet] :in_reply_to_status An +existing status that the update is in reply to. @option options [Integer] +:in_reply_to_status_id The ID of an existing Tweet that the update is in reply to. @option +options [Float] :lat The latitude of the location this tweet refers to. +This option will be ignored unless it is inside the range -90.0 to +90.0 +(North is positive) inclusive. It will also be ignored if there isn’t a +corresponding :long option. @option options [Float] :long The longitude of +the location this tweet refers to. The valid ranges for longitude is -180.0 +to +180.0 (East is positive) inclusive. This option will be ignored if +outside that range, if it is not a number, if geo_enabled is disabled, or +if there not a corresponding :lat option. @option options [Twitter::Place] +:place A place in the world. These can be retrieved from {Twitter::REST::PlacesAndGeo#reverse_geocode}. +@option options [String] :place_id A place in the world. These IDs can be +retrieved from {Twitter::REST::PlacesAndGeo#reverse_geocode}. +@option options [String] :display_coordinates Whether or not to put a pin +on the exact coordinates a tweet has been sent from. @option options +[Boolean, String, Integer] :trim_user Each tweet returned in a timeline +will include a user object with only the author’s numerical ID when set to +true, ‘t’ or 1.

+ + + +
+
+# File lib/twitter/rest/tweets.rb, line 229
+def update_with_media(status, media, options = {})
+  fail(Twitter::Error::UnacceptableIO.new) unless media.respond_to?(:to_io)
+  hash = options.dup
+  hash[:in_reply_to_status_id] = hash.delete(:in_reply_to_status).id unless hash[:in_reply_to_status].nil?
+  hash[:place_id] = hash.delete(:place).woeid unless hash[:place].nil?
+  perform_with_object(:post, '/1.1/statuses/update_with_media.json', hash.merge('media[]' => media, 'status' => status), Twitter::Tweet)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Undocumented.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Undocumented.html new file mode 100644 index 0000000..141a6a3 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Undocumented.html @@ -0,0 +1,457 @@ + + + + + + + Module: Twitter::REST::Undocumented + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Undocumented

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ following_followers_of(*args) + click to toggle source +
+ + +
+ +

@note Undocumented @rate_limited Yes +@authentication Requires user context @raise [Twitter::Error::Unauthorized] +Error raised when supplied user credentials are +not valid. @return [Twitter::Cursor] @overload following_followers_of(options += {})

+ +
Returns users following followers of the specified user
+
+@param options [Hash] A customizable set of options.
+ +

@overload following_followers_of(user, +options = {})

+ +
Returns users following followers of the authenticated user
+
+@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/undocumented.rb, line 26
+def following_followers_of(*args)
+  cursor_from_response_with_user(:users, Twitter::User, :get, '/users/following_followers_of.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ tweet_count(uri, options = {}) + click to toggle source +
+ + +
+ +

Returns Tweets count for a URI

+ +

@note Undocumented @rate_limited No +@authentication Not required @return [Integer] @param uri [String, URI] A +URI. @param options [Hash] A customizable set of options.

+ + + +
+
+# File lib/twitter/rest/undocumented.rb, line 38
+def tweet_count(uri, options = {})
+  connection = Faraday.new('https://cdn.api.twitter.com', connection_options.merge(:builder => middleware))
+  connection.get('/1/urls/count.json', options.merge(:url => uri.to_s)).body[:count]
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Users.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Users.html new file mode 100644 index 0000000..79bcd35 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Users.html @@ -0,0 +1,1693 @@ + + + + + + + Module: Twitter::REST::Users + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ + + +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Users

+ +
+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
MAX_USERS_PER_REQUEST
+ +
+ + +
+
+ + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ block(*args) + click to toggle source +
+ + +
+ +

Blocks the users specified by the authenticating user

+ +

@see dev.twitter.com/docs/api/1.1/post/blocks/create +@note Destroys a friendship to the blocked user if it exists. @rate_limited +Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::User>] The blocked users. @overload block(*users)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+ +

@overload block(*users, options)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/users.rb, line 194
+def block(*args)
+  parallel_users_from_response(:post, '/1.1/blocks/create.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ block?(user, options = {}) + click to toggle source +
+ + +
+ +

Returns true if the authenticating user is blocking a target user

+ +

@see dev.twitter.com/docs/api/1.1/get/blocks/ids +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Boolean] true if the +authenticating user is blocking the target user, otherwise false. @param +user [Integer, String, URI, Twitter::User] A Twitter user ID, screen name, URI, or object. +@param options [Hash] A customizable set of options.

+ + + +
+
+# File lib/twitter/rest/users.rb, line 169
+def block?(user, options = {})
+  user_id = case user
+  when Integer
+    user
+  when String, URI, Addressable::URI
+    user(user).id
+  when Twitter::User
+    user.id
+  end
+  blocked_ids(options).collect(&:to_i).include?(user_id)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ blocked(options = {}) + click to toggle source +
+ + +
+ +

Returns an array of user objects that the authenticating user is blocking

+ +

@see dev.twitter.com/docs/api/1.1/get/blocks/list +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::User>] User objects that +the authenticating user is blocking. @param options [Hash] A customizable +set of options. @option options [Boolean, String, Integer] :skip_status Do +not include user’s Tweets when set to true, ‘t’ +or 1.

+ + + +
+
+# File lib/twitter/rest/users.rb, line 140
+def blocked(options = {})
+  perform_with_cursor(:get, '/1.1/blocks/list.json', options, :users, Twitter::User)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ blocked_ids(*args) + click to toggle source +
+ + +
+ +

Returns an array of numeric user IDs the authenticating user is blocking

+ +

@see dev.twitter.com/docs/api/1.1/get/blocks/ids +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::Cursor] +Numeric user IDs the authenticating user is blocking. @overload blocked_ids(options = {})

+ +
@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/users.rb, line 154
+def blocked_ids(*args)
+  arguments = Twitter::Arguments.new(args)
+  merge_user!(arguments.options, arguments.pop)
+  perform_with_cursor(:get, '/1.1/blocks/ids.json', arguments.options, :ids)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ contributees(*args) + click to toggle source +
+ + +
+ +

Returns an array of users that the specified user can contribute to

+ +

@see dev.twitter.com/docs/api/1.1/get/users/contributees +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::User>] @overload contributees(options = {})

+ +
@param options [Hash] A customizable set of options.
+@option options [Boolean, String, Integer] :skip_status Do not include contributee's Tweets when set to true, 't' or 1.
+ +

@overload contributees(user, options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param options [Hash] A customizable set of options.
+@option options [Boolean, String, Integer] :skip_status Do not include contributee's Tweets when set to true, 't' or 1.
+ + + +
+
+# File lib/twitter/rest/users.rb, line 305
+def contributees(*args)
+  users_from_response(:get, '/1.1/users/contributees.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ contributors(*args) + click to toggle source +
+ + +
+ +

Returns an array of users who can contribute to the specified account

+ +

@see dev.twitter.com/docs/api/1.1/get/users/contributors +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::User>] @overload contributors(options = {})

+ +
@param options [Hash] A customizable set of options.
+@option options [Boolean, String, Integer] :skip_status Do not include contributee's Tweets when set to true, 't' or 1.
+ +

@overload contributors(user, options = {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param options [Hash] A customizable set of options.
+@option options [Boolean, String, Integer] :skip_status Do not include contributee's Tweets when set to true, 't' or 1.
+ + + +
+
+# File lib/twitter/rest/users.rb, line 323
+def contributors(*args)
+  users_from_response(:get, '/1.1/users/contributors.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ current_user(options = {}) + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: verify_credentials +
+ +
+ + +
+ + + +
+ mute(*args) + click to toggle source +
+ + +
+ +

Mutes the users specified by the authenticating user

+ +

@see dev.twitter.com/docs/api/1.1/post/mutes/users/create +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::User>] The muted users. @overload mute(*users)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+ +

@overload mute(*users, options)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/users.rb, line 392
+def mute(*args)
+  parallel_users_from_response(:post, '/1.1/mutes/users/create.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ muted(options = {}) + click to toggle source +
+ + +
+ +

Returns an array of user objects that the authenticating user is muting

+ +

@see dev.twitter.com/docs/api/1.1/get/mutes/users/list +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::User>] User objects that +the authenticating user is muting. @param options [Hash] A customizable set +of options. @option options [Boolean, String, Integer] :skip_status Do not +include user’s Tweets when set to true, ‘t’ or 1.

+ + + +
+
+# File lib/twitter/rest/users.rb, line 421
+def muted(options = {})
+  perform_with_cursor(:get, '/1.1/mutes/users/list.json', options, :users, Twitter::User)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ muted_ids(*args) + click to toggle source +
+ + +
+ +

Returns an array of numeric user IDs the authenticating user is muting

+ +

@see dev.twitter.com/docs/api/1.1/get/mutes/users/ids +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::Cursor] +Numeric user IDs the authenticating user is muting @overload muted_ids(options = {})

+ +
@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/users.rb, line 435
+def muted_ids(*args)
+  arguments = Twitter::Arguments.new(args)
+  merge_user!(arguments.options, arguments.pop)
+  perform_with_cursor(:get, '/1.1/mutes/users/ids.json', arguments.options, :ids)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ profile_banner(*args) + click to toggle source +
+ + +
+ +

Returns the available size variations of the specified user’s profile +banner.

+ +

@see dev.twitter.com/docs/api/1.1/get/users/profile_banner +@note If the user has not uploaded a profile banner, a HTTP 404 will be +served instead. @rate_limited Yes @authentication Requires user context +@raise [Twitter::Error::Unauthorized] Error +raised when supplied user credentials are not valid. @return +[Twitter::ProfileBanner] @overload profile_banner(options = {}) +@overload profile_banner(user, options += {})

+ +
@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+ + + +
+
+# File lib/twitter/rest/users.rb, line 374
+def profile_banner(*args)
+  arguments = Twitter::Arguments.new(args)
+  merge_user!(arguments.options, arguments.pop || user_id) unless arguments.options[:user_id] || arguments.options[:screen_name]
+  perform_with_object(:get, '/1.1/users/profile_banner.json', arguments.options, Twitter::ProfileBanner)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ remove_profile_banner(options = {}) + click to toggle source +
+ + +
+ +

Removes the authenticating user’s profile banner image

+ +

@see dev.twitter.com/docs/api/1.1/post/account/remove_profile_banner +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [nil] @param options +[Hash] A customizable set of options.

+ + + +
+
+# File lib/twitter/rest/users.rb, line 335
+def remove_profile_banner(options = {})
+  post('/1.1/account/remove_profile_banner.json', options).body
+  true
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ settings(options = {}) + click to toggle source +
+ + +
+ +

Updates the authenticating user’s settings. Or, if no options supplied, +returns settings (including current trend, geo and sleep time information) +for the authenticating user.

+ +

@see dev.twitter.com/docs/api/1.1/post/account/settings +@see dev.twitter.com/docs/api/1.1/get/account/settings +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::Settings] +@param options [Hash] A customizable set of options. @option options +[Integer] :trend_location_woeid The Yahoo! Where On Earth ID to use as the +user’s default trend location. Global information is available by using 1 +as the WOEID. The woeid must be one of the locations returned by {dev.twitter.com/docs/api/1.1/get/trends/available +GET trends/available}. @option options [Boolean, String, Integer] +:sleep_time_enabled When set to true, ‘t’ or 1, will enable sleep time for +the user. Sleep time is the time when push or SMS notifications should not +be sent to the user. @option options [Integer] :start_sleep_time The hour +that sleep time should begin if it is enabled. The value for this parameter +should be provided in {en.wikipedia.org/wiki/ISO_8601 +ISO8601} format (i.e. 00-23). The time is considered to be in the same +timezone as the user’s time_zone setting. @option options [Integer] +:end_sleep_time The hour that sleep time should end if it is enabled. The +value for this parameter should be provided in {en.wikipedia.org/wiki/ISO_8601 +ISO8601} format (i.e. 00-23). The time is considered to be in the same +timezone as the user’s time_zone setting. @option options [String] +:time_zone The timezone dates and times should be displayed in for the +user. The timezone must be one of the {api.rubyonrails.org/classes/ActiveSupport/TimeZone.html +Rails TimeZone} names. @option options [String] :lang The language which Twitter should render in for this user. The +language must be specified by the appropriate two letter ISO 639-1 +representation. Currently supported languages are provided by {dev.twitter.com/docs/api/1.1/get/help/languages +GET help/languages}.

+ + + +
+
+# File lib/twitter/rest/users.rb, line 33
+def settings(options = {})
+  request_method = options.size.zero? ? :get : :post
+  response = send(request_method.to_sym, '/1.1/account/settings.json', options).body
+  # https://dev.twitter.com/issues/59
+  response.update(:trend_location => response.fetch(:trend_location, []).first)
+  Twitter::Settings.new(response)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ unblock(*args) + click to toggle source +
+ + +
+ +

Un-blocks the users specified by the authenticating user

+ +

@see dev.twitter.com/docs/api/1.1/post/blocks/destroy +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::User>] The un-blocked users. @overload +unblock(*users)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+ +

@overload unblock(*users, options)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/users.rb, line 210
+def unblock(*args)
+  parallel_users_from_response(:post, '/1.1/blocks/destroy.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ unmute(*args) + click to toggle source +
+ + +
+ +

Un-mutes the user specified by the authenticating user.

+ +

@see dev.twitter.com/docs/api/1.1/post/mutes/users/destroy +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::User>] The un-muted users. @overload unmute(*users)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+ +

@overload unmute(*users, options)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+@param options [Hash] A customizable set of options.
+ + + +
+
+# File lib/twitter/rest/users.rb, line 408
+def unmute(*args)
+  parallel_users_from_response(:post, '/1.1/mutes/users/destroy.json', args)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ update_delivery_device(device, options = {}) + click to toggle source +
+ + +
+ +

Sets which device Twitter delivers updates +to for the authenticating user

+ +

@see dev.twitter.com/docs/api/1.1/post/account/update_delivery_device +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::User] The +authenticated user. @param device [String] Must be one of: ‘sms’, ‘none’. +@param options [Hash] A customizable set of options.

+ + + +
+
+# File lib/twitter/rest/users.rb, line 64
+def update_delivery_device(device, options = {})
+  perform_with_object(:post, '/1.1/account/update_delivery_device.json', options.merge(:device => device), Twitter::User)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ update_profile(options = {}) + click to toggle source +
+ + +
+ +

Sets values that users are able to set under the “Account” tab of their +settings page

+ +

@see dev.twitter.com/docs/api/1.1/post/account/update_profile +@note Only the options specified will be updated. @rate_limited No +@authentication Requires user context @raise [Twitter::Error::Unauthorized] +Error raised when supplied user credentials are +not valid. @return [Twitter::User] The authenticated user. @param options +[Hash] A customizable set of options. @option options [String] :name Full +name associated with the profile. Maximum of 20 characters. @option options +[String] :url URL associated with the profile. Will be prepended with +“http://” if not present. Maximum of 100 characters. @option options +[String] :location The city or country describing where the user of the +account is located. The contents are not normalized or geocoded in any way. +Maximum of 30 characters. @option options [String] :description A +description of the user owning the account. Maximum of 160 characters.

+ + + +
+
+# File lib/twitter/rest/users.rb, line 81
+def update_profile(options = {})
+  perform_with_object(:post, '/1.1/account/update_profile.json', options, Twitter::User)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ update_profile_background_image(image, options = {}) + click to toggle source +
+ + +
+ +

Updates the authenticating user’s profile background image

+ +

@see dev.twitter.com/docs/api/1.1/post/account/update_profile_background_image +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::User] The +authenticated user. @param image [File] The background image for the +profile, base64-encoded. Must be a valid GIF, JPG, or PNG image of less +than 800 kilobytes in size. Images with width larger than 2048 pixels will +be forcibly scaled down. The image must be provided as raw multipart data, +not a URL. @param options [Hash] A customizable set of options. @option +options [Boolean] :tile Whether or not to tile the background image. If set +to true the background image will be displayed tiled. The image will not be +tiled otherwise.

+ + + +
+
+# File lib/twitter/rest/users.rb, line 95
+def update_profile_background_image(image, options = {})
+  perform_with_object(:post, '/1.1/account/update_profile_background_image.json', options.merge(:image => image), Twitter::User)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ update_profile_banner(banner, options = {}) + click to toggle source +
+ + +
+ +

Updates the authenticating user’s profile banner image

+ +

@see dev.twitter.com/docs/api/1.1/post/account/update_profile_banner +@note Uploads a profile banner on behalf of the authenticating user. For +best results, upload an <5MB image that is exactly 1252px by 626px. +Images will be resized for a number of display options. Users with an uploaded profile banner will have a +profile_banner_url node in their Users objects. +More information about sizing variations can be found in User Profile Images +and Banners. @note Profile banner images are +processed asynchronously. The profile_banner_url and its variant sizes will +not necessary be available directly after upload. @rate_limited No +@authentication Requires user context @raise [Twitter::Error::BadRequest] +Error raised when either an image was not +provided or the image data could not be processed. @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @raise +[Twitter::Error::UnprocessableEntity] Error +raised when the image could not be resized or is too large. @return [nil] +@param banner [File] The Base64-encoded or raw image data being uploaded as +the user’s new profile banner. @param options [Hash] A customizable set of +options. @option options [Integer] :width The width of the preferred +section of the image being uploaded in pixels. Use with height, +offset_left, and offset_top to select the desired region of the image to +use. @option options [Integer] :height The height of the preferred section +of the image being uploaded in pixels. Use with width, offset_left, and +offset_top to select the desired region of the image to use. @option +options [Integer] :offset_left The number of pixels by which to offset the +uploaded image from the left. Use with height, width, and offset_top to +select the desired region of the image to use. @option options [Integer] +:offset_top The number of pixels by which to offset the uploaded image from +the top. Use with height, width, and offset_left to select the desired +region of the image to use.

+ + + +
+
+# File lib/twitter/rest/users.rb, line 358
+def update_profile_banner(banner, options = {})
+  post('/1.1/account/update_profile_banner.json', options.merge(:banner => banner)).body
+  true
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ update_profile_colors(options = {}) + click to toggle source +
+ + +
+ +

Sets one or more hex values that control the color scheme of the +authenticating user’s profile

+ +

@see dev.twitter.com/docs/api/1.1/post/account/update_profile_colors +@rate_limited No @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::User] The +authenticated user. @param options [Hash] A customizable set of options. +@option options [String] :profile_background_color Profile background color. @option options +[String] :profile_text_color Profile text +color. @option options [String] :profile_link_color Profile link color. @option options [String] +:profile_sidebar_fill_color Profile sidebar’s +background color. @option options [String] :profile_sidebar_border_color Profile sidebar’s border color.

+ + + +
+
+# File lib/twitter/rest/users.rb, line 112
+def update_profile_colors(options = {})
+  perform_with_object(:post, '/1.1/account/update_profile_colors.json', options, Twitter::User)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ update_profile_image(image, options = {}) + click to toggle source +
+ + +
+ +

Updates the authenticating user’s profile image

+ +

@see dev.twitter.com/docs/api/1.1/post/account/update_profile_image +@note Updates the authenticating user’s profile image. Note that this +method expects raw multipart data, not a URL to an image. @note This method +asynchronously processes the uploaded file before updating the user’s +profile image URL. You can either update your local cache the next time you +request the user’s information, or, at least 5 seconds after uploading the +image, ask for the updated URL using GET users/show. @rate_limited No +@authentication Requires user context @raise [Twitter::Error::Unauthorized] +Error raised when supplied user credentials are +not valid. @return [Twitter::User] The authenticated user. @param image +[File] The avatar image for the profile, base64-encoded. Must be a valid +GIF, JPG, or PNG image of less than 700 kilobytes in size. Images with +width larger than 500 pixels will be scaled down. Animated GIFs will be +converted to a static GIF of the first frame, removing the animation. +@param options [Hash] A customizable set of options.

+ + + +
+
+# File lib/twitter/rest/users.rb, line 127
+def update_profile_image(image, options = {})
+  perform_with_object(:post, '/1.1/account/update_profile_image.json', options.merge(:image => image), Twitter::User)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ user(*args) + click to toggle source +
+ + +
+ +

@see dev.twitter.com/docs/api/1.1/get/users/show +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::User] The +requested user. @overload user(options = {})

+ +
Returns extended information for the authenticated user
+
+@param options [Hash] A customizable set of options.
+@option options [Boolean, String, Integer] :skip_status Do not include user's Tweets when set to true, 't' or 1.
+ +

@overload user(user, options = {})

+ +
Returns extended information for a given user
+
+@param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
+@param options [Hash] A customizable set of options.
+@option options [Boolean, String, Integer] :skip_status Do not include user's Tweets when set to true, 't' or 1.
+ + + +
+
+# File lib/twitter/rest/users.rb, line 251
+def user(*args)
+  arguments = Twitter::Arguments.new(args)
+  if arguments.last || user_id?
+    merge_user!(arguments.options, arguments.pop || user_id)
+    perform_with_object(:get, '/1.1/users/show.json', arguments.options, Twitter::User)
+  else
+    verify_credentials(arguments.options)
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ user?(user, options = {}) + click to toggle source +
+ + +
+ +

Returns true if the specified user exists

+ +

@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Boolean] true if the +user exists, otherwise false. @param user [Integer, String, Twitter::User] +A Twitter user ID, screen name, URI, or +object.

+ + + +
+
+# File lib/twitter/rest/users.rb, line 268
+def user?(user, options = {})
+  merge_user!(options, user)
+  get('/1.1/users/show.json', options)
+  true
+rescue Twitter::Error::NotFound
+  false
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ user_search(query, options = {}) + click to toggle source +
+ + +
+ +

Returns users that match the given query

+ +

@see dev.twitter.com/docs/api/1.1/get/users/search +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::User>] @param query [String] The search query to run +against people search. @param options [Hash] A customizable set of options. +@option options [Integer] :count The number of people to retrieve. Maxiumum +of 20 allowed per page. @option options [Integer] :page Specifies the page +of results to retrieve.

+ + + +
+
+# File lib/twitter/rest/users.rb, line 287
+def user_search(query, options = {})
+  perform_with_objects(:get, '/1.1/users/search.json', options.merge(:q => query), Twitter::User)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ users(*args) + click to toggle source +
+ + +
+ +

Returns extended information for up to 100 users

+ +

@see dev.twitter.com/docs/api/1.1/get/users/lookup +@rate_limited Yes @authentication Required @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return +[Array<Twitter::User>] The requested users. @overload users(*users)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+ +

@overload users(*users, options)

+ +
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
+@param options [Hash] A customizable set of options.
+@option options [Symbol, String] :method Requests users via a GET request instead of the standard POST request if set to ':get'.
+ + + +
+
+# File lib/twitter/rest/users.rb, line 227
+def users(*args)
+  arguments = Twitter::Arguments.new(args)
+  request_method = arguments.options.delete(:method) || :post
+  flat_pmap(arguments.each_slice(MAX_USERS_PER_REQUEST)) do |users|
+    perform_with_objects(request_method, '/1.1/users/lookup.json', merge_users(arguments.options, users), Twitter::User)
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ verify_credentials(options = {}) + click to toggle source +
+ + +
+ +

Returns the requesting user if authentication was successful, otherwise +raises {Twitter::Error::Unauthorized}

+ +

@see dev.twitter.com/docs/api/1.1/get/account/verify_credentials +@rate_limited Yes @authentication Requires user context @raise +[Twitter::Error::Unauthorized] Error raised +when supplied user credentials are not valid. @return [Twitter::User] The +authenticated user. @param options [Hash] A customizable set of options. +@option options [Boolean, String, Integer] :skip_status Do not include +user’s Tweets when set to true, ‘t’ or 1.

+ + + +
+
+# File lib/twitter/rest/users.rb, line 50
+def verify_credentials(options = {})
+  perform_with_object(:get, '/1.1/account/verify_credentials.json', options, Twitter::User)
+end
+
+ +
+ + +
+ Also aliased as: current_user +
+ + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Utils.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Utils.html new file mode 100644 index 0000000..b561d69 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/REST/Utils.html @@ -0,0 +1,368 @@ + + + + + + + Module: Twitter::REST::Utils + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + + + + + + + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::REST::Utils

+ +
+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
DEFAULT_CURSOR
+ +
+ + +
URI_SUBSTRING
+ +
+ + +
+
+ + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/RateLimit.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/RateLimit.html new file mode 100644 index 0000000..4983c67 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/RateLimit.html @@ -0,0 +1,538 @@ + + + + + + + Class: Twitter::RateLimit + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::RateLimit

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ limit() + click to toggle source +
+ + +
+ +

@return [Integer]

+ + + +
+
+# File lib/twitter/rate_limit.rb, line 4
+def limit
+  limit = @attrs['x-rate-limit-limit']
+  limit.to_i if limit
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ remaining() + click to toggle source +
+ + +
+ +

@return [Integer]

+ + + +
+
+# File lib/twitter/rate_limit.rb, line 11
+def remaining
+  remaining = @attrs['x-rate-limit-remaining']
+  remaining.to_i if remaining
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ reset_at() + click to toggle source +
+ + +
+ +

@return [Time]

+ + + +
+
+# File lib/twitter/rate_limit.rb, line 18
+def reset_at
+  reset = @attrs['x-rate-limit-reset']
+  Time.at(reset.to_i) if reset
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ reset_in() + click to toggle source +
+ + +
+ +

@return [Integer]

+ + + +
+
+# File lib/twitter/rate_limit.rb, line 25
+def reset_in
+  [(reset_at - Time.now).ceil, 0].max if reset_at
+end
+
+ +
+ + +
+ Also aliased as: retry_after +
+ + + +
+ + +
+ + + +
+ retry_after() + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: reset_in +
+ +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Relationship.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Relationship.html new file mode 100644 index 0000000..bb8686a --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Relationship.html @@ -0,0 +1,397 @@ + + + + + + + Class: Twitter::Relationship + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Relationship

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(attrs = {}) + click to toggle source +
+ + +
+ +

Initializes a new object

+ +

@param attrs [Hash] @return [Twitter::Relationship]

+ + + +
+
+# File lib/twitter/relationship.rb, line 12
+def initialize(attrs = {})
+  @attrs = attrs[:relationship]
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Request.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Request.html new file mode 100644 index 0000000..b784f92 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Request.html @@ -0,0 +1,642 @@ + + + + + + + Class: Twitter::Request + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Request

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + + + +
+ client[RW] +
+ +
+ + + +
+
+ +
+ + + + +
+ options[RW] +
+ +
+ + + +
+
+ +
+ + + + +
+ path[RW] +
+ +
+ + + +
+
+ +
+ + + + +
+ request_method[RW] +
+ +
+ + + +
+
+ +
+ + + + +
+ verb[RW] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(client, request_method, path, options = {}) + click to toggle source +
+ + +
+ +

@param client [Twitter::Client] @param request_method [String, +Symbol] @param path [String] @param options [Hash] @return +[Twitter::Request]

+ + + +
+
+# File lib/twitter/request.rb, line 13
+def initialize(client, request_method, path, options = {})
+  @client = client
+  @request_method = request_method.to_sym
+  @path = path
+  @options = options
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ perform() + click to toggle source +
+ + +
+ +

@return [Hash]

+ + + +
+
+# File lib/twitter/request.rb, line 21
+def perform
+  @client.send(@request_method, @path, @options).body
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ perform_with_cursor(collection_name, klass = nil) + click to toggle source +
+ + +
+ +

@param collection_name [Symbol] @param klass [Class] @return +[Twitter::Cursor]

+ + + +
+
+# File lib/twitter/request.rb, line 35
+def perform_with_cursor(collection_name, klass = nil)
+  Twitter::Cursor.new(perform, collection_name.to_sym, klass, self)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ perform_with_object(klass) + click to toggle source +
+ + +
+ +

@param klass [Class] @param request [Twitter::Request] @return [Object]

+ + + +
+
+# File lib/twitter/request.rb, line 28
+def perform_with_object(klass)
+  klass.new(perform)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ perform_with_objects(klass) + click to toggle source +
+ + +
+ +

@param klass [Class] @return [Array]

+ + + +
+
+# File lib/twitter/request.rb, line 41
+def perform_with_objects(klass)
+  perform.collect do |element|
+    klass.new(element)
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/SavedSearch.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/SavedSearch.html new file mode 100644 index 0000000..1be9f05 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/SavedSearch.html @@ -0,0 +1,410 @@ + + + + + + + Class: Twitter::SavedSearch + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::SavedSearch

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ name[R] +
+ +
+ + + +
+
+ +
+ + +
+ position[R] +
+ +
+ + + +
+
+ +
+ + +
+ query[R] +
+ +
+ + + +
+
+ +
+ + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/SearchResults.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/SearchResults.html new file mode 100644 index 0000000..c3eabe1 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/SearchResults.html @@ -0,0 +1,456 @@ + + + + + + + Class: Twitter::SearchResults + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::SearchResults

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ attrs[R] +
+ +
+ + + +
+
+ +
+ + +
+ to_h[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(attrs, request) + click to toggle source +
+ + +
+ +

Initializes a new SearchResults object

+ +

@param attrs [Hash] @param request [Twitter::Request] @return +[Twitter::SearchResults]

+ + + +
+
+# File lib/twitter/search_results.rb, line 20
+def initialize(attrs, request)
+  @client = request.client
+  @request_method = request.verb
+  @path = request.path
+  @options = request.options
+  @collection = []
+  self.attrs = attrs
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Settings.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Settings.html new file mode 100644 index 0000000..183c692 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Settings.html @@ -0,0 +1,413 @@ + + + + + + + Class: Twitter::Settings + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Settings

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ language[R] +
+ +
+ + + +
+
+ +
+ + +
+ screen_name[R] +
+ +
+ + + +
+
+ +
+ + +
+ sleep_time[R] +
+ +
+ + + +
+
+ +
+ + +
+ time_zone[R] +
+ +
+ + + +
+
+ +
+ + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Size.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Size.html new file mode 100644 index 0000000..becc27b --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Size.html @@ -0,0 +1,440 @@ + + + + + + + Class: Twitter::Size + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Size

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ h[R] +
+ +
+ + + +
+
+ +
+ + +
+ height[R] +
+ +
+ + + +
+
+ +
+ + +
+ resize[R] +
+ +
+ + + +
+
+ +
+ + +
+ w[R] +
+ +
+ + + +
+
+ +
+ + +
+ width[R] +
+ +
+ + + +
+
+ +
+ + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/SourceUser.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/SourceUser.html new file mode 100644 index 0000000..774ded6 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/SourceUser.html @@ -0,0 +1,346 @@ + + + + + + + Class: Twitter::SourceUser + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::SourceUser

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming.html new file mode 100644 index 0000000..c9559de --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming.html @@ -0,0 +1,396 @@ + + + + + + + Module: Twitter::Streaming + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ + + + + +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Streaming

+ +
+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
DeletedStatus
+ +
+ + +
+
+ + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/Client.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/Client.html new file mode 100644 index 0000000..7c88574 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/Client.html @@ -0,0 +1,780 @@ + + + + + + + Class: Twitter::Streaming::Client + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Streaming::Client

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + + + +
+ connection[W] +
+ +
+ + + +
+
+ +
+ + + + +
+ ssl_socket_class[RW] +
+ +
+ + + +
+
+ +
+ + + + +
+ tcp_socket_class[RW] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(options = {}) + click to toggle source +
+ + +
+ +

Initializes a new Client object

+ +

@param options [Hash] A customizable set of options. @option options +[String] :tcp_socket_class A +class that Connection will use to create a +new TCP socket. @option options [String] :ssl_socket_class A +class that Connection will use to create a +new SSL socket. @return [Twitter::Streaming::Client]

+ + + +
+
+# File lib/twitter/streaming/client.rb, line 20
+def initialize(options = {})
+  super
+  @connection = Streaming::Connection.new(options)
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ before_request(&block) + click to toggle source +
+ + +
+ +

Set a Proc to be run when connection established.

+ + + +
+
+# File lib/twitter/streaming/client.rb, line 94
+def before_request(&block)
+  if block_given?
+    @before_request = block
+    self
+  elsif instance_variable_defined?(:@before_request)
+    @before_request
+  else
+    proc {}
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ filter(options = {}, &block) + click to toggle source +
+ + +
+ +

Returns public statuses that match one or more filter predicates

+ +

@see dev.twitter.com/docs/api/1.1/post/statuses/filter +@see dev.twitter.com/docs/streaming-apis/parameters +@note At least one predicate parameter (follow, locations, or track) must +be specified. @param options [Hash] A customizable set of options. @option +options [String] :follow A comma separated list of user IDs, indicating the +users to return statuses for in the stream. @option options [String] :track +Includes additional Tweets matching the specified keywords. Phrases of +keywords are specified by a comma-separated list. @option options [String] +:locations Includes additional Tweets falling within the specified bounding +boxes. @yield [Twitter::Tweet, Twitter::Streaming::Event, Twitter::DirectMessage, Twitter::Streaming::FriendList, Twitter::Streaming::DeletedTweet, +Twitter::Streaming::StallWarning] A stream of Twitter objects.

+ + + +
+
+# File lib/twitter/streaming/client.rb, line 35
+def filter(options = {}, &block)
+  request(:post, 'https://stream.twitter.com:443/1.1/statuses/filter.json', options, &block)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ firehose(options = {}, &block) + click to toggle source +
+ + +
+ +

Returns all public statuses

+ +

@see dev.twitter.com/docs/api/1.1/get/statuses/firehose +@see dev.twitter.com/docs/streaming-apis/parameters +@note This endpoint requires special permission to access. @param options +[Hash] A customizable set of options. @option options [Integer] :count The +number of messages to backfill. @yield [Twitter::Tweet, Twitter::Streaming::Event, Twitter::DirectMessage, Twitter::Streaming::FriendList, Twitter::Streaming::DeletedTweet, +Twitter::Streaming::StallWarning] A stream of Twitter objects.

+ + + +
+
+# File lib/twitter/streaming/client.rb, line 47
+def firehose(options = {}, &block)
+  request(:get, 'https://stream.twitter.com:443/1.1/statuses/firehose.json', options, &block)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ sample(options = {}, &block) + click to toggle source +
+ + +
+ +

Returns a small random sample of all public statuses

+ +

@see dev.twitter.com/docs/api/1.1/get/statuses/sample +@see dev.twitter.com/docs/streaming-apis/parameters +@yield [Twitter::Tweet, Twitter::Streaming::Event, Twitter::DirectMessage, Twitter::Streaming::FriendList, Twitter::Streaming::DeletedTweet, +Twitter::Streaming::StallWarning] A stream of Twitter objects.

+ + + +
+
+# File lib/twitter/streaming/client.rb, line 56
+def sample(options = {}, &block)
+  request(:get, 'https://stream.twitter.com:443/1.1/statuses/sample.json', options, &block)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ site(*args, &block) + click to toggle source +
+ + +
+ +

Streams messages for a set of user

+ +

@see dev.twitter.com/docs/api/1.1/get/site +@see dev.twitter.com/docs/streaming-apis/streams/site +@see dev.twitter.com/docs/streaming-apis/parameters +@note Site Streams is currently in a limited beta. Access is restricted to +whitelisted accounts. @param follow [Enumerable<Integer, String, +Twitter::User>] A list of user IDs, indicating the users to return +statuses for in the stream. @param options [Hash] A customizable set of +options. @option options [String] :with Specifies whether to return +information for just the users specified in the follow parameter, or +include messages from accounts they follow. @option options [String] +:replies Specifies whether stall warnings should be delivered. @yield [Twitter::Tweet, Twitter::Streaming::Event, Twitter::DirectMessage, Twitter::Streaming::FriendList, Twitter::Streaming::DeletedTweet, +Twitter::Streaming::StallWarning] A stream of Twitter objects.

+ + + +
+
+# File lib/twitter/streaming/client.rb, line 71
+def site(*args, &block)
+  arguments = Arguments.new(args)
+  user_ids = collect_user_ids(arguments)
+  request(:get, 'https://sitestream.twitter.com:443/1.1/site.json', arguments.options.merge(:follow => user_ids.join(',')), &block)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ user(options = {}, &block) + click to toggle source +
+ + +
+ +

Streams messages for a single user

+ +

@see dev.twitter.com/docs/api/1.1/get/user +@see dev.twitter.com/docs/streaming-apis/streams/user +@see dev.twitter.com/docs/streaming-apis/parameters +@param options [Hash] A customizable set of options. @option options +[String] :with Specifies whether to return information for just the users +specified in the follow parameter, or include messages from accounts they +follow. @option options [String] :replies Specifies whether to return +additional @replies. @option options [String] :stall_warnings Specifies +whether stall warnings should be delivered. @option options [String] :track +Includes additional Tweets matching the specified keywords. Phrases of +keywords are specified by a comma-separated list. @option options [String] +:locations Includes additional Tweets falling within the specified bounding +boxes. @yield [Twitter::Tweet, Twitter::Streaming::Event, Twitter::DirectMessage, Twitter::Streaming::FriendList, Twitter::Streaming::DeletedTweet, +Twitter::Streaming::StallWarning] A stream of Twitter objects.

+ + + +
+
+# File lib/twitter/streaming/client.rb, line 89
+def user(options = {}, &block)
+  request(:get, 'https://userstream.twitter.com:443/1.1/user.json', options, &block)
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/Connection.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/Connection.html new file mode 100644 index 0000000..7d9f2b6 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/Connection.html @@ -0,0 +1,482 @@ + + + + + + + Class: Twitter::Streaming::Connection + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Streaming::Connection

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ ssl_socket_class[R] +
+ +
+ + + +
+
+ +
+ + +
+ tcp_socket_class[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(opts = {}) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/streaming/connection.rb, line 8
+def initialize(opts = {})
+  @tcp_socket_class = opts.fetch(:tcp_socket_class) { TCPSocket }
+  @ssl_socket_class = opts.fetch(:ssl_socket_class) { OpenSSL::SSL::SSLSocket }
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ stream(request, response) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/streaming/connection.rb, line 14
+def stream(request, response)
+  client_context = OpenSSL::SSL::SSLContext.new
+  client         = @tcp_socket_class.new(Resolv.getaddress(request.uri.host), request.uri.port)
+  ssl_client     = @ssl_socket_class.new(client, client_context)
+
+  ssl_client.connect
+  request.stream(ssl_client)
+  while body = ssl_client.readpartial(1024) # rubocop:disable AssignmentInCondition, WhileUntilModifier
+    response << body
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/DeletedTweet.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/DeletedTweet.html new file mode 100644 index 0000000..12e7eb1 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/DeletedTweet.html @@ -0,0 +1,368 @@ + + + + + + + Class: Twitter::Streaming::DeletedTweet + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Streaming::DeletedTweet

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ user_id[R] +
+ +
+ + + +
+
+ +
+ + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/Event.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/Event.html new file mode 100644 index 0000000..ddcc49f --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/Event.html @@ -0,0 +1,483 @@ + + + + + + + Class: Twitter::Streaming::Event + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Streaming::Event

+ +
+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
LIST_EVENTS
+ +
+ + +
TWEET_EVENTS
+ +
+ + +
+
+ + + + +
+

Attributes

+ + +
+ + +
+ name[R] +
+ +
+ + + +
+
+ +
+ + +
+ source[R] +
+ +
+ + + +
+
+ +
+ + +
+ target[R] +
+ +
+ + + +
+
+ +
+ + +
+ target_object[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(data) + click to toggle source +
+ + +
+ +

@param data [Hash]

+ + + +
+
+# File lib/twitter/streaming/event.rb, line 17
+def initialize(data)
+  @name = data[:event].to_sym
+  @source = Twitter::User.new(data[:source])
+  @target = Twitter::User.new(data[:target])
+  @target_object = target_object_factory(@name, data[:target_object])
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/FriendList.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/FriendList.html new file mode 100644 index 0000000..9cf4a75 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/FriendList.html @@ -0,0 +1,346 @@ + + + + + + + Class: Twitter::Streaming::FriendList + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Streaming::FriendList

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/MessageParser.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/MessageParser.html new file mode 100644 index 0000000..db3aca6 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/MessageParser.html @@ -0,0 +1,407 @@ + + + + + + + Class: Twitter::Streaming::MessageParser + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Streaming::MessageParser

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ parse(data) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/streaming/message_parser.rb, line 11
+def self.parse(data) # rubocop:disable CyclomaticComplexity
+  if data[:id]
+    Tweet.new(data)
+  elsif data[:event]
+    Event.new(data)
+  elsif data[:direct_message]
+    DirectMessage.new(data[:direct_message])
+  elsif data[:friends]
+    FriendList.new(data[:friends])
+  elsif data[:delete] && data[:delete][:status]
+    DeletedTweet.new(data[:delete][:status])
+  elsif data[:warning]
+    StallWarning.new(data[:warning])
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/Response.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/Response.html new file mode 100644 index 0000000..22ff74d --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/Response.html @@ -0,0 +1,514 @@ + + + + + + + Class: Twitter::Streaming::Response + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Streaming::Response

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(&block) + click to toggle source +
+ + +
+ +

Initializes a new Response object

+ +

@return [Twitter::Streaming::Response]

+ + + +
+
+# File lib/twitter/streaming/response.rb, line 9
+def initialize(&block)
+  @block     = block
+  @parser    = Http::Parser.new(self)
+  @tokenizer = BufferedTokenizer.new("\r\n")
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ <<(data) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/streaming/response.rb, line 15
+def <<(data)
+  @parser << data
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ on_body(data) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/streaming/response.rb, line 24
+def on_body(data)
+  @tokenizer.extract(data).each do |line|
+    next if line.empty?
+    @block.call(JSON.parse(line, :symbolize_names => true))
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ on_headers_complete(_headers) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/streaming/response.rb, line 19
+def on_headers_complete(_headers)
+  error = Twitter::Error.errors[@parser.status_code]
+  fail error.new if error
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/StallWarning.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/StallWarning.html new file mode 100644 index 0000000..dc39ee9 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Streaming/StallWarning.html @@ -0,0 +1,398 @@ + + + + + + + Class: Twitter::Streaming::StallWarning + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Streaming::StallWarning

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ code[R] +
+ +
+ + + +
+
+ +
+ + +
+ message[R] +
+ +
+ + + +
+
+ +
+ + +
+ percent_full[R] +
+ +
+ + + +
+
+ +
+ + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Suggestion.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Suggestion.html new file mode 100644 index 0000000..0a48ace --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Suggestion.html @@ -0,0 +1,461 @@ + + + + + + + Class: Twitter::Suggestion + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Suggestion

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ name[R] +
+ +
+ + + +
+
+ +
+ + +
+ size[R] +
+ +
+ + + +
+
+ +
+ + +
+ slug[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Instance Methods

+ + +
+ + + +
+ users() + click to toggle source +
+ + +
+ +

@return [Array<Twitter::User>]

+ + + +
+
+# File lib/twitter/suggestion.rb, line 10
+def users
+  @attrs.fetch(:users, []).collect do |user|
+    User.new(user)
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/TargetUser.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/TargetUser.html new file mode 100644 index 0000000..3ad349a --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/TargetUser.html @@ -0,0 +1,346 @@ + + + + + + + Class: Twitter::TargetUser + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::TargetUser

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Token.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Token.html new file mode 100644 index 0000000..fc1ff60 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Token.html @@ -0,0 +1,460 @@ + + + + + + + Class: Twitter::Token + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Token

+ +
+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
BEARER_TYPE
+ +
+ + +
+
+ + + + +
+

Attributes

+ + +
+ + +
+ access_token[R] +
+ +
+ + + +
+
+ +
+ + +
+ to_s[R] +
+ +
+ + + +
+
+ +
+ + +
+ token_type[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Instance Methods

+ + +
+ + + +
+ bearer?() + click to toggle source +
+ + +
+ +

@return [Boolean]

+ + + +
+
+# File lib/twitter/token.rb, line 11
+def bearer?
+  @attrs[:token_type] == BEARER_TYPE
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Trend.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Trend.html new file mode 100644 index 0000000..21cac1e --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Trend.html @@ -0,0 +1,410 @@ + + + + + + + Class: Twitter::Trend + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Trend

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ events[R] +
+ +
+ + + +
+
+ +
+ + +
+ name[R] +
+ +
+ + + +
+
+ +
+ + +
+ query[R] +
+ +
+ + + +
+
+ +
+ + + + +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/TrendResults.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/TrendResults.html new file mode 100644 index 0000000..18d10a1 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/TrendResults.html @@ -0,0 +1,609 @@ + + + + + + + Class: Twitter::TrendResults + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::TrendResults

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ attrs[R] +
+ +
+ + + +
+
+ +
+ + +
+ to_h[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(attrs = {}) + click to toggle source +
+ + +
+ +

Initializes a new TrendResults object

+ +

@param attrs [Hash] @return [Twitter::TrendResults]

+ + + +
+
+# File lib/twitter/trend_results.rb, line 22
+def initialize(attrs = {})
+  @attrs = attrs
+  @collection = @attrs.fetch(:trends, []).collect do |trend|
+    Trend.new(trend)
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ as_of() + click to toggle source +
+ + +
+ +

Time when the object was created on Twitter

+ +

@return [Time]

+ + + +
+
+# File lib/twitter/trend_results.rb, line 32
+def as_of
+  Time.parse(@attrs[:as_of]) unless @attrs[:as_of].nil?
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ as_of?() + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/trend_results.rb, line 37
+def as_of?
+  !!@attrs[:as_of]
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ location() + click to toggle source +
+ + +
+ +

@return [Twitter::Place, NullObject]

+ + + +
+
+# File lib/twitter/trend_results.rb, line 43
+def location
+  location? ? Place.new(@attrs[:locations].first) : NullObject.new
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ location?() + click to toggle source +
+ + +
+ +

@return [Boolean]

+ + + +
+
+# File lib/twitter/trend_results.rb, line 49
+def location?
+  !@attrs[:locations].nil? && !@attrs[:locations].first.nil?
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Tweet.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Tweet.html new file mode 100644 index 0000000..0cae740 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Tweet.html @@ -0,0 +1,658 @@ + + + + + + + Class: Twitter::Tweet + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Tweet

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ favorite_count[R] +
+ +
+ + + +
+
+ +
+ + +
+ filter_level[R] +
+ +
+ + + +
+
+ +
+ + +
+ in_reply_to_attrs_id[R] +
+ +
+ + + +
+
+ +
+ + +
+ in_reply_to_screen_name[R] +
+ +
+ + + +
+
+ +
+ + +
+ in_reply_to_status_id[R] +
+ +
+ + + +
+
+ +
+ + +
+ in_reply_to_tweet_id[R] +
+ +
+ + + +
+
+ +
+ + +
+ in_reply_to_user_id[R] +
+ +
+ + + +
+
+ +
+ + +
+ lang[R] +
+ +
+ + + +
+
+ +
+ + +
+ retweet_count[R] +
+ +
+ + + +
+
+ +
+ + +
+ source[R] +
+ +
+ + + +
+
+ +
+ + +
+ text[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Instance Methods

+ + +
+ + + +
+ full_text() + click to toggle source +
+ + +
+ +

@note May be > 140 characters. @return [String]

+ + + +
+
+# File lib/twitter/tweet.rb, line 29
+def full_text
+  if retweet?
+    prefix = text[/\A(RT @[a-z0-9_]{1,20}: )/, 1]
+    [prefix, retweeted_status.text].compact.join
+  else
+    text
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ uri() + click to toggle source +
+ + +
+ +

@return [String] The URL to the tweet.

+ + + +
+
+# File lib/twitter/tweet.rb, line 40
+def uri
+  Addressable::URI.parse("https://twitter.com/#{user.screen_name}/status/#{id}") unless user.nil?
+end
+
+ +
+ + +
+ Also aliased as: url +
+ + + +
+ + +
+ + + +
+ url() + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: uri +
+ +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/User.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/User.html new file mode 100644 index 0000000..3f52bac --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/User.html @@ -0,0 +1,911 @@ + + + + + + + Class: Twitter::User + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + + +
+

Included Modules

+ +
+ +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::User

+ +
+ +
+ + + + +
+ + + + + + + + +
+

Attributes

+ + +
+ + +
+ connections[R] +
+ +
+ + + +
+
+ +
+ + +
+ description[R] +
+ +
+ + + +
+
+ +
+ + +
+ favorites_count[R] +
+ +
+ + + +
+
+ +
+ + +
+ favourites_count[R] +
+ +
+ + + +
+
+ +
+ + +
+ followers_count[R] +
+ +
+ + + +
+
+ +
+ + +
+ friends_count[R] +
+ +
+ + + +
+
+ +
+ + +
+ lang[R] +
+ +
+ + + +
+
+ +
+ + +
+ listed_count[R] +
+ +
+ + + +
+
+ +
+ + +
+ location[R] +
+ +
+ + + +
+
+ +
+ + +
+ name[R] +
+ +
+ + + +
+
+ +
+ + +
+ profile_background_color[R] +
+ +
+ + + +
+
+ +
+ + +
+ profile_background_image_uri[R] +
+ +
+ + + +
+
+ +
+ + +
+ profile_background_image_uri_https[R] +
+ +
+ + + +
+
+ +
+ + +
+ profile_background_image_url[R] +
+ +
+ + + +
+
+ +
+ + +
+ profile_background_image_url_https[R] +
+ +
+ + + +
+
+ + + +
+ + +
+ profile_sidebar_border_color[R] +
+ +
+ + + +
+
+ +
+ + +
+ profile_sidebar_fill_color[R] +
+ +
+ + + +
+
+ +
+ + +
+ profile_text_color[R] +
+ +
+ + + +
+
+ +
+ + +
+ statuses_count[R] +
+ +
+ + + +
+
+ +
+ + +
+ time_zone[R] +
+ +
+ + + +
+
+ +
+ + +
+ tweets_count[R] +
+ +
+ + + +
+
+ +
+ + +
+ utc_offset[R] +
+ +
+ + + +
+
+ +
+ + + + +
+

Public Instance Methods

+ + +
+ + + +
+ entities?() + click to toggle source +
+ + +
+ +

@return [Boolean]

+ + + +
+
+# File lib/twitter/user.rb, line 76
+def entities?
+  !@attrs[:entities].nil? && @attrs[:entities].any? { |_, hash| hash[:urls].any? }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ uri() + click to toggle source +
+ + +
+ +

@return [String] The URL to the user.

+ + + +
+
+# File lib/twitter/user.rb, line 82
+def uri
+  Addressable::URI.parse("https://twitter.com/#{screen_name}") unless screen_name.nil?
+end
+
+ +
+ + +
+ Also aliased as: url +
+ + + +
+ + +
+ + + +
+ url() + click to toggle source +
+ + +
+ + + + + +
+ + + + +
+ Alias for: uri +
+ +
+ + +
+ + + +
+ website() + click to toggle source +
+ + +
+ +

@return [String] The URL to the user’s website.

+ + + +
+
+# File lib/twitter/user.rb, line 89
+def website
+  if website_urls?
+    website_urls.first.expanded_url
+  else
+    Addressable::URI.parse(@attrs[:url])
+  end
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ website?() + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/user.rb, line 98
+def website?
+  !!(website_uris? || @attrs[:url])
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Utils.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Utils.html new file mode 100644 index 0000000..e6a7230 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Utils.html @@ -0,0 +1,481 @@ + + + + + + + Module: Twitter::Utils + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + + + + + +
+

Namespace

+ +
+ + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Utils

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ flat_pmap(enumerable) + click to toggle source +
+ + +
+ +

Returns a new array with the concatenated results of running block once for +every element in enumerable. If no block is given, an enumerator is +returned instead.

+ +

@param enumerable [Enumerable] @return [Array, Enumerator]

+ + + +
+
+# File lib/twitter/utils.rb, line 27
+def flat_pmap(enumerable)
+  return to_enum(:flat_pmap, enumerable) unless block_given?
+  pmap(enumerable, &Proc.new).flatten!(1)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ included(base) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/utils.rb, line 4
+def included(base)
+  base.extend(ClassMethods)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ pmap(enumerable) + click to toggle source +
+ + +
+ +

Returns a new array with the results of running block once for every +element in enumerable. If no block is given, an enumerator is returned +instead.

+ +

@param enumerable [Enumerable] @return [Array, Enumerator]

+ + + +
+
+# File lib/twitter/utils.rb, line 38
+def pmap(enumerable)
+  return to_enum(:pmap, enumerable) unless block_given?
+  if enumerable.count == 1
+    enumerable.collect { |object| yield(object) }
+  else
+    enumerable.collect { |object| Thread.new { yield(object) } }.collect(&:value)
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Utils/ClassMethods.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Utils/ClassMethods.html new file mode 100644 index 0000000..b3778b7 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Utils/ClassMethods.html @@ -0,0 +1,394 @@ + + + + + + + Module: Twitter::Utils::ClassMethods + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Utils::ClassMethods

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ deprecate_alias(new_name, old_name) + click to toggle source +
+ + +
+ + + + + +
+
+# File lib/twitter/utils.rb, line 10
+def deprecate_alias(new_name, old_name)
+  define_method(new_name) do |*args|
+    warn "#{Kernel.caller.first}: [DEPRECATION] ##{new_name} is deprecated. Use ##{old_name} instead."
+    if block_given?
+      send(old_name, *args, &Proc.new)
+    else
+      send(old_name, *args)
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/Twitter/Version.html b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Version.html new file mode 100644 index 0000000..29d3e5a --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/Twitter/Version.html @@ -0,0 +1,423 @@ + + + + + + + Class: Twitter::Version + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+ +
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Twitter::Version

+ +
+ +
+ + + + +
+ + + + + + +
+

Constants

+
+ +
MAJOR
+ +
+ + +
MINOR
+ +
+ + +
PATCH
+ +
+ + +
PRE
+ +
+ + +
+
+ + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ to_s() + click to toggle source +
+ + +
+ +

@return [String]

+ + + +
+
+# File lib/twitter/version.rb, line 10
+def to_s
+  [MAJOR, MINOR, PATCH, PRE].compact.join('.')
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/created.rid b/.gems/doc/twitter-5.11.0/rdoc/created.rid new file mode 100644 index 0000000..bd0fa9e --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/created.rid @@ -0,0 +1,84 @@ +Wed, 03 Sep 2014 10:27:32 +0200 +lib/twitter/target_user.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/entities.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/client.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/trend_results.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/media_factory.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/size.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/profile.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/source_user.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/relationship.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/creatable.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/geo_factory.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/version.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/entity/symbol.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/entity/uri.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/entity/hashtag.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/entity/user_mention.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/tweet.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/geo/point.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/geo/polygon.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/factory.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/utils.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/trend.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/streaming/deleted_tweet.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/streaming/client.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/streaming/stall_warning.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/streaming/connection.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/streaming/message_parser.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/streaming/friend_list.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/streaming/response.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/streaming/event.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/basic_user.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/profile_banner.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/search_results.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/geo.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/cursor.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/request.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/arguments.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/saved_search.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rate_limit.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/metadata.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/direct_message.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/client.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/api.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/suggested_users.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/oauth.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/response/parse_error_json.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/response/parse_json.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/response/raise_error.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/search.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/undocumented.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/saved_searches.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/favorites.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/utils.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/request/multipart_with_file.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/places_and_geo.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/users.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/lists.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/help.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/spam_reporting.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/media.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/tweets.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/friends_and_followers.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/trends.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/timelines.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/direct_messages.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/configuration.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/geo_results.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/suggestion.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/null_object.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/media/photo.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/identity.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/base.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/oembed.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/settings.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/language.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/list.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/token.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/entity.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/user.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/enumerable.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/place.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/error.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter.rb Wed, 03 Sep 2014 10:27:28 +0200 diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/brick.png b/.gems/doc/twitter-5.11.0/rdoc/images/brick.png new file mode 100644 index 0000000..7851cf3 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/brick.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/brick_link.png b/.gems/doc/twitter-5.11.0/rdoc/images/brick_link.png new file mode 100644 index 0000000..9ebf013 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/brick_link.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/bug.png b/.gems/doc/twitter-5.11.0/rdoc/images/bug.png new file mode 100644 index 0000000..2d5fb90 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/bug.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/bullet_black.png b/.gems/doc/twitter-5.11.0/rdoc/images/bullet_black.png new file mode 100644 index 0000000..5761970 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/bullet_black.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/bullet_toggle_minus.png b/.gems/doc/twitter-5.11.0/rdoc/images/bullet_toggle_minus.png new file mode 100644 index 0000000..b47ce55 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/bullet_toggle_minus.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/bullet_toggle_plus.png b/.gems/doc/twitter-5.11.0/rdoc/images/bullet_toggle_plus.png new file mode 100644 index 0000000..9ab4a89 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/bullet_toggle_plus.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/date.png b/.gems/doc/twitter-5.11.0/rdoc/images/date.png new file mode 100644 index 0000000..783c833 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/date.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/find.png b/.gems/doc/twitter-5.11.0/rdoc/images/find.png new file mode 100644 index 0000000..1547479 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/find.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/loadingAnimation.gif b/.gems/doc/twitter-5.11.0/rdoc/images/loadingAnimation.gif new file mode 100644 index 0000000..82290f4 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/loadingAnimation.gif differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/macFFBgHack.png b/.gems/doc/twitter-5.11.0/rdoc/images/macFFBgHack.png new file mode 100644 index 0000000..c6473b3 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/macFFBgHack.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/package.png b/.gems/doc/twitter-5.11.0/rdoc/images/package.png new file mode 100644 index 0000000..da3c2a2 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/package.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/page_green.png b/.gems/doc/twitter-5.11.0/rdoc/images/page_green.png new file mode 100644 index 0000000..de8e003 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/page_green.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/page_white_text.png b/.gems/doc/twitter-5.11.0/rdoc/images/page_white_text.png new file mode 100644 index 0000000..813f712 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/page_white_text.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/page_white_width.png b/.gems/doc/twitter-5.11.0/rdoc/images/page_white_width.png new file mode 100644 index 0000000..1eb8809 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/page_white_width.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/plugin.png b/.gems/doc/twitter-5.11.0/rdoc/images/plugin.png new file mode 100644 index 0000000..6187b15 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/plugin.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/ruby.png b/.gems/doc/twitter-5.11.0/rdoc/images/ruby.png new file mode 100644 index 0000000..f763a16 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/ruby.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/tag_green.png b/.gems/doc/twitter-5.11.0/rdoc/images/tag_green.png new file mode 100644 index 0000000..83ec984 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/tag_green.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/wrench.png b/.gems/doc/twitter-5.11.0/rdoc/images/wrench.png new file mode 100644 index 0000000..5c8213f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/wrench.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/wrench_orange.png b/.gems/doc/twitter-5.11.0/rdoc/images/wrench_orange.png new file mode 100644 index 0000000..565a933 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/wrench_orange.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/images/zoom.png b/.gems/doc/twitter-5.11.0/rdoc/images/zoom.png new file mode 100644 index 0000000..908612e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/rdoc/images/zoom.png differ diff --git a/.gems/doc/twitter-5.11.0/rdoc/index.html b/.gems/doc/twitter-5.11.0/rdoc/index.html new file mode 100644 index 0000000..fcbeb13 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/index.html @@ -0,0 +1,813 @@ + + + + + + + + twitter-5.11.0 Documentation + + + + + + + + + + + + +

twitter-5.11.0 Documentation

+ + +

This is the API documentation for 'twitter-5.11.0 Documentation'.

+ + + + + +

Classes/Modules

+ + +

Methods

+ + +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + diff --git a/.gems/doc/twitter-5.11.0/rdoc/js/darkfish.js b/.gems/doc/twitter-5.11.0/rdoc/js/darkfish.js new file mode 100644 index 0000000..7a2f44c --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/js/darkfish.js @@ -0,0 +1,118 @@ +/** + * + * Darkfish Page Functions + * $Id: darkfish.js 53 2009-01-07 02:52:03Z deveiant $ + * + * Author: Michael Granger + * + */ + +/* Provide console simulation for firebug-less environments */ +if (!("console" in window) || !("firebug" in console)) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", + "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"]; + + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +}; + + +/** + * Unwrap the first element that matches the given @expr@ from the targets and return them. + */ +$.fn.unwrap = function( expr ) { + return this.each( function() { + $(this).parents( expr ).eq( 0 ).after( this ).remove(); + }); +}; + + +function showSource( e ) { + var target = e.target; + var codeSections = $(target). + parents('.method-detail'). + find('.method-source-code'); + + $(target). + parents('.method-detail'). + find('.method-source-code'). + slideToggle(); +}; + +function hookSourceViews() { + $('.method-description,.method-heading').click( showSource ); +}; + +function toggleDebuggingSection() { + $('.debugging-section').slideToggle(); +}; + +function hookDebuggingToggle() { + $('#debugging-toggle img').click( toggleDebuggingSection ); +}; + +function hookQuickSearch() { + $('.quicksearch-field').each( function() { + var searchElems = $(this).parents('.section').find( 'li' ); + var toggle = $(this).parents('.section').find('h3 .search-toggle'); + // console.debug( "Toggle is: %o", toggle ); + var qsbox = $(this).parents('form').get( 0 ); + + $(this).quicksearch( this, searchElems, { + noSearchResultsIndicator: 'no-class-search-results', + focusOnLoad: false + }); + $(toggle).click( function() { + // console.debug( "Toggling qsbox: %o", qsbox ); + $(qsbox).toggle(); + }); + }); +}; + +function highlightTarget( anchor ) { + console.debug( "Highlighting target '%s'.", anchor ); + + $("a[name]").each( function() { + if ( $(this).attr("name") == anchor ) { + if ( !$(this).parent().parent().hasClass('target-section') ) { + console.debug( "Wrapping the target-section" ); + $('div.method-detail').unwrap( 'div.target-section' ); + $(this).parent().wrap( '
' ); + } else { + console.debug( "Already wrapped." ); + } + } + }); +}; + +function highlightLocationTarget() { + console.debug( "Location hash: %s", window.location.hash ); + if ( ! window.location.hash || window.location.hash.length == 0 ) return; + + var anchor = window.location.hash.substring(1); + console.debug( "Found anchor: %s; matching %s", anchor, "a[name=" + anchor + "]" ); + + highlightTarget( anchor ); +}; + +function highlightClickTarget( event ) { + console.debug( "Highlighting click target for event %o", event.target ); + try { + var anchor = $(event.target).attr( 'href' ).substring(1); + console.debug( "Found target anchor: %s", anchor ); + highlightTarget( anchor ); + } catch ( err ) { + console.error( "Exception while highlighting: %o", err ); + }; +}; + + +$(document).ready( function() { + hookSourceViews(); + hookDebuggingToggle(); + hookQuickSearch(); + highlightLocationTarget(); + + $('ul.link-list a').bind( "click", highlightClickTarget ); +}); diff --git a/.gems/doc/twitter-5.11.0/rdoc/js/jquery.js b/.gems/doc/twitter-5.11.0/rdoc/js/jquery.js new file mode 100644 index 0000000..afe9e74 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/js/jquery.js @@ -0,0 +1,32 @@ +/* + * jQuery 1.2.6 - New Wave Javascript + * + * Copyright (c) 2008 John Resig (jquery.com) + * Dual licensed under the MIT (MIT-LICENSE.txt) + * and GPL (GPL-LICENSE.txt) licenses. + * + * $Date: 2008-09-25 09:50:52 -0700 (Thu, 25 Sep 2008) $ + * $Rev: 38 $ + */ +(function(){var _jQuery=window.jQuery,_$=window.$;var jQuery=window.jQuery=window.$=function(selector,context){return new jQuery.fn.init(selector,context);};var quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,isSimple=/^.[^:#\[\.]*$/,undefined;jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document;if(selector.nodeType){this[0]=selector;this.length=1;return this;}if(typeof selector=="string"){var match=quickExpr.exec(selector);if(match&&(match[1]||!context)){if(match[1])selector=jQuery.clean([match[1]],context);else{var elem=document.getElementById(match[3]);if(elem){if(elem.id!=match[3])return jQuery().find(selector);return jQuery(elem);}selector=[];}}else +return jQuery(context).find(selector);}else if(jQuery.isFunction(selector))return jQuery(document)[jQuery.fn.ready?"ready":"load"](selector);return this.setArray(jQuery.makeArray(selector));},jquery:"1.2.6",size:function(){return this.length;},length:0,get:function(num){return num==undefined?jQuery.makeArray(this):this[num];},pushStack:function(elems){var ret=jQuery(elems);ret.prevObject=this;return ret;},setArray:function(elems){this.length=0;Array.prototype.push.apply(this,elems);return this;},each:function(callback,args){return jQuery.each(this,callback,args);},index:function(elem){var ret=-1;return jQuery.inArray(elem&&elem.jquery?elem[0]:elem,this);},attr:function(name,value,type){var options=name;if(name.constructor==String)if(value===undefined)return this[0]&&jQuery[type||"attr"](this[0],name);else{options={};options[name]=value;}return this.each(function(i){for(name in options)jQuery.attr(type?this.style:this,name,jQuery.prop(this,options[name],type,i,name));});},css:function(key,value){if((key=='width'||key=='height')&&parseFloat(value)<0)value=undefined;return this.attr(key,value,"curCSS");},text:function(text){if(typeof text!="object"&&text!=null)return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(text));var ret="";jQuery.each(text||this,function(){jQuery.each(this.childNodes,function(){if(this.nodeType!=8)ret+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this]);});});return ret;},wrapAll:function(html){if(this[0])jQuery(html,this[0].ownerDocument).clone().insertBefore(this[0]).map(function(){var elem=this;while(elem.firstChild)elem=elem.firstChild;return elem;}).append(this);return this;},wrapInner:function(html){return this.each(function(){jQuery(this).contents().wrapAll(html);});},wrap:function(html){return this.each(function(){jQuery(this).wrapAll(html);});},append:function(){return this.domManip(arguments,true,false,function(elem){if(this.nodeType==1)this.appendChild(elem);});},prepend:function(){return this.domManip(arguments,true,true,function(elem){if(this.nodeType==1)this.insertBefore(elem,this.firstChild);});},before:function(){return this.domManip(arguments,false,false,function(elem){this.parentNode.insertBefore(elem,this);});},after:function(){return this.domManip(arguments,false,true,function(elem){this.parentNode.insertBefore(elem,this.nextSibling);});},end:function(){return this.prevObject||jQuery([]);},find:function(selector){var elems=jQuery.map(this,function(elem){return jQuery.find(selector,elem);});return this.pushStack(/[^+>] [^+>]/.test(selector)||selector.indexOf("..")>-1?jQuery.unique(elems):elems);},clone:function(events){var ret=this.map(function(){if(jQuery.browser.msie&&!jQuery.isXMLDoc(this)){var clone=this.cloneNode(true),container=document.createElement("div");container.appendChild(clone);return jQuery.clean([container.innerHTML])[0];}else +return this.cloneNode(true);});var clone=ret.find("*").andSelf().each(function(){if(this[expando]!=undefined)this[expando]=null;});if(events===true)this.find("*").andSelf().each(function(i){if(this.nodeType==3)return;var events=jQuery.data(this,"events");for(var type in events)for(var handler in events[type])jQuery.event.add(clone[i],type,events[type][handler],events[type][handler].data);});return ret;},filter:function(selector){return this.pushStack(jQuery.isFunction(selector)&&jQuery.grep(this,function(elem,i){return selector.call(elem,i);})||jQuery.multiFilter(selector,this));},not:function(selector){if(selector.constructor==String)if(isSimple.test(selector))return this.pushStack(jQuery.multiFilter(selector,this,true));else +selector=jQuery.multiFilter(selector,this);var isArrayLike=selector.length&&selector[selector.length-1]!==undefined&&!selector.nodeType;return this.filter(function(){return isArrayLike?jQuery.inArray(this,selector)<0:this!=selector;});},add:function(selector){return this.pushStack(jQuery.unique(jQuery.merge(this.get(),typeof selector=='string'?jQuery(selector):jQuery.makeArray(selector))));},is:function(selector){return!!selector&&jQuery.multiFilter(selector,this).length>0;},hasClass:function(selector){return this.is("."+selector);},val:function(value){if(value==undefined){if(this.length){var elem=this[0];if(jQuery.nodeName(elem,"select")){var index=elem.selectedIndex,values=[],options=elem.options,one=elem.type=="select-one";if(index<0)return null;for(var i=one?index:0,max=one?index+1:options.length;i=0||jQuery.inArray(this.name,value)>=0);else if(jQuery.nodeName(this,"select")){var values=jQuery.makeArray(value);jQuery("option",this).each(function(){this.selected=(jQuery.inArray(this.value,values)>=0||jQuery.inArray(this.text,values)>=0);});if(!values.length)this.selectedIndex=-1;}else +this.value=value;});},html:function(value){return value==undefined?(this[0]?this[0].innerHTML:null):this.empty().append(value);},replaceWith:function(value){return this.after(value).remove();},eq:function(i){return this.slice(i,i+1);},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments));},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem);}));},andSelf:function(){return this.add(this.prevObject);},data:function(key,value){var parts=key.split(".");parts[1]=parts[1]?"."+parts[1]:"";if(value===undefined){var data=this.triggerHandler("getData"+parts[1]+"!",[parts[0]]);if(data===undefined&&this.length)data=jQuery.data(this[0],key);return data===undefined&&parts[1]?this.data(parts[0]):data;}else +return this.trigger("setData"+parts[1]+"!",[parts[0],value]).each(function(){jQuery.data(this,key,value);});},removeData:function(key){return this.each(function(){jQuery.removeData(this,key);});},domManip:function(args,table,reverse,callback){var clone=this.length>1,elems;return this.each(function(){if(!elems){elems=jQuery.clean(args,this.ownerDocument);if(reverse)elems.reverse();}var obj=this;if(table&&jQuery.nodeName(this,"table")&&jQuery.nodeName(elems[0],"tr"))obj=this.getElementsByTagName("tbody")[0]||this.appendChild(this.ownerDocument.createElement("tbody"));var scripts=jQuery([]);jQuery.each(elems,function(){var elem=clone?jQuery(this).clone(true)[0]:this;if(jQuery.nodeName(elem,"script"))scripts=scripts.add(elem);else{if(elem.nodeType==1)scripts=scripts.add(jQuery("script",elem).remove());callback.call(obj,elem);}});scripts.each(evalScript);});}};jQuery.fn.init.prototype=jQuery.fn;function evalScript(i,elem){if(elem.src)jQuery.ajax({url:elem.src,async:false,dataType:"script"});else +jQuery.globalEval(elem.text||elem.textContent||elem.innerHTML||"");if(elem.parentNode)elem.parentNode.removeChild(elem);}function now(){return+new Date;}jQuery.extend=jQuery.fn.extend=function(){var target=arguments[0]||{},i=1,length=arguments.length,deep=false,options;if(target.constructor==Boolean){deep=target;target=arguments[1]||{};i=2;}if(typeof target!="object"&&typeof target!="function")target={};if(length==i){target=this;--i;}for(;i-1;}},swap:function(elem,options,callback){var old={};for(var name in options){old[name]=elem.style[name];elem.style[name]=options[name];}callback.call(elem);for(var name in options)elem.style[name]=old[name];},css:function(elem,name,force){if(name=="width"||name=="height"){var val,props={position:"absolute",visibility:"hidden",display:"block"},which=name=="width"?["Left","Right"]:["Top","Bottom"];function getWH(){val=name=="width"?elem.offsetWidth:elem.offsetHeight;var padding=0,border=0;jQuery.each(which,function(){padding+=parseFloat(jQuery.curCSS(elem,"padding"+this,true))||0;border+=parseFloat(jQuery.curCSS(elem,"border"+this+"Width",true))||0;});val-=Math.round(padding+border);}if(jQuery(elem).is(":visible"))getWH();else +jQuery.swap(elem,props,getWH);return Math.max(0,val);}return jQuery.curCSS(elem,name,force);},curCSS:function(elem,name,force){var ret,style=elem.style;function color(elem){if(!jQuery.browser.safari)return false;var ret=defaultView.getComputedStyle(elem,null);return!ret||ret.getPropertyValue("color")=="";}if(name=="opacity"&&jQuery.browser.msie){ret=jQuery.attr(style,"opacity");return ret==""?"1":ret;}if(jQuery.browser.opera&&name=="display"){var save=style.outline;style.outline="0 solid black";style.outline=save;}if(name.match(/float/i))name=styleFloat;if(!force&&style&&style[name])ret=style[name];else if(defaultView.getComputedStyle){if(name.match(/float/i))name="float";name=name.replace(/([A-Z])/g,"-$1").toLowerCase();var computedStyle=defaultView.getComputedStyle(elem,null);if(computedStyle&&!color(elem))ret=computedStyle.getPropertyValue(name);else{var swap=[],stack=[],a=elem,i=0;for(;a&&color(a);a=a.parentNode)stack.unshift(a);for(;i]*?)\/>/g,function(all,front,tag){return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?all:front+">";});var tags=jQuery.trim(elem).toLowerCase(),div=context.createElement("div");var wrap=!tags.indexOf("",""]||!tags.indexOf("",""]||tags.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"","
"]||!tags.indexOf("",""]||(!tags.indexOf("",""]||!tags.indexOf("",""]||jQuery.browser.msie&&[1,"div
","
"]||[0,"",""];div.innerHTML=wrap[1]+elem+wrap[2];while(wrap[0]--)div=div.lastChild;if(jQuery.browser.msie){var tbody=!tags.indexOf(""&&tags.indexOf("=0;--j)if(jQuery.nodeName(tbody[j],"tbody")&&!tbody[j].childNodes.length)tbody[j].parentNode.removeChild(tbody[j]);if(/^\s/.test(elem))div.insertBefore(context.createTextNode(elem.match(/^\s*/)[0]),div.firstChild);}elem=jQuery.makeArray(div.childNodes);}if(elem.length===0&&(!jQuery.nodeName(elem,"form")&&!jQuery.nodeName(elem,"select")))return;if(elem[0]==undefined||jQuery.nodeName(elem,"form")||elem.options)ret.push(elem);else +ret=jQuery.merge(ret,elem);});return ret;},attr:function(elem,name,value){if(!elem||elem.nodeType==3||elem.nodeType==8)return undefined;var notxml=!jQuery.isXMLDoc(elem),set=value!==undefined,msie=jQuery.browser.msie;name=notxml&&jQuery.props[name]||name;if(elem.tagName){var special=/href|src|style/.test(name);if(name=="selected"&&jQuery.browser.safari)elem.parentNode.selectedIndex;if(name in elem&¬xml&&!special){if(set){if(name=="type"&&jQuery.nodeName(elem,"input")&&elem.parentNode)throw"type property can't be changed";elem[name]=value;}if(jQuery.nodeName(elem,"form")&&elem.getAttributeNode(name))return elem.getAttributeNode(name).nodeValue;return elem[name];}if(msie&¬xml&&name=="style")return jQuery.attr(elem.style,"cssText",value);if(set)elem.setAttribute(name,""+value);var attr=msie&¬xml&&special?elem.getAttribute(name,2):elem.getAttribute(name);return attr===null?undefined:attr;}if(msie&&name=="opacity"){if(set){elem.zoom=1;elem.filter=(elem.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(value)+''=="NaN"?"":"alpha(opacity="+value*100+")");}return elem.filter&&elem.filter.indexOf("opacity=")>=0?(parseFloat(elem.filter.match(/opacity=([^)]*)/)[1])/100)+'':"";}name=name.replace(/-([a-z])/ig,function(all,letter){return letter.toUpperCase();});if(set)elem[name]=value;return elem[name];},trim:function(text){return(text||"").replace(/^\s+|\s+$/g,"");},makeArray:function(array){var ret=[];if(array!=null){var i=array.length;if(i==null||array.split||array.setInterval||array.call)ret[0]=array;else +while(i)ret[--i]=array[i];}return ret;},inArray:function(elem,array){for(var i=0,length=array.length;i*",this).remove();while(this.firstChild)this.removeChild(this.firstChild);}},function(name,fn){jQuery.fn[name]=function(){return this.each(fn,arguments);};});jQuery.each(["Height","Width"],function(i,name){var type=name.toLowerCase();jQuery.fn[type]=function(size){return this[0]==window?jQuery.browser.opera&&document.body["client"+name]||jQuery.browser.safari&&window["inner"+name]||document.compatMode=="CSS1Compat"&&document.documentElement["client"+name]||document.body["client"+name]:this[0]==document?Math.max(Math.max(document.body["scroll"+name],document.documentElement["scroll"+name]),Math.max(document.body["offset"+name],document.documentElement["offset"+name])):size==undefined?(this.length?jQuery.css(this[0],type):null):this.css(type,size.constructor==String?size:size+"px");};});function num(elem,prop){return elem[0]&&parseInt(jQuery.curCSS(elem[0],prop,true),10)||0;}var chars=jQuery.browser.safari&&parseInt(jQuery.browser.version)<417?"(?:[\\w*_-]|\\\\.)":"(?:[\\w\u0128-\uFFFF*_-]|\\\\.)",quickChild=new RegExp("^>\\s*("+chars+"+)"),quickID=new RegExp("^("+chars+"+)(#)("+chars+"+)"),quickClass=new RegExp("^([#.]?)("+chars+"*)");jQuery.extend({expr:{"":function(a,i,m){return m[2]=="*"||jQuery.nodeName(a,m[2]);},"#":function(a,i,m){return a.getAttribute("id")==m[2];},":":{lt:function(a,i,m){return im[3]-0;},nth:function(a,i,m){return m[3]-0==i;},eq:function(a,i,m){return m[3]-0==i;},first:function(a,i){return i==0;},last:function(a,i,m,r){return i==r.length-1;},even:function(a,i){return i%2==0;},odd:function(a,i){return i%2;},"first-child":function(a){return a.parentNode.getElementsByTagName("*")[0]==a;},"last-child":function(a){return jQuery.nth(a.parentNode.lastChild,1,"previousSibling")==a;},"only-child":function(a){return!jQuery.nth(a.parentNode.lastChild,2,"previousSibling");},parent:function(a){return a.firstChild;},empty:function(a){return!a.firstChild;},contains:function(a,i,m){return(a.textContent||a.innerText||jQuery(a).text()||"").indexOf(m[3])>=0;},visible:function(a){return"hidden"!=a.type&&jQuery.css(a,"display")!="none"&&jQuery.css(a,"visibility")!="hidden";},hidden:function(a){return"hidden"==a.type||jQuery.css(a,"display")=="none"||jQuery.css(a,"visibility")=="hidden";},enabled:function(a){return!a.disabled;},disabled:function(a){return a.disabled;},checked:function(a){return a.checked;},selected:function(a){return a.selected||jQuery.attr(a,"selected");},text:function(a){return"text"==a.type;},radio:function(a){return"radio"==a.type;},checkbox:function(a){return"checkbox"==a.type;},file:function(a){return"file"==a.type;},password:function(a){return"password"==a.type;},submit:function(a){return"submit"==a.type;},image:function(a){return"image"==a.type;},reset:function(a){return"reset"==a.type;},button:function(a){return"button"==a.type||jQuery.nodeName(a,"button");},input:function(a){return/input|select|textarea|button/i.test(a.nodeName);},has:function(a,i,m){return jQuery.find(m[3],a).length;},header:function(a){return/h\d/i.test(a.nodeName);},animated:function(a){return jQuery.grep(jQuery.timers,function(fn){return a==fn.elem;}).length;}}},parse:[/^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,new RegExp("^([:.#]*)("+chars+"+)")],multiFilter:function(expr,elems,not){var old,cur=[];while(expr&&expr!=old){old=expr;var f=jQuery.filter(expr,elems,not);expr=f.t.replace(/^\s*,\s*/,"");cur=not?elems=f.r:jQuery.merge(cur,f.r);}return cur;},find:function(t,context){if(typeof t!="string")return[t];if(context&&context.nodeType!=1&&context.nodeType!=9)return[];context=context||document;var ret=[context],done=[],last,nodeName;while(t&&last!=t){var r=[];last=t;t=jQuery.trim(t);var foundToken=false,re=quickChild,m=re.exec(t);if(m){nodeName=m[1].toUpperCase();for(var i=0;ret[i];i++)for(var c=ret[i].firstChild;c;c=c.nextSibling)if(c.nodeType==1&&(nodeName=="*"||c.nodeName.toUpperCase()==nodeName))r.push(c);ret=r;t=t.replace(re,"");if(t.indexOf(" ")==0)continue;foundToken=true;}else{re=/^([>+~])\s*(\w*)/i;if((m=re.exec(t))!=null){r=[];var merge={};nodeName=m[2].toUpperCase();m=m[1];for(var j=0,rl=ret.length;j=0;if(!not&&pass||not&&!pass)tmp.push(r[i]);}return tmp;},filter:function(t,r,not){var last;while(t&&t!=last){last=t;var p=jQuery.parse,m;for(var i=0;p[i];i++){m=p[i].exec(t);if(m){t=t.substring(m[0].length);m[2]=m[2].replace(/\\/g,"");break;}}if(!m)break;if(m[1]==":"&&m[2]=="not")r=isSimple.test(m[3])?jQuery.filter(m[3],r,true).r:jQuery(r).not(m[3]);else if(m[1]==".")r=jQuery.classFilter(r,m[2],not);else if(m[1]=="["){var tmp=[],type=m[3];for(var i=0,rl=r.length;i=0)^not)tmp.push(a);}r=tmp;}else if(m[1]==":"&&m[2]=="nth-child"){var merge={},tmp=[],test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(m[3]=="even"&&"2n"||m[3]=="odd"&&"2n+1"||!/\D/.test(m[3])&&"0n+"+m[3]||m[3]),first=(test[1]+(test[2]||1))-0,last=test[3]-0;for(var i=0,rl=r.length;i=0)add=true;if(add^not)tmp.push(node);}r=tmp;}else{var fn=jQuery.expr[m[1]];if(typeof fn=="object")fn=fn[m[2]];if(typeof fn=="string")fn=eval("false||function(a,i){return "+fn+";}");r=jQuery.grep(r,function(elem,i){return fn(elem,i,m,r);},not);}}return{r:r,t:t};},dir:function(elem,dir){var matched=[],cur=elem[dir];while(cur&&cur!=document){if(cur.nodeType==1)matched.push(cur);cur=cur[dir];}return matched;},nth:function(cur,result,dir,elem){result=result||1;var num=0;for(;cur;cur=cur[dir])if(cur.nodeType==1&&++num==result)break;return cur;},sibling:function(n,elem){var r=[];for(;n;n=n.nextSibling){if(n.nodeType==1&&n!=elem)r.push(n);}return r;}});jQuery.event={add:function(elem,types,handler,data){if(elem.nodeType==3||elem.nodeType==8)return;if(jQuery.browser.msie&&elem.setInterval)elem=window;if(!handler.guid)handler.guid=this.guid++;if(data!=undefined){var fn=handler;handler=this.proxy(fn,function(){return fn.apply(this,arguments);});handler.data=data;}var events=jQuery.data(elem,"events")||jQuery.data(elem,"events",{}),handle=jQuery.data(elem,"handle")||jQuery.data(elem,"handle",function(){if(typeof jQuery!="undefined"&&!jQuery.event.triggered)return jQuery.event.handle.apply(arguments.callee.elem,arguments);});handle.elem=elem;jQuery.each(types.split(/\s+/),function(index,type){var parts=type.split(".");type=parts[0];handler.type=parts[1];var handlers=events[type];if(!handlers){handlers=events[type]={};if(!jQuery.event.special[type]||jQuery.event.special[type].setup.call(elem)===false){if(elem.addEventListener)elem.addEventListener(type,handle,false);else if(elem.attachEvent)elem.attachEvent("on"+type,handle);}}handlers[handler.guid]=handler;jQuery.event.global[type]=true;});elem=null;},guid:1,global:{},remove:function(elem,types,handler){if(elem.nodeType==3||elem.nodeType==8)return;var events=jQuery.data(elem,"events"),ret,index;if(events){if(types==undefined||(typeof types=="string"&&types.charAt(0)=="."))for(var type in events)this.remove(elem,type+(types||""));else{if(types.type){handler=types.handler;types=types.type;}jQuery.each(types.split(/\s+/),function(index,type){var parts=type.split(".");type=parts[0];if(events[type]){if(handler)delete events[type][handler.guid];else +for(handler in events[type])if(!parts[1]||events[type][handler].type==parts[1])delete events[type][handler];for(ret in events[type])break;if(!ret){if(!jQuery.event.special[type]||jQuery.event.special[type].teardown.call(elem)===false){if(elem.removeEventListener)elem.removeEventListener(type,jQuery.data(elem,"handle"),false);else if(elem.detachEvent)elem.detachEvent("on"+type,jQuery.data(elem,"handle"));}ret=null;delete events[type];}}});}for(ret in events)break;if(!ret){var handle=jQuery.data(elem,"handle");if(handle)handle.elem=null;jQuery.removeData(elem,"events");jQuery.removeData(elem,"handle");}}},trigger:function(type,data,elem,donative,extra){data=jQuery.makeArray(data);if(type.indexOf("!")>=0){type=type.slice(0,-1);var exclusive=true;}if(!elem){if(this.global[type])jQuery("*").add([window,document]).trigger(type,data);}else{if(elem.nodeType==3||elem.nodeType==8)return undefined;var val,ret,fn=jQuery.isFunction(elem[type]||null),event=!data[0]||!data[0].preventDefault;if(event){data.unshift({type:type,target:elem,preventDefault:function(){},stopPropagation:function(){},timeStamp:now()});data[0][expando]=true;}data[0].type=type;if(exclusive)data[0].exclusive=true;var handle=jQuery.data(elem,"handle");if(handle)val=handle.apply(elem,data);if((!fn||(jQuery.nodeName(elem,'a')&&type=="click"))&&elem["on"+type]&&elem["on"+type].apply(elem,data)===false)val=false;if(event)data.shift();if(extra&&jQuery.isFunction(extra)){ret=extra.apply(elem,val==null?data:data.concat(val));if(ret!==undefined)val=ret;}if(fn&&donative!==false&&val!==false&&!(jQuery.nodeName(elem,'a')&&type=="click")){this.triggered=true;try{elem[type]();}catch(e){}}this.triggered=false;}return val;},handle:function(event){var val,ret,namespace,all,handlers;event=arguments[0]=jQuery.event.fix(event||window.event);namespace=event.type.split(".");event.type=namespace[0];namespace=namespace[1];all=!namespace&&!event.exclusive;handlers=(jQuery.data(this,"events")||{})[event.type];for(var j in handlers){var handler=handlers[j];if(all||handler.type==namespace){event.handler=handler;event.data=handler.data;ret=handler.apply(this,arguments);if(val!==false)val=ret;if(ret===false){event.preventDefault();event.stopPropagation();}}}return val;},fix:function(event){if(event[expando]==true)return event;var originalEvent=event;event={originalEvent:originalEvent};var props="altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target timeStamp toElement type view wheelDelta which".split(" ");for(var i=props.length;i;i--)event[props[i]]=originalEvent[props[i]];event[expando]=true;event.preventDefault=function(){if(originalEvent.preventDefault)originalEvent.preventDefault();originalEvent.returnValue=false;};event.stopPropagation=function(){if(originalEvent.stopPropagation)originalEvent.stopPropagation();originalEvent.cancelBubble=true;};event.timeStamp=event.timeStamp||now();if(!event.target)event.target=event.srcElement||document;if(event.target.nodeType==3)event.target=event.target.parentNode;if(!event.relatedTarget&&event.fromElement)event.relatedTarget=event.fromElement==event.target?event.toElement:event.fromElement;if(event.pageX==null&&event.clientX!=null){var doc=document.documentElement,body=document.body;event.pageX=event.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc.clientLeft||0);event.pageY=event.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc.clientTop||0);}if(!event.which&&((event.charCode||event.charCode===0)?event.charCode:event.keyCode))event.which=event.charCode||event.keyCode;if(!event.metaKey&&event.ctrlKey)event.metaKey=event.ctrlKey;if(!event.which&&event.button)event.which=(event.button&1?1:(event.button&2?3:(event.button&4?2:0)));return event;},proxy:function(fn,proxy){proxy.guid=fn.guid=fn.guid||proxy.guid||this.guid++;return proxy;},special:{ready:{setup:function(){bindReady();return;},teardown:function(){return;}},mouseenter:{setup:function(){if(jQuery.browser.msie)return false;jQuery(this).bind("mouseover",jQuery.event.special.mouseenter.handler);return true;},teardown:function(){if(jQuery.browser.msie)return false;jQuery(this).unbind("mouseover",jQuery.event.special.mouseenter.handler);return true;},handler:function(event){if(withinElement(event,this))return true;event.type="mouseenter";return jQuery.event.handle.apply(this,arguments);}},mouseleave:{setup:function(){if(jQuery.browser.msie)return false;jQuery(this).bind("mouseout",jQuery.event.special.mouseleave.handler);return true;},teardown:function(){if(jQuery.browser.msie)return false;jQuery(this).unbind("mouseout",jQuery.event.special.mouseleave.handler);return true;},handler:function(event){if(withinElement(event,this))return true;event.type="mouseleave";return jQuery.event.handle.apply(this,arguments);}}}};jQuery.fn.extend({bind:function(type,data,fn){return type=="unload"?this.one(type,data,fn):this.each(function(){jQuery.event.add(this,type,fn||data,fn&&data);});},one:function(type,data,fn){var one=jQuery.event.proxy(fn||data,function(event){jQuery(this).unbind(event,one);return(fn||data).apply(this,arguments);});return this.each(function(){jQuery.event.add(this,type,one,fn&&data);});},unbind:function(type,fn){return this.each(function(){jQuery.event.remove(this,type,fn);});},trigger:function(type,data,fn){return this.each(function(){jQuery.event.trigger(type,data,this,true,fn);});},triggerHandler:function(type,data,fn){return this[0]&&jQuery.event.trigger(type,data,this[0],false,fn);},toggle:function(fn){var args=arguments,i=1;while(i=0){var selector=url.slice(off,url.length);url=url.slice(0,off);}callback=callback||function(){};var type="GET";if(params)if(jQuery.isFunction(params)){callback=params;params=null;}else{params=jQuery.param(params);type="POST";}var self=this;jQuery.ajax({url:url,type:type,dataType:"html",data:params,complete:function(res,status){if(status=="success"||status=="notmodified")self.html(selector?jQuery("
").append(res.responseText.replace(//g,"")).find(selector):res.responseText);self.each(callback,[res.responseText,status,res]);}});return this;},serialize:function(){return jQuery.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return jQuery.nodeName(this,"form")?jQuery.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type));}).map(function(i,elem){var val=jQuery(this).val();return val==null?null:val.constructor==Array?jQuery.map(val,function(val,i){return{name:elem.name,value:val};}):{name:elem.name,value:val};}).get();}});jQuery.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(i,o){jQuery.fn[o]=function(f){return this.bind(o,f);};});var jsc=now();jQuery.extend({get:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data=null;}return jQuery.ajax({type:"GET",url:url,data:data,success:callback,dataType:type});},getScript:function(url,callback){return jQuery.get(url,null,callback,"script");},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json");},post:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data={};}return jQuery.ajax({type:"POST",url:url,data:data,success:callback,dataType:type});},ajaxSetup:function(settings){jQuery.extend(jQuery.ajaxSettings,settings);},ajaxSettings:{url:location.href,global:true,type:"GET",timeout:0,contentType:"application/x-www-form-urlencoded",processData:true,async:true,data:null,username:null,password:null,accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(s){s=jQuery.extend(true,s,jQuery.extend(true,{},jQuery.ajaxSettings,s));var jsonp,jsre=/=\?(&|$)/g,status,data,type=s.type.toUpperCase();if(s.data&&s.processData&&typeof s.data!="string")s.data=jQuery.param(s.data);if(s.dataType=="jsonp"){if(type=="GET"){if(!s.url.match(jsre))s.url+=(s.url.match(/\?/)?"&":"?")+(s.jsonp||"callback")+"=?";}else if(!s.data||!s.data.match(jsre))s.data=(s.data?s.data+"&":"")+(s.jsonp||"callback")+"=?";s.dataType="json";}if(s.dataType=="json"&&(s.data&&s.data.match(jsre)||s.url.match(jsre))){jsonp="jsonp"+jsc++;if(s.data)s.data=(s.data+"").replace(jsre,"="+jsonp+"$1");s.url=s.url.replace(jsre,"="+jsonp+"$1");s.dataType="script";window[jsonp]=function(tmp){data=tmp;success();complete();window[jsonp]=undefined;try{delete window[jsonp];}catch(e){}if(head)head.removeChild(script);};}if(s.dataType=="script"&&s.cache==null)s.cache=false;if(s.cache===false&&type=="GET"){var ts=now();var ret=s.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+ts+"$2");s.url=ret+((ret==s.url)?(s.url.match(/\?/)?"&":"?")+"_="+ts:"");}if(s.data&&type=="GET"){s.url+=(s.url.match(/\?/)?"&":"?")+s.data;s.data=null;}if(s.global&&!jQuery.active++)jQuery.event.trigger("ajaxStart");var remote=/^(?:\w+:)?\/\/([^\/?#]+)/;if(s.dataType=="script"&&type=="GET"&&remote.test(s.url)&&remote.exec(s.url)[1]!=location.host){var head=document.getElementsByTagName("head")[0];var script=document.createElement("script");script.src=s.url;if(s.scriptCharset)script.charset=s.scriptCharset;if(!jsonp){var done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){done=true;success();complete();head.removeChild(script);}};}head.appendChild(script);return undefined;}var requestDone=false;var xhr=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(s.username)xhr.open(type,s.url,s.async,s.username,s.password);else +xhr.open(type,s.url,s.async);try{if(s.data)xhr.setRequestHeader("Content-Type",s.contentType);if(s.ifModified)xhr.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT");xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");xhr.setRequestHeader("Accept",s.dataType&&s.accepts[s.dataType]?s.accepts[s.dataType]+", */*":s.accepts._default);}catch(e){}if(s.beforeSend&&s.beforeSend(xhr,s)===false){s.global&&jQuery.active--;xhr.abort();return false;}if(s.global)jQuery.event.trigger("ajaxSend",[xhr,s]);var onreadystatechange=function(isTimeout){if(!requestDone&&xhr&&(xhr.readyState==4||isTimeout=="timeout")){requestDone=true;if(ival){clearInterval(ival);ival=null;}status=isTimeout=="timeout"&&"timeout"||!jQuery.httpSuccess(xhr)&&"error"||s.ifModified&&jQuery.httpNotModified(xhr,s.url)&&"notmodified"||"success";if(status=="success"){try{data=jQuery.httpData(xhr,s.dataType,s.dataFilter);}catch(e){status="parsererror";}}if(status=="success"){var modRes;try{modRes=xhr.getResponseHeader("Last-Modified");}catch(e){}if(s.ifModified&&modRes)jQuery.lastModified[s.url]=modRes;if(!jsonp)success();}else +jQuery.handleError(s,xhr,status);complete();if(s.async)xhr=null;}};if(s.async){var ival=setInterval(onreadystatechange,13);if(s.timeout>0)setTimeout(function(){if(xhr){xhr.abort();if(!requestDone)onreadystatechange("timeout");}},s.timeout);}try{xhr.send(s.data);}catch(e){jQuery.handleError(s,xhr,null,e);}if(!s.async)onreadystatechange();function success(){if(s.success)s.success(data,status);if(s.global)jQuery.event.trigger("ajaxSuccess",[xhr,s]);}function complete(){if(s.complete)s.complete(xhr,status);if(s.global)jQuery.event.trigger("ajaxComplete",[xhr,s]);if(s.global&&!--jQuery.active)jQuery.event.trigger("ajaxStop");}return xhr;},handleError:function(s,xhr,status,e){if(s.error)s.error(xhr,status,e);if(s.global)jQuery.event.trigger("ajaxError",[xhr,s,e]);},active:0,httpSuccess:function(xhr){try{return!xhr.status&&location.protocol=="file:"||(xhr.status>=200&&xhr.status<300)||xhr.status==304||xhr.status==1223||jQuery.browser.safari&&xhr.status==undefined;}catch(e){}return false;},httpNotModified:function(xhr,url){try{var xhrRes=xhr.getResponseHeader("Last-Modified");return xhr.status==304||xhrRes==jQuery.lastModified[url]||jQuery.browser.safari&&xhr.status==undefined;}catch(e){}return false;},httpData:function(xhr,type,filter){var ct=xhr.getResponseHeader("content-type"),xml=type=="xml"||!type&&ct&&ct.indexOf("xml")>=0,data=xml?xhr.responseXML:xhr.responseText;if(xml&&data.documentElement.tagName=="parsererror")throw"parsererror";if(filter)data=filter(data,type);if(type=="script")jQuery.globalEval(data);if(type=="json")data=eval("("+data+")");return data;},param:function(a){var s=[];if(a.constructor==Array||a.jquery)jQuery.each(a,function(){s.push(encodeURIComponent(this.name)+"="+encodeURIComponent(this.value));});else +for(var j in a)if(a[j]&&a[j].constructor==Array)jQuery.each(a[j],function(){s.push(encodeURIComponent(j)+"="+encodeURIComponent(this));});else +s.push(encodeURIComponent(j)+"="+encodeURIComponent(jQuery.isFunction(a[j])?a[j]():a[j]));return s.join("&").replace(/%20/g,"+");}});jQuery.fn.extend({show:function(speed,callback){return speed?this.animate({height:"show",width:"show",opacity:"show"},speed,callback):this.filter(":hidden").each(function(){this.style.display=this.oldblock||"";if(jQuery.css(this,"display")=="none"){var elem=jQuery("<"+this.tagName+" />").appendTo("body");this.style.display=elem.css("display");if(this.style.display=="none")this.style.display="block";elem.remove();}}).end();},hide:function(speed,callback){return speed?this.animate({height:"hide",width:"hide",opacity:"hide"},speed,callback):this.filter(":visible").each(function(){this.oldblock=this.oldblock||jQuery.css(this,"display");this.style.display="none";}).end();},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2){return jQuery.isFunction(fn)&&jQuery.isFunction(fn2)?this._toggle.apply(this,arguments):fn?this.animate({height:"toggle",width:"toggle",opacity:"toggle"},fn,fn2):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]();});},slideDown:function(speed,callback){return this.animate({height:"show"},speed,callback);},slideUp:function(speed,callback){return this.animate({height:"hide"},speed,callback);},slideToggle:function(speed,callback){return this.animate({height:"toggle"},speed,callback);},fadeIn:function(speed,callback){return this.animate({opacity:"show"},speed,callback);},fadeOut:function(speed,callback){return this.animate({opacity:"hide"},speed,callback);},fadeTo:function(speed,to,callback){return this.animate({opacity:to},speed,callback);},animate:function(prop,speed,easing,callback){var optall=jQuery.speed(speed,easing,callback);return this[optall.queue===false?"each":"queue"](function(){if(this.nodeType!=1)return false;var opt=jQuery.extend({},optall),p,hidden=jQuery(this).is(":hidden"),self=this;for(p in prop){if(prop[p]=="hide"&&hidden||prop[p]=="show"&&!hidden)return opt.complete.call(this);if(p=="height"||p=="width"){opt.display=jQuery.css(this,"display");opt.overflow=this.style.overflow;}}if(opt.overflow!=null)this.style.overflow="hidden";opt.curAnim=jQuery.extend({},prop);jQuery.each(prop,function(name,val){var e=new jQuery.fx(self,opt,name);if(/toggle|show|hide/.test(val))e[val=="toggle"?hidden?"show":"hide":val](prop);else{var parts=val.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),start=e.cur(true)||0;if(parts){var end=parseFloat(parts[2]),unit=parts[3]||"px";if(unit!="px"){self.style[name]=(end||1)+unit;start=((end||1)/e.cur(true))*start;self.style[name]=start+unit;}if(parts[1])end=((parts[1]=="-="?-1:1)*end)+start;e.custom(start,end,unit);}else +e.custom(start,val,"");}});return true;});},queue:function(type,fn){if(jQuery.isFunction(type)||(type&&type.constructor==Array)){fn=type;type="fx";}if(!type||(typeof type=="string"&&!fn))return queue(this[0],type);return this.each(function(){if(fn.constructor==Array)queue(this,type,fn);else{queue(this,type).push(fn);if(queue(this,type).length==1)fn.call(this);}});},stop:function(clearQueue,gotoEnd){var timers=jQuery.timers;if(clearQueue)this.queue([]);this.each(function(){for(var i=timers.length-1;i>=0;i--)if(timers[i].elem==this){if(gotoEnd)timers[i](true);timers.splice(i,1);}});if(!gotoEnd)this.dequeue();return this;}});var queue=function(elem,type,array){if(elem){type=type||"fx";var q=jQuery.data(elem,type+"queue");if(!q||array)q=jQuery.data(elem,type+"queue",jQuery.makeArray(array));}return q;};jQuery.fn.dequeue=function(type){type=type||"fx";return this.each(function(){var q=queue(this,type);q.shift();if(q.length)q[0].call(this);});};jQuery.extend({speed:function(speed,easing,fn){var opt=speed&&speed.constructor==Object?speed:{complete:fn||!fn&&easing||jQuery.isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&easing.constructor!=Function&&easing};opt.duration=(opt.duration&&opt.duration.constructor==Number?opt.duration:jQuery.fx.speeds[opt.duration])||jQuery.fx.speeds.def;opt.old=opt.complete;opt.complete=function(){if(opt.queue!==false)jQuery(this).dequeue();if(jQuery.isFunction(opt.old))opt.old.call(this);};return opt;},easing:{linear:function(p,n,firstNum,diff){return firstNum+diff*p;},swing:function(p,n,firstNum,diff){return((-Math.cos(p*Math.PI)/2)+0.5)*diff+firstNum;}},timers:[],timerId:null,fx:function(elem,options,prop){this.options=options;this.elem=elem;this.prop=prop;if(!options.orig)options.orig={};}});jQuery.fx.prototype={update:function(){if(this.options.step)this.options.step.call(this.elem,this.now,this);(jQuery.fx.step[this.prop]||jQuery.fx.step._default)(this);if(this.prop=="height"||this.prop=="width")this.elem.style.display="block";},cur:function(force){if(this.elem[this.prop]!=null&&this.elem.style[this.prop]==null)return this.elem[this.prop];var r=parseFloat(jQuery.css(this.elem,this.prop,force));return r&&r>-10000?r:parseFloat(jQuery.curCSS(this.elem,this.prop))||0;},custom:function(from,to,unit){this.startTime=now();this.start=from;this.end=to;this.unit=unit||this.unit||"px";this.now=this.start;this.pos=this.state=0;this.update();var self=this;function t(gotoEnd){return self.step(gotoEnd);}t.elem=this.elem;jQuery.timers.push(t);if(jQuery.timerId==null){jQuery.timerId=setInterval(function(){var timers=jQuery.timers;for(var i=0;ithis.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var done=true;for(var i in this.options.curAnim)if(this.options.curAnim[i]!==true)done=false;if(done){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(jQuery.css(this.elem,"display")=="none")this.elem.style.display="block";}if(this.options.hide)this.elem.style.display="none";if(this.options.hide||this.options.show)for(var p in this.options.curAnim)jQuery.attr(this.elem.style,p,this.options.orig[p]);}if(done)this.options.complete.call(this.elem);return false;}else{var n=t-this.startTime;this.state=n/this.options.duration;this.pos=jQuery.easing[this.options.easing||(jQuery.easing.swing?"swing":"linear")](this.state,n,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update();}return true;}};jQuery.extend(jQuery.fx,{speeds:{slow:600,fast:200,def:400},step:{scrollLeft:function(fx){fx.elem.scrollLeft=fx.now;},scrollTop:function(fx){fx.elem.scrollTop=fx.now;},opacity:function(fx){jQuery.attr(fx.elem.style,"opacity",fx.now);},_default:function(fx){fx.elem.style[fx.prop]=fx.now+fx.unit;}}});jQuery.fn.offset=function(){var left=0,top=0,elem=this[0],results;if(elem)with(jQuery.browser){var parent=elem.parentNode,offsetChild=elem,offsetParent=elem.offsetParent,doc=elem.ownerDocument,safari2=safari&&parseInt(version)<522&&!/adobeair/i.test(userAgent),css=jQuery.curCSS,fixed=css(elem,"position")=="fixed";if(elem.getBoundingClientRect){var box=elem.getBoundingClientRect();add(box.left+Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),box.top+Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));add(-doc.documentElement.clientLeft,-doc.documentElement.clientTop);}else{add(elem.offsetLeft,elem.offsetTop);while(offsetParent){add(offsetParent.offsetLeft,offsetParent.offsetTop);if(mozilla&&!/^t(able|d|h)$/i.test(offsetParent.tagName)||safari&&!safari2)border(offsetParent);if(!fixed&&css(offsetParent,"position")=="fixed")fixed=true;offsetChild=/^body$/i.test(offsetParent.tagName)?offsetChild:offsetParent;offsetParent=offsetParent.offsetParent;}while(parent&&parent.tagName&&!/^body|html$/i.test(parent.tagName)){if(!/^inline|table.*$/i.test(css(parent,"display")))add(-parent.scrollLeft,-parent.scrollTop);if(mozilla&&css(parent,"overflow")!="visible")border(parent);parent=parent.parentNode;}if((safari2&&(fixed||css(offsetChild,"position")=="absolute"))||(mozilla&&css(offsetChild,"position")!="absolute"))add(-doc.body.offsetLeft,-doc.body.offsetTop);if(fixed)add(Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));}results={top:top,left:left};}function border(elem){add(jQuery.curCSS(elem,"borderLeftWidth",true),jQuery.curCSS(elem,"borderTopWidth",true));}function add(l,t){left+=parseInt(l,10)||0;top+=parseInt(t,10)||0;}return results;};jQuery.fn.extend({position:function(){var left=0,top=0,results;if(this[0]){var offsetParent=this.offsetParent(),offset=this.offset(),parentOffset=/^body|html$/i.test(offsetParent[0].tagName)?{top:0,left:0}:offsetParent.offset();offset.top-=num(this,'marginTop');offset.left-=num(this,'marginLeft');parentOffset.top+=num(offsetParent,'borderTopWidth');parentOffset.left+=num(offsetParent,'borderLeftWidth');results={top:offset.top-parentOffset.top,left:offset.left-parentOffset.left};}return results;},offsetParent:function(){var offsetParent=this[0].offsetParent;while(offsetParent&&(!/^body|html$/i.test(offsetParent.tagName)&&jQuery.css(offsetParent,'position')=='static'))offsetParent=offsetParent.offsetParent;return jQuery(offsetParent);}});jQuery.each(['Left','Top'],function(i,name){var method='scroll'+name;jQuery.fn[method]=function(val){if(!this[0])return;return val!=undefined?this.each(function(){this==window||this==document?window.scrollTo(!i?val:jQuery(window).scrollLeft(),i?val:jQuery(window).scrollTop()):this[method]=val;}):this[0]==window||this[0]==document?self[i?'pageYOffset':'pageXOffset']||jQuery.boxModel&&document.documentElement[method]||document.body[method]:this[0][method];};});jQuery.each(["Height","Width"],function(i,name){var tl=i?"Left":"Top",br=i?"Right":"Bottom";jQuery.fn["inner"+name]=function(){return this[name.toLowerCase()]()+num(this,"padding"+tl)+num(this,"padding"+br);};jQuery.fn["outer"+name]=function(margin){return this["inner"+name]()+num(this,"border"+tl+"Width")+num(this,"border"+br+"Width")+(margin?num(this,"margin"+tl)+num(this,"margin"+br):0);};});})(); \ No newline at end of file diff --git a/.gems/doc/twitter-5.11.0/rdoc/js/quicksearch.js b/.gems/doc/twitter-5.11.0/rdoc/js/quicksearch.js new file mode 100644 index 0000000..70dbd33 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/js/quicksearch.js @@ -0,0 +1,114 @@ +/** + * + * JQuery QuickSearch - Hook up a form field to hide non-matching elements. + * $Id: quicksearch.js 53 2009-01-07 02:52:03Z deveiant $ + * + * Author: Michael Granger + * + */ +jQuery.fn.quicksearch = function( target, searchElems, options ) { + // console.debug( "Quicksearch fn" ); + + var settings = { + delay: 250, + clearButton: false, + highlightMatches: false, + focusOnLoad: false, + noSearchResultsIndicator: null + }; + if ( options ) $.extend( settings, options ); + + return jQuery(this).each( function() { + // console.debug( "Creating a new quicksearch on %o for %o", this, searchElems ); + new jQuery.quicksearch( this, searchElems, settings ); + }); +}; + + +jQuery.quicksearch = function( searchBox, searchElems, settings ) { + var timeout; + var boxdiv = $(searchBox).parents('div').eq(0); + + function init() { + setupKeyEventHandlers(); + focusOnLoad(); + }; + + function setupKeyEventHandlers() { + // console.debug( "Hooking up the 'keypress' event to %o", searchBox ); + $(searchBox). + unbind( 'keyup' ). + keyup( function(e) { return onSearchKey( e.keyCode ); }); + $(searchBox). + unbind( 'keypress' ). + keypress( function(e) { + switch( e.which ) { + // Execute the search on Enter, Tab, or Newline + case 9: + case 13: + case 10: + clearTimeout( timeout ); + e.preventDefault(); + doQuickSearch(); + break; + + // Allow backspace + case 8: + return true; + break; + + // Only allow valid search characters + default: + return validQSChar( e.charCode ); + } + }); + }; + + function focusOnLoad() { + if ( !settings.focusOnLoad ) return false; + $(searchBox).focus(); + }; + + function onSearchKey ( code ) { + clearTimeout( timeout ); + // console.debug( "...scheduling search." ); + timeout = setTimeout( doQuickSearch, settings.delay ); + }; + + function validQSChar( code ) { + var c = String.fromCharCode( code ); + return ( + (c == ':') || + (c >= 'a' && c <= 'z') || + (c >= 'A' && c <= 'Z') + ); + }; + + function doQuickSearch() { + var searchText = searchBox.value; + var pat = new RegExp( searchText, "im" ); + var shownCount = 0; + + if ( settings.noSearchResultsIndicator ) { + $('#' + settings.noSearchResultsIndicator).hide(); + } + + // All elements start out hidden + $(searchElems).each( function(index) { + var str = $(this).text(); + + if ( pat.test(str) ) { + shownCount += 1; + $(this).fadeIn(); + } else { + $(this).hide(); + } + }); + + if ( shownCount == 0 && settings.noSearchResultsIndicator ) { + $('#' + settings.noSearchResultsIndicator).slideDown(); + } + }; + + init(); +}; diff --git a/.gems/doc/twitter-5.11.0/rdoc/js/thickbox-compressed.js b/.gems/doc/twitter-5.11.0/rdoc/js/thickbox-compressed.js new file mode 100644 index 0000000..3a3fdae --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/js/thickbox-compressed.js @@ -0,0 +1,10 @@ +/* + * Thickbox 3 - One Box To Rule Them All. + * By Cody Lindley (http://www.codylindley.com) + * Copyright (c) 2007 cody lindley + * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php +*/ + +var tb_pathToImage = "../images/loadingAnimation.gif"; + +eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$(o).2S(9(){1u(\'a.18, 3n.18, 3i.18\');1w=1p 1t();1w.L=2H});9 1u(b){$(b).s(9(){6 t=X.Q||X.1v||M;6 a=X.u||X.23;6 g=X.1N||P;19(t,a,g);X.2E();H P})}9 19(d,f,g){3m{3(2t o.v.J.2i==="2g"){$("v","11").r({A:"28%",z:"28%"});$("11").r("22","2Z");3(o.1Y("1F")===M){$("v").q("<4 5=\'B\'><4 5=\'8\'>");$("#B").s(G)}}n{3(o.1Y("B")===M){$("v").q("<4 5=\'B\'><4 5=\'8\'>");$("#B").s(G)}}3(1K()){$("#B").1J("2B")}n{$("#B").1J("2z")}3(d===M){d=""}$("v").q("<4 5=\'K\'><1I L=\'"+1w.L+"\' />");$(\'#K\').2y();6 h;3(f.O("?")!==-1){h=f.3l(0,f.O("?"))}n{h=f}6 i=/\\.2s$|\\.2q$|\\.2m$|\\.2l$|\\.2k$/;6 j=h.1C().2h(i);3(j==\'.2s\'||j==\'.2q\'||j==\'.2m\'||j==\'.2l\'||j==\'.2k\'){1D="";1G="";14="";1z="";1x="";R="";1n="";1r=P;3(g){E=$("a[@1N="+g+"]").36();25(D=0;((D&1d;&1d;2T &2R;"}n{1D=E[D].Q;1G=E[D].u;14="<1e 5=\'1U\'>&1d;&1d;&2O; 2N"}}n{1r=1b;1n="1t "+(D+1)+" 2L "+(E.1c)}}}S=1p 1t();S.1g=9(){S.1g=M;6 a=2x();6 x=a[0]-1M;6 y=a[1]-1M;6 b=S.z;6 c=S.A;3(b>x){c=c*(x/b);b=x;3(c>y){b=b*(y/c);c=y}}n 3(c>y){b=b*(y/c);c=y;3(b>x){c=c*(x/b);b=x}}13=b+30;1a=c+2G;$("#8").q("<1I 5=\'2F\' L=\'"+f+"\' z=\'"+b+"\' A=\'"+c+"\' 23=\'"+d+"\'/>"+"<4 5=\'2D\'>"+d+"<4 5=\'2C\'>"+1n+14+R+"<4 5=\'2A\'>1l 1k 1j 1s");$("#Z").s(G);3(!(14==="")){9 12(){3($(o).N("s",12)){$(o).N("s",12)}$("#8").C();$("v").q("<4 5=\'8\'>");19(1D,1G,g);H P}$("#1U").s(12)}3(!(R==="")){9 1i(){$("#8").C();$("v").q("<4 5=\'8\'>");19(1z,1x,g);H P}$("#1X").s(1i)}o.1h=9(e){3(e==M){I=2w.2v}n{I=e.2u}3(I==27){G()}n 3(I==3k){3(!(R=="")){o.1h="";1i()}}n 3(I==3j){3(!(14=="")){o.1h="";12()}}};16();$("#K").C();$("#1L").s(G);$("#8").r({Y:"T"})};S.L=f}n{6 l=f.2r(/^[^\\?]+\\??/,\'\');6 m=2p(l);13=(m[\'z\']*1)+30||3h;1a=(m[\'A\']*1)+3g||3f;W=13-30;V=1a-3e;3(f.O(\'2j\')!=-1){1E=f.1B(\'3d\');$("#15").C();3(m[\'1A\']!="1b"){$("#8").q("<4 5=\'2f\'><4 5=\'1H\'>"+d+"<4 5=\'2e\'>1l 1k 1j 1s ")}n{$("#B").N();$("#8").q(" ")}}n{3($("#8").r("Y")!="T"){3(m[\'1A\']!="1b"){$("#8").q("<4 5=\'2f\'><4 5=\'1H\'>"+d+"<4 5=\'2e\'>1l 1k 1j 1s<4 5=\'F\' J=\'z:"+W+"p;A:"+V+"p\'>")}n{$("#B").N();$("#8").q("<4 5=\'F\' 3c=\'3b\' J=\'z:"+W+"p;A:"+V+"p;\'>")}}n{$("#F")[0].J.z=W+"p";$("#F")[0].J.A=V+"p";$("#F")[0].3a=0;$("#1H").11(d)}}$("#Z").s(G);3(f.O(\'37\')!=-1){$("#F").q($(\'#\'+m[\'26\']).1T());$("#8").24(9(){$(\'#\'+m[\'26\']).q($("#F").1T())});16();$("#K").C();$("#8").r({Y:"T"})}n 3(f.O(\'2j\')!=-1){16();3($.1q.35){$("#K").C();$("#8").r({Y:"T"})}}n{$("#F").34(f+="&1y="+(1p 33().32()),9(){16();$("#K").C();1u("#F a.18");$("#8").r({Y:"T"})})}}3(!m[\'1A\']){o.21=9(e){3(e==M){I=2w.2v}n{I=e.2u}3(I==27){G()}}}}31(e){}}9 1m(){$("#K").C();$("#8").r({Y:"T"})}9 G(){$("#2Y").N("s");$("#Z").N("s");$("#8").2X("2W",9(){$(\'#8,#B,#1F\').2V("24").N().C()});$("#K").C();3(2t o.v.J.2i=="2g"){$("v","11").r({A:"1Z",z:"1Z"});$("11").r("22","")}o.1h="";o.21="";H P}9 16(){$("#8").r({2U:\'-\'+20((13/2),10)+\'p\',z:13+\'p\'});3(!(1V.1q.2Q&&1V.1q.2P<7)){$("#8").r({38:\'-\'+20((1a/2),10)+\'p\'})}}9 2p(a){6 b={};3(!a){H b}6 c=a.1B(/[;&]/);25(6 i=0;i + + + + + + + File: arguments.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/base_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/base_rb.html new file mode 100644 index 0000000..a9bbf31 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/base_rb.html @@ -0,0 +1,62 @@ + + + + + + + + File: base.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • addressable/uri
  • + +
  • forwardable
  • + +
  • memoizable
  • + +
  • twitter/null_object
  • + +
  • twitter/utils
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/basic_user_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/basic_user_rb.html new file mode 100644 index 0000000..7794bda --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/basic_user_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: basic_user.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/identity
  • + +
  • twitter/utils
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/client_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/client_rb.html new file mode 100644 index 0000000..76c98fc --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/client_rb.html @@ -0,0 +1,62 @@ + + + + + + + + File: client.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • addressable/uri
  • + +
  • simple_oauth
  • + +
  • twitter/error
  • + +
  • twitter/utils
  • + +
  • twitter/version
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/configuration_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/configuration_rb.html new file mode 100644 index 0000000..b5b957b --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/configuration_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: configuration.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/base
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/creatable_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/creatable_rb.html new file mode 100644 index 0000000..ff0682a --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/creatable_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: creatable.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • time
  • + +
  • memoizable
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/cursor_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/cursor_rb.html new file mode 100644 index 0000000..85584b0 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/cursor_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: cursor.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/enumerable
  • + +
  • twitter/utils
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/direct_message_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/direct_message_rb.html new file mode 100644 index 0000000..2c7703a --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/direct_message_rb.html @@ -0,0 +1,58 @@ + + + + + + + + File: direct_message.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/creatable
  • + +
  • twitter/entities
  • + +
  • twitter/identity
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entities_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entities_rb.html new file mode 100644 index 0000000..5fab229 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entities_rb.html @@ -0,0 +1,64 @@ + + + + + + + + File: entities.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • memoizable
  • + +
  • twitter/entity/hashtag
  • + +
  • twitter/entity/symbol
  • + +
  • twitter/entity/uri
  • + +
  • twitter/entity/user_mention
  • + +
  • twitter/media_factory
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entity/hashtag_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entity/hashtag_rb.html new file mode 100644 index 0000000..65f5d66 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entity/hashtag_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: hashtag.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/entity
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entity/symbol_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entity/symbol_rb.html new file mode 100644 index 0000000..069f504 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entity/symbol_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: symbol.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/entity
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entity/uri_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entity/uri_rb.html new file mode 100644 index 0000000..9df928c --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entity/uri_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: uri.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/entity
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entity/user_mention_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entity/user_mention_rb.html new file mode 100644 index 0000000..f4cadef --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entity/user_mention_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: user_mention.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/entity
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entity_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entity_rb.html new file mode 100644 index 0000000..46d6b20 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/entity_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: entity.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/base
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/enumerable_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/enumerable_rb.html new file mode 100644 index 0000000..b192771 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/enumerable_rb.html @@ -0,0 +1,52 @@ + + + + + + + + File: enumerable.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/error_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/error_rb.html new file mode 100644 index 0000000..d3d16eb --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/error_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: error.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/rate_limit
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/factory_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/factory_rb.html new file mode 100644 index 0000000..3cc9616 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/factory_rb.html @@ -0,0 +1,52 @@ + + + + + + + + File: factory.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/geo/point_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/geo/point_rb.html new file mode 100644 index 0000000..673bc8b --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/geo/point_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: point.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/geo
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/geo/polygon_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/geo/polygon_rb.html new file mode 100644 index 0000000..1bb6359 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/geo/polygon_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: polygon.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/geo
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/geo_factory_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/geo_factory_rb.html new file mode 100644 index 0000000..b6a3823 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/geo_factory_rb.html @@ -0,0 +1,58 @@ + + + + + + + + File: geo_factory.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/factory
  • + +
  • twitter/geo/point
  • + +
  • twitter/geo/polygon
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/geo_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/geo_rb.html new file mode 100644 index 0000000..aeee994 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/geo_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: geo.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • equalizer
  • + +
  • twitter/base
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/geo_results_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/geo_results_rb.html new file mode 100644 index 0000000..0f7387c --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/geo_results_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: geo_results.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/enumerable
  • + +
  • twitter/utils
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/identity_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/identity_rb.html new file mode 100644 index 0000000..b2e6713 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/identity_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: identity.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • equalizer
  • + +
  • twitter/base
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/language_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/language_rb.html new file mode 100644 index 0000000..8f360e0 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/language_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: language.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/base
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/list_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/list_rb.html new file mode 100644 index 0000000..e64afb4 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/list_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: list.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/creatable
  • + +
  • twitter/identity
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/media/photo_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/media/photo_rb.html new file mode 100644 index 0000000..6305659 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/media/photo_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: photo.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/identity
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/media_factory_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/media_factory_rb.html new file mode 100644 index 0000000..dd9efee --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/media_factory_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: media_factory.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/factory
  • + +
  • twitter/media/photo
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/metadata_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/metadata_rb.html new file mode 100644 index 0000000..58e525c --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/metadata_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: metadata.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/base
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/null_object_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/null_object_rb.html new file mode 100644 index 0000000..05cdc99 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/null_object_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: null_object.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • naught
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/oembed_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/oembed_rb.html new file mode 100644 index 0000000..6b3afe0 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/oembed_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: oembed.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/base
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/place_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/place_rb.html new file mode 100644 index 0000000..3d34149 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/place_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: place.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • equalizer
  • + +
  • twitter/identity
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/profile_banner_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/profile_banner_rb.html new file mode 100644 index 0000000..e9fb1bb --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/profile_banner_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: profile_banner.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/base
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/profile_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/profile_rb.html new file mode 100644 index 0000000..7c2a5ce --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/profile_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: profile.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • addressable/uri
  • + +
  • memoizable
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rate_limit_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rate_limit_rb.html new file mode 100644 index 0000000..36dd068 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rate_limit_rb.html @@ -0,0 +1,52 @@ + + + + + + + + File: rate_limit.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/relationship_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/relationship_rb.html new file mode 100644 index 0000000..dee941b --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/relationship_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: relationship.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/base
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/request_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/request_rb.html new file mode 100644 index 0000000..1dcaf1d --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/request_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: request.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/cursor
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/api_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/api_rb.html new file mode 100644 index 0000000..7694c98 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/api_rb.html @@ -0,0 +1,86 @@ + + + + + + + + File: api.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/rest/direct_messages
  • + +
  • twitter/rest/favorites
  • + +
  • twitter/rest/friends_and_followers
  • + +
  • twitter/rest/help
  • + +
  • twitter/rest/lists
  • + +
  • twitter/rest/media
  • + +
  • twitter/rest/oauth
  • + +
  • twitter/rest/places_and_geo
  • + +
  • twitter/rest/saved_searches
  • + +
  • twitter/rest/search
  • + +
  • twitter/rest/spam_reporting
  • + +
  • twitter/rest/suggested_users
  • + +
  • twitter/rest/timelines
  • + +
  • twitter/rest/trends
  • + +
  • twitter/rest/tweets
  • + +
  • twitter/rest/undocumented
  • + +
  • twitter/rest/users
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/client_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/client_rb.html new file mode 100644 index 0000000..e9aeb18 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/client_rb.html @@ -0,0 +1,74 @@ + + + + + + + + File: client.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • base64
  • + +
  • faraday
  • + +
  • faraday/request/multipart
  • + +
  • json
  • + +
  • timeout
  • + +
  • twitter/client
  • + +
  • twitter/error
  • + +
  • twitter/rest/api
  • + +
  • twitter/rest/request/multipart_with_file
  • + +
  • twitter/rest/response/parse_json
  • + +
  • twitter/rest/response/raise_error
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/direct_messages_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/direct_messages_rb.html new file mode 100644 index 0000000..6ba1335 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/direct_messages_rb.html @@ -0,0 +1,64 @@ + + + + + + + + File: direct_messages.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/arguments
  • + +
  • twitter/direct_message
  • + +
  • twitter/request
  • + +
  • twitter/rest/utils
  • + +
  • twitter/user
  • + +
  • twitter/utils
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/favorites_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/favorites_rb.html new file mode 100644 index 0000000..11a91ae --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/favorites_rb.html @@ -0,0 +1,66 @@ + + + + + + + + File: favorites.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/arguments
  • + +
  • twitter/error
  • + +
  • twitter/request
  • + +
  • twitter/rest/utils
  • + +
  • twitter/tweet
  • + +
  • twitter/user
  • + +
  • twitter/utils
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/friends_and_followers_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/friends_and_followers_rb.html new file mode 100644 index 0000000..7efe3b2 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/friends_and_followers_rb.html @@ -0,0 +1,66 @@ + + + + + + + + File: friends_and_followers.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/arguments
  • + +
  • twitter/cursor
  • + +
  • twitter/relationship
  • + +
  • twitter/request
  • + +
  • twitter/rest/utils
  • + +
  • twitter/user
  • + +
  • twitter/utils
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/help_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/help_rb.html new file mode 100644 index 0000000..d8a1498 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/help_rb.html @@ -0,0 +1,60 @@ + + + + + + + + File: help.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/configuration
  • + +
  • twitter/language
  • + +
  • twitter/request
  • + +
  • twitter/rest/utils
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/lists_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/lists_rb.html new file mode 100644 index 0000000..e2ded55 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/lists_rb.html @@ -0,0 +1,70 @@ + + + + + + + + File: lists.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/arguments
  • + +
  • twitter/cursor
  • + +
  • twitter/error
  • + +
  • twitter/list
  • + +
  • twitter/request
  • + +
  • twitter/rest/utils
  • + +
  • twitter/tweet
  • + +
  • twitter/user
  • + +
  • twitter/utils
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/media_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/media_rb.html new file mode 100644 index 0000000..ed380b2 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/media_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: media.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/error
  • + +
  • twitter/rest/utils
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/oauth_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/oauth_rb.html new file mode 100644 index 0000000..6a006bc --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/oauth_rb.html @@ -0,0 +1,60 @@ + + + + + + + + File: oauth.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/request
  • + +
  • twitter/rest/utils
  • + +
  • twitter/rest/response/parse_error_json
  • + +
  • twitter/token
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/places_and_geo_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/places_and_geo_rb.html new file mode 100644 index 0000000..cf0e4fc --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/places_and_geo_rb.html @@ -0,0 +1,60 @@ + + + + + + + + File: places_and_geo.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/geo_results
  • + +
  • twitter/place
  • + +
  • twitter/request
  • + +
  • twitter/rest/utils
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/request/multipart_with_file_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/request/multipart_with_file_rb.html new file mode 100644 index 0000000..866917d --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/request/multipart_with_file_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: multipart_with_file.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • faraday
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/response/parse_error_json_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/response/parse_error_json_rb.html new file mode 100644 index 0000000..de800f9 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/response/parse_error_json_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: parse_error_json.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/rest/response/parse_json
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/response/parse_json_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/response/parse_json_rb.html new file mode 100644 index 0000000..e411b7f --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/response/parse_json_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: parse_json.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • faraday
  • + +
  • json
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/response/raise_error_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/response/raise_error_rb.html new file mode 100644 index 0000000..a933146 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/response/raise_error_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: raise_error.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • faraday
  • + +
  • twitter/error
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/saved_searches_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/saved_searches_rb.html new file mode 100644 index 0000000..e06f41b --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/saved_searches_rb.html @@ -0,0 +1,62 @@ + + + + + + + + File: saved_searches.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/arguments
  • + +
  • twitter/request
  • + +
  • twitter/rest/utils
  • + +
  • twitter/saved_search
  • + +
  • twitter/utils
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/search_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/search_rb.html new file mode 100644 index 0000000..0fcdb01 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/search_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: search.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/request
  • + +
  • twitter/search_results
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/spam_reporting_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/spam_reporting_rb.html new file mode 100644 index 0000000..164de2d --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/spam_reporting_rb.html @@ -0,0 +1,58 @@ + + + + + + + + File: spam_reporting.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/request
  • + +
  • twitter/rest/utils
  • + +
  • twitter/user
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/suggested_users_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/suggested_users_rb.html new file mode 100644 index 0000000..2688002 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/suggested_users_rb.html @@ -0,0 +1,62 @@ + + + + + + + + File: suggested_users.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/arguments
  • + +
  • twitter/request
  • + +
  • twitter/rest/utils
  • + +
  • twitter/suggestion
  • + +
  • twitter/user
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/timelines_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/timelines_rb.html new file mode 100644 index 0000000..dcc9562 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/timelines_rb.html @@ -0,0 +1,60 @@ + + + + + + + + File: timelines.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/request
  • + +
  • twitter/rest/utils
  • + +
  • twitter/tweet
  • + +
  • twitter/user
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/trends_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/trends_rb.html new file mode 100644 index 0000000..9e0c640 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/trends_rb.html @@ -0,0 +1,60 @@ + + + + + + + + File: trends.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/place
  • + +
  • twitter/request
  • + +
  • twitter/rest/utils
  • + +
  • twitter/trend_results
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/tweets_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/tweets_rb.html new file mode 100644 index 0000000..55fb76b --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/tweets_rb.html @@ -0,0 +1,66 @@ + + + + + + + + File: tweets.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/arguments
  • + +
  • twitter/error
  • + +
  • twitter/oembed
  • + +
  • twitter/request
  • + +
  • twitter/rest/utils
  • + +
  • twitter/tweet
  • + +
  • twitter/utils
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/undocumented_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/undocumented_rb.html new file mode 100644 index 0000000..19023e3 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/undocumented_rb.html @@ -0,0 +1,62 @@ + + + + + + + + File: undocumented.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/arguments
  • + +
  • twitter/cursor
  • + +
  • twitter/rest/utils
  • + +
  • twitter/tweet
  • + +
  • twitter/user
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/users_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/users_rb.html new file mode 100644 index 0000000..3df9a61 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/users_rb.html @@ -0,0 +1,68 @@ + + + + + + + + File: users.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/arguments
  • + +
  • twitter/error
  • + +
  • twitter/profile_banner
  • + +
  • twitter/request
  • + +
  • twitter/rest/utils
  • + +
  • twitter/settings
  • + +
  • twitter/user
  • + +
  • twitter/utils
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/utils_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/utils_rb.html new file mode 100644 index 0000000..ffdaff4 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/rest/utils_rb.html @@ -0,0 +1,62 @@ + + + + + + + + File: utils.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • addressable/uri
  • + +
  • twitter/arguments
  • + +
  • twitter/request
  • + +
  • twitter/user
  • + +
  • twitter/utils
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/saved_search_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/saved_search_rb.html new file mode 100644 index 0000000..7ad7bf2 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/saved_search_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: saved_search.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/creatable
  • + +
  • twitter/identity
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/search_results_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/search_results_rb.html new file mode 100644 index 0000000..9b4d288 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/search_results_rb.html @@ -0,0 +1,60 @@ + + + + + + + + File: search_results.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • cgi
  • + +
  • twitter/enumerable
  • + +
  • twitter/utils
  • + +
  • uri
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/settings_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/settings_rb.html new file mode 100644 index 0000000..dc419ca --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/settings_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: settings.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/base
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/size_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/size_rb.html new file mode 100644 index 0000000..2a7ebe1 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/size_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: size.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • equalizer
  • + +
  • twitter/base
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/source_user_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/source_user_rb.html new file mode 100644 index 0000000..282ba07 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/source_user_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: source_user.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/basic_user
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/client_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/client_rb.html new file mode 100644 index 0000000..0d33eef --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/client_rb.html @@ -0,0 +1,64 @@ + + + + + + + + File: client.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • http/request
  • + +
  • twitter/arguments
  • + +
  • twitter/client
  • + +
  • twitter/streaming/connection
  • + +
  • twitter/streaming/response
  • + +
  • twitter/streaming/message_parser
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/connection_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/connection_rb.html new file mode 100644 index 0000000..4885d2f --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/connection_rb.html @@ -0,0 +1,58 @@ + + + + + + + + File: connection.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • http/parser
  • + +
  • openssl
  • + +
  • resolv
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/deleted_tweet_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/deleted_tweet_rb.html new file mode 100644 index 0000000..2a07f99 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/deleted_tweet_rb.html @@ -0,0 +1,52 @@ + + + + + + + + File: deleted_tweet.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/event_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/event_rb.html new file mode 100644 index 0000000..47009a2 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/event_rb.html @@ -0,0 +1,52 @@ + + + + + + + + File: event.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/friend_list_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/friend_list_rb.html new file mode 100644 index 0000000..85a1ba6 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/friend_list_rb.html @@ -0,0 +1,52 @@ + + + + + + + + File: friend_list.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/message_parser_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/message_parser_rb.html new file mode 100644 index 0000000..847d627 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/message_parser_rb.html @@ -0,0 +1,64 @@ + + + + + + + + File: message_parser.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/direct_message
  • + +
  • twitter/streaming/deleted_tweet
  • + +
  • twitter/streaming/event
  • + +
  • twitter/streaming/friend_list
  • + +
  • twitter/streaming/stall_warning
  • + +
  • twitter/tweet
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/response_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/response_rb.html new file mode 100644 index 0000000..f1854df --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/response_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: response.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • buftok
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/stall_warning_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/stall_warning_rb.html new file mode 100644 index 0000000..6b86d53 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/streaming/stall_warning_rb.html @@ -0,0 +1,52 @@ + + + + + + + + File: stall_warning.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/suggestion_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/suggestion_rb.html new file mode 100644 index 0000000..e8ad1e3 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/suggestion_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: suggestion.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • equalizer
  • + +
  • twitter/base
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/target_user_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/target_user_rb.html new file mode 100644 index 0000000..8261aef --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/target_user_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: target_user.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/basic_user
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/token_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/token_rb.html new file mode 100644 index 0000000..9d896dc --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/token_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: token.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/base
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/trend_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/trend_rb.html new file mode 100644 index 0000000..a6b1bf5 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/trend_rb.html @@ -0,0 +1,56 @@ + + + + + + + + File: trend.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • equalizer
  • + +
  • twitter/base
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/trend_results_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/trend_results_rb.html new file mode 100644 index 0000000..5afa9a7 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/trend_results_rb.html @@ -0,0 +1,62 @@ + + + + + + + + File: trend_results.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • memoizable
  • + +
  • twitter/creatable
  • + +
  • twitter/enumerable
  • + +
  • twitter/null_object
  • + +
  • twitter/utils
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/tweet_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/tweet_rb.html new file mode 100644 index 0000000..c746f0e --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/tweet_rb.html @@ -0,0 +1,58 @@ + + + + + + + + File: tweet.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • twitter/creatable
  • + +
  • twitter/entities
  • + +
  • twitter/identity
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/user_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/user_rb.html new file mode 100644 index 0000000..2940885 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/user_rb.html @@ -0,0 +1,64 @@ + + + + + + + + File: user.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • addressable/uri
  • + +
  • memoizable
  • + +
  • twitter/basic_user
  • + +
  • twitter/creatable
  • + +
  • twitter/entity/uri
  • + +
  • twitter/profile
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/utils_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/utils_rb.html new file mode 100644 index 0000000..c644b03 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/utils_rb.html @@ -0,0 +1,52 @@ + + + + + + + + File: utils.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/version_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/version_rb.html new file mode 100644 index 0000000..e16e546 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter/version_rb.html @@ -0,0 +1,52 @@ + + + + + + + + File: version.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/lib/twitter_rb.html b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter_rb.html new file mode 100644 index 0000000..dab3d41 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/lib/twitter_rb.html @@ -0,0 +1,114 @@ + + + + + + + + File: twitter.rb [twitter-5.11.0 Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-09-03 10:27:28 +0200
+ + +
Requires
+
+
    + +
  • addressable/uri
  • + +
  • twitter/configuration
  • + +
  • twitter/cursor
  • + +
  • twitter/direct_message
  • + +
  • twitter/entity
  • + +
  • twitter/entity/hashtag
  • + +
  • twitter/entity/symbol
  • + +
  • twitter/entity/uri
  • + +
  • twitter/entity/user_mention
  • + +
  • twitter/geo_factory
  • + +
  • twitter/language
  • + +
  • twitter/list
  • + +
  • twitter/media_factory
  • + +
  • twitter/metadata
  • + +
  • twitter/oembed
  • + +
  • twitter/place
  • + +
  • twitter/profile_banner
  • + +
  • twitter/rate_limit
  • + +
  • twitter/relationship
  • + +
  • twitter/rest/client
  • + +
  • twitter/saved_search
  • + +
  • twitter/search_results
  • + +
  • twitter/settings
  • + +
  • twitter/size
  • + +
  • twitter/source_user
  • + +
  • twitter/streaming/client
  • + +
  • twitter/suggestion
  • + +
  • twitter/target_user
  • + +
  • twitter/trend
  • + +
  • twitter/tweet
  • + +
  • twitter/user
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/.gems/doc/twitter-5.11.0/rdoc/rdoc.css b/.gems/doc/twitter-5.11.0/rdoc/rdoc.css new file mode 100644 index 0000000..ea91421 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/rdoc/rdoc.css @@ -0,0 +1,763 @@ +/* + * "Darkfish" Rdoc CSS + * $Id: rdoc.css 54 2009-01-27 01:09:48Z deveiant $ + * + * Author: Michael Granger + * + */ + +/* Base Green is: #6C8C22 */ + +*{ padding: 0; margin: 0; } + +body { + background: #efefef; + font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif; +} +body.class, body.module, body.file { + margin-left: 40px; +} +body.file-popup { + font-size: 90%; + margin-left: 0; +} + +h1 { + font-size: 300%; + text-shadow: rgba(135,145,135,0.65) 2px 2px 3px; + color: #6C8C22; +} +h2,h3,h4 { margin-top: 1.5em; } + +:link, +:visited { + color: #6C8C22; + text-decoration: none; +} +:link:hover, +:visited:hover { + border-bottom: 1px dotted #6C8C22; +} + +pre { + background: #ddd; + padding: 0.5em 0; +} + + +/* @group Generic Classes */ + +.initially-hidden { + display: none; +} + +.quicksearch-field { + width: 98%; + background: #ddd; + border: 1px solid #aaa; + height: 1.5em; + -webkit-border-radius: 4px; +} +.quicksearch-field:focus { + background: #f1edba; +} + +.missing-docs { + font-size: 120%; + background: white url(images/wrench_orange.png) no-repeat 4px center; + color: #ccc; + line-height: 2em; + border: 1px solid #d00; + opacity: 1; + padding-left: 20px; + text-indent: 24px; + letter-spacing: 3px; + font-weight: bold; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; +} + +.target-section { + border: 2px solid #dcce90; + border-left-width: 8px; + padding: 0 1em; + background: #fff3c2; +} + +/* @end */ + + +/* @group Index Page, Standalone file pages */ +body.indexpage { + margin: 1em 3em; +} +body.indexpage p, +body.indexpage div, +body.file p { + margin: 1em 0; +} + +.indexpage .rdoc-list p, .file .rdoc-list p { + margin: 0em 0; +} + +.indexpage ol, +.file #documentation ol { + line-height: 160%; +} + +.indexpage ul, +.file #documentation ul { + line-height: 160%; + list-style: none; +} +.indexpage ul :link, +.indexpage ul :visited { + font-size: 16px; +} + +.indexpage li, +.file #documentation li { + padding-left: 20px; +} + +.indexpage ol, +.file #documentation ol { + margin-left: 20px; +} + +.indexpage ol > li, +.file #documentation ol > li { + padding-left: 0; +} + +.indexpage ul > li, +.file #documentation ul > li { + background: url(images/bullet_black.png) no-repeat left 4px; +} +.indexpage li.module { + background: url(images/package.png) no-repeat left 4px; +} +.indexpage li.class { + background: url(images/ruby.png) no-repeat left 4px; +} +.indexpage li.file { + background: url(images/page_white_text.png) no-repeat left 4px; +} +.file li p, +.indexpage li p { + margin: 0 0; +} + +/* @end */ + +/* @group Top-Level Structure */ + +.class #metadata, +.file #metadata, +.module #metadata { + float: left; + width: 260px; +} + +.class #documentation, +.file #documentation, +.module #documentation { + margin: 2em 1em 5em 300px; + min-width: 340px; +} + +.file #metadata { + margin: 0.8em; +} + +#validator-badges { + clear: both; + margin: 1em 1em 2em; +} + +/* @end */ + +/* @group Metadata Section */ +#metadata .section { + background-color: #dedede; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border: 1px solid #aaa; + margin: 0 8px 16px; + font-size: 90%; + overflow: hidden; +} +#metadata h3.section-header { + margin: 0; + padding: 2px 8px; + background: #ccc; + color: #666; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-bottom: 1px solid #aaa; +} +#metadata #home-section h3.section-header { + border-bottom: 0; +} + +#metadata ul, +#metadata dl, +#metadata p { + padding: 8px; + list-style: none; +} + +#file-metadata ul { + padding-left: 28px; + list-style-image: url(images/page_green.png); +} + +dl.svninfo { + color: #666; + margin: 0; +} +dl.svninfo dt { + font-weight: bold; +} + +ul.link-list li { + white-space: nowrap; +} +ul.link-list .type { + font-size: 8px; + text-transform: uppercase; + color: white; + background: #969696; + padding: 2px 4px; + -webkit-border-radius: 5px; +} + +/* @end */ + + +/* @group Project Metadata Section */ +#project-metadata { + margin-top: 3em; +} + +.file #project-metadata { + margin-top: 0em; +} + +#project-metadata .section { + border: 1px solid #aaa; +} +#project-metadata h3.section-header { + border-bottom: 1px solid #aaa; + position: relative; +} +#project-metadata h3.section-header .search-toggle { + position: absolute; + right: 5px; +} + + +#project-metadata form { + color: #777; + background: #ccc; + padding: 8px 8px 16px; + border-bottom: 1px solid #bbb; +} +#project-metadata fieldset { + border: 0; +} + +#no-class-search-results { + margin: 0 auto 1em; + text-align: center; + font-size: 14px; + font-weight: bold; + color: #aaa; +} + +/* @end */ + + +/* @group Documentation Section */ +.description { + font-size: 100%; + color: #333; +} + +.description p { + margin: 1em 0.4em; +} + +.description li p { + margin: 0; +} + +.description ul { + margin-left: 1.5em; +} +.description ul li { + line-height: 1.4em; +} + +.description dl, +#documentation dl { + margin: 8px 1.5em; + border: 1px solid #ccc; +} +.description dl { + font-size: 14px; +} + +.description dt, +#documentation dt { + padding: 2px 4px; + font-weight: bold; + background: #ddd; +} +.description dd, +#documentation dd { + padding: 2px 12px; +} +.description dd + dt, +#documentation dd + dt { + margin-top: 0.7em; +} + +#documentation .section { + font-size: 90%; +} + +#documentation h2.section-header { + margin-top: 2em; + padding: 0.75em 0.5em; + background: #ccc; + color: #333; + font-size: 175%; + border: 1px solid #bbb; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} + +#documentation h3.section-header { + margin-top: 2em; + padding: 0.25em 0.5em; + background-color: #dedede; + color: #333; + font-size: 150%; + border: 1px solid #bbb; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} + +#constants-list > dl, +#attributes-list > dl { + margin: 1em 0 2em; + border: 0; +} +#constants-list > dl dt, +#attributes-list > dl dt { + padding-left: 0; + font-weight: bold; + font-family: Monaco, "Andale Mono"; + background: inherit; +} +#constants-list > dl dt a, +#attributes-list > dl dt a { + color: inherit; +} +#constants-list > dl dd, +#attributes-list > dl dd { + margin: 0 0 1em 0; + padding: 0; + color: #666; +} + +.documentation-section h2 { + position: relative; +} + +.documentation-section h2 a { + position: absolute; + top: 8px; + right: 10px; + font-size: 12px; + color: #9b9877; + visibility: hidden; +} + +.documentation-section h2:hover a { + visibility: visible; +} + +/* @group Method Details */ + +#documentation .method-source-code { + display: none; +} + +#documentation .method-detail { + margin: 0.5em 0; + padding: 0.5em 0; + cursor: pointer; +} +#documentation .method-detail:hover { + background-color: #f1edba; +} +#documentation .method-heading { + position: relative; + padding: 2px 4px 0 20px; + font-size: 125%; + font-weight: bold; + color: #333; + background: url(images/brick.png) no-repeat left bottom; +} +#documentation .method-heading :link, +#documentation .method-heading :visited { + color: inherit; +} +#documentation .method-click-advice { + position: absolute; + top: 2px; + right: 5px; + font-size: 10px; + color: #9b9877; + visibility: hidden; + padding-right: 20px; + line-height: 20px; + background: url(images/zoom.png) no-repeat right top; +} +#documentation .method-detail:hover .method-click-advice { + visibility: visible; +} + +#documentation .method-alias .method-heading { + color: #666; + background: url(images/brick_link.png) no-repeat left bottom; +} + +#documentation .method-description, +#documentation .aliases { + margin: 0 20px; + color: #666; +} + +#documentation .method-description p, +#documentation .aliases p { + line-height: 1.2em; +} + +#documentation .aliases { + padding-top: 4px; + font-style: italic; + cursor: default; +} +#documentation .method-description p { + padding: 0; +} +#documentation .method-description p + p { + margin-bottom: 0.5em; +} +#documentation .method-description ul { + margin-left: 1.5em; +} + +#documentation .attribute-method-heading { + background: url(images/tag_green.png) no-repeat left bottom; +} +#documentation #attribute-method-details .method-detail:hover { + background-color: transparent; + cursor: default; +} +#documentation .attribute-access-type { + font-size: 60%; + text-transform: uppercase; + vertical-align: super; + padding: 0 2px; +} +/* @end */ + +/* @end */ + + + +/* @group Source Code */ + +div.method-source-code { + background: #262626; + color: #efefef; + margin: 1em; + padding: 0.5em; + border: 1px dashed #999; + overflow: hidden; +} + +div.method-source-code pre { + background: inherit; + padding: 0; + color: white; + overflow: auto; +} + +/* @group Ruby keyword styles */ + +.ruby-constant { color: #7fffd4; background: transparent; } +.ruby-keyword { color: #00ffff; background: transparent; } +.ruby-ivar { color: #eedd82; background: transparent; } +.ruby-operator { color: #00ffee; background: transparent; } +.ruby-identifier { color: #ffdead; background: transparent; } +.ruby-node { color: #ffa07a; background: transparent; } +.ruby-comment { color: #b22222; font-weight: bold; background: transparent; } +.ruby-regexp { color: #ffa07a; background: transparent; } +.ruby-value { color: #7fffd4; background: transparent; } + +/* @end */ +/* @end */ + + +/* @group File Popup Contents */ + +.file #metadata, +.file-popup #metadata { +} + +.file-popup dl { + font-size: 80%; + padding: 0.75em; + background-color: #dedede; + color: #333; + border: 1px solid #bbb; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} +.file dt { + font-weight: bold; + padding-left: 22px; + line-height: 20px; + background: url(images/page_white_width.png) no-repeat left top; +} +.file dt.modified-date { + background: url(images/date.png) no-repeat left top; +} +.file dt.requires { + background: url(images/plugin.png) no-repeat left top; +} +.file dt.scs-url { + background: url(images/wrench.png) no-repeat left top; +} + +.file dl dd { + margin: 0 0 1em 0; +} +.file #metadata dl dd ul { + list-style: circle; + margin-left: 20px; + padding-top: 0; +} +.file #metadata dl dd ul li { +} + + +.file h2 { + margin-top: 2em; + padding: 0.75em 0.5em; + background-color: #dedede; + color: #333; + font-size: 120%; + border: 1px solid #bbb; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} + +/* @end */ + + + + +/* @group ThickBox Styles */ +#TB_window { + font: 12px Arial, Helvetica, sans-serif; + color: #333333; +} + +#TB_secondLine { + font: 10px Arial, Helvetica, sans-serif; + color:#666666; +} + +#TB_window :link, +#TB_window :visited { color: #666666; } +#TB_window :link:hover, +#TB_window :visited:hover { color: #000; } +#TB_window :link:active, +#TB_window :visited:active { color: #666666; } +#TB_window :link:focus, +#TB_window :visited:focus { color: #666666; } + +#TB_overlay { + position: fixed; + z-index:100; + top: 0px; + left: 0px; + height:100%; + width:100%; +} + +.TB_overlayMacFFBGHack {background: url(images/macFFBgHack.png) repeat;} +.TB_overlayBG { + background-color:#000; + filter:alpha(opacity=75); + -moz-opacity: 0.75; + opacity: 0.75; +} + +* html #TB_overlay { /* ie6 hack */ + position: absolute; + height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); +} + +#TB_window { + position: fixed; + background: #ffffff; + z-index: 102; + color:#000000; + display:none; + border: 4px solid #525252; + text-align:left; + top:50%; + left:50%; +} + +* html #TB_window { /* ie6 hack */ + position: absolute; + margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); +} + +#TB_window img#TB_Image { + display:block; + margin: 15px 0 0 15px; + border-right: 1px solid #ccc; + border-bottom: 1px solid #ccc; + border-top: 1px solid #666; + border-left: 1px solid #666; +} + +#TB_caption{ + height:25px; + padding:7px 30px 10px 25px; + float:left; +} + +#TB_closeWindow{ + height:25px; + padding:11px 25px 10px 0; + float:right; +} + +#TB_closeAjaxWindow{ + padding:7px 10px 5px 0; + margin-bottom:1px; + text-align:right; + float:right; +} + +#TB_ajaxWindowTitle{ + float:left; + padding:7px 0 5px 10px; + margin-bottom:1px; + font-size: 22px; +} + +#TB_title{ + background-color: #6C8C22; + color: #dedede; + height:40px; +} +#TB_title :link, +#TB_title :visited { + color: white !important; + border-bottom: 1px dotted #dedede; +} + +#TB_ajaxContent{ + clear:both; + padding:2px 15px 15px 15px; + overflow:auto; + text-align:left; + line-height:1.4em; +} + +#TB_ajaxContent.TB_modal{ + padding:15px; +} + +#TB_ajaxContent p{ + padding:5px 0px 5px 0px; +} + +#TB_load{ + position: fixed; + display:none; + height:13px; + width:208px; + z-index:103; + top: 50%; + left: 50%; + margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */ +} + +* html #TB_load { /* ie6 hack */ + position: absolute; + margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); +} + +#TB_HideSelect{ + z-index:99; + position:fixed; + top: 0; + left: 0; + background-color:#fff; + border:none; + filter:alpha(opacity=0); + -moz-opacity: 0; + opacity: 0; + height:100%; + width:100%; +} + +* html #TB_HideSelect { /* ie6 hack */ + position: absolute; + height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); +} + +#TB_iframeContent{ + clear:both; + border:none; + margin-bottom:-1px; + margin-top:1px; + _margin-bottom:1px; +} + +/* @end */ + +/* @group Debugging Section */ + +#debugging-toggle { + text-align: center; +} +#debugging-toggle img { + cursor: pointer; +} + +#rdoc-debugging-section-dump { + display: none; + margin: 0 2em 2em; + background: #ccc; + border: 1px solid #999; +} + + + +/* @end */ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Arguments/cdesc-Arguments.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Arguments/cdesc-Arguments.ri new file mode 100644 index 0000000..85a3d1a Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Arguments/cdesc-Arguments.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Arguments/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Arguments/new-c.ri new file mode 100644 index 0000000..c3f06cb Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Arguments/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Arguments/options-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Arguments/options-i.ri new file mode 100644 index 0000000..a8f7119 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Arguments/options-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Base/%5b%5d-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/%5b%5d-i.ri new file mode 100644 index 0000000..762b326 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/%5b%5d-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Base/attr_reader-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/attr_reader-c.ri new file mode 100644 index 0000000..248ccdb Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/attr_reader-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Base/attrs-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/attrs-i.ri new file mode 100644 index 0000000..099baa2 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/attrs-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Base/cdesc-Base.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/cdesc-Base.ri new file mode 100644 index 0000000..016eab8 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/cdesc-Base.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Base/define_attribute_method-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/define_attribute_method-c.ri new file mode 100644 index 0000000..952f889 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/define_attribute_method-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Base/define_predicate_method-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/define_predicate_method-c.ri new file mode 100644 index 0000000..9ef714e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/define_predicate_method-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Base/define_uri_method-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/define_uri_method-c.ri new file mode 100644 index 0000000..0a1f6cf Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/define_uri_method-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Base/deprecate_attribute_method-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/deprecate_attribute_method-c.ri new file mode 100644 index 0000000..9b89118 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/deprecate_attribute_method-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Base/display_uri_attr_reader-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/display_uri_attr_reader-c.ri new file mode 100644 index 0000000..c5edc89 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/display_uri_attr_reader-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Base/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/new-c.ri new file mode 100644 index 0000000..10c69b8 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Base/object_attr_reader-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/object_attr_reader-c.ri new file mode 100644 index 0000000..bbc3f19 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/object_attr_reader-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Base/predicate_attr_reader-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/predicate_attr_reader-c.ri new file mode 100644 index 0000000..04a57ac Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/predicate_attr_reader-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Base/to_h-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/to_h-i.ri new file mode 100644 index 0000000..d09dfd2 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/to_h-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Base/uri_attr_reader-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/uri_attr_reader-c.ri new file mode 100644 index 0000000..5f3fd18 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Base/uri_attr_reader-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/BasicUser/cdesc-BasicUser.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/BasicUser/cdesc-BasicUser.ri new file mode 100644 index 0000000..9dab598 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/BasicUser/cdesc-BasicUser.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/BasicUser/screen_name-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/BasicUser/screen_name-i.ri new file mode 100644 index 0000000..5106a7c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/BasicUser/screen_name-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Client/access_token-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/access_token-i.ri new file mode 100644 index 0000000..2d282c8 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/access_token-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Client/access_token_secret-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/access_token_secret-i.ri new file mode 100644 index 0000000..ec86232 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/access_token_secret-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Client/cdesc-Client.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/cdesc-Client.ri new file mode 100644 index 0000000..b8a00a4 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/cdesc-Client.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Client/consumer_key-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/consumer_key-i.ri new file mode 100644 index 0000000..bafc2c8 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/consumer_key-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Client/consumer_secret-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/consumer_secret-i.ri new file mode 100644 index 0000000..bb6e54c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/consumer_secret-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Client/credentials%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/credentials%3f-i.ri new file mode 100644 index 0000000..a98d1a3 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/credentials%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Client/credentials-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/credentials-i.ri new file mode 100644 index 0000000..fd20979 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/credentials-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Client/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/new-c.ri new file mode 100644 index 0000000..e0fda84 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Client/proxy-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/proxy-i.ri new file mode 100644 index 0000000..d717a3c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/proxy-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Client/user_agent-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/user_agent-i.ri new file mode 100644 index 0000000..a75bc77 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/user_agent-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Client/user_token%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/user_token%3f-i.ri new file mode 100644 index 0000000..8344695 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Client/user_token%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/cdesc-Configuration.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/cdesc-Configuration.ri new file mode 100644 index 0000000..0e2f1c7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/cdesc-Configuration.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/characters_reserved_per_media-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/characters_reserved_per_media-i.ri new file mode 100644 index 0000000..4758d22 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/characters_reserved_per_media-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/max_media_per_upload-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/max_media_per_upload-i.ri new file mode 100644 index 0000000..e5d0b53 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/max_media_per_upload-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/non_username_paths-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/non_username_paths-i.ri new file mode 100644 index 0000000..f683fa4 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/non_username_paths-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/photo_size_limit-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/photo_size_limit-i.ri new file mode 100644 index 0000000..508ecb3 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/photo_size_limit-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/photo_sizes-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/photo_sizes-i.ri new file mode 100644 index 0000000..c827f02 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/photo_sizes-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/short_uri_length-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/short_uri_length-i.ri new file mode 100644 index 0000000..7d2561c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/short_uri_length-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/short_uri_length_https-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/short_uri_length_https-i.ri new file mode 100644 index 0000000..e474aae Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/short_uri_length_https-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/short_url_length-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/short_url_length-i.ri new file mode 100644 index 0000000..14f408c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/short_url_length-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/short_url_length_https-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/short_url_length_https-i.ri new file mode 100644 index 0000000..e492bae Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Configuration/short_url_length_https-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Creatable/cdesc-Creatable.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Creatable/cdesc-Creatable.ri new file mode 100644 index 0000000..831fd84 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Creatable/cdesc-Creatable.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Creatable/created%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Creatable/created%3f-i.ri new file mode 100644 index 0000000..9e27868 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Creatable/created%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Creatable/created_at-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Creatable/created_at-i.ri new file mode 100644 index 0000000..08cf7fb Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Creatable/created_at-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Cursor/attrs-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Cursor/attrs-i.ri new file mode 100644 index 0000000..cce06c8 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Cursor/attrs-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Cursor/cdesc-Cursor.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Cursor/cdesc-Cursor.ri new file mode 100644 index 0000000..f9a1cdc Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Cursor/cdesc-Cursor.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Cursor/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Cursor/new-c.ri new file mode 100644 index 0000000..ed86ba9 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Cursor/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Cursor/to_h-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Cursor/to_h-i.ri new file mode 100644 index 0000000..01b8688 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Cursor/to_h-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/DirectMessage/cdesc-DirectMessage.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/DirectMessage/cdesc-DirectMessage.ri new file mode 100644 index 0000000..689e751 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/DirectMessage/cdesc-DirectMessage.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/DirectMessage/full_text-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/DirectMessage/full_text-i.ri new file mode 100644 index 0000000..bcd8cb6 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/DirectMessage/full_text-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/DirectMessage/text-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/DirectMessage/text-i.ri new file mode 100644 index 0000000..66aa271 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/DirectMessage/text-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/cdesc-Entities.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/cdesc-Entities.ri new file mode 100644 index 0000000..d35a70d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/cdesc-Entities.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/entities%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/entities%3f-i.ri new file mode 100644 index 0000000..b9c7d74 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/entities%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/hashtags%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/hashtags%3f-i.ri new file mode 100644 index 0000000..4a2c55d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/hashtags%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/hashtags-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/hashtags-i.ri new file mode 100644 index 0000000..0b00bb7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/hashtags-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/media%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/media%3f-i.ri new file mode 100644 index 0000000..9a685e3 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/media%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/media-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/media-i.ri new file mode 100644 index 0000000..019b96d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/media-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/symbols%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/symbols%3f-i.ri new file mode 100644 index 0000000..987c547 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/symbols%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/symbols-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/symbols-i.ri new file mode 100644 index 0000000..d69dabd Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/symbols-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/uris%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/uris%3f-i.ri new file mode 100644 index 0000000..5db36c7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/uris%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/uris-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/uris-i.ri new file mode 100644 index 0000000..95c9011 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/uris-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/urls%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/urls%3f-i.ri new file mode 100644 index 0000000..60902f0 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/urls%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/urls-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/urls-i.ri new file mode 100644 index 0000000..3d468f6 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/urls-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/user_mentions%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/user_mentions%3f-i.ri new file mode 100644 index 0000000..85bf2a2 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/user_mentions%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/user_mentions-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/user_mentions-i.ri new file mode 100644 index 0000000..b2ab3d3 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entities/user_mentions-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/Hashtag/cdesc-Hashtag.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/Hashtag/cdesc-Hashtag.ri new file mode 100644 index 0000000..cc267a7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/Hashtag/cdesc-Hashtag.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/Hashtag/text-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/Hashtag/text-i.ri new file mode 100644 index 0000000..d3c84c7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/Hashtag/text-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/Symbol/cdesc-Symbol.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/Symbol/cdesc-Symbol.ri new file mode 100644 index 0000000..72416e7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/Symbol/cdesc-Symbol.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/Symbol/text-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/Symbol/text-i.ri new file mode 100644 index 0000000..a08146a Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/Symbol/text-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/URI/cdesc-URI.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/URI/cdesc-URI.ri new file mode 100644 index 0000000..9ee5ecc Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/URI/cdesc-URI.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/URL/cdesc-URL.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/URL/cdesc-URL.ri new file mode 100644 index 0000000..91edc69 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/URL/cdesc-URL.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/UserMention/cdesc-UserMention.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/UserMention/cdesc-UserMention.ri new file mode 100644 index 0000000..8948990 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/UserMention/cdesc-UserMention.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/UserMention/id-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/UserMention/id-i.ri new file mode 100644 index 0000000..1225e35 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/UserMention/id-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/UserMention/name-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/UserMention/name-i.ri new file mode 100644 index 0000000..6d3bdbf Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/UserMention/name-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/UserMention/screen_name-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/UserMention/screen_name-i.ri new file mode 100644 index 0000000..6d33c6b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/UserMention/screen_name-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/cdesc-Entity.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/cdesc-Entity.ri new file mode 100644 index 0000000..0b12ea1 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/cdesc-Entity.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/indices-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/indices-i.ri new file mode 100644 index 0000000..67aa582 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Entity/indices-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Enumerable/cdesc-Enumerable.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Enumerable/cdesc-Enumerable.ri new file mode 100644 index 0000000..850befb Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Enumerable/cdesc-Enumerable.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Enumerable/each-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Enumerable/each-i.ri new file mode 100644 index 0000000..86f4a2c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Enumerable/each-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/AlreadyFavorited/cdesc-AlreadyFavorited.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/AlreadyFavorited/cdesc-AlreadyFavorited.ri new file mode 100644 index 0000000..ce66b7b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/AlreadyFavorited/cdesc-AlreadyFavorited.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/AlreadyRetweeted/cdesc-AlreadyRetweeted.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/AlreadyRetweeted/cdesc-AlreadyRetweeted.ri new file mode 100644 index 0000000..fcb5f39 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/AlreadyRetweeted/cdesc-AlreadyRetweeted.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/BadGateway/cdesc-BadGateway.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/BadGateway/cdesc-BadGateway.ri new file mode 100644 index 0000000..6906068 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/BadGateway/cdesc-BadGateway.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/BadRequest/cdesc-BadRequest.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/BadRequest/cdesc-BadRequest.ri new file mode 100644 index 0000000..4127fca Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/BadRequest/cdesc-BadRequest.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/ClientError/cdesc-ClientError.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/ClientError/cdesc-ClientError.ri new file mode 100644 index 0000000..d819aae Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/ClientError/cdesc-ClientError.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/Code/cdesc-Code.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/Code/cdesc-Code.ri new file mode 100644 index 0000000..91c2729 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/Code/cdesc-Code.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/ConfigurationError/cdesc-ConfigurationError.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/ConfigurationError/cdesc-ConfigurationError.ri new file mode 100644 index 0000000..ec58baa Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/ConfigurationError/cdesc-ConfigurationError.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/DuplicateStatus/cdesc-DuplicateStatus.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/DuplicateStatus/cdesc-DuplicateStatus.ri new file mode 100644 index 0000000..96fc7f0 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/DuplicateStatus/cdesc-DuplicateStatus.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/Forbidden/cdesc-Forbidden.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/Forbidden/cdesc-Forbidden.ri new file mode 100644 index 0000000..9bec8b7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/Forbidden/cdesc-Forbidden.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/GatewayTimeout/cdesc-GatewayTimeout.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/GatewayTimeout/cdesc-GatewayTimeout.ri new file mode 100644 index 0000000..c8c3af6 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/GatewayTimeout/cdesc-GatewayTimeout.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/InternalServerError/cdesc-InternalServerError.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/InternalServerError/cdesc-InternalServerError.ri new file mode 100644 index 0000000..dcc414c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/InternalServerError/cdesc-InternalServerError.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/NotAcceptable/cdesc-NotAcceptable.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/NotAcceptable/cdesc-NotAcceptable.ri new file mode 100644 index 0000000..eba4eb3 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/NotAcceptable/cdesc-NotAcceptable.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/NotFound/cdesc-NotFound.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/NotFound/cdesc-NotFound.ri new file mode 100644 index 0000000..95555fe Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/NotFound/cdesc-NotFound.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/RequestTimeout/cdesc-RequestTimeout.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/RequestTimeout/cdesc-RequestTimeout.ri new file mode 100644 index 0000000..5093bed Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/RequestTimeout/cdesc-RequestTimeout.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/ServerError/cdesc-ServerError.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/ServerError/cdesc-ServerError.ri new file mode 100644 index 0000000..a156e00 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/ServerError/cdesc-ServerError.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/ServiceUnavailable/cdesc-ServiceUnavailable.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/ServiceUnavailable/cdesc-ServiceUnavailable.ri new file mode 100644 index 0000000..50dfd7f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/ServiceUnavailable/cdesc-ServiceUnavailable.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/TooManyRequests/cdesc-TooManyRequests.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/TooManyRequests/cdesc-TooManyRequests.ri new file mode 100644 index 0000000..8a81cf1 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/TooManyRequests/cdesc-TooManyRequests.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/UnacceptableIO/cdesc-UnacceptableIO.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/UnacceptableIO/cdesc-UnacceptableIO.ri new file mode 100644 index 0000000..c53c7e1 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/UnacceptableIO/cdesc-UnacceptableIO.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/UnacceptableIO/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/UnacceptableIO/new-c.ri new file mode 100644 index 0000000..cb43440 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/UnacceptableIO/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/Unauthorized/cdesc-Unauthorized.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/Unauthorized/cdesc-Unauthorized.ri new file mode 100644 index 0000000..ed6193f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/Unauthorized/cdesc-Unauthorized.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/UnprocessableEntity/cdesc-UnprocessableEntity.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/UnprocessableEntity/cdesc-UnprocessableEntity.ri new file mode 100644 index 0000000..0d19a50 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/UnprocessableEntity/cdesc-UnprocessableEntity.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/cdesc-Error.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/cdesc-Error.ri new file mode 100644 index 0000000..1b3a842 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/cdesc-Error.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/code-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/code-i.ri new file mode 100644 index 0000000..af6dbcc Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/code-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/errors-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/errors-c.ri new file mode 100644 index 0000000..486ae6d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/errors-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/forbidden_messages-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/forbidden_messages-c.ri new file mode 100644 index 0000000..f0f078a Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/forbidden_messages-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/from_response-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/from_response-c.ri new file mode 100644 index 0000000..99b5103 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/from_response-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/new-c.ri new file mode 100644 index 0000000..06957cb Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Error/rate_limit-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/rate_limit-i.ri new file mode 100644 index 0000000..6abaf03 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Error/rate_limit-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Factory/cdesc-Factory.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Factory/cdesc-Factory.ri new file mode 100644 index 0000000..665092d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Factory/cdesc-Factory.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Factory/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Factory/new-c.ri new file mode 100644 index 0000000..aa2d3a7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Factory/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/cdesc-Point.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/cdesc-Point.ri new file mode 100644 index 0000000..6a40202 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/cdesc-Point.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/lat-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/lat-i.ri new file mode 100644 index 0000000..17951b3 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/lat-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/latitude-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/latitude-i.ri new file mode 100644 index 0000000..b817402 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/latitude-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/lng-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/lng-i.ri new file mode 100644 index 0000000..fc0154b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/lng-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/long-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/long-i.ri new file mode 100644 index 0000000..ca2110f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/long-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/longitude-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/longitude-i.ri new file mode 100644 index 0000000..97127e1 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Point/longitude-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Polygon/cdesc-Polygon.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Polygon/cdesc-Polygon.ri new file mode 100644 index 0000000..bc8033a Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/Polygon/cdesc-Polygon.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/cdesc-Geo.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/cdesc-Geo.ri new file mode 100644 index 0000000..2b56099 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/cdesc-Geo.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/coordinates-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/coordinates-i.ri new file mode 100644 index 0000000..c2092fb Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/coordinates-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/coords-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/coords-i.ri new file mode 100644 index 0000000..e5bd41e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Geo/coords-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/GeoFactory/cdesc-GeoFactory.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/GeoFactory/cdesc-GeoFactory.ri new file mode 100644 index 0000000..008cf61 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/GeoFactory/cdesc-GeoFactory.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/GeoFactory/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/GeoFactory/new-c.ri new file mode 100644 index 0000000..197ba6c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/GeoFactory/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/GeoResults/attrs-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/GeoResults/attrs-i.ri new file mode 100644 index 0000000..cc5f5f9 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/GeoResults/attrs-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/GeoResults/cdesc-GeoResults.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/GeoResults/cdesc-GeoResults.ri new file mode 100644 index 0000000..1884faa Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/GeoResults/cdesc-GeoResults.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/GeoResults/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/GeoResults/new-c.ri new file mode 100644 index 0000000..4eea229 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/GeoResults/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/GeoResults/to_h-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/GeoResults/to_h-i.ri new file mode 100644 index 0000000..54469fe Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/GeoResults/to_h-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/GeoResults/token-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/GeoResults/token-i.ri new file mode 100644 index 0000000..99e3be8 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/GeoResults/token-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Identity/cdesc-Identity.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Identity/cdesc-Identity.ri new file mode 100644 index 0000000..06cba8d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Identity/cdesc-Identity.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Identity/id-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Identity/id-i.ri new file mode 100644 index 0000000..91290be Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Identity/id-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Identity/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Identity/new-c.ri new file mode 100644 index 0000000..ea248c7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Identity/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Language/cdesc-Language.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Language/cdesc-Language.ri new file mode 100644 index 0000000..76ee31c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Language/cdesc-Language.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Language/code-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Language/code-i.ri new file mode 100644 index 0000000..db38b03 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Language/code-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Language/name-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Language/name-i.ri new file mode 100644 index 0000000..1f32072 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Language/name-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Language/status-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Language/status-i.ri new file mode 100644 index 0000000..5ba5521 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Language/status-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/List/cdesc-List.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/List/cdesc-List.ri new file mode 100644 index 0000000..9dff1e0 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/List/cdesc-List.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/List/description-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/List/description-i.ri new file mode 100644 index 0000000..a7b4a84 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/List/description-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/List/full_name-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/List/full_name-i.ri new file mode 100644 index 0000000..f6e4f7c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/List/full_name-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/List/member_count-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/List/member_count-i.ri new file mode 100644 index 0000000..f5ae2eb Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/List/member_count-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/List/members_uri-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/List/members_uri-i.ri new file mode 100644 index 0000000..9bb54b9 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/List/members_uri-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/List/members_url-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/List/members_url-i.ri new file mode 100644 index 0000000..8ad9957 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/List/members_url-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/List/mode-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/List/mode-i.ri new file mode 100644 index 0000000..25b86c2 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/List/mode-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/List/name-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/List/name-i.ri new file mode 100644 index 0000000..012f469 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/List/name-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/List/slug-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/List/slug-i.ri new file mode 100644 index 0000000..b9172e1 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/List/slug-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/List/subscriber_count-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/List/subscriber_count-i.ri new file mode 100644 index 0000000..f53671e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/List/subscriber_count-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/List/subscribers_uri-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/List/subscribers_uri-i.ri new file mode 100644 index 0000000..9a79998 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/List/subscribers_uri-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/List/subscribers_url-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/List/subscribers_url-i.ri new file mode 100644 index 0000000..586c8d4 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/List/subscribers_url-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/List/uri-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/List/uri-i.ri new file mode 100644 index 0000000..704a830 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/List/uri-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/List/url-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/List/url-i.ri new file mode 100644 index 0000000..95303a4 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/List/url-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Media/Photo/cdesc-Photo.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Media/Photo/cdesc-Photo.ri new file mode 100644 index 0000000..fe0bc44 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Media/Photo/cdesc-Photo.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Media/Photo/indices-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Media/Photo/indices-i.ri new file mode 100644 index 0000000..4c66395 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Media/Photo/indices-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Media/Photo/sizes-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Media/Photo/sizes-i.ri new file mode 100644 index 0000000..3567a53 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Media/Photo/sizes-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Media/cdesc-Media.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Media/cdesc-Media.ri new file mode 100644 index 0000000..3946ea8 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Media/cdesc-Media.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/MediaFactory/cdesc-MediaFactory.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/MediaFactory/cdesc-MediaFactory.ri new file mode 100644 index 0000000..0120d94 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/MediaFactory/cdesc-MediaFactory.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/MediaFactory/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/MediaFactory/new-c.ri new file mode 100644 index 0000000..673fe23 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/MediaFactory/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Metadata/cdesc-Metadata.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Metadata/cdesc-Metadata.ri new file mode 100644 index 0000000..7d47e53 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Metadata/cdesc-Metadata.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Metadata/iso_language_code-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Metadata/iso_language_code-i.ri new file mode 100644 index 0000000..6cdfac2 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Metadata/iso_language_code-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Metadata/result_type-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Metadata/result_type-i.ri new file mode 100644 index 0000000..88fc469 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Metadata/result_type-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/author_name-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/author_name-i.ri new file mode 100644 index 0000000..5d5c11c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/author_name-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/cache_age-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/cache_age-i.ri new file mode 100644 index 0000000..3144003 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/cache_age-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/cdesc-OEmbed.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/cdesc-OEmbed.ri new file mode 100644 index 0000000..6926b7e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/cdesc-OEmbed.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/height-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/height-i.ri new file mode 100644 index 0000000..4dec8a2 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/height-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/html-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/html-i.ri new file mode 100644 index 0000000..601bc0d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/html-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/provider_name-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/provider_name-i.ri new file mode 100644 index 0000000..3f10c3d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/provider_name-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/type-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/type-i.ri new file mode 100644 index 0000000..f06213b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/type-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/version-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/version-i.ri new file mode 100644 index 0000000..614dfcb Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/version-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/width-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/width-i.ri new file mode 100644 index 0000000..ad1106d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/OEmbed/width-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Place/attributes-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/attributes-i.ri new file mode 100644 index 0000000..e59bf3a Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/attributes-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Place/cdesc-Place.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/cdesc-Place.ri new file mode 100644 index 0000000..800104f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/cdesc-Place.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Place/country-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/country-i.ri new file mode 100644 index 0000000..d7e7c43 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/country-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Place/country_code-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/country_code-i.ri new file mode 100644 index 0000000..c2e58d7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/country_code-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Place/full_name-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/full_name-i.ri new file mode 100644 index 0000000..f8656af Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/full_name-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Place/name-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/name-i.ri new file mode 100644 index 0000000..46feeb3 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/name-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Place/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/new-c.ri new file mode 100644 index 0000000..f626ca3 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Place/parent_id-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/parent_id-i.ri new file mode 100644 index 0000000..9735d54 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/parent_id-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Place/place_type-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/place_type-i.ri new file mode 100644 index 0000000..b6a5538 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Place/place_type-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/cdesc-Profile.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/cdesc-Profile.ri new file mode 100644 index 0000000..110d34c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/cdesc-Profile.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_banner_uri%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_banner_uri%3f-i.ri new file mode 100644 index 0000000..df40fda Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_banner_uri%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_banner_uri-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_banner_uri-i.ri new file mode 100644 index 0000000..2249f7c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_banner_uri-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_banner_uri_https-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_banner_uri_https-i.ri new file mode 100644 index 0000000..6f31eb3 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_banner_uri_https-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_banner_url-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_banner_url-i.ri new file mode 100644 index 0000000..8a28439 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_banner_url-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_banner_url_https-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_banner_url_https-i.ri new file mode 100644 index 0000000..44dceb4 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_banner_url_https-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_image_uri%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_image_uri%3f-i.ri new file mode 100644 index 0000000..39efc58 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_image_uri%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_image_uri-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_image_uri-i.ri new file mode 100644 index 0000000..403e48f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_image_uri-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_image_uri_https-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_image_uri_https-i.ri new file mode 100644 index 0000000..234675a Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_image_uri_https-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_image_url-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_image_url-i.ri new file mode 100644 index 0000000..8c48003 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_image_url-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_image_url_https-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_image_url_https-i.ri new file mode 100644 index 0000000..9d9468e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Profile/profile_image_url_https-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/ProfileBanner/cdesc-ProfileBanner.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/ProfileBanner/cdesc-ProfileBanner.ri new file mode 100644 index 0000000..1aa6233 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/ProfileBanner/cdesc-ProfileBanner.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/ProfileBanner/sizes-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/ProfileBanner/sizes-i.ri new file mode 100644 index 0000000..1e4eb32 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/ProfileBanner/sizes-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/API/cdesc-API.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/API/cdesc-API.ri new file mode 100644 index 0000000..7ddaa99 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/API/cdesc-API.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/bearer_token%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/bearer_token%3f-i.ri new file mode 100644 index 0000000..fa00b03 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/bearer_token%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/bearer_token-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/bearer_token-i.ri new file mode 100644 index 0000000..f5ecc11 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/bearer_token-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/cdesc-Client.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/cdesc-Client.ri new file mode 100644 index 0000000..657be91 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/cdesc-Client.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/connection_options%3d-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/connection_options%3d-i.ri new file mode 100644 index 0000000..7c6f000 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/connection_options%3d-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/connection_options-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/connection_options-i.ri new file mode 100644 index 0000000..9a61c6b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/connection_options-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/credentials%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/credentials%3f-i.ri new file mode 100644 index 0000000..876a133 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/credentials%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/get-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/get-i.ri new file mode 100644 index 0000000..323a87c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/get-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/middleware%3d-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/middleware%3d-i.ri new file mode 100644 index 0000000..869c452 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/middleware%3d-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/middleware-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/middleware-i.ri new file mode 100644 index 0000000..fada185 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/middleware-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/post-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/post-i.ri new file mode 100644 index 0000000..bd4a399 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Client/post-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/cdesc-DirectMessages.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/cdesc-DirectMessages.ri new file mode 100644 index 0000000..e21b70f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/cdesc-DirectMessages.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/create_direct_message-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/create_direct_message-i.ri new file mode 100644 index 0000000..c8abb86 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/create_direct_message-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/d-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/d-i.ri new file mode 100644 index 0000000..37855f0 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/d-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/destroy_direct_message-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/destroy_direct_message-i.ri new file mode 100644 index 0000000..d65f15f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/destroy_direct_message-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/direct_message-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/direct_message-i.ri new file mode 100644 index 0000000..7349684 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/direct_message-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/direct_messages-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/direct_messages-i.ri new file mode 100644 index 0000000..dbb8cf1 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/direct_messages-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/direct_messages_received-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/direct_messages_received-i.ri new file mode 100644 index 0000000..f2a9f59 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/direct_messages_received-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/direct_messages_sent-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/direct_messages_sent-i.ri new file mode 100644 index 0000000..d52f071 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/direct_messages_sent-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/dm-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/dm-i.ri new file mode 100644 index 0000000..a1a671f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/dm-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/m-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/m-i.ri new file mode 100644 index 0000000..53257b2 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/DirectMessages/m-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/cdesc-Favorites.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/cdesc-Favorites.ri new file mode 100644 index 0000000..cbc034c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/cdesc-Favorites.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/create_favorite%21-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/create_favorite%21-i.ri new file mode 100644 index 0000000..708bfb8 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/create_favorite%21-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/destroy_favorite-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/destroy_favorite-i.ri new file mode 100644 index 0000000..c0c1387 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/destroy_favorite-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/fav%21-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/fav%21-i.ri new file mode 100644 index 0000000..a1a1730 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/fav%21-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/fav-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/fav-i.ri new file mode 100644 index 0000000..5884e01 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/fav-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/fave%21-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/fave%21-i.ri new file mode 100644 index 0000000..7cf3819 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/fave%21-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/fave-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/fave-i.ri new file mode 100644 index 0000000..5ce9122 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/fave-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/favorite%21-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/favorite%21-i.ri new file mode 100644 index 0000000..2b72f70 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/favorite%21-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/favorite-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/favorite-i.ri new file mode 100644 index 0000000..6967c67 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/favorite-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/favorites-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/favorites-i.ri new file mode 100644 index 0000000..232acea Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/favorites-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/unfavorite-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/unfavorite-i.ri new file mode 100644 index 0000000..562e807 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Favorites/unfavorite-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/cdesc-FriendsAndFollowers.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/cdesc-FriendsAndFollowers.ri new file mode 100644 index 0000000..f1d041a Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/cdesc-FriendsAndFollowers.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/create_friendship%21-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/create_friendship%21-i.ri new file mode 100644 index 0000000..6630637 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/create_friendship%21-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/create_friendship-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/create_friendship-i.ri new file mode 100644 index 0000000..81c8c03 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/create_friendship-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/destroy_friendship-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/destroy_friendship-i.ri new file mode 100644 index 0000000..fe8c1cd Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/destroy_friendship-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/follow%21-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/follow%21-i.ri new file mode 100644 index 0000000..3ce2793 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/follow%21-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/follow-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/follow-i.ri new file mode 100644 index 0000000..ef9088e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/follow-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/follower_ids-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/follower_ids-i.ri new file mode 100644 index 0000000..32aad93 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/follower_ids-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/followers-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/followers-i.ri new file mode 100644 index 0000000..07bc0ac Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/followers-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/following-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/following-i.ri new file mode 100644 index 0000000..c67fd36 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/following-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friend_ids-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friend_ids-i.ri new file mode 100644 index 0000000..6eb5ed5 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friend_ids-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friends-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friends-i.ri new file mode 100644 index 0000000..3897e99 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friends-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendship%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendship%3f-i.ri new file mode 100644 index 0000000..f2c914f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendship%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendship-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendship-i.ri new file mode 100644 index 0000000..bae1e1b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendship-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendship_show-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendship_show-i.ri new file mode 100644 index 0000000..f2f8250 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendship_show-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendship_update-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendship_update-i.ri new file mode 100644 index 0000000..4a358ef Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendship_update-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendships-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendships-i.ri new file mode 100644 index 0000000..7953c9a Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendships-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendships_incoming-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendships_incoming-i.ri new file mode 100644 index 0000000..d7e5dbc Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendships_incoming-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendships_outgoing-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendships_outgoing-i.ri new file mode 100644 index 0000000..9cc68fd Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/friendships_outgoing-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/no_retweet_ids-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/no_retweet_ids-i.ri new file mode 100644 index 0000000..d6f81ae Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/no_retweet_ids-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/no_retweets_ids-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/no_retweets_ids-i.ri new file mode 100644 index 0000000..e80afcb Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/no_retweets_ids-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/relationship-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/relationship-i.ri new file mode 100644 index 0000000..109a877 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/relationship-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/unfollow-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/unfollow-i.ri new file mode 100644 index 0000000..d2ae2b4 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/FriendsAndFollowers/unfollow-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Help/cdesc-Help.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Help/cdesc-Help.ri new file mode 100644 index 0000000..d84e4ce Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Help/cdesc-Help.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Help/configuration-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Help/configuration-i.ri new file mode 100644 index 0000000..f6ec3b5 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Help/configuration-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Help/languages-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Help/languages-i.ri new file mode 100644 index 0000000..41174f1 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Help/languages-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Help/privacy-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Help/privacy-i.ri new file mode 100644 index 0000000..b92d87a Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Help/privacy-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Help/tos-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Help/tos-i.ri new file mode 100644 index 0000000..5946132 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Help/tos-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/add_list_member-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/add_list_member-i.ri new file mode 100644 index 0000000..d937037 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/add_list_member-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/add_list_members-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/add_list_members-i.ri new file mode 100644 index 0000000..6b205c5 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/add_list_members-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/cdesc-Lists.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/cdesc-Lists.ri new file mode 100644 index 0000000..65ddf97 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/cdesc-Lists.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/create_list-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/create_list-i.ri new file mode 100644 index 0000000..27ea655 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/create_list-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/destroy_list-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/destroy_list-i.ri new file mode 100644 index 0000000..505bdfa Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/destroy_list-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list-i.ri new file mode 100644 index 0000000..ec1d20d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_member%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_member%3f-i.ri new file mode 100644 index 0000000..b96c353 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_member%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_members-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_members-i.ri new file mode 100644 index 0000000..be223da Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_members-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_subscribe-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_subscribe-i.ri new file mode 100644 index 0000000..70c24b6 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_subscribe-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_subscriber%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_subscriber%3f-i.ri new file mode 100644 index 0000000..bc71dfc Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_subscriber%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_subscribers-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_subscribers-i.ri new file mode 100644 index 0000000..3654c4d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_subscribers-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_timeline-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_timeline-i.ri new file mode 100644 index 0000000..606ab09 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_timeline-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_unsubscribe-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_unsubscribe-i.ri new file mode 100644 index 0000000..f8c44c9 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_unsubscribe-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_update-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_update-i.ri new file mode 100644 index 0000000..7419619 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/list_update-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/lists-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/lists-i.ri new file mode 100644 index 0000000..d2c3427 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/lists-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/lists_subscribed_to-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/lists_subscribed_to-i.ri new file mode 100644 index 0000000..56517df Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/lists_subscribed_to-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/memberships-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/memberships-i.ri new file mode 100644 index 0000000..e584710 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/memberships-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/owned_lists-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/owned_lists-i.ri new file mode 100644 index 0000000..918d9e7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/owned_lists-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/remove_list_member-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/remove_list_member-i.ri new file mode 100644 index 0000000..e42e128 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/remove_list_member-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/remove_list_members-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/remove_list_members-i.ri new file mode 100644 index 0000000..2b2e73d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/remove_list_members-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/subscriptions-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/subscriptions-i.ri new file mode 100644 index 0000000..93deb9d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Lists/subscriptions-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Media/cdesc-Media.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Media/cdesc-Media.ri new file mode 100644 index 0000000..65926e5 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Media/cdesc-Media.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Media/upload-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Media/upload-i.ri new file mode 100644 index 0000000..5d7172a Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Media/upload-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/OAuth/bearer_token-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/OAuth/bearer_token-i.ri new file mode 100644 index 0000000..f42bbcf Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/OAuth/bearer_token-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/OAuth/cdesc-OAuth.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/OAuth/cdesc-OAuth.ri new file mode 100644 index 0000000..51e999d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/OAuth/cdesc-OAuth.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/OAuth/invalidate_token-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/OAuth/invalidate_token-i.ri new file mode 100644 index 0000000..6cca4e2 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/OAuth/invalidate_token-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/OAuth/reverse_token-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/OAuth/reverse_token-i.ri new file mode 100644 index 0000000..6ccdc8a Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/OAuth/reverse_token-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/OAuth/token-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/OAuth/token-i.ri new file mode 100644 index 0000000..71fd5d3 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/OAuth/token-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/cdesc-PlacesAndGeo.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/cdesc-PlacesAndGeo.ri new file mode 100644 index 0000000..369fa69 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/cdesc-PlacesAndGeo.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/geo_search-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/geo_search-i.ri new file mode 100644 index 0000000..f57508b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/geo_search-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/place-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/place-i.ri new file mode 100644 index 0000000..22c553c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/place-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/places_nearby-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/places_nearby-i.ri new file mode 100644 index 0000000..f91072f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/places_nearby-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/places_similar-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/places_similar-i.ri new file mode 100644 index 0000000..732cc30 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/places_similar-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/reverse_geocode-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/reverse_geocode-i.ri new file mode 100644 index 0000000..96f7106 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/reverse_geocode-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/similar_places-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/similar_places-i.ri new file mode 100644 index 0000000..d18ce3f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/PlacesAndGeo/similar_places-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Request/MultipartWithFile/call-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Request/MultipartWithFile/call-i.ri new file mode 100644 index 0000000..02f96d8 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Request/MultipartWithFile/call-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Request/MultipartWithFile/cdesc-MultipartWithFile.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Request/MultipartWithFile/cdesc-MultipartWithFile.ri new file mode 100644 index 0000000..521a6d7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Request/MultipartWithFile/cdesc-MultipartWithFile.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Request/cdesc-Request.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Request/cdesc-Request.ri new file mode 100644 index 0000000..7bdb26e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Request/cdesc-Request.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseErrorJson/cdesc-ParseErrorJson.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseErrorJson/cdesc-ParseErrorJson.ri new file mode 100644 index 0000000..51771e8 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseErrorJson/cdesc-ParseErrorJson.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseErrorJson/unparsable_status_codes-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseErrorJson/unparsable_status_codes-i.ri new file mode 100644 index 0000000..432a2b7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseErrorJson/unparsable_status_codes-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseJson/cdesc-ParseJson.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseJson/cdesc-ParseJson.ri new file mode 100644 index 0000000..fc08df5 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseJson/cdesc-ParseJson.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseJson/on_complete-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseJson/on_complete-i.ri new file mode 100644 index 0000000..b17e729 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseJson/on_complete-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseJson/parse-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseJson/parse-i.ri new file mode 100644 index 0000000..de6b08d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseJson/parse-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseJson/unparsable_status_codes-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseJson/unparsable_status_codes-i.ri new file mode 100644 index 0000000..2a8ca39 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/ParseJson/unparsable_status_codes-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/RaiseError/cdesc-RaiseError.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/RaiseError/cdesc-RaiseError.ri new file mode 100644 index 0000000..203ff9c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/RaiseError/cdesc-RaiseError.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/RaiseError/on_complete-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/RaiseError/on_complete-i.ri new file mode 100644 index 0000000..96adfce Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/RaiseError/on_complete-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/cdesc-Response.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/cdesc-Response.ri new file mode 100644 index 0000000..b8800cd Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Response/cdesc-Response.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SavedSearches/cdesc-SavedSearches.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SavedSearches/cdesc-SavedSearches.ri new file mode 100644 index 0000000..48c6e64 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SavedSearches/cdesc-SavedSearches.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SavedSearches/create_saved_search-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SavedSearches/create_saved_search-i.ri new file mode 100644 index 0000000..e56b375 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SavedSearches/create_saved_search-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SavedSearches/destroy_saved_search-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SavedSearches/destroy_saved_search-i.ri new file mode 100644 index 0000000..ea62fcd Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SavedSearches/destroy_saved_search-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SavedSearches/saved_search-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SavedSearches/saved_search-i.ri new file mode 100644 index 0000000..45dc649 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SavedSearches/saved_search-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SavedSearches/saved_searches-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SavedSearches/saved_searches-i.ri new file mode 100644 index 0000000..2353890 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SavedSearches/saved_searches-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Search/cdesc-Search.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Search/cdesc-Search.ri new file mode 100644 index 0000000..8fea4fe Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Search/cdesc-Search.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Search/search-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Search/search-i.ri new file mode 100644 index 0000000..4416906 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Search/search-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SpamReporting/cdesc-SpamReporting.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SpamReporting/cdesc-SpamReporting.ri new file mode 100644 index 0000000..efd7d21 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SpamReporting/cdesc-SpamReporting.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SpamReporting/report_spam-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SpamReporting/report_spam-i.ri new file mode 100644 index 0000000..e86bd49 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SpamReporting/report_spam-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SuggestedUsers/cdesc-SuggestedUsers.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SuggestedUsers/cdesc-SuggestedUsers.ri new file mode 100644 index 0000000..4a56e2e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SuggestedUsers/cdesc-SuggestedUsers.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SuggestedUsers/suggest_users-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SuggestedUsers/suggest_users-i.ri new file mode 100644 index 0000000..12f4925 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SuggestedUsers/suggest_users-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SuggestedUsers/suggestions-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SuggestedUsers/suggestions-i.ri new file mode 100644 index 0000000..b7be376 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/SuggestedUsers/suggestions-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/cdesc-Timelines.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/cdesc-Timelines.ri new file mode 100644 index 0000000..164dc3f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/cdesc-Timelines.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/home_timeline-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/home_timeline-i.ri new file mode 100644 index 0000000..0ccf377 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/home_timeline-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/mentions-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/mentions-i.ri new file mode 100644 index 0000000..99dc1ca Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/mentions-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/mentions_timeline-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/mentions_timeline-i.ri new file mode 100644 index 0000000..937622f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/mentions_timeline-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/retweeted_by-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/retweeted_by-i.ri new file mode 100644 index 0000000..5a829af Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/retweeted_by-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/retweeted_by_me-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/retweeted_by_me-i.ri new file mode 100644 index 0000000..9e18fdc Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/retweeted_by_me-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/retweeted_by_user-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/retweeted_by_user-i.ri new file mode 100644 index 0000000..dc88ac4 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/retweeted_by_user-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/retweeted_to_me-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/retweeted_to_me-i.ri new file mode 100644 index 0000000..09aac66 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/retweeted_to_me-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/retweets_of_me-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/retweets_of_me-i.ri new file mode 100644 index 0000000..066686e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/retweets_of_me-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/user_timeline-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/user_timeline-i.ri new file mode 100644 index 0000000..0abed77 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Timelines/user_timeline-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/cdesc-Trends.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/cdesc-Trends.ri new file mode 100644 index 0000000..5c1bead Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/cdesc-Trends.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/local_trends-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/local_trends-i.ri new file mode 100644 index 0000000..dbd9647 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/local_trends-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/trend_locations-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/trend_locations-i.ri new file mode 100644 index 0000000..8258208 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/trend_locations-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/trends-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/trends-i.ri new file mode 100644 index 0000000..967db81 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/trends-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/trends_available-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/trends_available-i.ri new file mode 100644 index 0000000..6d62465 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/trends_available-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/trends_closest-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/trends_closest-i.ri new file mode 100644 index 0000000..62f782b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/trends_closest-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/trends_place-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/trends_place-i.ri new file mode 100644 index 0000000..fcb1f66 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Trends/trends_place-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/cdesc-Tweets.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/cdesc-Tweets.ri new file mode 100644 index 0000000..63f3a2f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/cdesc-Tweets.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/destroy_status-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/destroy_status-i.ri new file mode 100644 index 0000000..5a0d7af Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/destroy_status-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/destroy_tweet-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/destroy_tweet-i.ri new file mode 100644 index 0000000..dc7d4d0 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/destroy_tweet-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/oembed-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/oembed-i.ri new file mode 100644 index 0000000..3edb1c4 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/oembed-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/oembeds-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/oembeds-i.ri new file mode 100644 index 0000000..500839d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/oembeds-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/retweet%21-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/retweet%21-i.ri new file mode 100644 index 0000000..3926860 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/retweet%21-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/retweet-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/retweet-i.ri new file mode 100644 index 0000000..87f34bb Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/retweet-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/retweeters_ids-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/retweeters_ids-i.ri new file mode 100644 index 0000000..e127adf Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/retweeters_ids-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/retweeters_of-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/retweeters_of-i.ri new file mode 100644 index 0000000..660b761 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/retweeters_of-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/retweets-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/retweets-i.ri new file mode 100644 index 0000000..9ad917a Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/retweets-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/status-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/status-i.ri new file mode 100644 index 0000000..93d5838 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/status-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/statuses-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/statuses-i.ri new file mode 100644 index 0000000..347e39b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/statuses-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/update%21-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/update%21-i.ri new file mode 100644 index 0000000..daa2f6f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/update%21-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/update-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/update-i.ri new file mode 100644 index 0000000..100eb09 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/update-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/update_with_media-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/update_with_media-i.ri new file mode 100644 index 0000000..a6bf3f3 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Tweets/update_with_media-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Undocumented/cdesc-Undocumented.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Undocumented/cdesc-Undocumented.ri new file mode 100644 index 0000000..c65ebf6 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Undocumented/cdesc-Undocumented.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Undocumented/following_followers_of-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Undocumented/following_followers_of-i.ri new file mode 100644 index 0000000..9ebad71 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Undocumented/following_followers_of-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Undocumented/tweet_count-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Undocumented/tweet_count-i.ri new file mode 100644 index 0000000..12653ac Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Undocumented/tweet_count-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/block%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/block%3f-i.ri new file mode 100644 index 0000000..f7098c0 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/block%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/block-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/block-i.ri new file mode 100644 index 0000000..5261be8 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/block-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/blocked-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/blocked-i.ri new file mode 100644 index 0000000..4442ecd Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/blocked-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/blocked_ids-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/blocked_ids-i.ri new file mode 100644 index 0000000..3d42b34 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/blocked_ids-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/cdesc-Users.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/cdesc-Users.ri new file mode 100644 index 0000000..d16c70b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/cdesc-Users.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/contributees-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/contributees-i.ri new file mode 100644 index 0000000..e4bc1db Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/contributees-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/contributors-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/contributors-i.ri new file mode 100644 index 0000000..70fca73 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/contributors-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/current_user-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/current_user-i.ri new file mode 100644 index 0000000..698dea6 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/current_user-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/mute-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/mute-i.ri new file mode 100644 index 0000000..7785c1a Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/mute-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/muted-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/muted-i.ri new file mode 100644 index 0000000..d6ddc7e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/muted-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/muted_ids-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/muted_ids-i.ri new file mode 100644 index 0000000..641b072 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/muted_ids-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/profile_banner-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/profile_banner-i.ri new file mode 100644 index 0000000..a2b9573 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/profile_banner-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/remove_profile_banner-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/remove_profile_banner-i.ri new file mode 100644 index 0000000..82f5081 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/remove_profile_banner-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/settings-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/settings-i.ri new file mode 100644 index 0000000..0824c6a Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/settings-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/unblock-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/unblock-i.ri new file mode 100644 index 0000000..e545f1e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/unblock-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/unmute-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/unmute-i.ri new file mode 100644 index 0000000..922a589 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/unmute-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_delivery_device-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_delivery_device-i.ri new file mode 100644 index 0000000..ad16f61 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_delivery_device-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_profile-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_profile-i.ri new file mode 100644 index 0000000..20d276b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_profile-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_profile_background_image-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_profile_background_image-i.ri new file mode 100644 index 0000000..923ad0e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_profile_background_image-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_profile_banner-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_profile_banner-i.ri new file mode 100644 index 0000000..a4f1cb6 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_profile_banner-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_profile_colors-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_profile_colors-i.ri new file mode 100644 index 0000000..02a7fb2 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_profile_colors-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_profile_image-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_profile_image-i.ri new file mode 100644 index 0000000..e87971e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/update_profile_image-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/user%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/user%3f-i.ri new file mode 100644 index 0000000..1e01933 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/user%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/user-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/user-i.ri new file mode 100644 index 0000000..259f17a Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/user-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/user_search-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/user_search-i.ri new file mode 100644 index 0000000..4d23538 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/user_search-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/users-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/users-i.ri new file mode 100644 index 0000000..cfc4a4f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/users-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/verify_credentials-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/verify_credentials-i.ri new file mode 100644 index 0000000..307ca26 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Users/verify_credentials-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Utils/cdesc-Utils.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Utils/cdesc-Utils.ri new file mode 100644 index 0000000..40ac01c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/Utils/cdesc-Utils.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/REST/cdesc-REST.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/cdesc-REST.ri new file mode 100644 index 0000000..92ab953 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/REST/cdesc-REST.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/cdesc-RateLimit.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/cdesc-RateLimit.ri new file mode 100644 index 0000000..294e2a2 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/cdesc-RateLimit.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/limit-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/limit-i.ri new file mode 100644 index 0000000..4418114 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/limit-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/remaining-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/remaining-i.ri new file mode 100644 index 0000000..f2b70d7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/remaining-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/reset_at-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/reset_at-i.ri new file mode 100644 index 0000000..1fecdea Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/reset_at-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/reset_in-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/reset_in-i.ri new file mode 100644 index 0000000..e651d1e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/reset_in-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/retry_after-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/retry_after-i.ri new file mode 100644 index 0000000..dfec673 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/RateLimit/retry_after-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Relationship/cdesc-Relationship.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Relationship/cdesc-Relationship.ri new file mode 100644 index 0000000..c1d2de5 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Relationship/cdesc-Relationship.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Relationship/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Relationship/new-c.ri new file mode 100644 index 0000000..4eede7b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Relationship/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Request/cdesc-Request.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/cdesc-Request.ri new file mode 100644 index 0000000..e21bf73 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/cdesc-Request.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Request/client-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/client-i.ri new file mode 100644 index 0000000..7d2bf8f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/client-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Request/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/new-c.ri new file mode 100644 index 0000000..4ee6918 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Request/options-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/options-i.ri new file mode 100644 index 0000000..2f61e41 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/options-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Request/path-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/path-i.ri new file mode 100644 index 0000000..cdc114e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/path-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Request/perform-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/perform-i.ri new file mode 100644 index 0000000..ac3fa5f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/perform-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Request/perform_with_cursor-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/perform_with_cursor-i.ri new file mode 100644 index 0000000..f3ee074 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/perform_with_cursor-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Request/perform_with_object-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/perform_with_object-i.ri new file mode 100644 index 0000000..364c8e8 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/perform_with_object-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Request/perform_with_objects-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/perform_with_objects-i.ri new file mode 100644 index 0000000..afdc6ab Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/perform_with_objects-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Request/request_method-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/request_method-i.ri new file mode 100644 index 0000000..f125165 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/request_method-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Request/verb-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/verb-i.ri new file mode 100644 index 0000000..cf7f4ec Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Request/verb-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/SavedSearch/cdesc-SavedSearch.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/SavedSearch/cdesc-SavedSearch.ri new file mode 100644 index 0000000..ab367ba Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/SavedSearch/cdesc-SavedSearch.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/SavedSearch/name-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/SavedSearch/name-i.ri new file mode 100644 index 0000000..b8efc62 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/SavedSearch/name-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/SavedSearch/position-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/SavedSearch/position-i.ri new file mode 100644 index 0000000..bc928db Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/SavedSearch/position-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/SavedSearch/query-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/SavedSearch/query-i.ri new file mode 100644 index 0000000..e6b9cb4 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/SavedSearch/query-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/SearchResults/attrs-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/SearchResults/attrs-i.ri new file mode 100644 index 0000000..be9ec66 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/SearchResults/attrs-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/SearchResults/cdesc-SearchResults.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/SearchResults/cdesc-SearchResults.ri new file mode 100644 index 0000000..1d65927 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/SearchResults/cdesc-SearchResults.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/SearchResults/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/SearchResults/new-c.ri new file mode 100644 index 0000000..86e0bde Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/SearchResults/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/SearchResults/to_h-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/SearchResults/to_h-i.ri new file mode 100644 index 0000000..1259085 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/SearchResults/to_h-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Settings/cdesc-Settings.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Settings/cdesc-Settings.ri new file mode 100644 index 0000000..f2c0d9f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Settings/cdesc-Settings.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Settings/language-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Settings/language-i.ri new file mode 100644 index 0000000..afbb598 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Settings/language-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Settings/screen_name-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Settings/screen_name-i.ri new file mode 100644 index 0000000..00a3616 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Settings/screen_name-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Settings/sleep_time-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Settings/sleep_time-i.ri new file mode 100644 index 0000000..9326f1b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Settings/sleep_time-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Settings/time_zone-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Settings/time_zone-i.ri new file mode 100644 index 0000000..1d5fdf9 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Settings/time_zone-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Size/cdesc-Size.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Size/cdesc-Size.ri new file mode 100644 index 0000000..5e298c4 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Size/cdesc-Size.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Size/h-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Size/h-i.ri new file mode 100644 index 0000000..64f79d7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Size/h-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Size/height-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Size/height-i.ri new file mode 100644 index 0000000..95b3f67 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Size/height-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Size/resize-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Size/resize-i.ri new file mode 100644 index 0000000..80605c3 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Size/resize-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Size/w-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Size/w-i.ri new file mode 100644 index 0000000..608d671 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Size/w-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Size/width-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Size/width-i.ri new file mode 100644 index 0000000..32c4826 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Size/width-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/SourceUser/cdesc-SourceUser.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/SourceUser/cdesc-SourceUser.ri new file mode 100644 index 0000000..6e58a44 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/SourceUser/cdesc-SourceUser.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/before_request-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/before_request-i.ri new file mode 100644 index 0000000..69fd226 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/before_request-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/cdesc-Client.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/cdesc-Client.ri new file mode 100644 index 0000000..4d79a45 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/cdesc-Client.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/connection-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/connection-i.ri new file mode 100644 index 0000000..6bd95ee Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/connection-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/filter-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/filter-i.ri new file mode 100644 index 0000000..0876759 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/filter-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/firehose-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/firehose-i.ri new file mode 100644 index 0000000..3e5f350 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/firehose-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/new-c.ri new file mode 100644 index 0000000..3700516 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/sample-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/sample-i.ri new file mode 100644 index 0000000..90fa72d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/sample-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/site-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/site-i.ri new file mode 100644 index 0000000..63400c4 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/site-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/ssl_socket_class-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/ssl_socket_class-i.ri new file mode 100644 index 0000000..345dda6 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/ssl_socket_class-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/tcp_socket_class-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/tcp_socket_class-i.ri new file mode 100644 index 0000000..8bfc806 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/tcp_socket_class-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/user-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/user-i.ri new file mode 100644 index 0000000..6253647 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Client/user-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Connection/cdesc-Connection.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Connection/cdesc-Connection.ri new file mode 100644 index 0000000..a10bc1a Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Connection/cdesc-Connection.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Connection/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Connection/new-c.ri new file mode 100644 index 0000000..c4e5ae9 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Connection/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Connection/ssl_socket_class-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Connection/ssl_socket_class-i.ri new file mode 100644 index 0000000..3a267ca Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Connection/ssl_socket_class-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Connection/stream-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Connection/stream-i.ri new file mode 100644 index 0000000..2c93e25 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Connection/stream-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Connection/tcp_socket_class-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Connection/tcp_socket_class-i.ri new file mode 100644 index 0000000..8d4c847 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Connection/tcp_socket_class-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/DeletedTweet/cdesc-DeletedTweet.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/DeletedTweet/cdesc-DeletedTweet.ri new file mode 100644 index 0000000..d56f4d5 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/DeletedTweet/cdesc-DeletedTweet.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/DeletedTweet/user_id-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/DeletedTweet/user_id-i.ri new file mode 100644 index 0000000..9ed8687 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/DeletedTweet/user_id-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/cdesc-Event.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/cdesc-Event.ri new file mode 100644 index 0000000..016bbf0 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/cdesc-Event.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/name-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/name-i.ri new file mode 100644 index 0000000..648752c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/name-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/new-c.ri new file mode 100644 index 0000000..16525c6 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/source-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/source-i.ri new file mode 100644 index 0000000..1dc4fd5 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/source-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/target-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/target-i.ri new file mode 100644 index 0000000..2cb4e3e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/target-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/target_object-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/target_object-i.ri new file mode 100644 index 0000000..b2c9c67 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Event/target_object-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/FriendList/cdesc-FriendList.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/FriendList/cdesc-FriendList.ri new file mode 100644 index 0000000..0d18a1d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/FriendList/cdesc-FriendList.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/MessageParser/cdesc-MessageParser.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/MessageParser/cdesc-MessageParser.ri new file mode 100644 index 0000000..99f4ca6 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/MessageParser/cdesc-MessageParser.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/MessageParser/parse-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/MessageParser/parse-c.ri new file mode 100644 index 0000000..8450ee8 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/MessageParser/parse-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Response/%3c%3c-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Response/%3c%3c-i.ri new file mode 100644 index 0000000..d7cf1c5 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Response/%3c%3c-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Response/cdesc-Response.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Response/cdesc-Response.ri new file mode 100644 index 0000000..32cde89 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Response/cdesc-Response.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Response/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Response/new-c.ri new file mode 100644 index 0000000..d3128d7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Response/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Response/on_body-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Response/on_body-i.ri new file mode 100644 index 0000000..d4a0ede Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Response/on_body-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Response/on_headers_complete-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Response/on_headers_complete-i.ri new file mode 100644 index 0000000..af6f4c2 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/Response/on_headers_complete-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/StallWarning/cdesc-StallWarning.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/StallWarning/cdesc-StallWarning.ri new file mode 100644 index 0000000..c9d1956 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/StallWarning/cdesc-StallWarning.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/StallWarning/code-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/StallWarning/code-i.ri new file mode 100644 index 0000000..7462ce9 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/StallWarning/code-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/StallWarning/message-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/StallWarning/message-i.ri new file mode 100644 index 0000000..c72693f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/StallWarning/message-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/StallWarning/percent_full-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/StallWarning/percent_full-i.ri new file mode 100644 index 0000000..7a9dfb7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/StallWarning/percent_full-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/cdesc-Streaming.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/cdesc-Streaming.ri new file mode 100644 index 0000000..c0cc228 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Streaming/cdesc-Streaming.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Suggestion/cdesc-Suggestion.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Suggestion/cdesc-Suggestion.ri new file mode 100644 index 0000000..b3f60d9 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Suggestion/cdesc-Suggestion.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Suggestion/name-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Suggestion/name-i.ri new file mode 100644 index 0000000..2eb3422 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Suggestion/name-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Suggestion/size-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Suggestion/size-i.ri new file mode 100644 index 0000000..2a96b4b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Suggestion/size-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Suggestion/slug-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Suggestion/slug-i.ri new file mode 100644 index 0000000..d6d6e6d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Suggestion/slug-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Suggestion/users-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Suggestion/users-i.ri new file mode 100644 index 0000000..df6f1e4 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Suggestion/users-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/TargetUser/cdesc-TargetUser.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/TargetUser/cdesc-TargetUser.ri new file mode 100644 index 0000000..7e8eff1 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/TargetUser/cdesc-TargetUser.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Token/access_token-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Token/access_token-i.ri new file mode 100644 index 0000000..3f1321d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Token/access_token-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Token/bearer%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Token/bearer%3f-i.ri new file mode 100644 index 0000000..b499233 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Token/bearer%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Token/cdesc-Token.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Token/cdesc-Token.ri new file mode 100644 index 0000000..60625ce Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Token/cdesc-Token.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Token/to_s-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Token/to_s-i.ri new file mode 100644 index 0000000..b46bf83 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Token/to_s-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Token/token_type-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Token/token_type-i.ri new file mode 100644 index 0000000..bc3eb75 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Token/token_type-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Trend/cdesc-Trend.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Trend/cdesc-Trend.ri new file mode 100644 index 0000000..f00110f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Trend/cdesc-Trend.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Trend/events-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Trend/events-i.ri new file mode 100644 index 0000000..d3d34d3 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Trend/events-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Trend/name-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Trend/name-i.ri new file mode 100644 index 0000000..d31226b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Trend/name-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Trend/query-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Trend/query-i.ri new file mode 100644 index 0000000..4e2f1f9 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Trend/query-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/as_of%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/as_of%3f-i.ri new file mode 100644 index 0000000..15c8eb7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/as_of%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/as_of-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/as_of-i.ri new file mode 100644 index 0000000..d5025b6 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/as_of-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/attrs-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/attrs-i.ri new file mode 100644 index 0000000..e8922cd Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/attrs-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/cdesc-TrendResults.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/cdesc-TrendResults.ri new file mode 100644 index 0000000..1a4c4b9 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/cdesc-TrendResults.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/location%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/location%3f-i.ri new file mode 100644 index 0000000..b5eaa26 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/location%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/location-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/location-i.ri new file mode 100644 index 0000000..53fafd3 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/location-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/new-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/new-c.ri new file mode 100644 index 0000000..f5bb1c6 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/new-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/to_h-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/to_h-i.ri new file mode 100644 index 0000000..9cef557 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/TrendResults/to_h-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/cdesc-Tweet.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/cdesc-Tweet.ri new file mode 100644 index 0000000..2b07226 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/cdesc-Tweet.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/favorite_count-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/favorite_count-i.ri new file mode 100644 index 0000000..e44373d Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/favorite_count-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/filter_level-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/filter_level-i.ri new file mode 100644 index 0000000..6cb7f05 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/filter_level-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/full_text-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/full_text-i.ri new file mode 100644 index 0000000..b95e419 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/full_text-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/in_reply_to_attrs_id-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/in_reply_to_attrs_id-i.ri new file mode 100644 index 0000000..6df7db4 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/in_reply_to_attrs_id-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/in_reply_to_screen_name-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/in_reply_to_screen_name-i.ri new file mode 100644 index 0000000..d7d4d45 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/in_reply_to_screen_name-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/in_reply_to_status_id-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/in_reply_to_status_id-i.ri new file mode 100644 index 0000000..3c09e49 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/in_reply_to_status_id-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/in_reply_to_tweet_id-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/in_reply_to_tweet_id-i.ri new file mode 100644 index 0000000..fe677bc Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/in_reply_to_tweet_id-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/in_reply_to_user_id-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/in_reply_to_user_id-i.ri new file mode 100644 index 0000000..76f00e7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/in_reply_to_user_id-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/lang-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/lang-i.ri new file mode 100644 index 0000000..f2652d4 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/lang-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/retweet_count-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/retweet_count-i.ri new file mode 100644 index 0000000..46719c6 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/retweet_count-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/source-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/source-i.ri new file mode 100644 index 0000000..e89d657 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/source-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/text-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/text-i.ri new file mode 100644 index 0000000..dceaf0e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/text-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/uri-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/uri-i.ri new file mode 100644 index 0000000..5579663 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/uri-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/url-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/url-i.ri new file mode 100644 index 0000000..84aaa7f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Tweet/url-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/cdesc-User.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/cdesc-User.ri new file mode 100644 index 0000000..7fbcbe1 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/cdesc-User.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/connections-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/connections-i.ri new file mode 100644 index 0000000..8de7a00 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/connections-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/description-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/description-i.ri new file mode 100644 index 0000000..a2a3edb Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/description-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/entities%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/entities%3f-i.ri new file mode 100644 index 0000000..fb322d9 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/entities%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/favorites_count-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/favorites_count-i.ri new file mode 100644 index 0000000..a1cac0a Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/favorites_count-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/favourites_count-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/favourites_count-i.ri new file mode 100644 index 0000000..812ec2b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/favourites_count-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/followers_count-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/followers_count-i.ri new file mode 100644 index 0000000..b4a3a73 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/followers_count-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/friends_count-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/friends_count-i.ri new file mode 100644 index 0000000..730f7db Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/friends_count-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/lang-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/lang-i.ri new file mode 100644 index 0000000..dfaecb8 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/lang-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/listed_count-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/listed_count-i.ri new file mode 100644 index 0000000..9b7274b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/listed_count-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/location-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/location-i.ri new file mode 100644 index 0000000..cd00a3c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/location-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/name-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/name-i.ri new file mode 100644 index 0000000..bdc0570 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/name-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_background_color-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_background_color-i.ri new file mode 100644 index 0000000..55f619f Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_background_color-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_background_image_uri-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_background_image_uri-i.ri new file mode 100644 index 0000000..37d2b38 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_background_image_uri-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_background_image_uri_https-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_background_image_uri_https-i.ri new file mode 100644 index 0000000..6825864 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_background_image_uri_https-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_background_image_url-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_background_image_url-i.ri new file mode 100644 index 0000000..6ae2996 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_background_image_url-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_background_image_url_https-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_background_image_url_https-i.ri new file mode 100644 index 0000000..fd47d75 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_background_image_url_https-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_link_color-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_link_color-i.ri new file mode 100644 index 0000000..ac0db8b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_link_color-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_sidebar_border_color-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_sidebar_border_color-i.ri new file mode 100644 index 0000000..525b89b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_sidebar_border_color-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_sidebar_fill_color-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_sidebar_fill_color-i.ri new file mode 100644 index 0000000..49875db Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_sidebar_fill_color-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_text_color-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_text_color-i.ri new file mode 100644 index 0000000..369ad7e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/profile_text_color-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/statuses_count-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/statuses_count-i.ri new file mode 100644 index 0000000..9d766e5 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/statuses_count-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/time_zone-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/time_zone-i.ri new file mode 100644 index 0000000..e71ba23 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/time_zone-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/tweets_count-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/tweets_count-i.ri new file mode 100644 index 0000000..71cfebf Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/tweets_count-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/uri-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/uri-i.ri new file mode 100644 index 0000000..d92ef5c Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/uri-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/url-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/url-i.ri new file mode 100644 index 0000000..96977f5 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/url-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/utc_offset-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/utc_offset-i.ri new file mode 100644 index 0000000..3a84e62 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/utc_offset-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/website%3f-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/website%3f-i.ri new file mode 100644 index 0000000..2824415 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/website%3f-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/User/website-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/User/website-i.ri new file mode 100644 index 0000000..3b55554 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/User/website-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/ClassMethods/cdesc-ClassMethods.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/ClassMethods/cdesc-ClassMethods.ri new file mode 100644 index 0000000..60efc86 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/ClassMethods/cdesc-ClassMethods.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/ClassMethods/deprecate_alias-i.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/ClassMethods/deprecate_alias-i.ri new file mode 100644 index 0000000..4bd8359 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/ClassMethods/deprecate_alias-i.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/cdesc-Utils.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/cdesc-Utils.ri new file mode 100644 index 0000000..2b1c52e Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/cdesc-Utils.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/flat_pmap-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/flat_pmap-c.ri new file mode 100644 index 0000000..c231451 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/flat_pmap-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/included-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/included-c.ri new file mode 100644 index 0000000..1b3bb00 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/included-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/pmap-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/pmap-c.ri new file mode 100644 index 0000000..db6f1e7 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Utils/pmap-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Version/cdesc-Version.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Version/cdesc-Version.ri new file mode 100644 index 0000000..9aa7ce8 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Version/cdesc-Version.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/Version/to_s-c.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/Version/to_s-c.ri new file mode 100644 index 0000000..d504f9b Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/Version/to_s-c.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/Twitter/cdesc-Twitter.ri b/.gems/doc/twitter-5.11.0/ri/Twitter/cdesc-Twitter.ri new file mode 100644 index 0000000..a89d4c6 Binary files /dev/null and b/.gems/doc/twitter-5.11.0/ri/Twitter/cdesc-Twitter.ri differ diff --git a/.gems/doc/twitter-5.11.0/ri/cache.ri b/.gems/doc/twitter-5.11.0/ri/cache.ri new file mode 100644 index 0000000..409c5c5 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/ri/cache.ri @@ -0,0 +1,39 @@ +{ :ancestors{gI"Twitter::TargetUser:EF[I"Twitter::BasicUser;FI"Twitter::Client;F[I" Object;FI"Twitter::Utils;FI"Twitter::TrendResults;F[ +I"Memoizable;FI" Object;FI"Twitter::Creatable;FI"Twitter::Enumerable;F@ I"Twitter::MediaFactory;F[I"Twitter::Factory;FI"Twitter::Size;F[I"Equalizer;FI"Twitter::Base;FI"Twitter::SourceUser;F[@ I"Twitter::Relationship;F[@I"Twitter::GeoFactory;F[@I"Twitter::Version;F[I" Object;FI"Twitter::Entity;F[@I"Twitter::Entity::Symbol;F[I"Twitter::Entity;FI"Twitter::Entity::URI;F[@(I"Twitter::Entity::URL;F[@(I"Twitter::Entity::Hashtag;F[@(I"!Twitter::Entity::UserMention;F[@(I"Twitter::Tweet;F[@I"Twitter::Entities;FI"Twitter::Identity;FI"Twitter::Geo;F[I"Equalizer;F@I"Twitter::Geo::Point;F[I"Twitter::Geo;FI"Twitter::Geo::Polygon;F[@:I"Twitter::Factory;F[I" Object;FI"Twitter::Trend;F[I"Equalizer;F@I"%Twitter::Streaming::DeletedTweet;F[@4I"Twitter::Streaming::Client;F[I"Twitter::Client;FI"%Twitter::Streaming::StallWarning;F[@I"#Twitter::Streaming::Connection;F[I" Object;FI"&Twitter::Streaming::MessageParser;F[I" Object;FI"#Twitter::Streaming::FriendList;F[I" +Array;FI"!Twitter::Streaming::Response;F[I" Object;FI"Twitter::Streaming::Event;F[I" Object;FI"Twitter::BasicUser;F[@4I"Twitter::ProfileBanner;F[@I"Twitter::SearchResults;F[I" Object;F@@ I"Twitter::Cursor;F[I" Object;F@@ I"Twitter::Request;F[I" Object;FI"Twitter::Arguments;F[I" +Array;FI"Twitter::SavedSearch;F[@@4I"Twitter::RateLimit;F[@I"Twitter::Metadata;F[@I"Twitter::DirectMessage;F[@@3@4I"Twitter::REST::Client;F[@GI"Twitter::REST::API;FI",Twitter::REST::Response::ParseErrorJson;F[I"'Twitter::REST::Response::ParseJson;FI"'Twitter::REST::Response::ParseJson;F[I""Faraday::Response::Middleware;FI"(Twitter::REST::Response::RaiseError;F[I""Faraday::Response::Middleware;FI".Twitter::REST::Request::MultipartWithFile;F[I"Faraday::Middleware;FI"Twitter::Configuration;F[@I"Twitter::GeoResults;F[I" Object;F@@ I"Twitter::Suggestion;F[I"Equalizer;F@I"Twitter::Media::Photo;F[@4I"Twitter::Identity;F[I"Equalizer;F@I"Twitter::Base;F[I"Memoizable;FI" Object;F@ I"Twitter::OEmbed;F[@I"Twitter::Settings;F[@I"Twitter::Language;F[@I"Twitter::List;F[@@4I"Twitter::Token;F[@I"Twitter::User;F[ I"Memoizable;F@ @I"Twitter::Profile;FI"Twitter::Place;F[@4I"Twitter::Error;F[I"StandardError;FI"'Twitter::Error::ConfigurationError;F[I"ArgumentError;FI"#Twitter::Error::UnacceptableIO;F[I"StandardError;FI" Twitter::Error::ClientError;F[I" self;FI"Twitter::Error::BadRequest;F[I" Twitter::Error::ClientError;FI"!Twitter::Error::Unauthorized;F[@I"Twitter::Error::Forbidden;F[@I"%Twitter::Error::AlreadyFavorited;F[I"Twitter::Error::Forbidden;FI"%Twitter::Error::AlreadyRetweeted;F[@I"$Twitter::Error::DuplicateStatus;F[@I"Twitter::Error::NotFound;F[@I""Twitter::Error::NotAcceptable;F[@I"#Twitter::Error::RequestTimeout;F[@I"(Twitter::Error::UnprocessableEntity;F[@I"$Twitter::Error::TooManyRequests;F[@I" Twitter::Error::ServerError;F[I" self;FI"(Twitter::Error::InternalServerError;F[I" Twitter::Error::ServerError;FI"Twitter::Error::BadGateway;F[@I"'Twitter::Error::ServiceUnavailable;F[@I"#Twitter::Error::GatewayTimeout;F[@I"Twitter::Entities;F[I"Memoizable;FI"Twitter::Profile;F[I"Memoizable;FI"Twitter::Creatable;F[I"Memoizable;FI"Twitter::REST::API;F[I""Twitter::REST::DirectMessages;FI"Twitter::REST::Favorites;FI"'Twitter::REST::FriendsAndFollowers;FI"Twitter::REST::Help;FI"Twitter::REST::Lists;FI"Twitter::REST::Media;FI"Twitter::REST::OAuth;FI" Twitter::REST::PlacesAndGeo;FI"!Twitter::REST::SavedSearches;FI"Twitter::REST::Search;FI"!Twitter::REST::SpamReporting;FI""Twitter::REST::SuggestedUsers;FI"Twitter::REST::Timelines;FI"Twitter::REST::Trends;FI"Twitter::REST::Tweets;FI" Twitter::REST::Undocumented;FI"Twitter::REST::Users;FI""Twitter::REST::SuggestedUsers;F[I"Twitter::REST::Utils;FI"Twitter::REST::OAuth;F[@I" Twitter::REST::Undocumented;F[@I"!Twitter::REST::SavedSearches;F[@@ I"Twitter::REST::Favorites;F[@@ I"Twitter::REST::Utils;F[@ I" Twitter::REST::PlacesAndGeo;F[@I"Twitter::REST::Users;F[@@ I"Twitter::REST::Lists;F[@@ I"Twitter::REST::Help;F[@I"!Twitter::REST::SpamReporting;F[@I"Twitter::REST::Tweets;F[@@ I"'Twitter::REST::FriendsAndFollowers;F[@@ I"Twitter::REST::Trends;F[@I"Twitter::REST::Timelines;F[@I""Twitter::REST::DirectMessages;F[@@ I"Twitter::Enumerable;F[I"::Enumerable;F:attributes{+I"Twitter::Client;F[ I"attr_accessor access_token;FI"&attr_accessor access_token_secret;FI"attr_accessor consumer_key;FI""attr_accessor consumer_secret;FI"attr_accessor proxy;FI"attr_writer user_agent;FI"Twitter::TrendResults;F[I"attr_reader attrs;FI"attr_reader to_h;FI"Twitter::Size;F[ +I"attr_reader h;FI"attr_reader height;FI"attr_reader resize;FI"attr_reader w;FI"attr_reader width;FI"Twitter::Entity;F[I"attr_reader indices;FI"Twitter::Entity::Symbol;F[I"attr_reader text;F@-[I"attr_reader text;F@/[I"attr_reader id;FI"attr_reader name;FI"attr_reader screen_name;FI"Twitter::Tweet;F[I"attr_reader favorite_count;FI"attr_reader filter_level;FI"%attr_reader in_reply_to_attrs_id;FI"(attr_reader in_reply_to_screen_name;FI"&attr_reader in_reply_to_status_id;FI"%attr_reader in_reply_to_tweet_id;FI"$attr_reader in_reply_to_user_id;FI"attr_reader lang;FI"attr_reader retweet_count;FI"attr_reader source;FI"attr_reader text;FI"Twitter::Geo;F[I"attr_reader coordinates;FI"attr_reader coords;FI"Twitter::Trend;F[I"attr_reader events;FI"attr_reader name;FI"attr_reader query;F@C[I"attr_reader user_id;F@E[I"#attr_accessor ssl_socket_class;FI"#attr_accessor tcp_socket_class;FI"attr_writer connection;F@H[I"attr_reader code;FI"attr_reader message;FI"attr_reader percent_full;F@J[I"!attr_reader ssl_socket_class;FI"!attr_reader tcp_socket_class;F@V[ I"attr_reader name;FI"attr_reader source;FI"attr_reader target;FI"attr_reader target_object;FI"Twitter::BasicUser;F[I"attr_reader screen_name;FI"Twitter::SearchResults;F[I"attr_reader attrs;FI"attr_reader to_h;FI"Twitter::Cursor;F[I"attr_reader attrs;FI"attr_reader to_h;FI"Twitter::Request;F[ +I"attr_accessor client;FI"attr_accessor options;FI"attr_accessor path;FI"!attr_accessor request_method;FI"attr_accessor verb;FI"Twitter::Arguments;F[I"attr_reader options;FI"Twitter::SavedSearch;F[I"attr_reader name;FI"attr_reader position;FI"attr_reader query;FI"Twitter::Metadata;F[I""attr_reader iso_language_code;FI"attr_reader result_type;FI"Twitter::DirectMessage;F[I"attr_reader full_text;FI"attr_reader text;FI"Twitter::REST::Client;F[I"attr_accessor bearer_token;FI"Twitter::Configuration;F[ I".attr_reader characters_reserved_per_media;FI"%attr_reader max_media_per_upload;FI"#attr_reader non_username_paths;FI"!attr_reader photo_size_limit;FI"!attr_reader short_uri_length;FI"'attr_reader short_uri_length_https;FI"!attr_reader short_url_length;FI"'attr_reader short_url_length_https;FI"Twitter::GeoResults;F[I"attr_reader attrs;FI"attr_reader to_h;FI"Twitter::Suggestion;F[I"attr_reader name;FI"attr_reader size;FI"attr_reader slug;FI"Twitter::Media::Photo;F[I"attr_reader indices;FI"Twitter::Identity;F[I"attr_reader id;FI"Twitter::Base;F[I"attr_reader attrs;FI"attr_reader to_h;FI"Twitter::OEmbed;F[ I"attr_reader author_name;FI"attr_reader cache_age;FI"attr_reader height;FI"attr_reader html;FI"attr_reader provider_name;FI"attr_reader type;FI"attr_reader version;FI"attr_reader width;FI"Twitter::Settings;F[ I"attr_reader language;FI"attr_reader screen_name;FI"attr_reader sleep_time;FI"attr_reader time_zone;FI"Twitter::Language;F[I"attr_reader code;FI"attr_reader name;FI"attr_reader status;FI"Twitter::List;F[ I"attr_reader description;FI"attr_reader full_name;FI"attr_reader member_count;FI"attr_reader mode;FI"attr_reader name;FI"attr_reader slug;FI"!attr_reader subscriber_count;FI"Twitter::Token;F[I"attr_reader access_token;FI"attr_reader to_s;FI"attr_reader token_type;FI"Twitter::User;F[I"attr_reader connections;FI"attr_reader description;FI" attr_reader favorites_count;FI"!attr_reader favourites_count;FI" attr_reader followers_count;FI"attr_reader friends_count;FI"attr_reader lang;FI"attr_reader listed_count;FI"attr_reader location;FI"attr_reader name;FI")attr_reader profile_background_color;FI"-attr_reader profile_background_image_uri;FI"3attr_reader profile_background_image_uri_https;FI"-attr_reader profile_background_image_url;FI"3attr_reader profile_background_image_url_https;FI"#attr_reader profile_link_color;FI"-attr_reader profile_sidebar_border_color;FI"+attr_reader profile_sidebar_fill_color;FI"#attr_reader profile_text_color;FI"attr_reader statuses_count;FI"attr_reader time_zone;FI"attr_reader tweets_count;FI"attr_reader utc_offset;FI"Twitter::Place;F[ I"attr_reader attributes;FI"attr_reader country;FI"attr_reader full_name;FI"attr_reader name;FI"Twitter::Error;F[I"attr_reader code;FI"attr_reader rate_limit;F:class_methods{I"Twitter::Client;F[I"new;FI"Twitter::TrendResults;F[I"new;FI"Twitter::MediaFactory;F[I"new;FI"Twitter::Relationship;F[I"new;FI"Twitter::GeoFactory;F[I"new;FI"Twitter::Version;F[I" to_s;FI"Twitter::Factory;F[I"new;F@E[I"new;F@J[I"new;F@M[I" +parse;F@S[I"new;F@V[I"new;FI"Twitter::SearchResults;F[I"new;FI"Twitter::Cursor;F[I"new;FI"Twitter::Request;F[I"new;FI"Twitter::Arguments;F[I"new;FI"Twitter::GeoResults;F[I"new;FI"Twitter::Identity;F[I"new;FI"Twitter::Base;F[I"attr_reader;FI"define_attribute_method;FI"define_predicate_method;FI"define_uri_method;FI"deprecate_attribute_method;FI"display_uri_attr_reader;FI"new;FI"object_attr_reader;FI"predicate_attr_reader;FI"uri_attr_reader;FI"Twitter::Place;F[I"new;FI"Twitter::Error;F[ I" errors;FI"forbidden_messages;FI"from_response;FI"new;F@[I"new;FI"Twitter::Utils;F[I"flat_pmap;FI" included;FI" pmap;F: encodingIu: Encoding +UTF-8;F:instance_methods{II"Twitter::Client;F[I"access_token;FI"access_token_secret;FI"consumer_key;FI"consumer_secret;FI"credentials;FI"credentials?;FI" +proxy;FI"user_agent;FI"user_token?;FI"Twitter::TrendResults;F[ I" +as_of;FI" as_of?;FI" +attrs;FI" location;FI"location?;FI" to_h;FI"Twitter::Size;F[ +I"h;FI" height;FI" resize;FI"w;FI" +width;FI"Twitter::Entity;F[I" indices;FI"Twitter::Entity::Symbol;F[I" text;F@-[I" text;F@/[I"id;FI" name;FI"screen_name;FI"Twitter::Tweet;F[I"favorite_count;FI"filter_level;FI"full_text;FI"in_reply_to_attrs_id;FI"in_reply_to_screen_name;FI"in_reply_to_status_id;FI"in_reply_to_tweet_id;FI"in_reply_to_user_id;FI" lang;FI"retweet_count;FI" source;FI" text;FI"uri;FI"url;FI"Twitter::Geo;F[I"coordinates;FI" coords;FI"Twitter::Geo::Point;F[ +I"lat;FI" latitude;FI"lng;FI" long;FI"longitude;FI"Twitter::Trend;F[I" events;FI" name;FI" +query;F@C[I" user_id;F@E[I"before_request;FI"connection;FI" filter;FI" firehose;FI" sample;FI" site;FI"ssl_socket_class;FI"tcp_socket_class;FI" user;F@H[I" code;FI" message;FI"percent_full;F@J[I"ssl_socket_class;FI" stream;FI"tcp_socket_class;F@S[I"<<;FI" on_body;FI"on_headers_complete;F@V[ I" name;FI" source;FI" target;FI"target_object;FI"Twitter::BasicUser;F[I"screen_name;FI"Twitter::ProfileBanner;F[I" +sizes;FI"Twitter::SearchResults;F[I" +attrs;FI" to_h;FI"Twitter::Cursor;F[I" +attrs;FI" to_h;FI"Twitter::Request;F[I" client;FI" options;FI" path;FI" perform;FI"perform_with_cursor;FI"perform_with_object;FI"perform_with_objects;FI"request_method;FI" verb;FI"Twitter::Arguments;F[I" options;FI"Twitter::SavedSearch;F[I" name;FI" position;FI" +query;FI"Twitter::RateLimit;F[ +I" +limit;FI"remaining;FI" reset_at;FI" reset_in;FI"retry_after;FI"Twitter::Metadata;F[I"iso_language_code;FI"result_type;FI"Twitter::DirectMessage;F[I"full_text;FI" text;FI"Twitter::REST::Client;F[I"bearer_token;FI"bearer_token?;FI"connection_options;FI"connection_options=;FI"credentials?;FI"get;FI"middleware;FI"middleware=;FI" post;F@t[I"unparsable_status_codes;F@w[I"on_complete;FI" +parse;FI"unparsable_status_codes;F@z[I"on_complete;F@}[I" call;FI"Twitter::Configuration;F[I""characters_reserved_per_media;FI"max_media_per_upload;FI"non_username_paths;FI"photo_size_limit;FI"photo_sizes;FI"short_uri_length;FI"short_uri_length_https;FI"short_url_length;FI"short_url_length_https;FI"Twitter::GeoResults;F[I" +attrs;FI" to_h;FI" +token;FI"Twitter::Suggestion;F[ I" name;FI" size;FI" slug;FI" +users;FI"Twitter::Media::Photo;F[I" indices;FI" +sizes;FI"Twitter::Identity;F[I"id;FI"Twitter::Base;F[I"[];FI" +attrs;FI" to_h;FI"Twitter::OEmbed;F[ I"author_name;FI"cache_age;FI" height;FI" html;FI"provider_name;FI" type;FI" version;FI" +width;FI"Twitter::Settings;F[ I" language;FI"screen_name;FI"sleep_time;FI"time_zone;FI"Twitter::Language;F[I" code;FI" name;FI" status;FI"Twitter::List;F[I"description;FI"full_name;FI"member_count;FI"members_uri;FI"members_url;FI" mode;FI" name;FI" slug;FI"subscriber_count;FI"subscribers_uri;FI"subscribers_url;FI"uri;FI"url;FI"Twitter::Token;F[ I"access_token;FI" bearer?;FI" to_s;FI"token_type;FI"Twitter::User;F[!I"connections;FI"description;FI"entities?;FI"favorites_count;FI"favourites_count;FI"followers_count;FI"friends_count;FI" lang;FI"listed_count;FI" location;FI" name;FI"profile_background_color;FI"!profile_background_image_uri;FI"'profile_background_image_uri_https;FI"!profile_background_image_url;FI"'profile_background_image_url_https;FI"profile_link_color;FI"!profile_sidebar_border_color;FI"profile_sidebar_fill_color;FI"profile_text_color;FI"statuses_count;FI"time_zone;FI"tweets_count;FI"uri;FI"url;FI"utc_offset;FI" website;FI" website?;FI"Twitter::Place;F[ I"attributes;FI" country;FI"country_code;FI"full_name;FI" name;FI"parent_id;FI"place_type;FI"Twitter::Error;F[I" code;FI"rate_limit;FI"Twitter::Entities;F[I"entities?;FI" hashtags;FI"hashtags?;FI" +media;FI" media?;FI" symbols;FI" symbols?;FI" uris;FI" +uris?;FI" urls;FI" +urls?;FI"user_mentions;FI"user_mentions?;FI"Twitter::Profile;F[I"profile_banner_uri;FI"profile_banner_uri?;FI"profile_banner_uri_https;FI"profile_banner_url;FI"profile_banner_url_https;FI"profile_image_uri;FI"profile_image_uri?;FI"profile_image_uri_https;FI"profile_image_url;FI"profile_image_url_https;FI"Twitter::Creatable;F[I" created?;FI"created_at;FI"!Twitter::Utils::ClassMethods;F[I"deprecate_alias;F@[I"suggest_users;FI"suggestions;FI"Twitter::REST::OAuth;F[ I"bearer_token;FI"invalidate_token;FI"reverse_token;FI" +token;FI"Twitter::REST::Search;F[I" search;F@[I"following_followers_of;FI"tweet_count;F@[ I"create_saved_search;FI"destroy_saved_search;FI"saved_search;FI"saved_searches;F@[I"create_favorite!;FI"destroy_favorite;FI"fav;FI" fav!;FI" fave;FI" +fave!;FI" favorite;FI"favorite!;FI"favorites;FI"unfavorite;F@[ I"geo_search;FI" +place;FI"places_nearby;FI"places_similar;FI"reverse_geocode;FI"similar_places;FI"Twitter::REST::Users;F[I" +block;FI" block?;FI" blocked;FI"blocked_ids;FI"contributees;FI"contributors;FI"current_user;FI" mute;FI" +muted;FI"muted_ids;FI"profile_banner;FI"remove_profile_banner;FI" settings;FI" unblock;FI" unmute;FI"update_delivery_device;FI"update_profile;FI"$update_profile_background_image;FI"update_profile_banner;FI"update_profile_colors;FI"update_profile_image;FI" user;FI" +user?;FI"user_search;FI" +users;FI"verify_credentials;FI"Twitter::REST::Lists;F[I"add_list_member;FI"add_list_members;FI"create_list;FI"destroy_list;FI" list;FI"list_member?;FI"list_members;FI"list_subscribe;FI"list_subscriber?;FI"list_subscribers;FI"list_timeline;FI"list_unsubscribe;FI"list_update;FI" +lists;FI"lists_subscribed_to;FI"memberships;FI"owned_lists;FI"remove_list_member;FI"remove_list_members;FI"subscriptions;FI"Twitter::REST::Help;F[ I"configuration;FI"languages;FI" privacy;FI"tos;F@[I"report_spam;FI"Twitter::REST::Media;F[I" upload;FI"Twitter::REST::Tweets;F[I"destroy_status;FI"destroy_tweet;FI" oembed;FI" oembeds;FI" retweet;FI" retweet!;FI"retweeters_ids;FI"retweeters_of;FI" retweets;FI" status;FI" statuses;FI" update;FI" update!;FI"update_with_media;F@[I"create_friendship;FI"create_friendship!;FI"destroy_friendship;FI" follow;FI" follow!;FI"follower_ids;FI"followers;FI"following;FI"friend_ids;FI" friends;FI"friendship;FI"friendship?;FI"friendship_show;FI"friendship_update;FI"friendships;FI"friendships_incoming;FI"friendships_outgoing;FI"no_retweet_ids;FI"no_retweets_ids;FI"relationship;FI" unfollow;FI"Twitter::REST::Trends;F[ I"local_trends;FI"trend_locations;FI" trends;FI"trends_available;FI"trends_closest;FI"trends_place;F@[I"home_timeline;FI" mentions;FI"mentions_timeline;FI"retweeted_by;FI"retweeted_by_me;FI"retweeted_by_user;FI"retweeted_to_me;FI"retweets_of_me;FI"user_timeline;F@[I"create_direct_message;FI"d;FI"destroy_direct_message;FI"direct_message;FI"direct_messages;FI"direct_messages_received;FI"direct_messages_sent;FI"dm;FI"m;FI"Twitter::Enumerable;F[I" each;F: modules[rI" Twitter;FI"Twitter::Arguments;F@@ @GI"Twitter::Configuration;F@I"Twitter::Cursor;FI"Twitter::DirectMessage;F@3@(I"Twitter::Entity::Hashtag;FI"Twitter::Entity::Symbol;FI"Twitter::Entity::URI;FI"Twitter::Entity::URL;FI"!Twitter::Entity::UserMention;F@I"Twitter::Error;FI"%Twitter::Error::AlreadyFavorited;FI"%Twitter::Error::AlreadyRetweeted;FI"Twitter::Error::BadGateway;FI"Twitter::Error::BadRequest;F@I"Twitter::Error::Code;FI"'Twitter::Error::ConfigurationError;FI"$Twitter::Error::DuplicateStatus;F@I"#Twitter::Error::GatewayTimeout;FI"(Twitter::Error::InternalServerError;FI""Twitter::Error::NotAcceptable;FI"Twitter::Error::NotFound;FI"#Twitter::Error::RequestTimeout;F@I"'Twitter::Error::ServiceUnavailable;FI"$Twitter::Error::TooManyRequests;FI"#Twitter::Error::UnacceptableIO;FI"!Twitter::Error::Unauthorized;FI"(Twitter::Error::UnprocessableEntity;F@@:I"Twitter::Geo::Point;FI"Twitter::Geo::Polygon;FI"Twitter::GeoFactory;FI"Twitter::GeoResults;F@4I"Twitter::Language;FI"Twitter::List;FI"Twitter::Media;FI"Twitter::Media::Photo;FI"Twitter::MediaFactory;FI"Twitter::Metadata;FI"Twitter::OEmbed;FI"Twitter::Place;F@I"Twitter::ProfileBanner;FI"Twitter::REST;F@sI"Twitter::REST::Client;F@@@@@@@@I"Twitter::REST::Request;FI".Twitter::REST::Request::MultipartWithFile;FI"Twitter::REST::Response;FI",Twitter::REST::Response::ParseErrorJson;F@vI"(Twitter::REST::Response::RaiseError;F@@@@@@@@@@I"Twitter::RateLimit;FI"Twitter::Relationship;FI"Twitter::Request;FI"Twitter::SavedSearch;FI"Twitter::SearchResults;FI"Twitter::Settings;FI"Twitter::Size;FI"Twitter::SourceUser;FI"Twitter::Streaming;FI"Twitter::Streaming::Client;FI"#Twitter::Streaming::Connection;FI"%Twitter::Streaming::DeletedTweet;FI"Twitter::Streaming::Event;FI"#Twitter::Streaming::FriendList;FI"&Twitter::Streaming::MessageParser;FI"!Twitter::Streaming::Response;FI"%Twitter::Streaming::StallWarning;FI"Twitter::Suggestion;FI"Twitter::TargetUser;FI"Twitter::Token;FI"Twitter::Trend;FI"Twitter::TrendResults;FI"Twitter::Tweet;FI"Twitter::User;F@ I"!Twitter::Utils::ClassMethods;FI"Twitter::Version;F \ No newline at end of file diff --git a/.gems/doc/twitter-5.11.0/ri/created.rid b/.gems/doc/twitter-5.11.0/ri/created.rid new file mode 100644 index 0000000..9557ce0 --- /dev/null +++ b/.gems/doc/twitter-5.11.0/ri/created.rid @@ -0,0 +1,84 @@ +Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/target_user.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/entities.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/client.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/trend_results.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/media_factory.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/size.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/profile.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/source_user.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/relationship.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/creatable.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/geo_factory.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/version.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/entity/symbol.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/entity/uri.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/entity/hashtag.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/entity/user_mention.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/tweet.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/geo/point.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/geo/polygon.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/factory.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/utils.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/trend.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/streaming/deleted_tweet.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/streaming/client.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/streaming/stall_warning.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/streaming/connection.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/streaming/message_parser.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/streaming/friend_list.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/streaming/response.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/streaming/event.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/basic_user.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/profile_banner.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/search_results.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/geo.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/cursor.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/request.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/arguments.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/saved_search.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rate_limit.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/metadata.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/direct_message.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/client.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/api.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/suggested_users.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/oauth.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/response/parse_error_json.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/response/parse_json.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/response/raise_error.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/search.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/undocumented.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/saved_searches.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/favorites.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/utils.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/request/multipart_with_file.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/places_and_geo.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/users.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/lists.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/help.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/spam_reporting.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/media.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/tweets.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/friends_and_followers.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/trends.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/timelines.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/rest/direct_messages.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/configuration.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/geo_results.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/suggestion.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/null_object.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/media/photo.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/identity.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/base.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/oembed.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/settings.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/language.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/list.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/token.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/entity.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/user.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/enumerable.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/place.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter/error.rb Wed, 03 Sep 2014 10:27:28 +0200 +lib/twitter.rb Wed, 03 Sep 2014 10:27:28 +0200 diff --git a/.gems/gems/json-1.8.1/.gitignore b/.gems/gems/json-1.8.1/.gitignore new file mode 100644 index 0000000..297633e --- /dev/null +++ b/.gems/gems/json-1.8.1/.gitignore @@ -0,0 +1,13 @@ +.*.sw[pon] +coverage +tags +pkg +.nfs.* +.idea +java/Json.iml +Gemfile.lock +.rvmrc +*.rbc +.rbx +.AppleDouble +.DS_Store diff --git a/.gems/gems/json-1.8.1/.travis.yml b/.gems/gems/json-1.8.1/.travis.yml new file mode 100644 index 0000000..f5b49d0 --- /dev/null +++ b/.gems/gems/json-1.8.1/.travis.yml @@ -0,0 +1,20 @@ +# Passes arguments to bundle install (http://gembundler.com/man/bundle-install.1.html) +bundler_args: --binstubs + +# Specify which ruby versions you wish to run your tests on, each version will be used +rvm: + - 1.8.7 + - 1.9.2 + - 1.9.3 + - 2.0.0 + - ree + - rbx-18mode + - rbx-19mode + - jruby-18mode + - jruby-19mode + - ruby-head +matrix: + allow_failures: + - rvm: rbx-18mode + - rvm: rbx-19mode +script: "bundle exec rake" diff --git a/.gems/gems/json-1.8.1/CHANGES b/.gems/gems/json-1.8.1/CHANGES new file mode 100644 index 0000000..6a67cfc --- /dev/null +++ b/.gems/gems/json-1.8.1/CHANGES @@ -0,0 +1,284 @@ +2013-05-13 (1.8.1) + * Remove Rubinius exception since transcoding should be working now. +2013-05-13 (1.8.0) + * Fix https://github.com/flori/json/issues/162 reported by Marc-Andre + Lafortune . Thanks! + * Applied patches by Yui NARUSE to suppress warning with + -Wchar-subscripts and better validate UTF-8 strings. + * Applied patch by ginriki@github to remove unnecessary if. + * Add load/dump interface to JSON::GenericObject to make + serialize :some_attribute, JSON::GenericObject + work in Rails active models for convenient SomeModel#some_attribute.foo.bar + access to serialised JSON data. +2013-02-04 (1.7.7) + * Security fix for JSON create_additions default value and + JSON::GenericObject. It should not be possible to create additions unless + explicitely requested by setting the create_additions argument to true or + using the JSON.load/dump interface. If JSON::GenericObject is supposed to + be automatically deserialised, this has to be explicitely enabled by + setting + JSON::GenericObject.json_creatable = true + as well. + * Remove useless assert in fbuffer implementation. + * Apply patch attached to https://github.com/flori/json/issues#issue/155 + provided by John Shahid , Thx! + * Add license information to rubygems spec data, reported by Jordi Massaguer Pla . + * Improve documentation, thx to Zachary Scott . +2012-11-29 (1.7.6) + * Add GeneratorState#merge alias for JRuby, fix state accessor methods. Thx to + jvshahid@github. + * Increase hash likeness of state objects. +2012-08-17 (1.7.5) + * Fix compilation of extension on older rubies. +2012-07-26 (1.7.4) + * Fix compilation problem on AIX, see https://github.com/flori/json/issues/142 +2012-05-12 (1.7.3) + * Work around Rubinius encoding issues using iconv for conversion instead. +2012-05-11 (1.7.2) + * Fix some encoding issues, that cause problems for the pure and the + extension variant in jruby 1.9 mode. +2012-04-28 (1.7.1) + * Some small fixes for building +2012-04-28 (1.7.0) + * Add JSON::GenericObject for method access to objects transmitted via JSON. +2012-04-27 (1.6.7) + * Fix possible crash when trying to parse nil value. +2012-02-11 (1.6.6) + * Propagate src encoding to values made from it (fixes 1.9 mode converting + everything to ascii-8bit; harmless for 1.8 mode too) (Thomas E. Enebo + ), should fix + https://github.com/flori/json/issues#issue/119. + * Fix https://github.com/flori/json/issues#issue/124 Thx to Jason Hutchens. + * Fix https://github.com/flori/json/issues#issue/117 +2012-01-15 (1.6.5) + * Vit Ondruch reported a bug that shows up when using + optimisation under GCC 4.7. Thx to him, Bohuslav Kabrda + and Yui NARUSE for debugging and + developing a patch fix. +2011-12-24 (1.6.4) + * Patches that improve speed on JRuby contributed by Charles Oliver Nutter + . + * Support object_class/array_class with duck typed hash/array. +2011-12-01 (1.6.3) + * Let JSON.load('') return nil as well to make mysql text columns (default to + '') work better for serialization. +2011-11-21 (1.6.2) + * Add support for OpenStruct and BigDecimal. + * Fix bug when parsing nil in quirks_mode. + * Make JSON.dump and JSON.load methods better cooperate with Rails' serialize + method. Just use: serialize :value, JSON + * Fix bug with time serialization concerning nanoseconds. Thanks for the + patch go to Josh Partlow (jpartlow@github). + * Improve parsing speed for JSON numbers (integers and floats) in a similar way to + what Evan Phoenix suggested in: + https://github.com/flori/json/pull/103 +2011-09-18 (1.6.1) + * Using -target 1.5 to force Java bits to compile with 1.5. +2011-09-12 (1.6.0) + * Extract utilities (prettifier and GUI-editor) in its own gem json-utils. + * Split json/add/core into different files for classes to be serialised. +2011-08-31 (1.5.4) + * Fix memory leak when used from multiple JRuby. (Patch by + jfirebaugh@github). + * Apply patch by Eric Wong that fixes garbage collection problem + reported in https://github.com/flori/json/issues/46. + * Add :quirks_mode option to parser and generator. + * Add support for Rational and Complex number additions via json/add/complex + and json/add/rational requires. +2011-06-20 (1.5.3) + * Alias State#configure method as State#merge to increase duck type synonymy with Hash. + * Add as_json methods in json/add/core, so rails can create its json objects + the new way. +2011-05-11 (1.5.2) + * Apply documentation patch by Cory Monty . + * Add gemspecs for json and json_pure. + * Fix bug in jruby pretty printing. + * Fix bug in object_class and array_class when inheriting from Hash or Array. +2011-01-24 (1.5.1) + * Made rake-compiler build a fat binary gem. This should fix issue + https://github.com/flori/json/issues#issue/54. +2011-01-22 (1.5.0) + * Included Java source codes for the Jruby extension made by Daniel Luz + . + * Output full exception message of deep_const_get to aid debugging. + * Fixed an issue with ruby 1.9 Module#const_defined? method, that was + reported by Riley Goodside. +2010-08-09 (1.4.6) + * Fixed oversight reported in http://github.com/flori/json/issues/closed#issue/23, + always create a new object from the state prototype. + * Made pure and ext api more similar again. +2010-08-07 (1.4.5) + * Manage data structure nesting depth in state object during generation. This + should reduce problems with to_json method definіtions that only have one + argument. + * Some fixes in the state objects and additional tests. +2010-08-06 (1.4.4) + * Fixes build problem for rubinius under OS X, http://github.com/flori/json/issues/closed#issue/25 + * Fixes crashes described in http://github.com/flori/json/issues/closed#issue/21 and + http://github.com/flori/json/issues/closed#issue/23 +2010-05-05 (1.4.3) + * Fixed some test assertions, from Ruby r27587 and r27590, patch by nobu. + * Fixed issue http://github.com/flori/json/issues/#issue/20 reported by + electronicwhisper@github. Thx! +2010-04-26 (1.4.2) + * Applied patch from naruse Yui NARUSE to make building with + Microsoft Visual C possible again. + * Applied patch from devrandom in order to allow building of + json_pure if extensiontask is not present. + * Thanks to Dustin Schneider , who reported a memory + leak, which is fixed in this release. + * Applied 993f261ccb8f911d2ae57e9db48ec7acd0187283 patch from josh@github. +2010-04-25 (1.4.1) + * Fix for a bug reported by Dan DeLeo , caused by T_FIXNUM + being different on 32bit/64bit architectures. +2010-04-23 (1.4.0) + * Major speed improvements and building with simplified + directory/file-structure. + * Extension should at least be comapatible with MRI, YARV and Rubinius. +2010-04-07 (1.2.4) + * Triger const_missing callback to make Rails' dynamic class loading work. +2010-03-11 (1.2.3) + * Added a State#[] method which returns an attribute's value in order to + increase duck type compatibility to Hash. +2010-02-27 (1.2.2) + * Made some changes to make the building of the parser/generator compatible + to Rubinius. +2009-11-25 (1.2.1) + * Added :symbolize_names option to Parser, which returns symbols instead of + strings in object names/keys. +2009-10-01 (1.2.0) + * fast_generate now raises an exeception for nan and infinite floats. + * On Ruby 1.8 json supports parsing of UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, + and UTF-32LE JSON documents now. Under Ruby 1.9 the M17n conversion + functions are used to convert from all supported encodings. ASCII-8BIT + encoded strings are handled like all strings under Ruby 1.8 were. + * Better documentation +2009-08-23 (1.1.9) + * Added forgotten main doc file extra_rdoc_files. +2009-08-23 (1.1.8) + * Applied a patch by OZAWA Sakuro to make json/pure + work in environments that don't provide iconv. + * Applied patch by okkez_ in order to fix Ruby Bug #1768: + http://redmine.ruby-lang.org/issues/show/1768. + * Finally got around to avoid the rather paranoid escaping of ?/ characters + in the generator's output. The parsers aren't affected by this change. + Thanks to Rich Apodaca for the suggestion. +2009-06-29 (1.1.7) + * Security Fix for JSON::Pure::Parser. A specially designed string could + cause catastrophic backtracking in one of the parser's regular expressions + in earlier 1.1.x versions. JSON::Ext::Parser isn't affected by this issue. + Thanks to Bartosz Blimke for reporting this + problem. + * This release also uses a less strict ruby version requirement for the + creation of the mswin32 native gem. +2009-05-10 (1.1.6) + * No changes. І tested native linux gems in the last release and they don't + play well with different ruby versions other than the one the gem was built + with. This release is just to bump the version number in order to skip the + native gem on rubyforge. +2009-05-10 (1.1.5) + * Started to build gems with rake-compiler gem. + * Applied patch object/array class patch from Brian Candler + and fixes. +2009-04-01 (1.1.4) + * Fixed a bug in the creation of serialized generic rails objects reported by + Friedrich Graeter . + * Deleted tests/runner.rb, we're using testrb instead. + * Editor supports Infinity in numbers now. + * Made some changes in order to get the library to compile/run under Ruby + 1.9. + * Improved speed of the code path for the fast_generate method in the pure + variant. +2008-07-10 (1.1.3) + * Wesley Beary reported a bug in json/add/core's DateTime + handling: If the nominator and denominator of the offset were divisible by + each other Ruby's Rational#to_s returns them as an integer not a fraction + with '/'. This caused a ZeroDivisionError during parsing. + * Use Date#start and DateTime#start instead of sg method, while + remaining backwards compatible. + * Supports ragel >= 6.0 now. + * Corrected some tests. + * Some minor changes. +2007-11-27 (1.1.2) + * Remember default dir (last used directory) in editor. + * JSON::Editor.edit method added, the editor can now receive json texts from + the clipboard via C-v. + * Load json texts from an URL pasted via middle button press. + * Added :create_additions option to Parser. This makes it possible to disable + the creation of additions by force, in order to treat json texts as data + while having additions loaded. + * Jacob Maine reported, that JSON(:foo) outputs a JSON + object if the rails addition is enabled, which is wrong. It now outputs a + JSON string "foo" instead, like suggested by Jacob Maine. + * Discovered a bug in the Ruby Bugs Tracker on rubyforge, that was reported + by John Evans lgastako@gmail.com. He could produce a crash in the JSON + generator by returning something other than a String instance from a + to_json method. I now guard against this by doing a rather crude type + check, which raises an exception instead of crashing. +2007-07-06 (1.1.1) + * Yui NARUSE sent some patches to fix tests for Ruby + 1.9. I applied them and adapted some of them a bit to run both on 1.8 and + 1.9. + * Introduced a JSON.parse! method without depth checking for people who like + danger. + * Made generate and pretty_generate methods configurable by an options hash. + * Added :allow_nan option to parser and generator in order to handle NaN, + Infinity, and -Infinity correctly - if requested. Floats, which aren't numbers, + aren't valid JSON according to RFC4627, so by default an exception will be + raised if any of these symbols are encountered. Thanks to Andrea Censi + for his hint about this. + * Fixed some more tests for Ruby 1.9. + * Implemented dump/load interface of Marshal as suggested in ruby-core:11405 + by murphy . + * Implemented the max_nesting feature for generate methods, too. + * Added some implementations for ruby core's custom objects for + serialisation/deserialisation purposes. +2007-05-21 (1.1.0) + * Implemented max_nesting feature for parser to avoid stack overflows for + data from untrusted sources. If you trust the source, you can disable it + with the option max_nesting => false. + * Piers Cawley reported a bug, that not every + character can be escaped by ?\ as required by RFC4627. There's a + contradiction between David Crockford's JSON checker test vectors (in + tests/fixtures) and RFC4627, though. I decided to stick to the RFC, because + the JSON checker seems to be a bit older than the RFC. + * Extended license to Ruby License, which includes the GPL. + * Added keyboard shortcuts, and 'Open location' menu item to edit_json.rb. +2007-05-09 (1.0.4) + * Applied a patch from Yui NARUSE to make JSON compile + under Ruby 1.9. Thank you very much for mailing it to me! + * Made binary variants of JSON fail early, instead of falling back to the + pure version. This should avoid overshadowing of eventual problems while + loading of the binary. +2007-03-24 (1.0.3) + * Improved performance of pure variant a bit. + * The ext variant of this release supports the mswin32 platform. Ugh! +2007-03-24 (1.0.2) + * Ext Parser didn't parse 0e0 correctly into 0.0: Fixed! +2007-03-24 (1.0.1) + * Forgot some object files in the build dir. I really like that - not! +2007-03-24 (1.0.0) + * Added C implementations for the JSON generator and a ragel based JSON + parser in C. + * Much more tests, especially fixtures from json.org. + * Further improved conformance to RFC4627. +2007-02-09 (0.4.3) + * Conform more to RFC4627 for JSON: This means JSON strings + now always must contain exactly one object "{ ... }" or array "[ ... ]" in + order to be parsed without raising an exception. The definition of what + constitutes a whitespace is narrower in JSON than in Ruby ([ \t\r\n]), and + there are differences in floats and integers (no octals or hexadecimals) as + well. + * Added aliases generate and pretty_generate of unparse and pretty_unparse. + * Fixed a test case. + * Catch an Iconv::InvalidEncoding exception, that seems to occur on some Sun + boxes with SunOS 5.8, if iconv doesn't support utf16 conversions. This was + reported by Andrew R Jackson , thanks a bunch! +2006-08-25 (0.4.2) + * Fixed a bug in handling solidi (/-characters), that was reported by + Kevin Gilpin . +2006-02-06 (0.4.1) + * Fixed a bug related to escaping with backslashes. Thanks for the report go + to Florian Munz . +2005-09-23 (0.4.0) + * Initial Rubyforge Version diff --git a/.gems/gems/json-1.8.1/COPYING b/.gems/gems/json-1.8.1/COPYING new file mode 100644 index 0000000..c3a2126 --- /dev/null +++ b/.gems/gems/json-1.8.1/COPYING @@ -0,0 +1,58 @@ +Ruby is copyrighted free software by Yukihiro Matsumoto . +You can redistribute it and/or modify it under either the terms of the GPL +(see GPL file), or the conditions below: + + 1. You may make and give away verbatim copies of the source form of the + software without restriction, provided that you duplicate all of the + original copyright notices and associated disclaimers. + + 2. You may modify your copy of the software in any way, provided that + you do at least ONE of the following: + + a) place your modifications in the Public Domain or otherwise + make them Freely Available, such as by posting said + modifications to Usenet or an equivalent medium, or by allowing + the author to include your modifications in the software. + + b) use the modified software only within your corporation or + organization. + + c) rename any non-standard executables so the names do not conflict + with standard executables, which must also be provided. + + d) make other distribution arrangements with the author. + + 3. You may distribute the software in object code or executable + form, provided that you do at least ONE of the following: + + a) distribute the executables and library files of the software, + together with instructions (in the manual page or equivalent) + on where to get the original distribution. + + b) accompany the distribution with the machine-readable source of + the software. + + c) give non-standard executables non-standard names, with + instructions on where to get the original software distribution. + + d) make other distribution arrangements with the author. + + 4. You may modify and include the part of the software into any other + software (possibly commercial). But some files in the distribution + are not written by the author, so that they are not under this terms. + + They are gc.c(partly), utils.c(partly), regex.[ch], st.[ch] and some + files under the ./missing directory. See each file for the copying + condition. + + 5. The scripts and library files supplied as input to or produced as + output from the software do not automatically fall under the + copyright of the software, but belong to whomever generated them, + and may be sold commercially, and may be aggregated with this + software. + + 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE. + diff --git a/.gems/gems/json-1.8.1/COPYING-json-jruby b/.gems/gems/json-1.8.1/COPYING-json-jruby new file mode 100644 index 0000000..137a3da --- /dev/null +++ b/.gems/gems/json-1.8.1/COPYING-json-jruby @@ -0,0 +1,57 @@ +JSON-JRuby is copyrighted free software by Daniel Luz , +and is a derivative work of Florian Frank's json library . +You can redistribute it and/or modify it under either the terms of the GPL +version 2 (see the file GPL), or the conditions below: + + 1. You may make and give away verbatim copies of the source form of the + software without restriction, provided that you duplicate all of the + original copyright notices and associated disclaimers. + + 2. You may modify your copy of the software in any way, provided that + you do at least ONE of the following: + + a) place your modifications in the Public Domain or otherwise + make them Freely Available, such as by posting said + modifications to Usenet or an equivalent medium, or by allowing + the author to include your modifications in the software. + + b) use the modified software only within your corporation or + organization. + + c) give non-standard binaries non-standard names, with + instructions on where to get the original software distribution. + + d) make other distribution arrangements with the author. + + 3. You may distribute the software in object code or binary form, + provided that you do at least ONE of the following: + + a) distribute the binaries and library files of the software, + together with instructions (in the manual page or equivalent) + on where to get the original distribution. + + b) accompany the distribution with the machine-readable source of + the software. + + c) give non-standard binaries non-standard names, with + instructions on where to get the original software distribution. + + d) make other distribution arrangements with the author. + + 4. You may modify and include the part of the software into any other + software (possibly commercial). But some files in the distribution + are not written by the author, so that they are not under these terms. + + For the list of those files and their copying conditions, see the + file LEGAL. + + 5. The scripts and library files supplied as input to or produced as + output from the software do not automatically fall under the + copyright of the software, but belong to whomever generated them, + and may be sold commercially, and may be aggregated with this + software. + + 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE. diff --git a/.gems/gems/json-1.8.1/GPL b/.gems/gems/json-1.8.1/GPL new file mode 100644 index 0000000..db2fc45 --- /dev/null +++ b/.gems/gems/json-1.8.1/GPL @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/.gems/gems/json-1.8.1/Gemfile b/.gems/gems/json-1.8.1/Gemfile new file mode 100644 index 0000000..65d039b --- /dev/null +++ b/.gems/gems/json-1.8.1/Gemfile @@ -0,0 +1,11 @@ +# vim: set ft=ruby: + +source 'https://rubygems.org' + +gemspec :name => 'json' +gemspec :name => 'json_pure' +gemspec :name => 'json-java' + +gem 'utils' +gem 'test-unit' +gem 'debugger', :platform => :mri_19 diff --git a/.gems/gems/json-1.8.1/README-json-jruby.markdown b/.gems/gems/json-1.8.1/README-json-jruby.markdown new file mode 100644 index 0000000..1336837 --- /dev/null +++ b/.gems/gems/json-1.8.1/README-json-jruby.markdown @@ -0,0 +1,33 @@ +JSON-JRuby +========== + +JSON-JRuby is a port of Florian Frank's native +[`json` library](http://json.rubyforge.org/) to JRuby. +It aims to be a perfect drop-in replacement for `json_pure`. + + +Development version +=================== + +The latest version is available from the +[Git repository](http://github.com/mernen/json-jruby/tree): + + git clone git://github.com/mernen/json-jruby.git + + +Compiling +========= + +You'll need JRuby version 1.2 or greater to build JSON-JRuby. +Its path must be set on the `jruby.dir` property of +`nbproject/project.properties` (defaults to `../jruby`). + +Additionally, you'll need [Ant](http://ant.apache.org/), and +[Ragel](http://www.cs.queensu.ca/~thurston/ragel/) 6.4 or greater. + +Then, from the folder where the sources are located, type: + + ant clean jar + +to clean any leftovers from previous builds and generate the `.jar` files. +To generate a RubyGem, specify the `gem` action rather than `jar`. diff --git a/.gems/gems/json-1.8.1/README.rdoc b/.gems/gems/json-1.8.1/README.rdoc new file mode 100644 index 0000000..eda896f --- /dev/null +++ b/.gems/gems/json-1.8.1/README.rdoc @@ -0,0 +1,358 @@ += JSON implementation for Ruby {}[http://travis-ci.org/flori/json] + +== Description + +This is a implementation of the JSON specification according to RFC 4627 +http://www.ietf.org/rfc/rfc4627.txt . Starting from version 1.0.0 on there +will be two variants available: + +* A pure ruby variant, that relies on the iconv and the stringscan + extensions, which are both part of the ruby standard library. +* The quite a bit faster C extension variant, which is in parts implemented + in C and comes with its own unicode conversion functions and a parser + generated by the ragel state machine compiler + http://www.cs.queensu.ca/~thurston/ragel . + +Both variants of the JSON generator generate UTF-8 character sequences by +default. If an :ascii_only option with a true value is given, they escape all +non-ASCII and control characters with \uXXXX escape sequences, and support +UTF-16 surrogate pairs in order to be able to generate the whole range of +unicode code points. + +All strings, that are to be encoded as JSON strings, should be UTF-8 byte +sequences on the Ruby side. To encode raw binary strings, that aren't UTF-8 +encoded, please use the to_json_raw_object method of String (which produces +an object, that contains a byte array) and decode the result on the receiving +endpoint. + +The JSON parsers can parse UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE +JSON documents under Ruby 1.8. Under Ruby 1.9 they take advantage of Ruby's +M17n features and can parse all documents which have the correct +String#encoding set. If a document string has ASCII-8BIT as an encoding the +parser attempts to figure out which of the UTF encodings from above it is and +trys to parse it. + +== Installation + +It's recommended to use the extension variant of JSON, because it's faster than +the pure ruby variant. If you cannot build it on your system, you can settle +for the latter. + +Just type into the command line as root: + + # rake install + +The above command will build the extensions and install them on your system. + + # rake install_pure + +or + + # ruby install.rb + +will just install the pure ruby implementation of JSON. + +If you use Rubygems you can type + + # gem install json + +instead, to install the newest JSON version. + +There is also a pure ruby json only variant of the gem, that can be installed +with: + + # gem install json_pure + +== Compiling the extensions yourself + +If you want to build the extensions yourself you need rake: + + You can get it from rubyforge: + http://rubyforge.org/projects/rake + + or just type + + # gem install rake + + for the installation via rubygems. + +If you want to create the parser.c file from its parser.rl file or draw nice +graphviz images of the state machines, you need ragel from: http://www.cs.queensu.ca/~thurston/ragel + + +== Usage + +To use JSON you can + require 'json' +to load the installed variant (either the extension 'json' or the pure +variant 'json_pure'). If you have installed the extension variant, you can +pick either the extension variant or the pure variant by typing + require 'json/ext' +or + require 'json/pure' + +Now you can parse a JSON document into a ruby data structure by calling + + JSON.parse(document) + +If you want to generate a JSON document from a ruby data structure call + JSON.generate(data) + +You can also use the pretty_generate method (which formats the output more +verbosely and nicely) or fast_generate (which doesn't do any of the security +checks generate performs, e. g. nesting deepness checks). + +To create a valid JSON document you have to make sure, that the output is +embedded in either a JSON array [] or a JSON object {}. The easiest way to do +this, is by putting your values in a Ruby Array or Hash instance. + +There are also the JSON and JSON[] methods which use parse on a String or +generate a JSON document from an array or hash: + + document = JSON 'test' => 23 # => "{\"test\":23}" + document = JSON['test'] => 23 # => "{\"test\":23}" + +and + + data = JSON '{"test":23}' # => {"test"=>23} + data = JSON['{"test":23}'] # => {"test"=>23} + +You can choose to load a set of common additions to ruby core's objects if +you + require 'json/add/core' + +After requiring this you can, e. g., serialise/deserialise Ruby ranges: + + JSON JSON(1..10) # => 1..10 + +To find out how to add JSON support to other or your own classes, read the +section "More Examples" below. + +To get the best compatibility to rails' JSON implementation, you can + require 'json/add/rails' + +Both of the additions attempt to require 'json' (like above) first, if it has +not been required yet. + +== More Examples + +To create a JSON document from a ruby data structure, you can call +JSON.generate like that: + + json = JSON.generate [1, 2, {"a"=>3.141}, false, true, nil, 4..10] + # => "[1,2,{\"a\":3.141},false,true,null,\"4..10\"]" + +To get back a ruby data structure from a JSON document, you have to call +JSON.parse on it: + + JSON.parse json + # => [1, 2, {"a"=>3.141}, false, true, nil, "4..10"] + +Note, that the range from the original data structure is a simple +string now. The reason for this is, that JSON doesn't support ranges +or arbitrary classes. In this case the json library falls back to call +Object#to_json, which is the same as #to_s.to_json. + +It's possible to add JSON support serialization to arbitrary classes by +simply implementing a more specialized version of the #to_json method, that +should return a JSON object (a hash converted to JSON with #to_json) like +this (don't forget the *a for all the arguments): + + class Range + def to_json(*a) + { + 'json_class' => self.class.name, # = 'Range' + 'data' => [ first, last, exclude_end? ] + }.to_json(*a) + end + end + +The hash key 'json_class' is the class, that will be asked to deserialise the +JSON representation later. In this case it's 'Range', but any namespace of +the form 'A::B' or '::A::B' will do. All other keys are arbitrary and can be +used to store the necessary data to configure the object to be deserialised. + +If a the key 'json_class' is found in a JSON object, the JSON parser checks +if the given class responds to the json_create class method. If so, it is +called with the JSON object converted to a Ruby hash. So a range can +be deserialised by implementing Range.json_create like this: + + class Range + def self.json_create(o) + new(*o['data']) + end + end + +Now it possible to serialise/deserialise ranges as well: + + json = JSON.generate [1, 2, {"a"=>3.141}, false, true, nil, 4..10] + # => "[1,2,{\"a\":3.141},false,true,null,{\"json_class\":\"Range\",\"data\":[4,10,false]}]" + JSON.parse json + # => [1, 2, {"a"=>3.141}, false, true, nil, 4..10] + +JSON.generate always creates the shortest possible string representation of a +ruby data structure in one line. This is good for data storage or network +protocols, but not so good for humans to read. Fortunately there's also +JSON.pretty_generate (or JSON.pretty_generate) that creates a more readable +output: + + puts JSON.pretty_generate([1, 2, {"a"=>3.141}, false, true, nil, 4..10]) + [ + 1, + 2, + { + "a": 3.141 + }, + false, + true, + null, + { + "json_class": "Range", + "data": [ + 4, + 10, + false + ] + } + ] + +There are also the methods Kernel#j for generate, and Kernel#jj for +pretty_generate output to the console, that work analogous to Core Ruby's p and +the pp library's pp methods. + +The script tools/server.rb contains a small example if you want to test, how +receiving a JSON object from a webrick server in your browser with the +javasript prototype library http://www.prototypejs.org works. + +== Speed Comparisons + +I have created some benchmark results (see the benchmarks/data-p4-3Ghz +subdir of the package) for the JSON-parser to estimate the speed up in the C +extension: + + Comparing times (call_time_mean): + 1 ParserBenchmarkExt#parser 900 repeats: + 553.922304770 ( real) -> 21.500x + 0.001805307 + 2 ParserBenchmarkYAML#parser 1000 repeats: + 224.513358139 ( real) -> 8.714x + 0.004454078 + 3 ParserBenchmarkPure#parser 1000 repeats: + 26.755020642 ( real) -> 1.038x + 0.037376163 + 4 ParserBenchmarkRails#parser 1000 repeats: + 25.763381731 ( real) -> 1.000x + 0.038814780 + calls/sec ( time) -> speed covers + secs/call + +In the table above 1 is JSON::Ext::Parser, 2 is YAML.load with YAML +compatbile JSON document, 3 is is JSON::Pure::Parser, and 4 is +ActiveSupport::JSON.decode. The ActiveSupport JSON-decoder converts the +input first to YAML and then uses the YAML-parser, the conversion seems to +slow it down so much that it is only as fast as the JSON::Pure::Parser! + +If you look at the benchmark data you can see that this is mostly caused by +the frequent high outliers - the median of the Rails-parser runs is still +overall smaller than the median of the JSON::Pure::Parser runs: + + Comparing times (call_time_median): + 1 ParserBenchmarkExt#parser 900 repeats: + 800.592479481 ( real) -> 26.936x + 0.001249075 + 2 ParserBenchmarkYAML#parser 1000 repeats: + 271.002390644 ( real) -> 9.118x + 0.003690004 + 3 ParserBenchmarkRails#parser 1000 repeats: + 30.227910865 ( real) -> 1.017x + 0.033082008 + 4 ParserBenchmarkPure#parser 1000 repeats: + 29.722384421 ( real) -> 1.000x + 0.033644676 + calls/sec ( time) -> speed covers + secs/call + +I have benchmarked the JSON-Generator as well. This generated a few more +values, because there are different modes that also influence the achieved +speed: + + Comparing times (call_time_mean): + 1 GeneratorBenchmarkExt#generator_fast 1000 repeats: + 547.354332608 ( real) -> 15.090x + 0.001826970 + 2 GeneratorBenchmarkExt#generator_safe 1000 repeats: + 443.968212317 ( real) -> 12.240x + 0.002252414 + 3 GeneratorBenchmarkExt#generator_pretty 900 repeats: + 375.104545883 ( real) -> 10.341x + 0.002665923 + 4 GeneratorBenchmarkPure#generator_fast 1000 repeats: + 49.978706968 ( real) -> 1.378x + 0.020008521 + 5 GeneratorBenchmarkRails#generator 1000 repeats: + 38.531868759 ( real) -> 1.062x + 0.025952543 + 6 GeneratorBenchmarkPure#generator_safe 1000 repeats: + 36.927649925 ( real) -> 1.018x 7 (>=3859) + 0.027079979 + 7 GeneratorBenchmarkPure#generator_pretty 1000 repeats: + 36.272134441 ( real) -> 1.000x 6 (>=3859) + 0.027569373 + calls/sec ( time) -> speed covers + secs/call + +In the table above 1-3 are JSON::Ext::Generator methods. 4, 6, and 7 are +JSON::Pure::Generator methods and 5 is the Rails JSON generator. It is now a +bit faster than the generator_safe and generator_pretty methods of the pure +variant but slower than the others. + +To achieve the fastest JSON document output, you can use the fast_generate +method. Beware, that this will disable the checking for circular Ruby data +structures, which may cause JSON to go into an infinite loop. + +Here are the median comparisons for completeness' sake: + + Comparing times (call_time_median): + 1 GeneratorBenchmarkExt#generator_fast 1000 repeats: + 708.258020939 ( real) -> 16.547x + 0.001411915 + 2 GeneratorBenchmarkExt#generator_safe 1000 repeats: + 569.105020353 ( real) -> 13.296x + 0.001757145 + 3 GeneratorBenchmarkExt#generator_pretty 900 repeats: + 482.825371244 ( real) -> 11.280x + 0.002071142 + 4 GeneratorBenchmarkPure#generator_fast 1000 repeats: + 62.717626652 ( real) -> 1.465x + 0.015944481 + 5 GeneratorBenchmarkRails#generator 1000 repeats: + 43.965681162 ( real) -> 1.027x + 0.022745013 + 6 GeneratorBenchmarkPure#generator_safe 1000 repeats: + 43.929073409 ( real) -> 1.026x 7 (>=3859) + 0.022763968 + 7 GeneratorBenchmarkPure#generator_pretty 1000 repeats: + 42.802514491 ( real) -> 1.000x 6 (>=3859) + 0.023363113 + calls/sec ( time) -> speed covers + secs/call + +== Author + +Florian Frank + +== License + +Ruby License, see the COPYING file included in the source distribution. The +Ruby License includes the GNU General Public License (GPL), Version 2, so see +the file GPL as well. + +== Download + +The latest version of this library can be downloaded at + +* http://rubyforge.org/frs?group_id=953 + +Online Documentation should be located at + +* http://json.rubyforge.org diff --git a/.gems/gems/json-1.8.1/Rakefile b/.gems/gems/json-1.8.1/Rakefile new file mode 100644 index 0000000..1d13c2c --- /dev/null +++ b/.gems/gems/json-1.8.1/Rakefile @@ -0,0 +1,412 @@ +begin + require 'rubygems/package_task' +rescue LoadError +end + +require 'rbconfig' +include\ + begin + RbConfig + rescue NameError + Config + end + +require 'rake/clean' +CLOBBER.include 'doc', 'Gemfile.lock' +CLEAN.include FileList['diagrams/*.*'], 'doc', 'coverage', 'tmp', + FileList["ext/**/{Makefile,mkmf.log}"], 'build', 'dist', FileList['**/*.rbc'], + FileList["{ext,lib}/**/*.{so,bundle,#{CONFIG['DLEXT']},o,obj,pdb,lib,manifest,exp,def,jar,class,dSYM}"], + FileList['java/src/**/*.class'] + +require 'rake/testtask' +class UndocumentedTestTask < Rake::TestTask + def desc(*) end +end + +def skip_sdoc(src) + src.gsub(/^.*sdoc.*/) { |s| s + ' if RUBY_VERSION > "1.8.6"' } +end + +MAKE = ENV['MAKE'] || %w[gmake make].find { |c| system(c, '-v') } +BUNDLE = ENV['BUNDLE'] || %w[bundle].find { |c| system(c, '-v') } +PKG_NAME = 'json' +PKG_TITLE = 'JSON Implementation for Ruby' +PKG_VERSION = File.read('VERSION').chomp +PKG_FILES = FileList[`git ls-files`.split(/\n/)] + +EXT_ROOT_DIR = 'ext/json/ext' +EXT_PARSER_DIR = "#{EXT_ROOT_DIR}/parser" +EXT_PARSER_DL = "#{EXT_PARSER_DIR}/parser.#{CONFIG['DLEXT']}" +RAGEL_PATH = "#{EXT_PARSER_DIR}/parser.rl" +EXT_PARSER_SRC = "#{EXT_PARSER_DIR}/parser.c" +EXT_GENERATOR_DIR = "#{EXT_ROOT_DIR}/generator" +EXT_GENERATOR_DL = "#{EXT_GENERATOR_DIR}/generator.#{CONFIG['DLEXT']}" +EXT_GENERATOR_SRC = "#{EXT_GENERATOR_DIR}/generator.c" + +JAVA_DIR = "java/src/json/ext" +JAVA_RAGEL_PATH = "#{JAVA_DIR}/Parser.rl" +JAVA_PARSER_SRC = "#{JAVA_DIR}/Parser.java" +JAVA_SOURCES = FileList["#{JAVA_DIR}/*.java"] +JAVA_CLASSES = [] +JRUBY_PARSER_JAR = File.expand_path("lib/json/ext/parser.jar") +JRUBY_GENERATOR_JAR = File.expand_path("lib/json/ext/generator.jar") + +RAGEL_CODEGEN = %w[rlcodegen rlgen-cd ragel].find { |c| system(c, '-v') } +RAGEL_DOTGEN = %w[rlgen-dot rlgen-cd ragel].find { |c| system(c, '-v') } + +desc "Installing library (pure)" +task :install_pure => :version do + ruby 'install.rb' +end + +task :install_ext_really do + sitearchdir = CONFIG["sitearchdir"] + cd 'ext' do + for file in Dir["json/ext/*.#{CONFIG['DLEXT']}"] + d = File.join(sitearchdir, file) + mkdir_p File.dirname(d) + install(file, d) + end + warn " *** Installed EXT ruby library." + end +end + +desc "Installing library (extension)" +task :install_ext => [ :compile, :install_pure, :install_ext_really ] + +desc "Installing library (extension)" +task :install => :install_ext + +if defined?(Gem) and defined?(Gem::PackageTask) + spec_pure = Gem::Specification.new do |s| + s.name = 'json_pure' + s.version = PKG_VERSION + s.summary = PKG_TITLE + s.description = "This is a JSON implementation in pure Ruby." + + s.files = PKG_FILES + + s.require_path = 'lib' + s.add_development_dependency 'permutation' + s.add_development_dependency 'sdoc', '~>0.3.16' + s.add_development_dependency 'rake', '~>0.9.2' + + s.extra_rdoc_files << 'README.rdoc' + s.rdoc_options << + '--title' << 'JSON implemention for ruby' << '--main' << 'README.rdoc' + s.test_files.concat Dir['./tests/test_*.rb'] + + s.author = "Florian Frank" + s.email = "flori@ping.de" + s.homepage = "http://flori.github.com/#{PKG_NAME}" + s.license = 'Ruby' + end + + desc 'Creates a json_pure.gemspec file' + task :gemspec_pure => :version do + File.open('json_pure.gemspec', 'w') do |gemspec| + gemspec.write skip_sdoc(spec_pure.to_ruby) + end + end + + Gem::PackageTask.new(spec_pure) do |pkg| + pkg.need_tar = true + pkg.package_files = PKG_FILES + end + + spec_ext = Gem::Specification.new do |s| + s.name = 'json' + s.version = PKG_VERSION + s.summary = PKG_TITLE + s.description = "This is a JSON implementation as a Ruby extension in C." + + s.files = PKG_FILES + + s.extensions = FileList['ext/**/extconf.rb'] + + s.require_path = 'lib' + s.add_development_dependency 'permutation' + s.add_development_dependency 'sdoc', '~>0.3.16' + + s.extra_rdoc_files << 'README.rdoc' + s.rdoc_options << + '--title' << 'JSON implemention for Ruby' << '--main' << 'README.rdoc' + s.test_files.concat Dir['./tests/test_*.rb'] + + s.author = "Florian Frank" + s.email = "flori@ping.de" + s.homepage = "http://flori.github.com/#{PKG_NAME}" + s.license = 'Ruby' + end + + desc 'Creates a json.gemspec file' + task :gemspec_ext => :version do + File.open('json.gemspec', 'w') do |gemspec| + gemspec.write skip_sdoc(spec_ext.to_ruby) + end + end + + Gem::PackageTask.new(spec_ext) do |pkg| + pkg.need_tar = true + pkg.package_files = PKG_FILES + end + + + desc 'Create all gemspec files' + task :gemspec => [ :gemspec_pure, :gemspec_ext ] +end + +desc m = "Writing version information for #{PKG_VERSION}" +task :version do + puts m + File.open(File.join('lib', 'json', 'version.rb'), 'w') do |v| + v.puts < [ :clean, :do_test_pure ] + +UndocumentedTestTask.new do |t| + t.name = 'do_test_pure' + t.libs << 'lib' + t.test_files = FileList['tests/test_*.rb'] + t.verbose = true + t.options = '-v' +end + +desc "Testing library (pure ruby and extension)" +task :test do + sh "env JSON=pure #{BUNDLE} exec rake test_pure" or exit 1 + sh "env JSON=ext #{BUNDLE} exec rake test_ext" or exit 1 +end + +namespace :gems do + desc 'Install all development gems' + task :install do + sh "#{BUNDLE}" + end +end + +if defined?(RUBY_ENGINE) and RUBY_ENGINE == 'jruby' + if ENV.key?('JAVA_HOME') + warn " *** JAVA_HOME was set to #{ENV['JAVA_HOME'].inspect}" + elsif File.directory?(local_java = '/usr/local/java/jdk') || + File.directory?(local_java = '/usr/lib/jvm/java-6-openjdk') + then + ENV['JAVA_HOME'] = local_java + end + if ENV['JAVA_HOME'] + warn " *** JAVA_HOME is set to #{ENV['JAVA_HOME'].inspect}" + ENV['PATH'] = ENV['PATH'].split(/:/).unshift(java_path = "#{ENV['JAVA_HOME']}/bin") * ':' + warn " *** java binaries are assumed to be in #{java_path.inspect}" + else + warn " *** JAVA_HOME was not set or could not be guessed!" + exit 1 + end + + file JAVA_PARSER_SRC => JAVA_RAGEL_PATH do + cd JAVA_DIR do + if RAGEL_CODEGEN == 'ragel' + sh "ragel Parser.rl -J -o Parser.java" + else + sh "ragel -x Parser.rl | #{RAGEL_CODEGEN} -J" + end + end + end + + desc "Generate parser for java with ragel" + task :ragel => JAVA_PARSER_SRC + + desc "Delete the ragel generated Java source" + task :ragel_clean do + rm_rf JAVA_PARSER_SRC + end + + JRUBY_JAR = File.join(CONFIG["libdir"], "jruby.jar") + if File.exist?(JRUBY_JAR) + JAVA_SOURCES.each do |src| + classpath = (Dir['java/lib/*.jar'] << 'java/src' << JRUBY_JAR) * ':' + obj = src.sub(/\.java\Z/, '.class') + file obj => src do + sh 'javac', '-classpath', classpath, '-source', '1.5', '-target', '1.5', src + end + JAVA_CLASSES << obj + end + else + warn "WARNING: Cannot find jruby in path => Cannot build jruby extension!" + end + + desc "Compiling jruby extension" + task :compile => JAVA_CLASSES + + desc "Package the jruby gem" + task :jruby_gem => :create_jar do + sh 'gem build json-java.gemspec' + mkdir_p 'pkg' + mv "json-#{PKG_VERSION}-java.gem", 'pkg' + end + + desc "Testing library (jruby)" + task :test_ext => [ :create_jar, :do_test_ext ] + + UndocumentedTestTask.new do |t| + t.name = 'do_test_ext' + t.libs << 'lib' + t.test_files = FileList['tests/test_*.rb'] + t.verbose = true + t.options = '-v' + end + + file JRUBY_PARSER_JAR => :compile do + cd 'java/src' do + parser_classes = FileList[ + "json/ext/ByteListTranscoder*.class", + "json/ext/OptionsReader*.class", + "json/ext/Parser*.class", + "json/ext/RuntimeInfo*.class", + "json/ext/StringDecoder*.class", + "json/ext/Utils*.class" + ] + sh 'jar', 'cf', File.basename(JRUBY_PARSER_JAR), *parser_classes + mv File.basename(JRUBY_PARSER_JAR), File.dirname(JRUBY_PARSER_JAR) + end + end + + desc "Create parser jar" + task :create_parser_jar => JRUBY_PARSER_JAR + + file JRUBY_GENERATOR_JAR => :compile do + cd 'java/src' do + generator_classes = FileList[ + "json/ext/ByteListTranscoder*.class", + "json/ext/OptionsReader*.class", + "json/ext/Generator*.class", + "json/ext/RuntimeInfo*.class", + "json/ext/StringEncoder*.class", + "json/ext/Utils*.class" + ] + sh 'jar', 'cf', File.basename(JRUBY_GENERATOR_JAR), *generator_classes + mv File.basename(JRUBY_GENERATOR_JAR), File.dirname(JRUBY_GENERATOR_JAR) + end + end + + desc "Create generator jar" + task :create_generator_jar => JRUBY_GENERATOR_JAR + + desc "Create parser and generator jars" + task :create_jar => [ :create_parser_jar, :create_generator_jar ] + + desc "Build all gems and archives for a new release of the jruby extension." + task :build => [ :clean, :version, :jruby_gem ] + + task :release => :build +else + desc "Compiling extension" + task :compile => [ EXT_PARSER_DL, EXT_GENERATOR_DL ] + + file EXT_PARSER_DL => EXT_PARSER_SRC do + cd EXT_PARSER_DIR do + ruby 'extconf.rb' + sh MAKE + end + cp "#{EXT_PARSER_DIR}/parser.#{CONFIG['DLEXT']}", EXT_ROOT_DIR + end + + file EXT_GENERATOR_DL => EXT_GENERATOR_SRC do + cd EXT_GENERATOR_DIR do + ruby 'extconf.rb' + sh MAKE + end + cp "#{EXT_GENERATOR_DIR}/generator.#{CONFIG['DLEXT']}", EXT_ROOT_DIR + end + + desc "Testing library (extension)" + task :test_ext => [ :compile, :do_test_ext ] + + UndocumentedTestTask.new do |t| + t.name = 'do_test_ext' + t.libs << 'ext' << 'lib' + t.test_files = FileList['tests/test_*.rb'] + t.verbose = true + t.options = '-v' + end + + desc "Create RDOC documentation" + task :doc => [ :version, EXT_PARSER_SRC ] do + sh "sdoc -o doc -t '#{PKG_TITLE}' -m README.rdoc README.rdoc lib/json.rb #{FileList['lib/json/**/*.rb']} #{EXT_PARSER_SRC} #{EXT_GENERATOR_SRC}" + end + + desc "Generate parser with ragel" + task :ragel => EXT_PARSER_SRC + + desc "Delete the ragel generated C source" + task :ragel_clean do + rm_rf EXT_PARSER_SRC + end + + desc "Update the tags file" + task :tags do + system 'ctags', *Dir['**/*.{rb,c,h,java}'] + end + + file EXT_PARSER_SRC => RAGEL_PATH do + cd EXT_PARSER_DIR do + if RAGEL_CODEGEN == 'ragel' + sh "ragel parser.rl -G2 -o parser.c" + else + sh "ragel -x parser.rl | #{RAGEL_CODEGEN} -G2" + end + src = File.read("parser.c").gsub(/[ \t]+$/, '') + File.open("parser.c", "w") {|f| f.print src} + end + end + + desc "Generate diagrams of ragel parser (ps)" + task :ragel_dot_ps do + root = 'diagrams' + specs = [] + File.new(RAGEL_PATH).grep(/^\s*machine\s*(\S+);\s*$/) { specs << $1 } + for s in specs + if RAGEL_DOTGEN == 'ragel' + sh "ragel #{RAGEL_PATH} -S#{s} -p -V | dot -Tps -o#{root}/#{s}.ps" + else + sh "ragel -x #{RAGEL_PATH} -S#{s} | #{RAGEL_DOTGEN} -p|dot -Tps -o#{root}/#{s}.ps" + end + end + end + + desc "Generate diagrams of ragel parser (png)" + task :ragel_dot_png do + root = 'diagrams' + specs = [] + File.new(RAGEL_PATH).grep(/^\s*machine\s*(\S+);\s*$/) { specs << $1 } + for s in specs + if RAGEL_DOTGEN == 'ragel' + sh "ragel #{RAGEL_PATH} -S#{s} -p -V | dot -Tpng -o#{root}/#{s}.png" + else + sh "ragel -x #{RAGEL_PATH} -S#{s} | #{RAGEL_DOTGEN} -p|dot -Tpng -o#{root}/#{s}.png" + end + end + end + + desc "Generate diagrams of ragel parser" + task :ragel_dot => [ :ragel_dot_png, :ragel_dot_ps ] + + desc "Build all gems and archives for a new release of json and json_pure." + task :build => [ :clean, :gemspec, :package ] + + task :release => :build +end + +desc "Compile in the the source directory" +task :default => [ :clean, :gemspec, :test ] diff --git a/.gems/gems/json-1.8.1/TODO b/.gems/gems/json-1.8.1/TODO new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.gems/gems/json-1.8.1/TODO @@ -0,0 +1 @@ + diff --git a/.gems/gems/json-1.8.1/VERSION b/.gems/gems/json-1.8.1/VERSION new file mode 100644 index 0000000..a8fdfda --- /dev/null +++ b/.gems/gems/json-1.8.1/VERSION @@ -0,0 +1 @@ +1.8.1 diff --git a/.gems/gems/json-1.8.1/data/example.json b/.gems/gems/json-1.8.1/data/example.json new file mode 100644 index 0000000..88b4e82 --- /dev/null +++ b/.gems/gems/json-1.8.1/data/example.json @@ -0,0 +1 @@ +{"a":2,"b":3.141,"TIME":"2007-03-14T11:52:40","c":"c","d":[1,"b",3.14],"COUNT":666,"e":{"foo":"bar"},"foo":"B\u00e4r","g":"\u677e\u672c\u884c\u5f18","h":1000.0,"bar":"\u00a9 \u2260 \u20ac!","i":0.001,"j":"\ud840\udc01"} diff --git a/.gems/gems/json-1.8.1/data/index.html b/.gems/gems/json-1.8.1/data/index.html new file mode 100644 index 0000000..abe6fdb --- /dev/null +++ b/.gems/gems/json-1.8.1/data/index.html @@ -0,0 +1,38 @@ + + + + Javascript Example + + + + + +

Fetching object from server

+
+ Wait...
+ +
+ + + diff --git a/.gems/gems/json-1.8.1/data/prototype.js b/.gems/gems/json-1.8.1/data/prototype.js new file mode 100644 index 0000000..5c73462 --- /dev/null +++ b/.gems/gems/json-1.8.1/data/prototype.js @@ -0,0 +1,4184 @@ +/* Prototype JavaScript framework, version 1.6.0 + * (c) 2005-2007 Sam Stephenson + * + * Prototype is freely distributable under the terms of an MIT-style license. + * For details, see the Prototype web site: http://www.prototypejs.org/ + * + *--------------------------------------------------------------------------*/ + +var Prototype = { + Version: '1.6.0', + + Browser: { + IE: !!(window.attachEvent && !window.opera), + Opera: !!window.opera, + WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1, + Gecko: navigator.userAgent.indexOf('Gecko') > -1 && navigator.userAgent.indexOf('KHTML') == -1, + MobileSafari: !!navigator.userAgent.match(/Apple.*Mobile.*Safari/) + }, + + BrowserFeatures: { + XPath: !!document.evaluate, + ElementExtensions: !!window.HTMLElement, + SpecificElementExtensions: + document.createElement('div').__proto__ && + document.createElement('div').__proto__ !== + document.createElement('form').__proto__ + }, + + ScriptFragment: ']*>([\\S\\s]*?)<\/script>', + JSONFilter: /^\/\*-secure-([\s\S]*)\*\/\s*$/, + + emptyFunction: function() { }, + K: function(x) { return x } +}; + +if (Prototype.Browser.MobileSafari) + Prototype.BrowserFeatures.SpecificElementExtensions = false; + +if (Prototype.Browser.WebKit) + Prototype.BrowserFeatures.XPath = false; + +/* Based on Alex Arnell's inheritance implementation. */ +var Class = { + create: function() { + var parent = null, properties = $A(arguments); + if (Object.isFunction(properties[0])) + parent = properties.shift(); + + function klass() { + this.initialize.apply(this, arguments); + } + + Object.extend(klass, Class.Methods); + klass.superclass = parent; + klass.subclasses = []; + + if (parent) { + var subclass = function() { }; + subclass.prototype = parent.prototype; + klass.prototype = new subclass; + parent.subclasses.push(klass); + } + + for (var i = 0; i < properties.length; i++) + klass.addMethods(properties[i]); + + if (!klass.prototype.initialize) + klass.prototype.initialize = Prototype.emptyFunction; + + klass.prototype.constructor = klass; + + return klass; + } +}; + +Class.Methods = { + addMethods: function(source) { + var ancestor = this.superclass && this.superclass.prototype; + var properties = Object.keys(source); + + if (!Object.keys({ toString: true }).length) + properties.push("toString", "valueOf"); + + for (var i = 0, length = properties.length; i < length; i++) { + var property = properties[i], value = source[property]; + if (ancestor && Object.isFunction(value) && + value.argumentNames().first() == "$super") { + var method = value, value = Object.extend((function(m) { + return function() { return ancestor[m].apply(this, arguments) }; + })(property).wrap(method), { + valueOf: function() { return method }, + toString: function() { return method.toString() } + }); + } + this.prototype[property] = value; + } + + return this; + } +}; + +var Abstract = { }; + +Object.extend = function(destination, source) { + for (var property in source) + destination[property] = source[property]; + return destination; +}; + +Object.extend(Object, { + inspect: function(object) { + try { + if (object === undefined) return 'undefined'; + if (object === null) return 'null'; + return object.inspect ? object.inspect() : object.toString(); + } catch (e) { + if (e instanceof RangeError) return '...'; + throw e; + } + }, + + toJSON: function(object) { + var type = typeof object; + switch (type) { + case 'undefined': + case 'function': + case 'unknown': return; + case 'boolean': return object.toString(); + } + + if (object === null) return 'null'; + if (object.toJSON) return object.toJSON(); + if (Object.isElement(object)) return; + + var results = []; + for (var property in object) { + var value = Object.toJSON(object[property]); + if (value !== undefined) + results.push(property.toJSON() + ': ' + value); + } + + return '{' + results.join(', ') + '}'; + }, + + toQueryString: function(object) { + return $H(object).toQueryString(); + }, + + toHTML: function(object) { + return object && object.toHTML ? object.toHTML() : String.interpret(object); + }, + + keys: function(object) { + var keys = []; + for (var property in object) + keys.push(property); + return keys; + }, + + values: function(object) { + var values = []; + for (var property in object) + values.push(object[property]); + return values; + }, + + clone: function(object) { + return Object.extend({ }, object); + }, + + isElement: function(object) { + return object && object.nodeType == 1; + }, + + isArray: function(object) { + return object && object.constructor === Array; + }, + + isHash: function(object) { + return object instanceof Hash; + }, + + isFunction: function(object) { + return typeof object == "function"; + }, + + isString: function(object) { + return typeof object == "string"; + }, + + isNumber: function(object) { + return typeof object == "number"; + }, + + isUndefined: function(object) { + return typeof object == "undefined"; + } +}); + +Object.extend(Function.prototype, { + argumentNames: function() { + var names = this.toString().match(/^[\s\(]*function[^(]*\((.*?)\)/)[1].split(",").invoke("strip"); + return names.length == 1 && !names[0] ? [] : names; + }, + + bind: function() { + if (arguments.length < 2 && arguments[0] === undefined) return this; + var __method = this, args = $A(arguments), object = args.shift(); + return function() { + return __method.apply(object, args.concat($A(arguments))); + } + }, + + bindAsEventListener: function() { + var __method = this, args = $A(arguments), object = args.shift(); + return function(event) { + return __method.apply(object, [event || window.event].concat(args)); + } + }, + + curry: function() { + if (!arguments.length) return this; + var __method = this, args = $A(arguments); + return function() { + return __method.apply(this, args.concat($A(arguments))); + } + }, + + delay: function() { + var __method = this, args = $A(arguments), timeout = args.shift() * 1000; + return window.setTimeout(function() { + return __method.apply(__method, args); + }, timeout); + }, + + wrap: function(wrapper) { + var __method = this; + return function() { + return wrapper.apply(this, [__method.bind(this)].concat($A(arguments))); + } + }, + + methodize: function() { + if (this._methodized) return this._methodized; + var __method = this; + return this._methodized = function() { + return __method.apply(null, [this].concat($A(arguments))); + }; + } +}); + +Function.prototype.defer = Function.prototype.delay.curry(0.01); + +Date.prototype.toJSON = function() { + return '"' + this.getUTCFullYear() + '-' + + (this.getUTCMonth() + 1).toPaddedString(2) + '-' + + this.getUTCDate().toPaddedString(2) + 'T' + + this.getUTCHours().toPaddedString(2) + ':' + + this.getUTCMinutes().toPaddedString(2) + ':' + + this.getUTCSeconds().toPaddedString(2) + 'Z"'; +}; + +var Try = { + these: function() { + var returnValue; + + for (var i = 0, length = arguments.length; i < length; i++) { + var lambda = arguments[i]; + try { + returnValue = lambda(); + break; + } catch (e) { } + } + + return returnValue; + } +}; + +RegExp.prototype.match = RegExp.prototype.test; + +RegExp.escape = function(str) { + return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'); +}; + +/*--------------------------------------------------------------------------*/ + +var PeriodicalExecuter = Class.create({ + initialize: function(callback, frequency) { + this.callback = callback; + this.frequency = frequency; + this.currentlyExecuting = false; + + this.registerCallback(); + }, + + registerCallback: function() { + this.timer = setInterval(this.onTimerEvent.bind(this), this.frequency * 1000); + }, + + execute: function() { + this.callback(this); + }, + + stop: function() { + if (!this.timer) return; + clearInterval(this.timer); + this.timer = null; + }, + + onTimerEvent: function() { + if (!this.currentlyExecuting) { + try { + this.currentlyExecuting = true; + this.execute(); + } finally { + this.currentlyExecuting = false; + } + } + } +}); +Object.extend(String, { + interpret: function(value) { + return value == null ? '' : String(value); + }, + specialChar: { + '\b': '\\b', + '\t': '\\t', + '\n': '\\n', + '\f': '\\f', + '\r': '\\r', + '\\': '\\\\' + } +}); + +Object.extend(String.prototype, { + gsub: function(pattern, replacement) { + var result = '', source = this, match; + replacement = arguments.callee.prepareReplacement(replacement); + + while (source.length > 0) { + if (match = source.match(pattern)) { + result += source.slice(0, match.index); + result += String.interpret(replacement(match)); + source = source.slice(match.index + match[0].length); + } else { + result += source, source = ''; + } + } + return result; + }, + + sub: function(pattern, replacement, count) { + replacement = this.gsub.prepareReplacement(replacement); + count = count === undefined ? 1 : count; + + return this.gsub(pattern, function(match) { + if (--count < 0) return match[0]; + return replacement(match); + }); + }, + + scan: function(pattern, iterator) { + this.gsub(pattern, iterator); + return String(this); + }, + + truncate: function(length, truncation) { + length = length || 30; + truncation = truncation === undefined ? '...' : truncation; + return this.length > length ? + this.slice(0, length - truncation.length) + truncation : String(this); + }, + + strip: function() { + return this.replace(/^\s+/, '').replace(/\s+$/, ''); + }, + + stripTags: function() { + return this.replace(/<\/?[^>]+>/gi, ''); + }, + + stripScripts: function() { + return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), ''); + }, + + extractScripts: function() { + var matchAll = new RegExp(Prototype.ScriptFragment, 'img'); + var matchOne = new RegExp(Prototype.ScriptFragment, 'im'); + return (this.match(matchAll) || []).map(function(scriptTag) { + return (scriptTag.match(matchOne) || ['', ''])[1]; + }); + }, + + evalScripts: function() { + return this.extractScripts().map(function(script) { return eval(script) }); + }, + + escapeHTML: function() { + var self = arguments.callee; + self.text.data = this; + return self.div.innerHTML; + }, + + unescapeHTML: function() { + var div = new Element('div'); + div.innerHTML = this.stripTags(); + return div.childNodes[0] ? (div.childNodes.length > 1 ? + $A(div.childNodes).inject('', function(memo, node) { return memo+node.nodeValue }) : + div.childNodes[0].nodeValue) : ''; + }, + + toQueryParams: function(separator) { + var match = this.strip().match(/([^?#]*)(#.*)?$/); + if (!match) return { }; + + return match[1].split(separator || '&').inject({ }, function(hash, pair) { + if ((pair = pair.split('='))[0]) { + var key = decodeURIComponent(pair.shift()); + var value = pair.length > 1 ? pair.join('=') : pair[0]; + if (value != undefined) value = decodeURIComponent(value); + + if (key in hash) { + if (!Object.isArray(hash[key])) hash[key] = [hash[key]]; + hash[key].push(value); + } + else hash[key] = value; + } + return hash; + }); + }, + + toArray: function() { + return this.split(''); + }, + + succ: function() { + return this.slice(0, this.length - 1) + + String.fromCharCode(this.charCodeAt(this.length - 1) + 1); + }, + + times: function(count) { + return count < 1 ? '' : new Array(count + 1).join(this); + }, + + camelize: function() { + var parts = this.split('-'), len = parts.length; + if (len == 1) return parts[0]; + + var camelized = this.charAt(0) == '-' + ? parts[0].charAt(0).toUpperCase() + parts[0].substring(1) + : parts[0]; + + for (var i = 1; i < len; i++) + camelized += parts[i].charAt(0).toUpperCase() + parts[i].substring(1); + + return camelized; + }, + + capitalize: function() { + return this.charAt(0).toUpperCase() + this.substring(1).toLowerCase(); + }, + + underscore: function() { + return this.gsub(/::/, '/').gsub(/([A-Z]+)([A-Z][a-z])/,'#{1}_#{2}').gsub(/([a-z\d])([A-Z])/,'#{1}_#{2}').gsub(/-/,'_').toLowerCase(); + }, + + dasherize: function() { + return this.gsub(/_/,'-'); + }, + + inspect: function(useDoubleQuotes) { + var escapedString = this.gsub(/[\x00-\x1f\\]/, function(match) { + var character = String.specialChar[match[0]]; + return character ? character : '\\u00' + match[0].charCodeAt().toPaddedString(2, 16); + }); + if (useDoubleQuotes) return '"' + escapedString.replace(/"/g, '\\"') + '"'; + return "'" + escapedString.replace(/'/g, '\\\'') + "'"; + }, + + toJSON: function() { + return this.inspect(true); + }, + + unfilterJSON: function(filter) { + return this.sub(filter || Prototype.JSONFilter, '#{1}'); + }, + + isJSON: function() { + var str = this.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, ''); + return (/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str); + }, + + evalJSON: function(sanitize) { + var json = this.unfilterJSON(); + try { + if (!sanitize || json.isJSON()) return eval('(' + json + ')'); + } catch (e) { } + throw new SyntaxError('Badly formed JSON string: ' + this.inspect()); + }, + + include: function(pattern) { + return this.indexOf(pattern) > -1; + }, + + startsWith: function(pattern) { + return this.indexOf(pattern) === 0; + }, + + endsWith: function(pattern) { + var d = this.length - pattern.length; + return d >= 0 && this.lastIndexOf(pattern) === d; + }, + + empty: function() { + return this == ''; + }, + + blank: function() { + return /^\s*$/.test(this); + }, + + interpolate: function(object, pattern) { + return new Template(this, pattern).evaluate(object); + } +}); + +if (Prototype.Browser.WebKit || Prototype.Browser.IE) Object.extend(String.prototype, { + escapeHTML: function() { + return this.replace(/&/g,'&').replace(//g,'>'); + }, + unescapeHTML: function() { + return this.replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>'); + } +}); + +String.prototype.gsub.prepareReplacement = function(replacement) { + if (Object.isFunction(replacement)) return replacement; + var template = new Template(replacement); + return function(match) { return template.evaluate(match) }; +}; + +String.prototype.parseQuery = String.prototype.toQueryParams; + +Object.extend(String.prototype.escapeHTML, { + div: document.createElement('div'), + text: document.createTextNode('') +}); + +with (String.prototype.escapeHTML) div.appendChild(text); + +var Template = Class.create({ + initialize: function(template, pattern) { + this.template = template.toString(); + this.pattern = pattern || Template.Pattern; + }, + + evaluate: function(object) { + if (Object.isFunction(object.toTemplateReplacements)) + object = object.toTemplateReplacements(); + + return this.template.gsub(this.pattern, function(match) { + if (object == null) return ''; + + var before = match[1] || ''; + if (before == '\\') return match[2]; + + var ctx = object, expr = match[3]; + var pattern = /^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/, match = pattern.exec(expr); + if (match == null) return before; + + while (match != null) { + var comp = match[1].startsWith('[') ? match[2].gsub('\\\\]', ']') : match[1]; + ctx = ctx[comp]; + if (null == ctx || '' == match[3]) break; + expr = expr.substring('[' == match[3] ? match[1].length : match[0].length); + match = pattern.exec(expr); + } + + return before + String.interpret(ctx); + }.bind(this)); + } +}); +Template.Pattern = /(^|.|\r|\n)(#\{(.*?)\})/; + +var $break = { }; + +var Enumerable = { + each: function(iterator, context) { + var index = 0; + iterator = iterator.bind(context); + try { + this._each(function(value) { + iterator(value, index++); + }); + } catch (e) { + if (e != $break) throw e; + } + return this; + }, + + eachSlice: function(number, iterator, context) { + iterator = iterator ? iterator.bind(context) : Prototype.K; + var index = -number, slices = [], array = this.toArray(); + while ((index += number) < array.length) + slices.push(array.slice(index, index+number)); + return slices.collect(iterator, context); + }, + + all: function(iterator, context) { + iterator = iterator ? iterator.bind(context) : Prototype.K; + var result = true; + this.each(function(value, index) { + result = result && !!iterator(value, index); + if (!result) throw $break; + }); + return result; + }, + + any: function(iterator, context) { + iterator = iterator ? iterator.bind(context) : Prototype.K; + var result = false; + this.each(function(value, index) { + if (result = !!iterator(value, index)) + throw $break; + }); + return result; + }, + + collect: function(iterator, context) { + iterator = iterator ? iterator.bind(context) : Prototype.K; + var results = []; + this.each(function(value, index) { + results.push(iterator(value, index)); + }); + return results; + }, + + detect: function(iterator, context) { + iterator = iterator.bind(context); + var result; + this.each(function(value, index) { + if (iterator(value, index)) { + result = value; + throw $break; + } + }); + return result; + }, + + findAll: function(iterator, context) { + iterator = iterator.bind(context); + var results = []; + this.each(function(value, index) { + if (iterator(value, index)) + results.push(value); + }); + return results; + }, + + grep: function(filter, iterator, context) { + iterator = iterator ? iterator.bind(context) : Prototype.K; + var results = []; + + if (Object.isString(filter)) + filter = new RegExp(filter); + + this.each(function(value, index) { + if (filter.match(value)) + results.push(iterator(value, index)); + }); + return results; + }, + + include: function(object) { + if (Object.isFunction(this.indexOf)) + if (this.indexOf(object) != -1) return true; + + var found = false; + this.each(function(value) { + if (value == object) { + found = true; + throw $break; + } + }); + return found; + }, + + inGroupsOf: function(number, fillWith) { + fillWith = fillWith === undefined ? null : fillWith; + return this.eachSlice(number, function(slice) { + while(slice.length < number) slice.push(fillWith); + return slice; + }); + }, + + inject: function(memo, iterator, context) { + iterator = iterator.bind(context); + this.each(function(value, index) { + memo = iterator(memo, value, index); + }); + return memo; + }, + + invoke: function(method) { + var args = $A(arguments).slice(1); + return this.map(function(value) { + return value[method].apply(value, args); + }); + }, + + max: function(iterator, context) { + iterator = iterator ? iterator.bind(context) : Prototype.K; + var result; + this.each(function(value, index) { + value = iterator(value, index); + if (result == undefined || value >= result) + result = value; + }); + return result; + }, + + min: function(iterator, context) { + iterator = iterator ? iterator.bind(context) : Prototype.K; + var result; + this.each(function(value, index) { + value = iterator(value, index); + if (result == undefined || value < result) + result = value; + }); + return result; + }, + + partition: function(iterator, context) { + iterator = iterator ? iterator.bind(context) : Prototype.K; + var trues = [], falses = []; + this.each(function(value, index) { + (iterator(value, index) ? + trues : falses).push(value); + }); + return [trues, falses]; + }, + + pluck: function(property) { + var results = []; + this.each(function(value) { + results.push(value[property]); + }); + return results; + }, + + reject: function(iterator, context) { + iterator = iterator.bind(context); + var results = []; + this.each(function(value, index) { + if (!iterator(value, index)) + results.push(value); + }); + return results; + }, + + sortBy: function(iterator, context) { + iterator = iterator.bind(context); + return this.map(function(value, index) { + return {value: value, criteria: iterator(value, index)}; + }).sort(function(left, right) { + var a = left.criteria, b = right.criteria; + return a < b ? -1 : a > b ? 1 : 0; + }).pluck('value'); + }, + + toArray: function() { + return this.map(); + }, + + zip: function() { + var iterator = Prototype.K, args = $A(arguments); + if (Object.isFunction(args.last())) + iterator = args.pop(); + + var collections = [this].concat(args).map($A); + return this.map(function(value, index) { + return iterator(collections.pluck(index)); + }); + }, + + size: function() { + return this.toArray().length; + }, + + inspect: function() { + return '#'; + } +}; + +Object.extend(Enumerable, { + map: Enumerable.collect, + find: Enumerable.detect, + select: Enumerable.findAll, + filter: Enumerable.findAll, + member: Enumerable.include, + entries: Enumerable.toArray, + every: Enumerable.all, + some: Enumerable.any +}); +function $A(iterable) { + if (!iterable) return []; + if (iterable.toArray) return iterable.toArray(); + var length = iterable.length, results = new Array(length); + while (length--) results[length] = iterable[length]; + return results; +} + +if (Prototype.Browser.WebKit) { + function $A(iterable) { + if (!iterable) return []; + if (!(Object.isFunction(iterable) && iterable == '[object NodeList]') && + iterable.toArray) return iterable.toArray(); + var length = iterable.length, results = new Array(length); + while (length--) results[length] = iterable[length]; + return results; + } +} + +Array.from = $A; + +Object.extend(Array.prototype, Enumerable); + +if (!Array.prototype._reverse) Array.prototype._reverse = Array.prototype.reverse; + +Object.extend(Array.prototype, { + _each: function(iterator) { + for (var i = 0, length = this.length; i < length; i++) + iterator(this[i]); + }, + + clear: function() { + this.length = 0; + return this; + }, + + first: function() { + return this[0]; + }, + + last: function() { + return this[this.length - 1]; + }, + + compact: function() { + return this.select(function(value) { + return value != null; + }); + }, + + flatten: function() { + return this.inject([], function(array, value) { + return array.concat(Object.isArray(value) ? + value.flatten() : [value]); + }); + }, + + without: function() { + var values = $A(arguments); + return this.select(function(value) { + return !values.include(value); + }); + }, + + reverse: function(inline) { + return (inline !== false ? this : this.toArray())._reverse(); + }, + + reduce: function() { + return this.length > 1 ? this : this[0]; + }, + + uniq: function(sorted) { + return this.inject([], function(array, value, index) { + if (0 == index || (sorted ? array.last() != value : !array.include(value))) + array.push(value); + return array; + }); + }, + + intersect: function(array) { + return this.uniq().findAll(function(item) { + return array.detect(function(value) { return item === value }); + }); + }, + + clone: function() { + return [].concat(this); + }, + + size: function() { + return this.length; + }, + + inspect: function() { + return '[' + this.map(Object.inspect).join(', ') + ']'; + }, + + toJSON: function() { + var results = []; + this.each(function(object) { + var value = Object.toJSON(object); + if (value !== undefined) results.push(value); + }); + return '[' + results.join(', ') + ']'; + } +}); + +// use native browser JS 1.6 implementation if available +if (Object.isFunction(Array.prototype.forEach)) + Array.prototype._each = Array.prototype.forEach; + +if (!Array.prototype.indexOf) Array.prototype.indexOf = function(item, i) { + i || (i = 0); + var length = this.length; + if (i < 0) i = length + i; + for (; i < length; i++) + if (this[i] === item) return i; + return -1; +}; + +if (!Array.prototype.lastIndexOf) Array.prototype.lastIndexOf = function(item, i) { + i = isNaN(i) ? this.length : (i < 0 ? this.length + i : i) + 1; + var n = this.slice(0, i).reverse().indexOf(item); + return (n < 0) ? n : i - n - 1; +}; + +Array.prototype.toArray = Array.prototype.clone; + +function $w(string) { + if (!Object.isString(string)) return []; + string = string.strip(); + return string ? string.split(/\s+/) : []; +} + +if (Prototype.Browser.Opera){ + Array.prototype.concat = function() { + var array = []; + for (var i = 0, length = this.length; i < length; i++) array.push(this[i]); + for (var i = 0, length = arguments.length; i < length; i++) { + if (Object.isArray(arguments[i])) { + for (var j = 0, arrayLength = arguments[i].length; j < arrayLength; j++) + array.push(arguments[i][j]); + } else { + array.push(arguments[i]); + } + } + return array; + }; +} +Object.extend(Number.prototype, { + toColorPart: function() { + return this.toPaddedString(2, 16); + }, + + succ: function() { + return this + 1; + }, + + times: function(iterator) { + $R(0, this, true).each(iterator); + return this; + }, + + toPaddedString: function(length, radix) { + var string = this.toString(radix || 10); + return '0'.times(length - string.length) + string; + }, + + toJSON: function() { + return isFinite(this) ? this.toString() : 'null'; + } +}); + +$w('abs round ceil floor').each(function(method){ + Number.prototype[method] = Math[method].methodize(); +}); +function $H(object) { + return new Hash(object); +}; + +var Hash = Class.create(Enumerable, (function() { + if (function() { + var i = 0, Test = function(value) { this.key = value }; + Test.prototype.key = 'foo'; + for (var property in new Test('bar')) i++; + return i > 1; + }()) { + function each(iterator) { + var cache = []; + for (var key in this._object) { + var value = this._object[key]; + if (cache.include(key)) continue; + cache.push(key); + var pair = [key, value]; + pair.key = key; + pair.value = value; + iterator(pair); + } + } + } else { + function each(iterator) { + for (var key in this._object) { + var value = this._object[key], pair = [key, value]; + pair.key = key; + pair.value = value; + iterator(pair); + } + } + } + + function toQueryPair(key, value) { + if (Object.isUndefined(value)) return key; + return key + '=' + encodeURIComponent(String.interpret(value)); + } + + return { + initialize: function(object) { + this._object = Object.isHash(object) ? object.toObject() : Object.clone(object); + }, + + _each: each, + + set: function(key, value) { + return this._object[key] = value; + }, + + get: function(key) { + return this._object[key]; + }, + + unset: function(key) { + var value = this._object[key]; + delete this._object[key]; + return value; + }, + + toObject: function() { + return Object.clone(this._object); + }, + + keys: function() { + return this.pluck('key'); + }, + + values: function() { + return this.pluck('value'); + }, + + index: function(value) { + var match = this.detect(function(pair) { + return pair.value === value; + }); + return match && match.key; + }, + + merge: function(object) { + return this.clone().update(object); + }, + + update: function(object) { + return new Hash(object).inject(this, function(result, pair) { + result.set(pair.key, pair.value); + return result; + }); + }, + + toQueryString: function() { + return this.map(function(pair) { + var key = encodeURIComponent(pair.key), values = pair.value; + + if (values && typeof values == 'object') { + if (Object.isArray(values)) + return values.map(toQueryPair.curry(key)).join('&'); + } + return toQueryPair(key, values); + }).join('&'); + }, + + inspect: function() { + return '#'; + }, + + toJSON: function() { + return Object.toJSON(this.toObject()); + }, + + clone: function() { + return new Hash(this); + } + } +})()); + +Hash.prototype.toTemplateReplacements = Hash.prototype.toObject; +Hash.from = $H; +var ObjectRange = Class.create(Enumerable, { + initialize: function(start, end, exclusive) { + this.start = start; + this.end = end; + this.exclusive = exclusive; + }, + + _each: function(iterator) { + var value = this.start; + while (this.include(value)) { + iterator(value); + value = value.succ(); + } + }, + + include: function(value) { + if (value < this.start) + return false; + if (this.exclusive) + return value < this.end; + return value <= this.end; + } +}); + +var $R = function(start, end, exclusive) { + return new ObjectRange(start, end, exclusive); +}; + +var Ajax = { + getTransport: function() { + return Try.these( + function() {return new XMLHttpRequest()}, + function() {return new ActiveXObject('Msxml2.XMLHTTP')}, + function() {return new ActiveXObject('Microsoft.XMLHTTP')} + ) || false; + }, + + activeRequestCount: 0 +}; + +Ajax.Responders = { + responders: [], + + _each: function(iterator) { + this.responders._each(iterator); + }, + + register: function(responder) { + if (!this.include(responder)) + this.responders.push(responder); + }, + + unregister: function(responder) { + this.responders = this.responders.without(responder); + }, + + dispatch: function(callback, request, transport, json) { + this.each(function(responder) { + if (Object.isFunction(responder[callback])) { + try { + responder[callback].apply(responder, [request, transport, json]); + } catch (e) { } + } + }); + } +}; + +Object.extend(Ajax.Responders, Enumerable); + +Ajax.Responders.register({ + onCreate: function() { Ajax.activeRequestCount++ }, + onComplete: function() { Ajax.activeRequestCount-- } +}); + +Ajax.Base = Class.create({ + initialize: function(options) { + this.options = { + method: 'post', + asynchronous: true, + contentType: 'application/x-www-form-urlencoded', + encoding: 'UTF-8', + parameters: '', + evalJSON: true, + evalJS: true + }; + Object.extend(this.options, options || { }); + + this.options.method = this.options.method.toLowerCase(); + if (Object.isString(this.options.parameters)) + this.options.parameters = this.options.parameters.toQueryParams(); + } +}); + +Ajax.Request = Class.create(Ajax.Base, { + _complete: false, + + initialize: function($super, url, options) { + $super(options); + this.transport = Ajax.getTransport(); + this.request(url); + }, + + request: function(url) { + this.url = url; + this.method = this.options.method; + var params = Object.clone(this.options.parameters); + + if (!['get', 'post'].include(this.method)) { + // simulate other verbs over post + params['_method'] = this.method; + this.method = 'post'; + } + + this.parameters = params; + + if (params = Object.toQueryString(params)) { + // when GET, append parameters to URL + if (this.method == 'get') + this.url += (this.url.include('?') ? '&' : '?') + params; + else if (/Konqueror|Safari|KHTML/.test(navigator.userAgent)) + params += '&_='; + } + + try { + var response = new Ajax.Response(this); + if (this.options.onCreate) this.options.onCreate(response); + Ajax.Responders.dispatch('onCreate', this, response); + + this.transport.open(this.method.toUpperCase(), this.url, + this.options.asynchronous); + + if (this.options.asynchronous) this.respondToReadyState.bind(this).defer(1); + + this.transport.onreadystatechange = this.onStateChange.bind(this); + this.setRequestHeaders(); + + this.body = this.method == 'post' ? (this.options.postBody || params) : null; + this.transport.send(this.body); + + /* Force Firefox to handle ready state 4 for synchronous requests */ + if (!this.options.asynchronous && this.transport.overrideMimeType) + this.onStateChange(); + + } + catch (e) { + this.dispatchException(e); + } + }, + + onStateChange: function() { + var readyState = this.transport.readyState; + if (readyState > 1 && !((readyState == 4) && this._complete)) + this.respondToReadyState(this.transport.readyState); + }, + + setRequestHeaders: function() { + var headers = { + 'X-Requested-With': 'XMLHttpRequest', + 'X-Prototype-Version': Prototype.Version, + 'Accept': 'text/javascript, text/html, application/xml, text/xml, */*' + }; + + if (this.method == 'post') { + headers['Content-type'] = this.options.contentType + + (this.options.encoding ? '; charset=' + this.options.encoding : ''); + + /* Force "Connection: close" for older Mozilla browsers to work + * around a bug where XMLHttpRequest sends an incorrect + * Content-length header. See Mozilla Bugzilla #246651. + */ + if (this.transport.overrideMimeType && + (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0,2005])[1] < 2005) + headers['Connection'] = 'close'; + } + + // user-defined headers + if (typeof this.options.requestHeaders == 'object') { + var extras = this.options.requestHeaders; + + if (Object.isFunction(extras.push)) + for (var i = 0, length = extras.length; i < length; i += 2) + headers[extras[i]] = extras[i+1]; + else + $H(extras).each(function(pair) { headers[pair.key] = pair.value }); + } + + for (var name in headers) + this.transport.setRequestHeader(name, headers[name]); + }, + + success: function() { + var status = this.getStatus(); + return !status || (status >= 200 && status < 300); + }, + + getStatus: function() { + try { + return this.transport.status || 0; + } catch (e) { return 0 } + }, + + respondToReadyState: function(readyState) { + var state = Ajax.Request.Events[readyState], response = new Ajax.Response(this); + + if (state == 'Complete') { + try { + this._complete = true; + (this.options['on' + response.status] + || this.options['on' + (this.success() ? 'Success' : 'Failure')] + || Prototype.emptyFunction)(response, response.headerJSON); + } catch (e) { + this.dispatchException(e); + } + + var contentType = response.getHeader('Content-type'); + if (this.options.evalJS == 'force' + || (this.options.evalJS && contentType + && contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i))) + this.evalResponse(); + } + + try { + (this.options['on' + state] || Prototype.emptyFunction)(response, response.headerJSON); + Ajax.Responders.dispatch('on' + state, this, response, response.headerJSON); + } catch (e) { + this.dispatchException(e); + } + + if (state == 'Complete') { + // avoid memory leak in MSIE: clean up + this.transport.onreadystatechange = Prototype.emptyFunction; + } + }, + + getHeader: function(name) { + try { + return this.transport.getResponseHeader(name); + } catch (e) { return null } + }, + + evalResponse: function() { + try { + return eval((this.transport.responseText || '').unfilterJSON()); + } catch (e) { + this.dispatchException(e); + } + }, + + dispatchException: function(exception) { + (this.options.onException || Prototype.emptyFunction)(this, exception); + Ajax.Responders.dispatch('onException', this, exception); + } +}); + +Ajax.Request.Events = + ['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete']; + +Ajax.Response = Class.create({ + initialize: function(request){ + this.request = request; + var transport = this.transport = request.transport, + readyState = this.readyState = transport.readyState; + + if((readyState > 2 && !Prototype.Browser.IE) || readyState == 4) { + this.status = this.getStatus(); + this.statusText = this.getStatusText(); + this.responseText = String.interpret(transport.responseText); + this.headerJSON = this._getHeaderJSON(); + } + + if(readyState == 4) { + var xml = transport.responseXML; + this.responseXML = xml === undefined ? null : xml; + this.responseJSON = this._getResponseJSON(); + } + }, + + status: 0, + statusText: '', + + getStatus: Ajax.Request.prototype.getStatus, + + getStatusText: function() { + try { + return this.transport.statusText || ''; + } catch (e) { return '' } + }, + + getHeader: Ajax.Request.prototype.getHeader, + + getAllHeaders: function() { + try { + return this.getAllResponseHeaders(); + } catch (e) { return null } + }, + + getResponseHeader: function(name) { + return this.transport.getResponseHeader(name); + }, + + getAllResponseHeaders: function() { + return this.transport.getAllResponseHeaders(); + }, + + _getHeaderJSON: function() { + var json = this.getHeader('X-JSON'); + if (!json) return null; + json = decodeURIComponent(escape(json)); + try { + return json.evalJSON(this.request.options.sanitizeJSON); + } catch (e) { + this.request.dispatchException(e); + } + }, + + _getResponseJSON: function() { + var options = this.request.options; + if (!options.evalJSON || (options.evalJSON != 'force' && + !(this.getHeader('Content-type') || '').include('application/json'))) + return null; + try { + return this.transport.responseText.evalJSON(options.sanitizeJSON); + } catch (e) { + this.request.dispatchException(e); + } + } +}); + +Ajax.Updater = Class.create(Ajax.Request, { + initialize: function($super, container, url, options) { + this.container = { + success: (container.success || container), + failure: (container.failure || (container.success ? null : container)) + }; + + options = options || { }; + var onComplete = options.onComplete; + options.onComplete = (function(response, param) { + this.updateContent(response.responseText); + if (Object.isFunction(onComplete)) onComplete(response, param); + }).bind(this); + + $super(url, options); + }, + + updateContent: function(responseText) { + var receiver = this.container[this.success() ? 'success' : 'failure'], + options = this.options; + + if (!options.evalScripts) responseText = responseText.stripScripts(); + + if (receiver = $(receiver)) { + if (options.insertion) { + if (Object.isString(options.insertion)) { + var insertion = { }; insertion[options.insertion] = responseText; + receiver.insert(insertion); + } + else options.insertion(receiver, responseText); + } + else receiver.update(responseText); + } + + if (this.success()) { + if (this.onComplete) this.onComplete.bind(this).defer(); + } + } +}); + +Ajax.PeriodicalUpdater = Class.create(Ajax.Base, { + initialize: function($super, container, url, options) { + $super(options); + this.onComplete = this.options.onComplete; + + this.frequency = (this.options.frequency || 2); + this.decay = (this.options.decay || 1); + + this.updater = { }; + this.container = container; + this.url = url; + + this.start(); + }, + + start: function() { + this.options.onComplete = this.updateComplete.bind(this); + this.onTimerEvent(); + }, + + stop: function() { + this.updater.options.onComplete = undefined; + clearTimeout(this.timer); + (this.onComplete || Prototype.emptyFunction).apply(this, arguments); + }, + + updateComplete: function(response) { + if (this.options.decay) { + this.decay = (response.responseText == this.lastText ? + this.decay * this.options.decay : 1); + + this.lastText = response.responseText; + } + this.timer = this.onTimerEvent.bind(this).delay(this.decay * this.frequency); + }, + + onTimerEvent: function() { + this.updater = new Ajax.Updater(this.container, this.url, this.options); + } +}); +function $(element) { + if (arguments.length > 1) { + for (var i = 0, elements = [], length = arguments.length; i < length; i++) + elements.push($(arguments[i])); + return elements; + } + if (Object.isString(element)) + element = document.getElementById(element); + return Element.extend(element); +} + +if (Prototype.BrowserFeatures.XPath) { + document._getElementsByXPath = function(expression, parentElement) { + var results = []; + var query = document.evaluate(expression, $(parentElement) || document, + null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); + for (var i = 0, length = query.snapshotLength; i < length; i++) + results.push(Element.extend(query.snapshotItem(i))); + return results; + }; +} + +/*--------------------------------------------------------------------------*/ + +if (!window.Node) var Node = { }; + +if (!Node.ELEMENT_NODE) { + // DOM level 2 ECMAScript Language Binding + Object.extend(Node, { + ELEMENT_NODE: 1, + ATTRIBUTE_NODE: 2, + TEXT_NODE: 3, + CDATA_SECTION_NODE: 4, + ENTITY_REFERENCE_NODE: 5, + ENTITY_NODE: 6, + PROCESSING_INSTRUCTION_NODE: 7, + COMMENT_NODE: 8, + DOCUMENT_NODE: 9, + DOCUMENT_TYPE_NODE: 10, + DOCUMENT_FRAGMENT_NODE: 11, + NOTATION_NODE: 12 + }); +} + +(function() { + var element = this.Element; + this.Element = function(tagName, attributes) { + attributes = attributes || { }; + tagName = tagName.toLowerCase(); + var cache = Element.cache; + if (Prototype.Browser.IE && attributes.name) { + tagName = '<' + tagName + ' name="' + attributes.name + '">'; + delete attributes.name; + return Element.writeAttribute(document.createElement(tagName), attributes); + } + if (!cache[tagName]) cache[tagName] = Element.extend(document.createElement(tagName)); + return Element.writeAttribute(cache[tagName].cloneNode(false), attributes); + }; + Object.extend(this.Element, element || { }); +}).call(window); + +Element.cache = { }; + +Element.Methods = { + visible: function(element) { + return $(element).style.display != 'none'; + }, + + toggle: function(element) { + element = $(element); + Element[Element.visible(element) ? 'hide' : 'show'](element); + return element; + }, + + hide: function(element) { + $(element).style.display = 'none'; + return element; + }, + + show: function(element) { + $(element).style.display = ''; + return element; + }, + + remove: function(element) { + element = $(element); + element.parentNode.removeChild(element); + return element; + }, + + update: function(element, content) { + element = $(element); + if (content && content.toElement) content = content.toElement(); + if (Object.isElement(content)) return element.update().insert(content); + content = Object.toHTML(content); + element.innerHTML = content.stripScripts(); + content.evalScripts.bind(content).defer(); + return element; + }, + + replace: function(element, content) { + element = $(element); + if (content && content.toElement) content = content.toElement(); + else if (!Object.isElement(content)) { + content = Object.toHTML(content); + var range = element.ownerDocument.createRange(); + range.selectNode(element); + content.evalScripts.bind(content).defer(); + content = range.createContextualFragment(content.stripScripts()); + } + element.parentNode.replaceChild(content, element); + return element; + }, + + insert: function(element, insertions) { + element = $(element); + + if (Object.isString(insertions) || Object.isNumber(insertions) || + Object.isElement(insertions) || (insertions && (insertions.toElement || insertions.toHTML))) + insertions = {bottom:insertions}; + + var content, t, range; + + for (position in insertions) { + content = insertions[position]; + position = position.toLowerCase(); + t = Element._insertionTranslations[position]; + + if (content && content.toElement) content = content.toElement(); + if (Object.isElement(content)) { + t.insert(element, content); + continue; + } + + content = Object.toHTML(content); + + range = element.ownerDocument.createRange(); + t.initializeRange(element, range); + t.insert(element, range.createContextualFragment(content.stripScripts())); + + content.evalScripts.bind(content).defer(); + } + + return element; + }, + + wrap: function(element, wrapper, attributes) { + element = $(element); + if (Object.isElement(wrapper)) + $(wrapper).writeAttribute(attributes || { }); + else if (Object.isString(wrapper)) wrapper = new Element(wrapper, attributes); + else wrapper = new Element('div', wrapper); + if (element.parentNode) + element.parentNode.replaceChild(wrapper, element); + wrapper.appendChild(element); + return wrapper; + }, + + inspect: function(element) { + element = $(element); + var result = '<' + element.tagName.toLowerCase(); + $H({'id': 'id', 'className': 'class'}).each(function(pair) { + var property = pair.first(), attribute = pair.last(); + var value = (element[property] || '').toString(); + if (value) result += ' ' + attribute + '=' + value.inspect(true); + }); + return result + '>'; + }, + + recursivelyCollect: function(element, property) { + element = $(element); + var elements = []; + while (element = element[property]) + if (element.nodeType == 1) + elements.push(Element.extend(element)); + return elements; + }, + + ancestors: function(element) { + return $(element).recursivelyCollect('parentNode'); + }, + + descendants: function(element) { + return $A($(element).getElementsByTagName('*')).each(Element.extend); + }, + + firstDescendant: function(element) { + element = $(element).firstChild; + while (element && element.nodeType != 1) element = element.nextSibling; + return $(element); + }, + + immediateDescendants: function(element) { + if (!(element = $(element).firstChild)) return []; + while (element && element.nodeType != 1) element = element.nextSibling; + if (element) return [element].concat($(element).nextSiblings()); + return []; + }, + + previousSiblings: function(element) { + return $(element).recursivelyCollect('previousSibling'); + }, + + nextSiblings: function(element) { + return $(element).recursivelyCollect('nextSibling'); + }, + + siblings: function(element) { + element = $(element); + return element.previousSiblings().reverse().concat(element.nextSiblings()); + }, + + match: function(element, selector) { + if (Object.isString(selector)) + selector = new Selector(selector); + return selector.match($(element)); + }, + + up: function(element, expression, index) { + element = $(element); + if (arguments.length == 1) return $(element.parentNode); + var ancestors = element.ancestors(); + return expression ? Selector.findElement(ancestors, expression, index) : + ancestors[index || 0]; + }, + + down: function(element, expression, index) { + element = $(element); + if (arguments.length == 1) return element.firstDescendant(); + var descendants = element.descendants(); + return expression ? Selector.findElement(descendants, expression, index) : + descendants[index || 0]; + }, + + previous: function(element, expression, index) { + element = $(element); + if (arguments.length == 1) return $(Selector.handlers.previousElementSibling(element)); + var previousSiblings = element.previousSiblings(); + return expression ? Selector.findElement(previousSiblings, expression, index) : + previousSiblings[index || 0]; + }, + + next: function(element, expression, index) { + element = $(element); + if (arguments.length == 1) return $(Selector.handlers.nextElementSibling(element)); + var nextSiblings = element.nextSiblings(); + return expression ? Selector.findElement(nextSiblings, expression, index) : + nextSiblings[index || 0]; + }, + + select: function() { + var args = $A(arguments), element = $(args.shift()); + return Selector.findChildElements(element, args); + }, + + adjacent: function() { + var args = $A(arguments), element = $(args.shift()); + return Selector.findChildElements(element.parentNode, args).without(element); + }, + + identify: function(element) { + element = $(element); + var id = element.readAttribute('id'), self = arguments.callee; + if (id) return id; + do { id = 'anonymous_element_' + self.counter++ } while ($(id)); + element.writeAttribute('id', id); + return id; + }, + + readAttribute: function(element, name) { + element = $(element); + if (Prototype.Browser.IE) { + var t = Element._attributeTranslations.read; + if (t.values[name]) return t.values[name](element, name); + if (t.names[name]) name = t.names[name]; + if (name.include(':')) { + return (!element.attributes || !element.attributes[name]) ? null : + element.attributes[name].value; + } + } + return element.getAttribute(name); + }, + + writeAttribute: function(element, name, value) { + element = $(element); + var attributes = { }, t = Element._attributeTranslations.write; + + if (typeof name == 'object') attributes = name; + else attributes[name] = value === undefined ? true : value; + + for (var attr in attributes) { + var name = t.names[attr] || attr, value = attributes[attr]; + if (t.values[attr]) name = t.values[attr](element, value); + if (value === false || value === null) + element.removeAttribute(name); + else if (value === true) + element.setAttribute(name, name); + else element.setAttribute(name, value); + } + return element; + }, + + getHeight: function(element) { + return $(element).getDimensions().height; + }, + + getWidth: function(element) { + return $(element).getDimensions().width; + }, + + classNames: function(element) { + return new Element.ClassNames(element); + }, + + hasClassName: function(element, className) { + if (!(element = $(element))) return; + var elementClassName = element.className; + return (elementClassName.length > 0 && (elementClassName == className || + new RegExp("(^|\\s)" + className + "(\\s|$)").test(elementClassName))); + }, + + addClassName: function(element, className) { + if (!(element = $(element))) return; + if (!element.hasClassName(className)) + element.className += (element.className ? ' ' : '') + className; + return element; + }, + + removeClassName: function(element, className) { + if (!(element = $(element))) return; + element.className = element.className.replace( + new RegExp("(^|\\s+)" + className + "(\\s+|$)"), ' ').strip(); + return element; + }, + + toggleClassName: function(element, className) { + if (!(element = $(element))) return; + return element[element.hasClassName(className) ? + 'removeClassName' : 'addClassName'](className); + }, + + // removes whitespace-only text node children + cleanWhitespace: function(element) { + element = $(element); + var node = element.firstChild; + while (node) { + var nextNode = node.nextSibling; + if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) + element.removeChild(node); + node = nextNode; + } + return element; + }, + + empty: function(element) { + return $(element).innerHTML.blank(); + }, + + descendantOf: function(element, ancestor) { + element = $(element), ancestor = $(ancestor); + + if (element.compareDocumentPosition) + return (element.compareDocumentPosition(ancestor) & 8) === 8; + + if (element.sourceIndex && !Prototype.Browser.Opera) { + var e = element.sourceIndex, a = ancestor.sourceIndex, + nextAncestor = ancestor.nextSibling; + if (!nextAncestor) { + do { ancestor = ancestor.parentNode; } + while (!(nextAncestor = ancestor.nextSibling) && ancestor.parentNode); + } + if (nextAncestor) return (e > a && e < nextAncestor.sourceIndex); + } + + while (element = element.parentNode) + if (element == ancestor) return true; + return false; + }, + + scrollTo: function(element) { + element = $(element); + var pos = element.cumulativeOffset(); + window.scrollTo(pos[0], pos[1]); + return element; + }, + + getStyle: function(element, style) { + element = $(element); + style = style == 'float' ? 'cssFloat' : style.camelize(); + var value = element.style[style]; + if (!value) { + var css = document.defaultView.getComputedStyle(element, null); + value = css ? css[style] : null; + } + if (style == 'opacity') return value ? parseFloat(value) : 1.0; + return value == 'auto' ? null : value; + }, + + getOpacity: function(element) { + return $(element).getStyle('opacity'); + }, + + setStyle: function(element, styles) { + element = $(element); + var elementStyle = element.style, match; + if (Object.isString(styles)) { + element.style.cssText += ';' + styles; + return styles.include('opacity') ? + element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)[1]) : element; + } + for (var property in styles) + if (property == 'opacity') element.setOpacity(styles[property]); + else + elementStyle[(property == 'float' || property == 'cssFloat') ? + (elementStyle.styleFloat === undefined ? 'cssFloat' : 'styleFloat') : + property] = styles[property]; + + return element; + }, + + setOpacity: function(element, value) { + element = $(element); + element.style.opacity = (value == 1 || value === '') ? '' : + (value < 0.00001) ? 0 : value; + return element; + }, + + getDimensions: function(element) { + element = $(element); + var display = $(element).getStyle('display'); + if (display != 'none' && display != null) // Safari bug + return {width: element.offsetWidth, height: element.offsetHeight}; + + // All *Width and *Height properties give 0 on elements with display none, + // so enable the element temporarily + var els = element.style; + var originalVisibility = els.visibility; + var originalPosition = els.position; + var originalDisplay = els.display; + els.visibility = 'hidden'; + els.position = 'absolute'; + els.display = 'block'; + var originalWidth = element.clientWidth; + var originalHeight = element.clientHeight; + els.display = originalDisplay; + els.position = originalPosition; + els.visibility = originalVisibility; + return {width: originalWidth, height: originalHeight}; + }, + + makePositioned: function(element) { + element = $(element); + var pos = Element.getStyle(element, 'position'); + if (pos == 'static' || !pos) { + element._madePositioned = true; + element.style.position = 'relative'; + // Opera returns the offset relative to the positioning context, when an + // element is position relative but top and left have not been defined + if (window.opera) { + element.style.top = 0; + element.style.left = 0; + } + } + return element; + }, + + undoPositioned: function(element) { + element = $(element); + if (element._madePositioned) { + element._madePositioned = undefined; + element.style.position = + element.style.top = + element.style.left = + element.style.bottom = + element.style.right = ''; + } + return element; + }, + + makeClipping: function(element) { + element = $(element); + if (element._overflow) return element; + element._overflow = Element.getStyle(element, 'overflow') || 'auto'; + if (element._overflow !== 'hidden') + element.style.overflow = 'hidden'; + return element; + }, + + undoClipping: function(element) { + element = $(element); + if (!element._overflow) return element; + element.style.overflow = element._overflow == 'auto' ? '' : element._overflow; + element._overflow = null; + return element; + }, + + cumulativeOffset: function(element) { + var valueT = 0, valueL = 0; + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + element = element.offsetParent; + } while (element); + return Element._returnOffset(valueL, valueT); + }, + + positionedOffset: function(element) { + var valueT = 0, valueL = 0; + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + element = element.offsetParent; + if (element) { + if (element.tagName == 'BODY') break; + var p = Element.getStyle(element, 'position'); + if (p == 'relative' || p == 'absolute') break; + } + } while (element); + return Element._returnOffset(valueL, valueT); + }, + + absolutize: function(element) { + element = $(element); + if (element.getStyle('position') == 'absolute') return; + // Position.prepare(); // To be done manually by Scripty when it needs it. + + var offsets = element.positionedOffset(); + var top = offsets[1]; + var left = offsets[0]; + var width = element.clientWidth; + var height = element.clientHeight; + + element._originalLeft = left - parseFloat(element.style.left || 0); + element._originalTop = top - parseFloat(element.style.top || 0); + element._originalWidth = element.style.width; + element._originalHeight = element.style.height; + + element.style.position = 'absolute'; + element.style.top = top + 'px'; + element.style.left = left + 'px'; + element.style.width = width + 'px'; + element.style.height = height + 'px'; + return element; + }, + + relativize: function(element) { + element = $(element); + if (element.getStyle('position') == 'relative') return; + // Position.prepare(); // To be done manually by Scripty when it needs it. + + element.style.position = 'relative'; + var top = parseFloat(element.style.top || 0) - (element._originalTop || 0); + var left = parseFloat(element.style.left || 0) - (element._originalLeft || 0); + + element.style.top = top + 'px'; + element.style.left = left + 'px'; + element.style.height = element._originalHeight; + element.style.width = element._originalWidth; + return element; + }, + + cumulativeScrollOffset: function(element) { + var valueT = 0, valueL = 0; + do { + valueT += element.scrollTop || 0; + valueL += element.scrollLeft || 0; + element = element.parentNode; + } while (element); + return Element._returnOffset(valueL, valueT); + }, + + getOffsetParent: function(element) { + if (element.offsetParent) return $(element.offsetParent); + if (element == document.body) return $(element); + + while ((element = element.parentNode) && element != document.body) + if (Element.getStyle(element, 'position') != 'static') + return $(element); + + return $(document.body); + }, + + viewportOffset: function(forElement) { + var valueT = 0, valueL = 0; + + var element = forElement; + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + + // Safari fix + if (element.offsetParent == document.body && + Element.getStyle(element, 'position') == 'absolute') break; + + } while (element = element.offsetParent); + + element = forElement; + do { + if (!Prototype.Browser.Opera || element.tagName == 'BODY') { + valueT -= element.scrollTop || 0; + valueL -= element.scrollLeft || 0; + } + } while (element = element.parentNode); + + return Element._returnOffset(valueL, valueT); + }, + + clonePosition: function(element, source) { + var options = Object.extend({ + setLeft: true, + setTop: true, + setWidth: true, + setHeight: true, + offsetTop: 0, + offsetLeft: 0 + }, arguments[2] || { }); + + // find page position of source + source = $(source); + var p = source.viewportOffset(); + + // find coordinate system to use + element = $(element); + var delta = [0, 0]; + var parent = null; + // delta [0,0] will do fine with position: fixed elements, + // position:absolute needs offsetParent deltas + if (Element.getStyle(element, 'position') == 'absolute') { + parent = element.getOffsetParent(); + delta = parent.viewportOffset(); + } + + // correct by body offsets (fixes Safari) + if (parent == document.body) { + delta[0] -= document.body.offsetLeft; + delta[1] -= document.body.offsetTop; + } + + // set position + if (options.setLeft) element.style.left = (p[0] - delta[0] + options.offsetLeft) + 'px'; + if (options.setTop) element.style.top = (p[1] - delta[1] + options.offsetTop) + 'px'; + if (options.setWidth) element.style.width = source.offsetWidth + 'px'; + if (options.setHeight) element.style.height = source.offsetHeight + 'px'; + return element; + } +}; + +Element.Methods.identify.counter = 1; + +Object.extend(Element.Methods, { + getElementsBySelector: Element.Methods.select, + childElements: Element.Methods.immediateDescendants +}); + +Element._attributeTranslations = { + write: { + names: { + className: 'class', + htmlFor: 'for' + }, + values: { } + } +}; + + +if (!document.createRange || Prototype.Browser.Opera) { + Element.Methods.insert = function(element, insertions) { + element = $(element); + + if (Object.isString(insertions) || Object.isNumber(insertions) || + Object.isElement(insertions) || (insertions && (insertions.toElement || insertions.toHTML))) + insertions = { bottom: insertions }; + + var t = Element._insertionTranslations, content, position, pos, tagName; + + for (position in insertions) { + content = insertions[position]; + position = position.toLowerCase(); + pos = t[position]; + + if (content && content.toElement) content = content.toElement(); + if (Object.isElement(content)) { + pos.insert(element, content); + continue; + } + + content = Object.toHTML(content); + tagName = ((position == 'before' || position == 'after') + ? element.parentNode : element).tagName.toUpperCase(); + + if (t.tags[tagName]) { + var fragments = Element._getContentFromAnonymousElement(tagName, content.stripScripts()); + if (position == 'top' || position == 'after') fragments.reverse(); + fragments.each(pos.insert.curry(element)); + } + else element.insertAdjacentHTML(pos.adjacency, content.stripScripts()); + + content.evalScripts.bind(content).defer(); + } + + return element; + }; +} + +if (Prototype.Browser.Opera) { + Element.Methods._getStyle = Element.Methods.getStyle; + Element.Methods.getStyle = function(element, style) { + switch(style) { + case 'left': + case 'top': + case 'right': + case 'bottom': + if (Element._getStyle(element, 'position') == 'static') return null; + default: return Element._getStyle(element, style); + } + }; + Element.Methods._readAttribute = Element.Methods.readAttribute; + Element.Methods.readAttribute = function(element, attribute) { + if (attribute == 'title') return element.title; + return Element._readAttribute(element, attribute); + }; +} + +else if (Prototype.Browser.IE) { + $w('positionedOffset getOffsetParent viewportOffset').each(function(method) { + Element.Methods[method] = Element.Methods[method].wrap( + function(proceed, element) { + element = $(element); + var position = element.getStyle('position'); + if (position != 'static') return proceed(element); + element.setStyle({ position: 'relative' }); + var value = proceed(element); + element.setStyle({ position: position }); + return value; + } + ); + }); + + Element.Methods.getStyle = function(element, style) { + element = $(element); + style = (style == 'float' || style == 'cssFloat') ? 'styleFloat' : style.camelize(); + var value = element.style[style]; + if (!value && element.currentStyle) value = element.currentStyle[style]; + + if (style == 'opacity') { + if (value = (element.getStyle('filter') || '').match(/alpha\(opacity=(.*)\)/)) + if (value[1]) return parseFloat(value[1]) / 100; + return 1.0; + } + + if (value == 'auto') { + if ((style == 'width' || style == 'height') && (element.getStyle('display') != 'none')) + return element['offset' + style.capitalize()] + 'px'; + return null; + } + return value; + }; + + Element.Methods.setOpacity = function(element, value) { + function stripAlpha(filter){ + return filter.replace(/alpha\([^\)]*\)/gi,''); + } + element = $(element); + var currentStyle = element.currentStyle; + if ((currentStyle && !currentStyle.hasLayout) || + (!currentStyle && element.style.zoom == 'normal')) + element.style.zoom = 1; + + var filter = element.getStyle('filter'), style = element.style; + if (value == 1 || value === '') { + (filter = stripAlpha(filter)) ? + style.filter = filter : style.removeAttribute('filter'); + return element; + } else if (value < 0.00001) value = 0; + style.filter = stripAlpha(filter) + + 'alpha(opacity=' + (value * 100) + ')'; + return element; + }; + + Element._attributeTranslations = { + read: { + names: { + 'class': 'className', + 'for': 'htmlFor' + }, + values: { + _getAttr: function(element, attribute) { + return element.getAttribute(attribute, 2); + }, + _getAttrNode: function(element, attribute) { + var node = element.getAttributeNode(attribute); + return node ? node.value : ""; + }, + _getEv: function(element, attribute) { + var attribute = element.getAttribute(attribute); + return attribute ? attribute.toString().slice(23, -2) : null; + }, + _flag: function(element, attribute) { + return $(element).hasAttribute(attribute) ? attribute : null; + }, + style: function(element) { + return element.style.cssText.toLowerCase(); + }, + title: function(element) { + return element.title; + } + } + } + }; + + Element._attributeTranslations.write = { + names: Object.clone(Element._attributeTranslations.read.names), + values: { + checked: function(element, value) { + element.checked = !!value; + }, + + style: function(element, value) { + element.style.cssText = value ? value : ''; + } + } + }; + + Element._attributeTranslations.has = {}; + + $w('colSpan rowSpan vAlign dateTime accessKey tabIndex ' + + 'encType maxLength readOnly longDesc').each(function(attr) { + Element._attributeTranslations.write.names[attr.toLowerCase()] = attr; + Element._attributeTranslations.has[attr.toLowerCase()] = attr; + }); + + (function(v) { + Object.extend(v, { + href: v._getAttr, + src: v._getAttr, + type: v._getAttr, + action: v._getAttrNode, + disabled: v._flag, + checked: v._flag, + readonly: v._flag, + multiple: v._flag, + onload: v._getEv, + onunload: v._getEv, + onclick: v._getEv, + ondblclick: v._getEv, + onmousedown: v._getEv, + onmouseup: v._getEv, + onmouseover: v._getEv, + onmousemove: v._getEv, + onmouseout: v._getEv, + onfocus: v._getEv, + onblur: v._getEv, + onkeypress: v._getEv, + onkeydown: v._getEv, + onkeyup: v._getEv, + onsubmit: v._getEv, + onreset: v._getEv, + onselect: v._getEv, + onchange: v._getEv + }); + })(Element._attributeTranslations.read.values); +} + +else if (Prototype.Browser.Gecko && /rv:1\.8\.0/.test(navigator.userAgent)) { + Element.Methods.setOpacity = function(element, value) { + element = $(element); + element.style.opacity = (value == 1) ? 0.999999 : + (value === '') ? '' : (value < 0.00001) ? 0 : value; + return element; + }; +} + +else if (Prototype.Browser.WebKit) { + Element.Methods.setOpacity = function(element, value) { + element = $(element); + element.style.opacity = (value == 1 || value === '') ? '' : + (value < 0.00001) ? 0 : value; + + if (value == 1) + if(element.tagName == 'IMG' && element.width) { + element.width++; element.width--; + } else try { + var n = document.createTextNode(' '); + element.appendChild(n); + element.removeChild(n); + } catch (e) { } + + return element; + }; + + // Safari returns margins on body which is incorrect if the child is absolutely + // positioned. For performance reasons, redefine Position.cumulativeOffset for + // KHTML/WebKit only. + Element.Methods.cumulativeOffset = function(element) { + var valueT = 0, valueL = 0; + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + if (element.offsetParent == document.body) + if (Element.getStyle(element, 'position') == 'absolute') break; + + element = element.offsetParent; + } while (element); + + return Element._returnOffset(valueL, valueT); + }; +} + +if (Prototype.Browser.IE || Prototype.Browser.Opera) { + // IE and Opera are missing .innerHTML support for TABLE-related and SELECT elements + Element.Methods.update = function(element, content) { + element = $(element); + + if (content && content.toElement) content = content.toElement(); + if (Object.isElement(content)) return element.update().insert(content); + + content = Object.toHTML(content); + var tagName = element.tagName.toUpperCase(); + + if (tagName in Element._insertionTranslations.tags) { + $A(element.childNodes).each(function(node) { element.removeChild(node) }); + Element._getContentFromAnonymousElement(tagName, content.stripScripts()) + .each(function(node) { element.appendChild(node) }); + } + else element.innerHTML = content.stripScripts(); + + content.evalScripts.bind(content).defer(); + return element; + }; +} + +if (document.createElement('div').outerHTML) { + Element.Methods.replace = function(element, content) { + element = $(element); + + if (content && content.toElement) content = content.toElement(); + if (Object.isElement(content)) { + element.parentNode.replaceChild(content, element); + return element; + } + + content = Object.toHTML(content); + var parent = element.parentNode, tagName = parent.tagName.toUpperCase(); + + if (Element._insertionTranslations.tags[tagName]) { + var nextSibling = element.next(); + var fragments = Element._getContentFromAnonymousElement(tagName, content.stripScripts()); + parent.removeChild(element); + if (nextSibling) + fragments.each(function(node) { parent.insertBefore(node, nextSibling) }); + else + fragments.each(function(node) { parent.appendChild(node) }); + } + else element.outerHTML = content.stripScripts(); + + content.evalScripts.bind(content).defer(); + return element; + }; +} + +Element._returnOffset = function(l, t) { + var result = [l, t]; + result.left = l; + result.top = t; + return result; +}; + +Element._getContentFromAnonymousElement = function(tagName, html) { + var div = new Element('div'), t = Element._insertionTranslations.tags[tagName]; + div.innerHTML = t[0] + html + t[1]; + t[2].times(function() { div = div.firstChild }); + return $A(div.childNodes); +}; + +Element._insertionTranslations = { + before: { + adjacency: 'beforeBegin', + insert: function(element, node) { + element.parentNode.insertBefore(node, element); + }, + initializeRange: function(element, range) { + range.setStartBefore(element); + } + }, + top: { + adjacency: 'afterBegin', + insert: function(element, node) { + element.insertBefore(node, element.firstChild); + }, + initializeRange: function(element, range) { + range.selectNodeContents(element); + range.collapse(true); + } + }, + bottom: { + adjacency: 'beforeEnd', + insert: function(element, node) { + element.appendChild(node); + } + }, + after: { + adjacency: 'afterEnd', + insert: function(element, node) { + element.parentNode.insertBefore(node, element.nextSibling); + }, + initializeRange: function(element, range) { + range.setStartAfter(element); + } + }, + tags: { + TABLE: ['', '
', 1], + TBODY: ['', '
', 2], + TR: ['', '
', 3], + TD: ['
', '
', 4], + SELECT: ['', 1] + } +}; + +(function() { + this.bottom.initializeRange = this.top.initializeRange; + Object.extend(this.tags, { + THEAD: this.tags.TBODY, + TFOOT: this.tags.TBODY, + TH: this.tags.TD + }); +}).call(Element._insertionTranslations); + +Element.Methods.Simulated = { + hasAttribute: function(element, attribute) { + attribute = Element._attributeTranslations.has[attribute] || attribute; + var node = $(element).getAttributeNode(attribute); + return node && node.specified; + } +}; + +Element.Methods.ByTag = { }; + +Object.extend(Element, Element.Methods); + +if (!Prototype.BrowserFeatures.ElementExtensions && + document.createElement('div').__proto__) { + window.HTMLElement = { }; + window.HTMLElement.prototype = document.createElement('div').__proto__; + Prototype.BrowserFeatures.ElementExtensions = true; +} + +Element.extend = (function() { + if (Prototype.BrowserFeatures.SpecificElementExtensions) + return Prototype.K; + + var Methods = { }, ByTag = Element.Methods.ByTag; + + var extend = Object.extend(function(element) { + if (!element || element._extendedByPrototype || + element.nodeType != 1 || element == window) return element; + + var methods = Object.clone(Methods), + tagName = element.tagName, property, value; + + // extend methods for specific tags + if (ByTag[tagName]) Object.extend(methods, ByTag[tagName]); + + for (property in methods) { + value = methods[property]; + if (Object.isFunction(value) && !(property in element)) + element[property] = value.methodize(); + } + + element._extendedByPrototype = Prototype.emptyFunction; + return element; + + }, { + refresh: function() { + // extend methods for all tags (Safari doesn't need this) + if (!Prototype.BrowserFeatures.ElementExtensions) { + Object.extend(Methods, Element.Methods); + Object.extend(Methods, Element.Methods.Simulated); + } + } + }); + + extend.refresh(); + return extend; +})(); + +Element.hasAttribute = function(element, attribute) { + if (element.hasAttribute) return element.hasAttribute(attribute); + return Element.Methods.Simulated.hasAttribute(element, attribute); +}; + +Element.addMethods = function(methods) { + var F = Prototype.BrowserFeatures, T = Element.Methods.ByTag; + + if (!methods) { + Object.extend(Form, Form.Methods); + Object.extend(Form.Element, Form.Element.Methods); + Object.extend(Element.Methods.ByTag, { + "FORM": Object.clone(Form.Methods), + "INPUT": Object.clone(Form.Element.Methods), + "SELECT": Object.clone(Form.Element.Methods), + "TEXTAREA": Object.clone(Form.Element.Methods) + }); + } + + if (arguments.length == 2) { + var tagName = methods; + methods = arguments[1]; + } + + if (!tagName) Object.extend(Element.Methods, methods || { }); + else { + if (Object.isArray(tagName)) tagName.each(extend); + else extend(tagName); + } + + function extend(tagName) { + tagName = tagName.toUpperCase(); + if (!Element.Methods.ByTag[tagName]) + Element.Methods.ByTag[tagName] = { }; + Object.extend(Element.Methods.ByTag[tagName], methods); + } + + function copy(methods, destination, onlyIfAbsent) { + onlyIfAbsent = onlyIfAbsent || false; + for (var property in methods) { + var value = methods[property]; + if (!Object.isFunction(value)) continue; + if (!onlyIfAbsent || !(property in destination)) + destination[property] = value.methodize(); + } + } + + function findDOMClass(tagName) { + var klass; + var trans = { + "OPTGROUP": "OptGroup", "TEXTAREA": "TextArea", "P": "Paragraph", + "FIELDSET": "FieldSet", "UL": "UList", "OL": "OList", "DL": "DList", + "DIR": "Directory", "H1": "Heading", "H2": "Heading", "H3": "Heading", + "H4": "Heading", "H5": "Heading", "H6": "Heading", "Q": "Quote", + "INS": "Mod", "DEL": "Mod", "A": "Anchor", "IMG": "Image", "CAPTION": + "TableCaption", "COL": "TableCol", "COLGROUP": "TableCol", "THEAD": + "TableSection", "TFOOT": "TableSection", "TBODY": "TableSection", "TR": + "TableRow", "TH": "TableCell", "TD": "TableCell", "FRAMESET": + "FrameSet", "IFRAME": "IFrame" + }; + if (trans[tagName]) klass = 'HTML' + trans[tagName] + 'Element'; + if (window[klass]) return window[klass]; + klass = 'HTML' + tagName + 'Element'; + if (window[klass]) return window[klass]; + klass = 'HTML' + tagName.capitalize() + 'Element'; + if (window[klass]) return window[klass]; + + window[klass] = { }; + window[klass].prototype = document.createElement(tagName).__proto__; + return window[klass]; + } + + if (F.ElementExtensions) { + copy(Element.Methods, HTMLElement.prototype); + copy(Element.Methods.Simulated, HTMLElement.prototype, true); + } + + if (F.SpecificElementExtensions) { + for (var tag in Element.Methods.ByTag) { + var klass = findDOMClass(tag); + if (Object.isUndefined(klass)) continue; + copy(T[tag], klass.prototype); + } + } + + Object.extend(Element, Element.Methods); + delete Element.ByTag; + + if (Element.extend.refresh) Element.extend.refresh(); + Element.cache = { }; +}; + +document.viewport = { + getDimensions: function() { + var dimensions = { }; + $w('width height').each(function(d) { + var D = d.capitalize(); + dimensions[d] = self['inner' + D] || + (document.documentElement['client' + D] || document.body['client' + D]); + }); + return dimensions; + }, + + getWidth: function() { + return this.getDimensions().width; + }, + + getHeight: function() { + return this.getDimensions().height; + }, + + getScrollOffsets: function() { + return Element._returnOffset( + window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft, + window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop); + } +}; +/* Portions of the Selector class are derived from Jack Slocum’s DomQuery, + * part of YUI-Ext version 0.40, distributed under the terms of an MIT-style + * license. Please see http://www.yui-ext.com/ for more information. */ + +var Selector = Class.create({ + initialize: function(expression) { + this.expression = expression.strip(); + this.compileMatcher(); + }, + + compileMatcher: function() { + // Selectors with namespaced attributes can't use the XPath version + if (Prototype.BrowserFeatures.XPath && !(/(\[[\w-]*?:|:checked)/).test(this.expression)) + return this.compileXPathMatcher(); + + var e = this.expression, ps = Selector.patterns, h = Selector.handlers, + c = Selector.criteria, le, p, m; + + if (Selector._cache[e]) { + this.matcher = Selector._cache[e]; + return; + } + + this.matcher = ["this.matcher = function(root) {", + "var r = root, h = Selector.handlers, c = false, n;"]; + + while (e && le != e && (/\S/).test(e)) { + le = e; + for (var i in ps) { + p = ps[i]; + if (m = e.match(p)) { + this.matcher.push(Object.isFunction(c[i]) ? c[i](m) : + new Template(c[i]).evaluate(m)); + e = e.replace(m[0], ''); + break; + } + } + } + + this.matcher.push("return h.unique(n);\n}"); + eval(this.matcher.join('\n')); + Selector._cache[this.expression] = this.matcher; + }, + + compileXPathMatcher: function() { + var e = this.expression, ps = Selector.patterns, + x = Selector.xpath, le, m; + + if (Selector._cache[e]) { + this.xpath = Selector._cache[e]; return; + } + + this.matcher = ['.//*']; + while (e && le != e && (/\S/).test(e)) { + le = e; + for (var i in ps) { + if (m = e.match(ps[i])) { + this.matcher.push(Object.isFunction(x[i]) ? x[i](m) : + new Template(x[i]).evaluate(m)); + e = e.replace(m[0], ''); + break; + } + } + } + + this.xpath = this.matcher.join(''); + Selector._cache[this.expression] = this.xpath; + }, + + findElements: function(root) { + root = root || document; + if (this.xpath) return document._getElementsByXPath(this.xpath, root); + return this.matcher(root); + }, + + match: function(element) { + this.tokens = []; + + var e = this.expression, ps = Selector.patterns, as = Selector.assertions; + var le, p, m; + + while (e && le !== e && (/\S/).test(e)) { + le = e; + for (var i in ps) { + p = ps[i]; + if (m = e.match(p)) { + // use the Selector.assertions methods unless the selector + // is too complex. + if (as[i]) { + this.tokens.push([i, Object.clone(m)]); + e = e.replace(m[0], ''); + } else { + // reluctantly do a document-wide search + // and look for a match in the array + return this.findElements(document).include(element); + } + } + } + } + + var match = true, name, matches; + for (var i = 0, token; token = this.tokens[i]; i++) { + name = token[0], matches = token[1]; + if (!Selector.assertions[name](element, matches)) { + match = false; break; + } + } + + return match; + }, + + toString: function() { + return this.expression; + }, + + inspect: function() { + return "#"; + } +}); + +Object.extend(Selector, { + _cache: { }, + + xpath: { + descendant: "//*", + child: "/*", + adjacent: "/following-sibling::*[1]", + laterSibling: '/following-sibling::*', + tagName: function(m) { + if (m[1] == '*') return ''; + return "[local-name()='" + m[1].toLowerCase() + + "' or local-name()='" + m[1].toUpperCase() + "']"; + }, + className: "[contains(concat(' ', @class, ' '), ' #{1} ')]", + id: "[@id='#{1}']", + attrPresence: "[@#{1}]", + attr: function(m) { + m[3] = m[5] || m[6]; + return new Template(Selector.xpath.operators[m[2]]).evaluate(m); + }, + pseudo: function(m) { + var h = Selector.xpath.pseudos[m[1]]; + if (!h) return ''; + if (Object.isFunction(h)) return h(m); + return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m); + }, + operators: { + '=': "[@#{1}='#{3}']", + '!=': "[@#{1}!='#{3}']", + '^=': "[starts-with(@#{1}, '#{3}')]", + '$=': "[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']", + '*=': "[contains(@#{1}, '#{3}')]", + '~=': "[contains(concat(' ', @#{1}, ' '), ' #{3} ')]", + '|=': "[contains(concat('-', @#{1}, '-'), '-#{3}-')]" + }, + pseudos: { + 'first-child': '[not(preceding-sibling::*)]', + 'last-child': '[not(following-sibling::*)]', + 'only-child': '[not(preceding-sibling::* or following-sibling::*)]', + 'empty': "[count(*) = 0 and (count(text()) = 0 or translate(text(), ' \t\r\n', '') = '')]", + 'checked': "[@checked]", + 'disabled': "[@disabled]", + 'enabled': "[not(@disabled)]", + 'not': function(m) { + var e = m[6], p = Selector.patterns, + x = Selector.xpath, le, m, v; + + var exclusion = []; + while (e && le != e && (/\S/).test(e)) { + le = e; + for (var i in p) { + if (m = e.match(p[i])) { + v = Object.isFunction(x[i]) ? x[i](m) : new Template(x[i]).evaluate(m); + exclusion.push("(" + v.substring(1, v.length - 1) + ")"); + e = e.replace(m[0], ''); + break; + } + } + } + return "[not(" + exclusion.join(" and ") + ")]"; + }, + 'nth-child': function(m) { + return Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ", m); + }, + 'nth-last-child': function(m) { + return Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ", m); + }, + 'nth-of-type': function(m) { + return Selector.xpath.pseudos.nth("position() ", m); + }, + 'nth-last-of-type': function(m) { + return Selector.xpath.pseudos.nth("(last() + 1 - position()) ", m); + }, + 'first-of-type': function(m) { + m[6] = "1"; return Selector.xpath.pseudos['nth-of-type'](m); + }, + 'last-of-type': function(m) { + m[6] = "1"; return Selector.xpath.pseudos['nth-last-of-type'](m); + }, + 'only-of-type': function(m) { + var p = Selector.xpath.pseudos; return p['first-of-type'](m) + p['last-of-type'](m); + }, + nth: function(fragment, m) { + var mm, formula = m[6], predicate; + if (formula == 'even') formula = '2n+0'; + if (formula == 'odd') formula = '2n+1'; + if (mm = formula.match(/^(\d+)$/)) // digit only + return '[' + fragment + "= " + mm[1] + ']'; + if (mm = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b + if (mm[1] == "-") mm[1] = -1; + var a = mm[1] ? Number(mm[1]) : 1; + var b = mm[2] ? Number(mm[2]) : 0; + predicate = "[((#{fragment} - #{b}) mod #{a} = 0) and " + + "((#{fragment} - #{b}) div #{a} >= 0)]"; + return new Template(predicate).evaluate({ + fragment: fragment, a: a, b: b }); + } + } + } + }, + + criteria: { + tagName: 'n = h.tagName(n, r, "#{1}", c); c = false;', + className: 'n = h.className(n, r, "#{1}", c); c = false;', + id: 'n = h.id(n, r, "#{1}", c); c = false;', + attrPresence: 'n = h.attrPresence(n, r, "#{1}"); c = false;', + attr: function(m) { + m[3] = (m[5] || m[6]); + return new Template('n = h.attr(n, r, "#{1}", "#{3}", "#{2}"); c = false;').evaluate(m); + }, + pseudo: function(m) { + if (m[6]) m[6] = m[6].replace(/"/g, '\\"'); + return new Template('n = h.pseudo(n, "#{1}", "#{6}", r, c); c = false;').evaluate(m); + }, + descendant: 'c = "descendant";', + child: 'c = "child";', + adjacent: 'c = "adjacent";', + laterSibling: 'c = "laterSibling";' + }, + + patterns: { + // combinators must be listed first + // (and descendant needs to be last combinator) + laterSibling: /^\s*~\s*/, + child: /^\s*>\s*/, + adjacent: /^\s*\+\s*/, + descendant: /^\s/, + + // selectors follow + tagName: /^\s*(\*|[\w\-]+)(\b|$)?/, + id: /^#([\w\-\*]+)(\b|$)/, + className: /^\.([\w\-\*]+)(\b|$)/, + pseudo: /^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s)|(?=:))/, + attrPresence: /^\[([\w]+)\]/, + attr: /\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/ + }, + + // for Selector.match and Element#match + assertions: { + tagName: function(element, matches) { + return matches[1].toUpperCase() == element.tagName.toUpperCase(); + }, + + className: function(element, matches) { + return Element.hasClassName(element, matches[1]); + }, + + id: function(element, matches) { + return element.id === matches[1]; + }, + + attrPresence: function(element, matches) { + return Element.hasAttribute(element, matches[1]); + }, + + attr: function(element, matches) { + var nodeValue = Element.readAttribute(element, matches[1]); + return Selector.operators[matches[2]](nodeValue, matches[3]); + } + }, + + handlers: { + // UTILITY FUNCTIONS + // joins two collections + concat: function(a, b) { + for (var i = 0, node; node = b[i]; i++) + a.push(node); + return a; + }, + + // marks an array of nodes for counting + mark: function(nodes) { + for (var i = 0, node; node = nodes[i]; i++) + node._counted = true; + return nodes; + }, + + unmark: function(nodes) { + for (var i = 0, node; node = nodes[i]; i++) + node._counted = undefined; + return nodes; + }, + + // mark each child node with its position (for nth calls) + // "ofType" flag indicates whether we're indexing for nth-of-type + // rather than nth-child + index: function(parentNode, reverse, ofType) { + parentNode._counted = true; + if (reverse) { + for (var nodes = parentNode.childNodes, i = nodes.length - 1, j = 1; i >= 0; i--) { + var node = nodes[i]; + if (node.nodeType == 1 && (!ofType || node._counted)) node.nodeIndex = j++; + } + } else { + for (var i = 0, j = 1, nodes = parentNode.childNodes; node = nodes[i]; i++) + if (node.nodeType == 1 && (!ofType || node._counted)) node.nodeIndex = j++; + } + }, + + // filters out duplicates and extends all nodes + unique: function(nodes) { + if (nodes.length == 0) return nodes; + var results = [], n; + for (var i = 0, l = nodes.length; i < l; i++) + if (!(n = nodes[i])._counted) { + n._counted = true; + results.push(Element.extend(n)); + } + return Selector.handlers.unmark(results); + }, + + // COMBINATOR FUNCTIONS + descendant: function(nodes) { + var h = Selector.handlers; + for (var i = 0, results = [], node; node = nodes[i]; i++) + h.concat(results, node.getElementsByTagName('*')); + return results; + }, + + child: function(nodes) { + var h = Selector.handlers; + for (var i = 0, results = [], node; node = nodes[i]; i++) { + for (var j = 0, children = [], child; child = node.childNodes[j]; j++) + if (child.nodeType == 1 && child.tagName != '!') results.push(child); + } + return results; + }, + + adjacent: function(nodes) { + for (var i = 0, results = [], node; node = nodes[i]; i++) { + var next = this.nextElementSibling(node); + if (next) results.push(next); + } + return results; + }, + + laterSibling: function(nodes) { + var h = Selector.handlers; + for (var i = 0, results = [], node; node = nodes[i]; i++) + h.concat(results, Element.nextSiblings(node)); + return results; + }, + + nextElementSibling: function(node) { + while (node = node.nextSibling) + if (node.nodeType == 1) return node; + return null; + }, + + previousElementSibling: function(node) { + while (node = node.previousSibling) + if (node.nodeType == 1) return node; + return null; + }, + + // TOKEN FUNCTIONS + tagName: function(nodes, root, tagName, combinator) { + tagName = tagName.toUpperCase(); + var results = [], h = Selector.handlers; + if (nodes) { + if (combinator) { + // fastlane for ordinary descendant combinators + if (combinator == "descendant") { + for (var i = 0, node; node = nodes[i]; i++) + h.concat(results, node.getElementsByTagName(tagName)); + return results; + } else nodes = this[combinator](nodes); + if (tagName == "*") return nodes; + } + for (var i = 0, node; node = nodes[i]; i++) + if (node.tagName.toUpperCase() == tagName) results.push(node); + return results; + } else return root.getElementsByTagName(tagName); + }, + + id: function(nodes, root, id, combinator) { + var targetNode = $(id), h = Selector.handlers; + if (!targetNode) return []; + if (!nodes && root == document) return [targetNode]; + if (nodes) { + if (combinator) { + if (combinator == 'child') { + for (var i = 0, node; node = nodes[i]; i++) + if (targetNode.parentNode == node) return [targetNode]; + } else if (combinator == 'descendant') { + for (var i = 0, node; node = nodes[i]; i++) + if (Element.descendantOf(targetNode, node)) return [targetNode]; + } else if (combinator == 'adjacent') { + for (var i = 0, node; node = nodes[i]; i++) + if (Selector.handlers.previousElementSibling(targetNode) == node) + return [targetNode]; + } else nodes = h[combinator](nodes); + } + for (var i = 0, node; node = nodes[i]; i++) + if (node == targetNode) return [targetNode]; + return []; + } + return (targetNode && Element.descendantOf(targetNode, root)) ? [targetNode] : []; + }, + + className: function(nodes, root, className, combinator) { + if (nodes && combinator) nodes = this[combinator](nodes); + return Selector.handlers.byClassName(nodes, root, className); + }, + + byClassName: function(nodes, root, className) { + if (!nodes) nodes = Selector.handlers.descendant([root]); + var needle = ' ' + className + ' '; + for (var i = 0, results = [], node, nodeClassName; node = nodes[i]; i++) { + nodeClassName = node.className; + if (nodeClassName.length == 0) continue; + if (nodeClassName == className || (' ' + nodeClassName + ' ').include(needle)) + results.push(node); + } + return results; + }, + + attrPresence: function(nodes, root, attr) { + if (!nodes) nodes = root.getElementsByTagName("*"); + var results = []; + for (var i = 0, node; node = nodes[i]; i++) + if (Element.hasAttribute(node, attr)) results.push(node); + return results; + }, + + attr: function(nodes, root, attr, value, operator) { + if (!nodes) nodes = root.getElementsByTagName("*"); + var handler = Selector.operators[operator], results = []; + for (var i = 0, node; node = nodes[i]; i++) { + var nodeValue = Element.readAttribute(node, attr); + if (nodeValue === null) continue; + if (handler(nodeValue, value)) results.push(node); + } + return results; + }, + + pseudo: function(nodes, name, value, root, combinator) { + if (nodes && combinator) nodes = this[combinator](nodes); + if (!nodes) nodes = root.getElementsByTagName("*"); + return Selector.pseudos[name](nodes, value, root); + } + }, + + pseudos: { + 'first-child': function(nodes, value, root) { + for (var i = 0, results = [], node; node = nodes[i]; i++) { + if (Selector.handlers.previousElementSibling(node)) continue; + results.push(node); + } + return results; + }, + 'last-child': function(nodes, value, root) { + for (var i = 0, results = [], node; node = nodes[i]; i++) { + if (Selector.handlers.nextElementSibling(node)) continue; + results.push(node); + } + return results; + }, + 'only-child': function(nodes, value, root) { + var h = Selector.handlers; + for (var i = 0, results = [], node; node = nodes[i]; i++) + if (!h.previousElementSibling(node) && !h.nextElementSibling(node)) + results.push(node); + return results; + }, + 'nth-child': function(nodes, formula, root) { + return Selector.pseudos.nth(nodes, formula, root); + }, + 'nth-last-child': function(nodes, formula, root) { + return Selector.pseudos.nth(nodes, formula, root, true); + }, + 'nth-of-type': function(nodes, formula, root) { + return Selector.pseudos.nth(nodes, formula, root, false, true); + }, + 'nth-last-of-type': function(nodes, formula, root) { + return Selector.pseudos.nth(nodes, formula, root, true, true); + }, + 'first-of-type': function(nodes, formula, root) { + return Selector.pseudos.nth(nodes, "1", root, false, true); + }, + 'last-of-type': function(nodes, formula, root) { + return Selector.pseudos.nth(nodes, "1", root, true, true); + }, + 'only-of-type': function(nodes, formula, root) { + var p = Selector.pseudos; + return p['last-of-type'](p['first-of-type'](nodes, formula, root), formula, root); + }, + + // handles the an+b logic + getIndices: function(a, b, total) { + if (a == 0) return b > 0 ? [b] : []; + return $R(1, total).inject([], function(memo, i) { + if (0 == (i - b) % a && (i - b) / a >= 0) memo.push(i); + return memo; + }); + }, + + // handles nth(-last)-child, nth(-last)-of-type, and (first|last)-of-type + nth: function(nodes, formula, root, reverse, ofType) { + if (nodes.length == 0) return []; + if (formula == 'even') formula = '2n+0'; + if (formula == 'odd') formula = '2n+1'; + var h = Selector.handlers, results = [], indexed = [], m; + h.mark(nodes); + for (var i = 0, node; node = nodes[i]; i++) { + if (!node.parentNode._counted) { + h.index(node.parentNode, reverse, ofType); + indexed.push(node.parentNode); + } + } + if (formula.match(/^\d+$/)) { // just a number + formula = Number(formula); + for (var i = 0, node; node = nodes[i]; i++) + if (node.nodeIndex == formula) results.push(node); + } else if (m = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b + if (m[1] == "-") m[1] = -1; + var a = m[1] ? Number(m[1]) : 1; + var b = m[2] ? Number(m[2]) : 0; + var indices = Selector.pseudos.getIndices(a, b, nodes.length); + for (var i = 0, node, l = indices.length; node = nodes[i]; i++) { + for (var j = 0; j < l; j++) + if (node.nodeIndex == indices[j]) results.push(node); + } + } + h.unmark(nodes); + h.unmark(indexed); + return results; + }, + + 'empty': function(nodes, value, root) { + for (var i = 0, results = [], node; node = nodes[i]; i++) { + // IE treats comments as element nodes + if (node.tagName == '!' || (node.firstChild && !node.innerHTML.match(/^\s*$/))) continue; + results.push(node); + } + return results; + }, + + 'not': function(nodes, selector, root) { + var h = Selector.handlers, selectorType, m; + var exclusions = new Selector(selector).findElements(root); + h.mark(exclusions); + for (var i = 0, results = [], node; node = nodes[i]; i++) + if (!node._counted) results.push(node); + h.unmark(exclusions); + return results; + }, + + 'enabled': function(nodes, value, root) { + for (var i = 0, results = [], node; node = nodes[i]; i++) + if (!node.disabled) results.push(node); + return results; + }, + + 'disabled': function(nodes, value, root) { + for (var i = 0, results = [], node; node = nodes[i]; i++) + if (node.disabled) results.push(node); + return results; + }, + + 'checked': function(nodes, value, root) { + for (var i = 0, results = [], node; node = nodes[i]; i++) + if (node.checked) results.push(node); + return results; + } + }, + + operators: { + '=': function(nv, v) { return nv == v; }, + '!=': function(nv, v) { return nv != v; }, + '^=': function(nv, v) { return nv.startsWith(v); }, + '$=': function(nv, v) { return nv.endsWith(v); }, + '*=': function(nv, v) { return nv.include(v); }, + '~=': function(nv, v) { return (' ' + nv + ' ').include(' ' + v + ' '); }, + '|=': function(nv, v) { return ('-' + nv.toUpperCase() + '-').include('-' + v.toUpperCase() + '-'); } + }, + + matchElements: function(elements, expression) { + var matches = new Selector(expression).findElements(), h = Selector.handlers; + h.mark(matches); + for (var i = 0, results = [], element; element = elements[i]; i++) + if (element._counted) results.push(element); + h.unmark(matches); + return results; + }, + + findElement: function(elements, expression, index) { + if (Object.isNumber(expression)) { + index = expression; expression = false; + } + return Selector.matchElements(elements, expression || '*')[index || 0]; + }, + + findChildElements: function(element, expressions) { + var exprs = expressions.join(','), expressions = []; + exprs.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/, function(m) { + expressions.push(m[1].strip()); + }); + var results = [], h = Selector.handlers; + for (var i = 0, l = expressions.length, selector; i < l; i++) { + selector = new Selector(expressions[i].strip()); + h.concat(results, selector.findElements(element)); + } + return (l > 1) ? h.unique(results) : results; + } +}); + +function $$() { + return Selector.findChildElements(document, $A(arguments)); +} +var Form = { + reset: function(form) { + $(form).reset(); + return form; + }, + + serializeElements: function(elements, options) { + if (typeof options != 'object') options = { hash: !!options }; + else if (options.hash === undefined) options.hash = true; + var key, value, submitted = false, submit = options.submit; + + var data = elements.inject({ }, function(result, element) { + if (!element.disabled && element.name) { + key = element.name; value = $(element).getValue(); + if (value != null && (element.type != 'submit' || (!submitted && + submit !== false && (!submit || key == submit) && (submitted = true)))) { + if (key in result) { + // a key is already present; construct an array of values + if (!Object.isArray(result[key])) result[key] = [result[key]]; + result[key].push(value); + } + else result[key] = value; + } + } + return result; + }); + + return options.hash ? data : Object.toQueryString(data); + } +}; + +Form.Methods = { + serialize: function(form, options) { + return Form.serializeElements(Form.getElements(form), options); + }, + + getElements: function(form) { + return $A($(form).getElementsByTagName('*')).inject([], + function(elements, child) { + if (Form.Element.Serializers[child.tagName.toLowerCase()]) + elements.push(Element.extend(child)); + return elements; + } + ); + }, + + getInputs: function(form, typeName, name) { + form = $(form); + var inputs = form.getElementsByTagName('input'); + + if (!typeName && !name) return $A(inputs).map(Element.extend); + + for (var i = 0, matchingInputs = [], length = inputs.length; i < length; i++) { + var input = inputs[i]; + if ((typeName && input.type != typeName) || (name && input.name != name)) + continue; + matchingInputs.push(Element.extend(input)); + } + + return matchingInputs; + }, + + disable: function(form) { + form = $(form); + Form.getElements(form).invoke('disable'); + return form; + }, + + enable: function(form) { + form = $(form); + Form.getElements(form).invoke('enable'); + return form; + }, + + findFirstElement: function(form) { + var elements = $(form).getElements().findAll(function(element) { + return 'hidden' != element.type && !element.disabled; + }); + var firstByIndex = elements.findAll(function(element) { + return element.hasAttribute('tabIndex') && element.tabIndex >= 0; + }).sortBy(function(element) { return element.tabIndex }).first(); + + return firstByIndex ? firstByIndex : elements.find(function(element) { + return ['input', 'select', 'textarea'].include(element.tagName.toLowerCase()); + }); + }, + + focusFirstElement: function(form) { + form = $(form); + form.findFirstElement().activate(); + return form; + }, + + request: function(form, options) { + form = $(form), options = Object.clone(options || { }); + + var params = options.parameters, action = form.readAttribute('action') || ''; + if (action.blank()) action = window.location.href; + options.parameters = form.serialize(true); + + if (params) { + if (Object.isString(params)) params = params.toQueryParams(); + Object.extend(options.parameters, params); + } + + if (form.hasAttribute('method') && !options.method) + options.method = form.method; + + return new Ajax.Request(action, options); + } +}; + +/*--------------------------------------------------------------------------*/ + +Form.Element = { + focus: function(element) { + $(element).focus(); + return element; + }, + + select: function(element) { + $(element).select(); + return element; + } +}; + +Form.Element.Methods = { + serialize: function(element) { + element = $(element); + if (!element.disabled && element.name) { + var value = element.getValue(); + if (value != undefined) { + var pair = { }; + pair[element.name] = value; + return Object.toQueryString(pair); + } + } + return ''; + }, + + getValue: function(element) { + element = $(element); + var method = element.tagName.toLowerCase(); + return Form.Element.Serializers[method](element); + }, + + setValue: function(element, value) { + element = $(element); + var method = element.tagName.toLowerCase(); + Form.Element.Serializers[method](element, value); + return element; + }, + + clear: function(element) { + $(element).value = ''; + return element; + }, + + present: function(element) { + return $(element).value != ''; + }, + + activate: function(element) { + element = $(element); + try { + element.focus(); + if (element.select && (element.tagName.toLowerCase() != 'input' || + !['button', 'reset', 'submit'].include(element.type))) + element.select(); + } catch (e) { } + return element; + }, + + disable: function(element) { + element = $(element); + element.blur(); + element.disabled = true; + return element; + }, + + enable: function(element) { + element = $(element); + element.disabled = false; + return element; + } +}; + +/*--------------------------------------------------------------------------*/ + +var Field = Form.Element; +var $F = Form.Element.Methods.getValue; + +/*--------------------------------------------------------------------------*/ + +Form.Element.Serializers = { + input: function(element, value) { + switch (element.type.toLowerCase()) { + case 'checkbox': + case 'radio': + return Form.Element.Serializers.inputSelector(element, value); + default: + return Form.Element.Serializers.textarea(element, value); + } + }, + + inputSelector: function(element, value) { + if (value === undefined) return element.checked ? element.value : null; + else element.checked = !!value; + }, + + textarea: function(element, value) { + if (value === undefined) return element.value; + else element.value = value; + }, + + select: function(element, index) { + if (index === undefined) + return this[element.type == 'select-one' ? + 'selectOne' : 'selectMany'](element); + else { + var opt, value, single = !Object.isArray(index); + for (var i = 0, length = element.length; i < length; i++) { + opt = element.options[i]; + value = this.optionValue(opt); + if (single) { + if (value == index) { + opt.selected = true; + return; + } + } + else opt.selected = index.include(value); + } + } + }, + + selectOne: function(element) { + var index = element.selectedIndex; + return index >= 0 ? this.optionValue(element.options[index]) : null; + }, + + selectMany: function(element) { + var values, length = element.length; + if (!length) return null; + + for (var i = 0, values = []; i < length; i++) { + var opt = element.options[i]; + if (opt.selected) values.push(this.optionValue(opt)); + } + return values; + }, + + optionValue: function(opt) { + // extend element because hasAttribute may not be native + return Element.extend(opt).hasAttribute('value') ? opt.value : opt.text; + } +}; + +/*--------------------------------------------------------------------------*/ + +Abstract.TimedObserver = Class.create(PeriodicalExecuter, { + initialize: function($super, element, frequency, callback) { + $super(callback, frequency); + this.element = $(element); + this.lastValue = this.getValue(); + }, + + execute: function() { + var value = this.getValue(); + if (Object.isString(this.lastValue) && Object.isString(value) ? + this.lastValue != value : String(this.lastValue) != String(value)) { + this.callback(this.element, value); + this.lastValue = value; + } + } +}); + +Form.Element.Observer = Class.create(Abstract.TimedObserver, { + getValue: function() { + return Form.Element.getValue(this.element); + } +}); + +Form.Observer = Class.create(Abstract.TimedObserver, { + getValue: function() { + return Form.serialize(this.element); + } +}); + +/*--------------------------------------------------------------------------*/ + +Abstract.EventObserver = Class.create({ + initialize: function(element, callback) { + this.element = $(element); + this.callback = callback; + + this.lastValue = this.getValue(); + if (this.element.tagName.toLowerCase() == 'form') + this.registerFormCallbacks(); + else + this.registerCallback(this.element); + }, + + onElementEvent: function() { + var value = this.getValue(); + if (this.lastValue != value) { + this.callback(this.element, value); + this.lastValue = value; + } + }, + + registerFormCallbacks: function() { + Form.getElements(this.element).each(this.registerCallback, this); + }, + + registerCallback: function(element) { + if (element.type) { + switch (element.type.toLowerCase()) { + case 'checkbox': + case 'radio': + Event.observe(element, 'click', this.onElementEvent.bind(this)); + break; + default: + Event.observe(element, 'change', this.onElementEvent.bind(this)); + break; + } + } + } +}); + +Form.Element.EventObserver = Class.create(Abstract.EventObserver, { + getValue: function() { + return Form.Element.getValue(this.element); + } +}); + +Form.EventObserver = Class.create(Abstract.EventObserver, { + getValue: function() { + return Form.serialize(this.element); + } +}); +if (!window.Event) var Event = { }; + +Object.extend(Event, { + KEY_BACKSPACE: 8, + KEY_TAB: 9, + KEY_RETURN: 13, + KEY_ESC: 27, + KEY_LEFT: 37, + KEY_UP: 38, + KEY_RIGHT: 39, + KEY_DOWN: 40, + KEY_DELETE: 46, + KEY_HOME: 36, + KEY_END: 35, + KEY_PAGEUP: 33, + KEY_PAGEDOWN: 34, + KEY_INSERT: 45, + + cache: { }, + + relatedTarget: function(event) { + var element; + switch(event.type) { + case 'mouseover': element = event.fromElement; break; + case 'mouseout': element = event.toElement; break; + default: return null; + } + return Element.extend(element); + } +}); + +Event.Methods = (function() { + var isButton; + + if (Prototype.Browser.IE) { + var buttonMap = { 0: 1, 1: 4, 2: 2 }; + isButton = function(event, code) { + return event.button == buttonMap[code]; + }; + + } else if (Prototype.Browser.WebKit) { + isButton = function(event, code) { + switch (code) { + case 0: return event.which == 1 && !event.metaKey; + case 1: return event.which == 1 && event.metaKey; + default: return false; + } + }; + + } else { + isButton = function(event, code) { + return event.which ? (event.which === code + 1) : (event.button === code); + }; + } + + return { + isLeftClick: function(event) { return isButton(event, 0) }, + isMiddleClick: function(event) { return isButton(event, 1) }, + isRightClick: function(event) { return isButton(event, 2) }, + + element: function(event) { + var node = Event.extend(event).target; + return Element.extend(node.nodeType == Node.TEXT_NODE ? node.parentNode : node); + }, + + findElement: function(event, expression) { + var element = Event.element(event); + return element.match(expression) ? element : element.up(expression); + }, + + pointer: function(event) { + return { + x: event.pageX || (event.clientX + + (document.documentElement.scrollLeft || document.body.scrollLeft)), + y: event.pageY || (event.clientY + + (document.documentElement.scrollTop || document.body.scrollTop)) + }; + }, + + pointerX: function(event) { return Event.pointer(event).x }, + pointerY: function(event) { return Event.pointer(event).y }, + + stop: function(event) { + Event.extend(event); + event.preventDefault(); + event.stopPropagation(); + event.stopped = true; + } + }; +})(); + +Event.extend = (function() { + var methods = Object.keys(Event.Methods).inject({ }, function(m, name) { + m[name] = Event.Methods[name].methodize(); + return m; + }); + + if (Prototype.Browser.IE) { + Object.extend(methods, { + stopPropagation: function() { this.cancelBubble = true }, + preventDefault: function() { this.returnValue = false }, + inspect: function() { return "[object Event]" } + }); + + return function(event) { + if (!event) return false; + if (event._extendedByPrototype) return event; + + event._extendedByPrototype = Prototype.emptyFunction; + var pointer = Event.pointer(event); + Object.extend(event, { + target: event.srcElement, + relatedTarget: Event.relatedTarget(event), + pageX: pointer.x, + pageY: pointer.y + }); + return Object.extend(event, methods); + }; + + } else { + Event.prototype = Event.prototype || document.createEvent("HTMLEvents").__proto__; + Object.extend(Event.prototype, methods); + return Prototype.K; + } +})(); + +Object.extend(Event, (function() { + var cache = Event.cache; + + function getEventID(element) { + if (element._eventID) return element._eventID; + arguments.callee.id = arguments.callee.id || 1; + return element._eventID = ++arguments.callee.id; + } + + function getDOMEventName(eventName) { + if (eventName && eventName.include(':')) return "dataavailable"; + return eventName; + } + + function getCacheForID(id) { + return cache[id] = cache[id] || { }; + } + + function getWrappersForEventName(id, eventName) { + var c = getCacheForID(id); + return c[eventName] = c[eventName] || []; + } + + function createWrapper(element, eventName, handler) { + var id = getEventID(element); + var c = getWrappersForEventName(id, eventName); + if (c.pluck("handler").include(handler)) return false; + + var wrapper = function(event) { + if (!Event || !Event.extend || + (event.eventName && event.eventName != eventName)) + return false; + + Event.extend(event); + handler.call(element, event) + }; + + wrapper.handler = handler; + c.push(wrapper); + return wrapper; + } + + function findWrapper(id, eventName, handler) { + var c = getWrappersForEventName(id, eventName); + return c.find(function(wrapper) { return wrapper.handler == handler }); + } + + function destroyWrapper(id, eventName, handler) { + var c = getCacheForID(id); + if (!c[eventName]) return false; + c[eventName] = c[eventName].without(findWrapper(id, eventName, handler)); + } + + function destroyCache() { + for (var id in cache) + for (var eventName in cache[id]) + cache[id][eventName] = null; + } + + if (window.attachEvent) { + window.attachEvent("onunload", destroyCache); + } + + return { + observe: function(element, eventName, handler) { + element = $(element); + var name = getDOMEventName(eventName); + + var wrapper = createWrapper(element, eventName, handler); + if (!wrapper) return element; + + if (element.addEventListener) { + element.addEventListener(name, wrapper, false); + } else { + element.attachEvent("on" + name, wrapper); + } + + return element; + }, + + stopObserving: function(element, eventName, handler) { + element = $(element); + var id = getEventID(element), name = getDOMEventName(eventName); + + if (!handler && eventName) { + getWrappersForEventName(id, eventName).each(function(wrapper) { + element.stopObserving(eventName, wrapper.handler); + }); + return element; + + } else if (!eventName) { + Object.keys(getCacheForID(id)).each(function(eventName) { + element.stopObserving(eventName); + }); + return element; + } + + var wrapper = findWrapper(id, eventName, handler); + if (!wrapper) return element; + + if (element.removeEventListener) { + element.removeEventListener(name, wrapper, false); + } else { + element.detachEvent("on" + name, wrapper); + } + + destroyWrapper(id, eventName, handler); + + return element; + }, + + fire: function(element, eventName, memo) { + element = $(element); + if (element == document && document.createEvent && !element.dispatchEvent) + element = document.documentElement; + + if (document.createEvent) { + var event = document.createEvent("HTMLEvents"); + event.initEvent("dataavailable", true, true); + } else { + var event = document.createEventObject(); + event.eventType = "ondataavailable"; + } + + event.eventName = eventName; + event.memo = memo || { }; + + if (document.createEvent) { + element.dispatchEvent(event); + } else { + element.fireEvent(event.eventType, event); + } + + return event; + } + }; +})()); + +Object.extend(Event, Event.Methods); + +Element.addMethods({ + fire: Event.fire, + observe: Event.observe, + stopObserving: Event.stopObserving +}); + +Object.extend(document, { + fire: Element.Methods.fire.methodize(), + observe: Element.Methods.observe.methodize(), + stopObserving: Element.Methods.stopObserving.methodize() +}); + +(function() { + /* Support for the DOMContentLoaded event is based on work by Dan Webb, + Matthias Miller, Dean Edwards and John Resig. */ + + var timer, fired = false; + + function fireContentLoadedEvent() { + if (fired) return; + if (timer) window.clearInterval(timer); + document.fire("dom:loaded"); + fired = true; + } + + if (document.addEventListener) { + if (Prototype.Browser.WebKit) { + timer = window.setInterval(function() { + if (/loaded|complete/.test(document.readyState)) + fireContentLoadedEvent(); + }, 0); + + Event.observe(window, "load", fireContentLoadedEvent); + + } else { + document.addEventListener("DOMContentLoaded", + fireContentLoadedEvent, false); + } + + } else { + document.write("