repo stringlengths 5 92 | file_url stringlengths 80 287 | file_path stringlengths 5 197 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:37:27 2026-01-04 17:58:21 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-aix/syslog.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-aix/syslog.rb | # This file is generated by rake. Do not edit.
module Syslog
module Constants
LOG_ALERT = 1
LOG_AUTH = 32
LOG_AUTHPRIV = 80
LOG_CONS = 2
# LOG_CONSOLE not available
LOG_CRIT = 2
LOG_CRON = 72
LOG_DAEMON = 24
LOG_DEBUG = 7
LOG_EMERG = 0
LOG_ERR = 3
# LOG_FTP not availab... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-aix/fcntl.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-aix/fcntl.rb | # This file is generated by rake. Do not edit.
module Fcntl
FD_CLOEXEC = 1
F_DUPFD = 0
F_GETFD = 1
F_GETFL = 3
F_GETLK = 5
F_RDLCK = 1
F_SETFD = 2
F_SETFL = 4
F_SETLK = 6
F_SETLKW = 7
F_UNLCK = 3
F_WRLCK = 2
O_ACCMODE = 3
O_APPEND = 8
O_CREAT = 256
O_EXCL = 1024
O_NDELAY = 32768
O_N... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-aix/zlib.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-aix/zlib.rb | # This file is generated by rake. Do not edit.
##
# The Zlib module contains several classes for compressing and decompressing
# streams, and for working with "gzip" files.
#
# == Classes
#
# Following are the classes that are most likely to be of interest to the
# user:
# - Zlib::Inflate
# - Zlib::Deflate
# - Zlib::G... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | true |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-aix/sysconf.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-aix/sysconf.rb | # This file is generated by rake. Do not edit.
module Platform;end
module Platform::Sysconf
SC_2_CHAR_TERM = 54
SC_2_C_BIND = 51
SC_2_C_DEV = 32
SC_2_FORT_DEV = 33
SC_2_FORT_RUN = 34
SC_2_LOCALEDEF = 35
SC_2_PBS = 132
SC_2_PBS_ACCOUNTING = 133
SC_2_PBS_CHECKPOINT = 134
SC_2_PBS_LOCATE = 135
SC_2_... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-darwin/errno.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-darwin/errno.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Errno
E2BIG = 7
EACCES = 13
EADDRINUSE = 48
EADDRNOTAVAIL = 49
EAFNOSUPPORT = 47
EAGAIN = 35
EALREADY = 37
EBADF = 9
EBUSY = 16
ECHILD = 10
ECONNABORTED = 53
ECONNREFUSED = 61
ECONNRESET = 54
EDEADLK = 11
... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-darwin/socket.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-darwin/socket.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Socket
AF_APPLETALK = 16
# AF_ATM not available
# AF_AX25 not available
AF_CCITT = 10
AF_CHAOS = 5
AF_CNT = 21
AF_COIP = 20
AF_DATAKIT = 9
AF_DECnet = 12
AF_DLI = 13
AF_E164 = 28
AF_ECMA = 8
AF_HYLINK = 15
... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-darwin/stat.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-darwin/stat.rb | # This file is generated by rake. Do not edit.
module Platform
module Stat
class Stat < FFI::Struct
self.size = 144
layout :st_dev, :dev_t, 0,
:st_ino, :ino_t, 8,
:st_nlink, :nlink_t, 6,
:st_mode, :mode_t, 4,
:st_uid, :uid_t, 16,
:st_gi... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-darwin/etc.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-darwin/etc.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Etc
class Passwd < FFI::Struct
self.size = 72
layout :pw_name, :string, 0,
:pw_passwd, :string, 8,
:pw_uid, :uint, 16,
:pw_gid, :uint, 20,
:pw_dir, :string, 48,
:pw_shel... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-darwin/syslog.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-darwin/syslog.rb | # This file is generated by rake. Do not edit.
module Syslog
module Constants
LOG_ALERT = 1
LOG_AUTH = 32
LOG_AUTHPRIV = 80
LOG_CONS = 2
# LOG_CONSOLE not available
LOG_CRIT = 2
LOG_CRON = 72
LOG_DAEMON = 24
LOG_DEBUG = 7
LOG_EMERG = 0
LOG_ERR = 3
LOG_FTP = 88
LOG_... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-darwin/fcntl.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-darwin/fcntl.rb | # This file is generated by rake. Do not edit.
module Fcntl
FD_CLOEXEC = 1
F_DUPFD = 0
F_GETFD = 1
F_GETFL = 3
F_GETLK = 7
F_RDLCK = 1
F_SETFD = 2
F_SETFL = 4
F_SETLK = 8
F_SETLKW = 9
F_UNLCK = 2
F_WRLCK = 3
O_ACCMODE = 3
O_APPEND = 8
O_CREAT = 512
O_EXCL = 2048
O_NDELAY = 4
O_NOCTT... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-darwin/zlib.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-darwin/zlib.rb | # This file is generated by rake. Do not edit.
##
# The Zlib module contains several classes for compressing and decompressing
# streams, and for working with "gzip" files.
#
# == Classes
#
# Following are the classes that are most likely to be of interest to the
# user:
# - Zlib::Inflate
# - Zlib::Deflate
# - Zlib::G... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | true |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-darwin/sysconf.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-darwin/sysconf.rb | # This file is generated by rake. Do not edit.
module Platform;end
module Platform::Sysconf
SC_2_CHAR_TERM = 20
SC_2_C_BIND = 18
SC_2_C_DEV = 19
SC_2_FORT_DEV = 21
SC_2_FORT_RUN = 22
SC_2_LOCALEDEF = 23
SC_2_PBS = 59
SC_2_PBS_ACCOUNTING = 60
SC_2_PBS_CHECKPOINT = 61
SC_2_PBS_LOCATE = 62
SC_2_PBS_... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparc-solaris/errno.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparc-solaris/errno.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Errno
E2BIG = 7
EACCES = 13
EADDRINUSE = 125
EADDRNOTAVAIL = 126
EAFNOSUPPORT = 124
EAGAIN = 11
EALREADY = 149
EBADF = 9
EBUSY = 16
ECHILD = 10
ECONNABORTED = 130
ECONNREFUSED = 146
ECONNRESET = 131
EDEADLK... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparc-solaris/socket.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparc-solaris/socket.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Socket
AF_APPLETALK = 16
# AF_ATM not available
# AF_AX25 not available
AF_CCITT = 10
AF_CHAOS = 5
# AF_CNT not available
# AF_COIP not available
AF_DATAKIT = 9
AF_DECnet = 12
AF_DLI = 13
# AF_E164 not available
... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparc-solaris/stat.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparc-solaris/stat.rb | # This file is generated by rake. Do not edit.
module Platform
module Stat
class Stat < FFI::Struct
self.size = 152
layout :st_dev, :dev_t, 0,
:st_ino, :ino_t, 16,
:st_nlink, :nlink_t, 28,
:st_mode, :mode_t, 24,
:st_uid, :uid_t, 32,
:st... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparc-solaris/etc.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparc-solaris/etc.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Etc
class Passwd < FFI::Struct
self.size = 36
layout :pw_name, :string, 0,
:pw_passwd, :string, 4,
:pw_uid, :uint, 8,
:pw_gid, :uint, 12,
:pw_dir, :string, 28,
:pw_shell... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparc-solaris/syslog.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparc-solaris/syslog.rb | # This file is generated by rake. Do not edit.
module Syslog
module Constants
LOG_ALERT = 1
LOG_AUTH = 32
# LOG_AUTHPRIV not available
LOG_CONS = 2
# LOG_CONSOLE not available
LOG_CRIT = 2
LOG_CRON = 120
LOG_DAEMON = 24
LOG_DEBUG = 7
LOG_EMERG = 0
LOG_ERR = 3
# LOG_FTP... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparc-solaris/fcntl.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparc-solaris/fcntl.rb | # This file is generated by rake. Do not edit.
module Fcntl
FD_CLOEXEC = 1
F_DUPFD = 0
F_GETFD = 1
F_GETFL = 3
F_GETLK = 33
F_RDLCK = 1
F_SETFD = 2
F_SETFL = 4
F_SETLK = 34
F_SETLKW = 35
F_UNLCK = 3
F_WRLCK = 2
O_ACCMODE = 3
O_APPEND = 8
O_CREAT = 256
O_EXCL = 1024
O_NDELAY = 4
O_NO... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparc-solaris/zlib.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparc-solaris/zlib.rb | # This file is generated by rake. Do not edit.
##
# The Zlib module contains several classes for compressing and decompressing
# streams, and for working with "gzip" files.
#
# == Classes
#
# Following are the classes that are most likely to be of interest to the
# user:
# - Zlib::Inflate
# - Zlib::Deflate
# - Zlib::G... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | true |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparc-solaris/sysconf.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparc-solaris/sysconf.rb | # This file is generated by rake. Do not edit.
module Platform;end
module Platform::Sysconf
SC_2_CHAR_TERM = 66
SC_2_C_BIND = 45
SC_2_C_DEV = 46
SC_2_FORT_DEV = 48
SC_2_FORT_RUN = 49
SC_2_LOCALEDEF = 50
SC_2_PBS = 724
SC_2_PBS_ACCOUNTING = 725
SC_2_PBS_CHECKPOINT = 726
SC_2_PBS_LOCATE = 728
SC_2_... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparcv9-solaris/errno.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparcv9-solaris/errno.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Errno
E2BIG = 7
EACCES = 13
EADDRINUSE = 125
EADDRNOTAVAIL = 126
EAFNOSUPPORT = 124
EAGAIN = 11
EALREADY = 149
EBADF = 9
EBUSY = 16
ECHILD = 10
ECONNABORTED = 130
ECONNREFUSED = 146
ECONNRESET = 131
EDEADLK... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparcv9-solaris/socket.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparcv9-solaris/socket.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Socket
AF_APPLETALK = 16
# AF_ATM not available
# AF_AX25 not available
AF_CCITT = 10
AF_CHAOS = 5
# AF_CNT not available
# AF_COIP not available
AF_DATAKIT = 9
AF_DECnet = 12
AF_DLI = 13
# AF_E164 not available
... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparcv9-solaris/stat.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparcv9-solaris/stat.rb | # This file is generated by rake. Do not edit.
module Platform
module Stat
class Stat < FFI::Struct
self.size = 152
layout :st_dev, :dev_t, 0,
:st_ino, :ino_t, 16,
:st_nlink, :nlink_t, 28,
:st_mode, :mode_t, 24,
:st_uid, :uid_t, 32,
:st... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparcv9-solaris/etc.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparcv9-solaris/etc.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Etc
class Passwd < FFI::Struct
self.size = 36
layout :pw_name, :string, 0,
:pw_passwd, :string, 4,
:pw_uid, :uint, 8,
:pw_gid, :uint, 12,
:pw_dir, :string, 28,
:pw_shell... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparcv9-solaris/syslog.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparcv9-solaris/syslog.rb | # This file is generated by rake. Do not edit.
module Syslog
module Constants
LOG_ALERT = 1
LOG_AUTH = 32
# LOG_AUTHPRIV not available
LOG_CONS = 2
# LOG_CONSOLE not available
LOG_CRIT = 2
LOG_CRON = 120
LOG_DAEMON = 24
LOG_DEBUG = 7
LOG_EMERG = 0
LOG_ERR = 3
# LOG_FTP... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparcv9-solaris/fcntl.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparcv9-solaris/fcntl.rb | # This file is generated by rake. Do not edit.
module Fcntl
FD_CLOEXEC = 1
F_DUPFD = 0
F_GETFD = 1
F_GETFL = 3
F_GETLK = 33
F_RDLCK = 1
F_SETFD = 2
F_SETFL = 4
F_SETLK = 34
F_SETLKW = 35
F_UNLCK = 3
F_WRLCK = 2
O_ACCMODE = 3
O_APPEND = 8
O_CREAT = 256
O_EXCL = 1024
O_NDELAY = 4
O_NO... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparcv9-solaris/zlib.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparcv9-solaris/zlib.rb | # This file is generated by rake. Do not edit.
##
# The Zlib module contains several classes for compressing and decompressing
# streams, and for working with "gzip" files.
#
# == Classes
#
# Following are the classes that are most likely to be of interest to the
# user:
# - Zlib::Inflate
# - Zlib::Deflate
# - Zlib::G... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | true |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparcv9-solaris/sysconf.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/sparcv9-solaris/sysconf.rb | # This file is generated by rake. Do not edit.
module Platform;end
module Platform::Sysconf
SC_2_CHAR_TERM = 66
SC_2_C_BIND = 45
SC_2_C_DEV = 46
SC_2_FORT_DEV = 48
SC_2_FORT_RUN = 49
SC_2_LOCALEDEF = 50
SC_2_PBS = 724
SC_2_PBS_ACCOUNTING = 725
SC_2_PBS_CHECKPOINT = 726
SC_2_PBS_LOCATE = 728
SC_2_... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-solaris/errno.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-solaris/errno.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Errno
E2BIG = 7
EACCES = 13
EADDRINUSE = 125
EADDRNOTAVAIL = 126
EAFNOSUPPORT = 124
EAGAIN = 11
EALREADY = 149
EBADF = 9
EBUSY = 16
ECHILD = 10
ECONNABORTED = 130
ECONNREFUSED = 146
ECONNRESET = 131
EDEADLK... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-solaris/socket.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-solaris/socket.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Socket
AF_APPLETALK = 16
# AF_ATM not available
# AF_AX25 not available
AF_CCITT = 10
AF_CHAOS = 5
# AF_CNT not available
# AF_COIP not available
AF_DATAKIT = 9
AF_DECnet = 12
AF_DLI = 13
# AF_E164 not available
... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-solaris/stat.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-solaris/stat.rb | # This file is generated by rake. Do not edit.
module Platform
module Stat
class Stat < FFI::Struct
self.size = 128
layout :st_dev, :dev_t, 0,
:st_ino, :ino_t, 8,
:st_nlink, :nlink_t, 20,
:st_mode, :mode_t, 16,
:st_uid, :uid_t, 24,
:st_... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-solaris/etc.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-solaris/etc.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Etc
class Passwd < FFI::Struct
self.size = 64
layout :pw_name, :string, 0,
:pw_passwd, :string, 8,
:pw_uid, :uint, 16,
:pw_gid, :uint, 20,
:pw_dir, :string, 48,
:pw_shel... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-solaris/syslog.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-solaris/syslog.rb | # This file is generated by rake. Do not edit.
module Syslog
module Constants
LOG_ALERT = 1
LOG_AUTH = 32
# LOG_AUTHPRIV not available
LOG_CONS = 2
# LOG_CONSOLE not available
LOG_CRIT = 2
LOG_CRON = 120
LOG_DAEMON = 24
LOG_DEBUG = 7
LOG_EMERG = 0
LOG_ERR = 3
# LOG_FTP... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-solaris/fcntl.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-solaris/fcntl.rb | # This file is generated by rake. Do not edit.
module Fcntl
FD_CLOEXEC = 1
F_DUPFD = 0
F_GETFD = 1
F_GETFL = 3
F_GETLK = 14
F_RDLCK = 1
F_SETFD = 2
F_SETFL = 4
F_SETLK = 6
F_SETLKW = 7
F_UNLCK = 3
F_WRLCK = 2
O_ACCMODE = 3
O_APPEND = 8
O_CREAT = 256
O_EXCL = 1024
O_NDELAY = 4
O_NOCT... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-solaris/zlib.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-solaris/zlib.rb | # This file is generated by rake. Do not edit.
##
# The Zlib module contains several classes for compressing and decompressing
# streams, and for working with "gzip" files.
#
# == Classes
#
# Following are the classes that are most likely to be of interest to the
# user:
# - Zlib::Inflate
# - Zlib::Deflate
# - Zlib::G... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | true |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-solaris/sysconf.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-solaris/sysconf.rb | # This file is generated by rake. Do not edit.
module Platform;end
module Platform::Sysconf
SC_2_CHAR_TERM = 66
SC_2_C_BIND = 45
SC_2_C_DEV = 46
SC_2_FORT_DEV = 48
SC_2_FORT_RUN = 49
SC_2_LOCALEDEF = 50
SC_2_PBS = 724
SC_2_PBS_ACCOUNTING = 725
SC_2_PBS_CHECKPOINT = 726
SC_2_PBS_LOCATE = 728
SC_2_... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-linux/errno.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-linux/errno.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Errno
E2BIG = 7
EACCES = 13
EADDRINUSE = 98
EADDRNOTAVAIL = 99
EAFNOSUPPORT = 97
EAGAIN = 11
EALREADY = 114
EBADF = 9
EBUSY = 16
ECHILD = 10
ECONNABORTED = 103
ECONNREFUSED = 111
ECONNRESET = 104
EDEADLK = ... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-linux/socket.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-linux/socket.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Socket
AF_APPLETALK = 5
# AF_ATM not available
AF_AX25 = 3
# AF_CCITT not available
# AF_CHAOS not available
# AF_CNT not available
# AF_COIP not available
# AF_DATAKIT not available
AF_DECnet = 12
# AF_DLI not ava... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-linux/stat.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-linux/stat.rb | # This file is generated by rake. Do not edit.
module Platform
module Stat
class Stat < FFI::Struct
self.size = 96
layout :st_dev, :dev_t, 0,
:st_ino, :ino_t, 88,
:st_nlink, :nlink_t, 20,
:st_mode, :mode_t, 16,
:st_uid, :uid_t, 24,
:st_... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-linux/etc.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-linux/etc.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Etc
class Passwd < FFI::Struct
self.size = 28
layout :pw_name, :string, 0,
:pw_passwd, :string, 4,
:pw_uid, :uint, 8,
:pw_gid, :uint, 12,
:pw_dir, :string, 20,
:pw_shell... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-linux/syslog.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-linux/syslog.rb | # This file is generated by rake. Do not edit.
module Syslog
module Constants
LOG_ALERT = 1
LOG_AUTH = 32
LOG_AUTHPRIV = 80
LOG_CONS = 2
# LOG_CONSOLE not available
LOG_CRIT = 2
LOG_CRON = 72
LOG_DAEMON = 24
LOG_DEBUG = 7
LOG_EMERG = 0
LOG_ERR = 3
LOG_FTP = 88
LOG_... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-linux/fcntl.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-linux/fcntl.rb | # This file is generated by rake. Do not edit.
module Fcntl
FD_CLOEXEC = 1
F_DUPFD = 0
F_GETFD = 1
F_GETFL = 3
F_GETLK = 12
F_RDLCK = 0
F_SETFD = 2
F_SETFL = 4
F_SETLK = 13
F_SETLKW = 14
F_UNLCK = 2
F_WRLCK = 1
O_ACCMODE = 3
O_APPEND = 1024
O_CREAT = 64
O_EXCL = 128
O_NDELAY = 2048
... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-linux/zlib.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-linux/zlib.rb | # This file is generated by rake. Do not edit.
##
# The Zlib module contains several classes for compressing and decompressing
# streams, and for working with "gzip" files.
#
# == Classes
#
# Following are the classes that are most likely to be of interest to the
# user:
# - Zlib::Inflate
# - Zlib::Deflate
# - Zlib::G... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | true |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-linux/sysconf.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-linux/sysconf.rb | # This file is generated by rake. Do not edit.
module Platform;end
module Platform::Sysconf
SC_2_CHAR_TERM = 95
SC_2_C_BIND = 47
SC_2_C_DEV = 48
SC_2_FORT_DEV = 49
SC_2_FORT_RUN = 50
SC_2_LOCALEDEF = 52
SC_2_PBS = 168
SC_2_PBS_ACCOUNTING = 169
SC_2_PBS_CHECKPOINT = 175
SC_2_PBS_LOCATE = 170
SC_2_... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-linux/errno.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-linux/errno.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Errno
E2BIG = 7
EACCES = 13
EADDRINUSE = 98
EADDRNOTAVAIL = 99
EAFNOSUPPORT = 97
EAGAIN = 11
EALREADY = 114
EBADF = 9
EBUSY = 16
ECHILD = 10
ECONNABORTED = 103
ECONNREFUSED = 111
ECONNRESET = 104
EDEADLK = ... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-linux/socket.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-linux/socket.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Socket
AF_APPLETALK = 5
# AF_ATM not available
AF_AX25 = 3
# AF_CCITT not available
# AF_CHAOS not available
# AF_CNT not available
# AF_COIP not available
# AF_DATAKIT not available
AF_DECnet = 12
# AF_DLI not ava... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-linux/stat.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-linux/stat.rb | # This file is generated by rake. Do not edit.
module Platform
module Stat
class Stat < FFI::Struct
self.size = 144
layout :st_dev, :dev_t, 0,
:st_ino, :ino_t, 8,
:st_nlink, :nlink_t, 16,
:st_mode, :mode_t, 24,
:st_uid, :uid_t, 28,
:st_... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-linux/etc.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-linux/etc.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Etc
class Passwd < FFI::Struct
self.size = 48
layout :pw_name, :string, 0,
:pw_passwd, :string, 8,
:pw_uid, :uint, 16,
:pw_gid, :uint, 20,
:pw_dir, :string, 32,
:pw_shel... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-linux/syslog.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-linux/syslog.rb | # This file is generated by rake. Do not edit.
module Syslog
module Constants
LOG_ALERT = 1
LOG_AUTH = 32
LOG_AUTHPRIV = 80
LOG_CONS = 2
# LOG_CONSOLE not available
LOG_CRIT = 2
LOG_CRON = 72
LOG_DAEMON = 24
LOG_DEBUG = 7
LOG_EMERG = 0
LOG_ERR = 3
LOG_FTP = 88
LOG_... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-linux/fcntl.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-linux/fcntl.rb | # This file is generated by rake. Do not edit.
module Fcntl
FD_CLOEXEC = 1
F_DUPFD = 0
F_GETFD = 1
F_GETFL = 3
F_GETLK = 5
F_RDLCK = 0
F_SETFD = 2
F_SETFL = 4
F_SETLK = 6
F_SETLKW = 7
F_UNLCK = 2
F_WRLCK = 1
O_ACCMODE = 3
O_APPEND = 1024
O_CREAT = 64
O_EXCL = 128
O_NDELAY = 2048
O_N... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-linux/zlib.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-linux/zlib.rb | # This file is generated by rake. Do not edit.
##
# The Zlib module contains several classes for compressing and decompressing
# streams, and for working with "gzip" files.
#
# == Classes
#
# Following are the classes that are most likely to be of interest to the
# user:
# - Zlib::Inflate
# - Zlib::Deflate
# - Zlib::G... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | true |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-linux/sysconf.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/x86_64-linux/sysconf.rb | # This file is generated by rake. Do not edit.
module Platform;end
module Platform::Sysconf
SC_2_CHAR_TERM = 95
SC_2_C_BIND = 47
SC_2_C_DEV = 48
SC_2_FORT_DEV = 49
SC_2_FORT_RUN = 50
SC_2_LOCALEDEF = 52
SC_2_PBS = 168
SC_2_PBS_ACCOUNTING = 169
SC_2_PBS_CHECKPOINT = 175
SC_2_PBS_LOCATE = 170
SC_2_... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-windows/errno.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-windows/errno.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Errno
E2BIG = 7
EACCES = 13
EADDRINUSE = 112
EADDRNOTAVAIL = 125
EAFNOSUPPORT = 106
EAGAIN = 11
EALREADY = 120
EBADF = 9
EBUSY = 16
ECHILD = 10
ECONNABORTED = 113
ECONNREFUSED = 111
ECONNRESET = 104
EDEADLK... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-windows/etc.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-windows/etc.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Etc
class Passwd < FFI::Struct
layout :pw_name, :string, 0,
:pw_passwd, :string, 4,
:pw_uid, :uint, 8,
:pw_gid, :uint, 12,
:pw_dir, :string, 24,
:pw_shell, :string, 28
... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-windows/fcntl.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-windows/fcntl.rb | # This file is generated by rake. Do not edit.
module Fcntl
FD_CLOEXEC = 1
F_DUPFD = 0
F_GETFD = 1
F_GETFL = 3
F_GETLK = 7
F_RDLCK = 1
F_SETFD = 2
F_SETFL = 4
F_SETLK = 8
F_SETLKW = 9
F_UNLCK = 3
F_WRLCK = 2
O_ACCMODE = 3
O_APPEND = 8
O_CREAT = 512
O_EXCL = 2048
O_NDELAY = 16384
O_N... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-windows/zlib.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/i386-windows/zlib.rb | # This file is generated by rake. Do not edit.
##
# The Zlib module contains several classes for compressing and decompressing
# streams, and for working with "gzip" files.
#
# == Classes
#
# Following are the classes that are most likely to be of interest to the
# user:
# - Zlib::Inflate
# - Zlib::Deflate
# - Zlib::G... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | true |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-darwin/errno.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-darwin/errno.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Errno
E2BIG = 7
EACCES = 13
EADDRINUSE = 48
EADDRNOTAVAIL = 49
EAFNOSUPPORT = 47
EAGAIN = 35
EALREADY = 37
EBADF = 9
EBUSY = 16
ECHILD = 10
ECONNABORTED = 53
ECONNREFUSED = 61
ECONNRESET = 54
EDEADLK = 11
... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-darwin/socket.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-darwin/socket.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Socket
AF_APPLETALK = 16
# AF_ATM not available
# AF_AX25 not available
AF_CCITT = 10
AF_CHAOS = 5
AF_CNT = 21
AF_COIP = 20
AF_DATAKIT = 9
AF_DECnet = 12
AF_DLI = 13
AF_E164 = 28
AF_ECMA = 8
AF_HYLINK = 15
... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-darwin/stat.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-darwin/stat.rb | # This file is generated by rake. Do not edit.
module Platform
module Stat
class Stat < FFI::Struct
self.size = 108
layout :st_dev, :dev_t, 0,
:st_ino, :ino_t, 8,
:st_nlink, :nlink_t, 6,
:st_mode, :mode_t, 4,
:st_uid, :uid_t, 16,
:st_gi... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-darwin/etc.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-darwin/etc.rb | # This file is generated by rake. Do not edit.
module Platform; end
module Platform::Etc
class Passwd < FFI::Struct
self.size = 40
layout :pw_name, :string, 0,
:pw_passwd, :string, 4,
:pw_uid, :uint, 8,
:pw_gid, :uint, 12,
:pw_dir, :string, 28,
:pw_shell... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-darwin/syslog.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-darwin/syslog.rb | # This file is generated by rake. Do not edit.
module Syslog
module Constants
LOG_ALERT = 1
LOG_AUTH = 32
LOG_AUTHPRIV = 80
LOG_CONS = 2
# LOG_CONSOLE not available
LOG_CRIT = 2
LOG_CRON = 72
LOG_DAEMON = 24
LOG_DEBUG = 7
LOG_EMERG = 0
LOG_ERR = 3
LOG_FTP = 88
LOG_... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-darwin/fcntl.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-darwin/fcntl.rb | # This file is generated by rake. Do not edit.
module Fcntl
FD_CLOEXEC = 1
F_DUPFD = 0
F_GETFD = 1
F_GETFL = 3
F_GETLK = 7
F_RDLCK = 1
F_SETFD = 2
F_SETFL = 4
F_SETLK = 8
F_SETLKW = 9
F_UNLCK = 2
F_WRLCK = 3
O_ACCMODE = 3
O_APPEND = 8
O_CREAT = 512
O_EXCL = 2048
O_NDELAY = 4
O_NOCTT... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-darwin/zlib.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-darwin/zlib.rb | # This file is generated by rake. Do not edit.
##
# The Zlib module contains several classes for compressing and decompressing
# streams, and for working with "gzip" files.
#
# == Classes
#
# Following are the classes that are most likely to be of interest to the
# user:
# - Zlib::Inflate
# - Zlib::Deflate
# - Zlib::G... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | true |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-darwin/sysconf.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/ffi/platform/powerpc-darwin/sysconf.rb | # This file is generated by rake. Do not edit.
module Platform;end
module Platform::Sysconf
SC_2_CHAR_TERM = 20
SC_2_C_BIND = 18
SC_2_C_DEV = 19
SC_2_FORT_DEV = 21
SC_2_FORT_RUN = 22
SC_2_LOCALEDEF = 23
SC_2_PBS = 59
SC_2_PBS_ACCOUNTING = 60
SC_2_PBS_CHECKPOINT = 61
SC_2_PBS_LOCATE = 62
SC_2_PBS_... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/site_ruby/shared/java/inspect.rb | tools/jruby-1.5.1/lib/ruby/site_ruby/shared/java/inspect.rb | require 'jruby'
class Java::JavaLang::Object
def inspect()
# '<#Java::MyPackage::TheClass:0xDECAFBAD '
header = "#<#{self.class}:0x#{Java::JavaLang::System::identity_hash_code(self).to_s(16)} "
# Bail quickly if looping
return header + "...>" if JRuby.runtime.inspecting?(self)
begin
fs = se... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/app/controllers/protected_resource_controller.rb | provider/app/controllers/protected_resource_controller.rb | # Copyright (c) 2010 ThoughtWorks Inc. (http://thoughtworks.com)
# Licenced under the MIT License (http://www.opensource.org/licenses/mit-license.php)
class ProtectedResourceController < ApplicationController
oauth_allowed :only => :index
def index
render :text => "current user is #{current_user.email}"
... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/app/controllers/users_controller.rb | provider/app/controllers/users_controller.rb | # Copyright (c) 2010 ThoughtWorks Inc. (http://thoughtworks.com)
# Licenced under the MIT License (http://www.opensource.org/licenses/mit-license.php)
class UsersController < ApplicationController
skip_before_filter :login_required, :only => [:new, :create]
# GET /users
# GET /users.xml
def index
@users = ... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/app/controllers/sessions_controller.rb | provider/app/controllers/sessions_controller.rb | # Copyright (c) 2010 ThoughtWorks Inc. (http://thoughtworks.com)
# Licenced under the MIT License (http://www.opensource.org/licenses/mit-license.php)
class SessionsController < ApplicationController
skip_before_filter :login_required, :only => ['index', 'create']
def index
# renders the login page
end
... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/app/controllers/application_controller.rb | provider/app/controllers/application_controller.rb | # Copyright (c) 2010 ThoughtWorks Inc. (http://thoughtworks.com)
# Licenced under the MIT License (http://www.opensource.org/licenses/mit-license.php)
# Filters added to this controller apply to all controllers in the application.
# Likewise, all the methods added will be available for all controllers.
class Applicat... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/app/models/user.rb | provider/app/models/user.rb | # Copyright (c) 2010 ThoughtWorks Inc. (http://thoughtworks.com)
# Licenced under the MIT License (http://www.opensource.org/licenses/mit-license.php)
class User < ActiveRecord::Base
def self.authenticate(email, password)
User.find_by_email_and_password(email, password)
end
end
| ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/rakefile.rb | provider/vendor/gems/validatable-1.6.7/rakefile.rb | require 'rubygems'
require 'rake/gempackagetask'
require 'rake/rdoctask'
require 'rake/contrib/sshpublisher'
task :default => :test
task :test do
require File.dirname(__FILE__) + '/test/all_tests.rb'
end
desc 'Generate RDoc'
Rake::RDocTask.new do |task|
task.main = 'README'
task.title = 'Validatable'
task.rd... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/test_helper.rb | provider/vendor/gems/validatable-1.6.7/test/test_helper.rb | require 'test/unit'
require 'rubygems'
require 'mocha'
require 'dust'
require 'set'
require 'expectations'
require File.dirname(__FILE__) + '/../lib/validatable'
class << Test::Unit::TestCase
def expect(expected_value, &block)
define_method :"test_#{caller.first.split("/").last}" do
begin
assert_e... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/all_tests.rb | provider/vendor/gems/validatable-1.6.7/test/all_tests.rb | Dir['test/**/*_test.rb'].each { |test_case| require test_case } | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/unit/errors_test.rb | provider/vendor/gems/validatable-1.6.7/test/unit/errors_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
Expectations do
expect "message" do
errors = Validatable::Errors.new
errors.add(:attribute, "message")
errors.on(:attribute)
end
expect ["message"] do
errors = Validatable::Errors.new
errors.add(:attribute, "message")
... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/unit/validates_format_of_test.rb | provider/vendor/gems/validatable-1.6.7/test/unit/validates_format_of_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
Expectations do
expect false do
validation = Validatable::ValidatesFormatOf.new stub_everything, :name, :with => /book/
validation.valid?(stub_everything)
end
expect true do
validation = Validatable::ValidatesFormatOf.new stub... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/unit/validates_true_for_test.rb | provider/vendor/gems/validatable-1.6.7/test/unit/validates_true_for_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
Expectations do
expect false do
validation = Validatable::ValidatesTrueFor.new stub_everything, :name, :logic => lambda { false }
validation.valid?(stub_everything)
end
expect true do
validation = Validatable::ValidatesTrueFor... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/unit/validates_acceptance_of_test.rb | provider/vendor/gems/validatable-1.6.7/test/unit/validates_acceptance_of_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
Expectations do
expect true do
validation = Validatable::ValidatesAcceptanceOf.new stub_everything, :acceptance
instance = stub(:acceptance=>'true')
validation.valid?(instance)
end
expect false do
validation = Validatable::Va... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/unit/validates_confirmation_of_test.rb | provider/vendor/gems/validatable-1.6.7/test/unit/validates_confirmation_of_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
Expectations do
expect true do
validation = Validatable::ValidatesConfirmationOf.new stub_everything, :username
instance = stub(:username=>"username", :username_confirmation=>"username")
validation.valid?(instance)
end
expect ... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/unit/validation_base_test.rb | provider/vendor/gems/validatable-1.6.7/test/unit/validation_base_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
Expectations do
expect true do
validation = Validatable::ValidationBase.new stub_everything, :base
validation.should_validate? Object.new
end
expect true do
validation = Validatable::ValidationBase.new stub_everything, :base, :ti... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/unit/validates_length_of_test.rb | provider/vendor/gems/validatable-1.6.7/test/unit/validates_length_of_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
Expectations do
expect false do
validation = Validatable::ValidatesLengthOf.new stub_everything, :username, :maximum => 8
validation.valid?(stub(:username=>"usernamefdfd"))
end
expect false do
validation = Validatable::ValidatesL... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/unit/validatable_test.rb | provider/vendor/gems/validatable-1.6.7/test/unit/validatable_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
Expectations do
expect false do
validation = stub_everything(:should_validate? => true, :attribute => "attribute", :level => 1, :groups => [])
klass = Class.new do
include Validatable
validations << validation
end
klass.... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/unit/validates_numericality_of_test.rb | provider/vendor/gems/validatable-1.6.7/test/unit/validates_numericality_of_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
Expectations do
expect false do
validation = Validatable::ValidatesNumericalityOf.new stub_everything, :nothing
instance = stub(:nothing => nil)
validation.valid?(instance)
end
expect true do
validation = Validatable::Validat... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/unit/validates_presence_of_test.rb | provider/vendor/gems/validatable-1.6.7/test/unit/validates_presence_of_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
Expectations do
expect false do
validation = Validatable::ValidatesPresenceOf.new stub_everything, :name
validation.valid?(stub_everything)
end
expect true do
validation = Validatable::ValidatesPresenceOf.new stub_everything, ... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/unit/understandable_test.rb | provider/vendor/gems/validatable-1.6.7/test/unit/understandable_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
Expectations do
expect [:c, :b, :a] do
a = Class.new do
include Validatable::Understandable
understands :a
end
b = Class.new(a) do
include Validatable::Understandable
understands :b
end
c = Class.new(b) d... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/functional/validates_each_test.rb | provider/vendor/gems/validatable-1.6.7/test/functional/validates_each_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
functional_tests do
expect :is_set do
klass = Class.new do
include Validatable
attr_accessor :name, :result
validates_each :name, :logic => lambda { @result = :is_set }
end
instance = klass.new
instance.valid?
... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/functional/validates_format_of_test.rb | provider/vendor/gems/validatable-1.6.7/test/functional/validates_format_of_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
module Functional
class ValidatesFormatOfTest < Test::Unit::TestCase
test "given invalid name format, when validated, then error is in the objects error collection" do
klass = Class.new do
include Validatable
attr_accessor... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/functional/validates_true_for_test.rb | provider/vendor/gems/validatable-1.6.7/test/functional/validates_true_for_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
module Functional
class ValidatesFormatOfTest < Test::Unit::TestCase
test "given invalid name, when validated, then error is in the objects error collection" do
klass = Class.new do
include Validatable
attr_accessor :name
... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/functional/validates_acceptance_of_test.rb | provider/vendor/gems/validatable-1.6.7/test/functional/validates_acceptance_of_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
module Functional
class ValidatesAcceptanceOfTest < Test::Unit::TestCase
test "given no acceptance, when validated, then error is in the objects error collection" do
klass = Class.new do
include Validatable
attr_accessor :... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/functional/validates_confirmation_of_test.rb | provider/vendor/gems/validatable-1.6.7/test/functional/validates_confirmation_of_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
module Functional
class ValidatesConfirmationOfTest < Test::Unit::TestCase
test "given non matching attributes, when validated, then error is in the objects error collection" do
klass = Class.new do
include Validatable
att... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/functional/validates_length_of_test.rb | provider/vendor/gems/validatable-1.6.7/test/functional/validates_length_of_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
module Functional
class ValidatesLengthOfTest < Test::Unit::TestCase
test "given short value, when validated, then error is in the objects error collection" do
klass = Class.new do
include Validatable
attr_accessor :name
... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/functional/validatable_test.rb | provider/vendor/gems/validatable-1.6.7/test/functional/validatable_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
functional_tests do
expect "can't be empty" do
child_class = Module.new do
include Validatable
validates_presence_of :name
end
klass = Class.new do
include Validatable
include_validations_from :child
defi... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/functional/validates_numericality_of_test.rb | provider/vendor/gems/validatable-1.6.7/test/functional/validates_numericality_of_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
module Functional
class ValidatesNumericalityOfTest < Test::Unit::TestCase
test "when validating numericality and the value is nil an error should exist on the instance" do
klass = Class.new do
include Validatable
attr_acc... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/test/functional/validates_presence_of_test.rb | provider/vendor/gems/validatable-1.6.7/test/functional/validates_presence_of_test.rb | require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
module Functional
class ValidatesPresenceOfTest < Test::Unit::TestCase
test "given no name, when validated, then error is in the objects error collection" do
klass = Class.new do
include Validatable
attr_accessor :name
... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/lib/macros.rb | provider/vendor/gems/validatable-1.6.7/lib/macros.rb | module Validatable
module Macros
# call-seq: validates_each(*args)
#
# Validates that the logic evaluates to true
#
# class Address
# include Validatable
# validates_each :zip_code, :logic => lambda { errors.add(:zip_code, "is not valid") if ZipCodeService.allows(zip_code) }
... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/lib/included_validation.rb | provider/vendor/gems/validatable-1.6.7/lib/included_validation.rb | module Validatable
class IncludedValidation #:nodoc:
attr_accessor :attribute
def initialize(attribute)
@attribute = attribute
end
end
end | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/lib/object_extension.rb | provider/vendor/gems/validatable-1.6.7/lib/object_extension.rb | class Object #:nodoc:
module InstanceExecHelper #:nodoc:
end
include InstanceExecHelper
def instance_eval_with_params(*args, &block)
begin
old_critical, Thread.critical = Thread.critical, true
n = 0
n += 1 while respond_to?(mname="__instance_exec#{n}")
InstanceExecHelper.module_eval{... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/lib/errors.rb | provider/vendor/gems/validatable-1.6.7/lib/errors.rb | module Validatable
class Errors
extend Forwardable
include Enumerable
def_delegators :errors, :clear, :each, :each_pair, :empty?, :length, :size
# call-seq: on(attribute)
#
# * Returns nil, if no errors are associated with the specified +attribute+.
# * Returns the error message, if one... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/lib/validatable_instance_methods.rb | provider/vendor/gems/validatable-1.6.7/lib/validatable_instance_methods.rb | module Validatable
def self.included(klass) #:nodoc:
klass.extend Validatable::ClassMethods
klass.extend Validatable::Macros
end
# call-seq: valid?
#
# Returns true if no errors were added otherwise false. Only executes validations that have no :groups option specified
def valid?
valid_for_gr... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/lib/validatable.rb | provider/vendor/gems/validatable-1.6.7/lib/validatable.rb | require 'forwardable'
require File.expand_path(File.dirname(__FILE__) + '/object_extension')
require File.expand_path(File.dirname(__FILE__) + '/errors')
require File.expand_path(File.dirname(__FILE__) + '/validatable_class_methods')
require File.expand_path(File.dirname(__FILE__) + '/macros')
require File.expand_path(... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
ThoughtWorksStudios/oauth2_provider | https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/provider/vendor/gems/validatable-1.6.7/lib/understandable.rb | provider/vendor/gems/validatable-1.6.7/lib/understandable.rb | module Validatable
module Understandable #:nodoc:
module ClassMethods #:nodoc:
def understands(*args)
understandings.concat args
end
def understandings
@understandings ||= []
end
def all_understandings
return understandings + self.superclass.all_understandin... | ruby | MIT | d54702f194edd05389968cf8947465860abccc5d | 2026-01-04T17:46:04.645080Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.