source
stringclasses
1 value
repo
stringlengths
5
63
repo_url
stringlengths
24
82
path
stringlengths
5
167
language
stringclasses
1 value
license
stringclasses
5 values
stars
int64
10
51.4k
ref
stringclasses
23 values
size_bytes
int64
200
258k
text
stringlengths
137
258k
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/typemap/print_page_range.rb
Ruby
mit
177
master
4,594
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 PrintPageRange array typemap definition ### require_relative '../core/mapping' module WXRuby3 module Typemap # Typemaps for converting returned PGCell references to # either the correct ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/typemap/pgcell.rb
Ruby
mit
177
master
797
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 PGProperty typemap definition ### require_relative '../core/mapping' module WXRuby3 module Typemap # Typemaps for converting returned PGCell references to # either the correct wxRuby cla...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/typemap/array_int_selections.rb
Ruby
mit
177
master
1,606
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 Common typemap definitions ### require_relative '../core/mapping' module WXRuby3 module Typemap # Typemaps which convert a wxArrayInt (array of integers) input # argument to a ruby outpu...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/typemap/richtext.rb
Ruby
mit
177
master
8,545
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 Common typemap definitions ### require_relative '../core/mapping' module WXRuby3 module Typemap # Shared features used by the RichText classes module RichText include Typemap::Mod...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/typemap/pgeditor.rb
Ruby
mit
177
master
812
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 PGProperty typemap definition ### require_relative '../core/mapping' module WXRuby3 module Typemap # Typemaps for converting returned PGEditor references to # either the correct wxRuby c...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/typemap/mb_conv.rb
Ruby
mit
177
master
1,425
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 Common typemap definitions ### require_relative '../core/mapping' module WXRuby3 module Typemap module MBConv include Typemap::Module # wxMBConv classes are used for string tex...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/typemap/pgproperty.rb
Ruby
mit
177
master
829
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 PGProperty typemap definition ### require_relative '../core/mapping' module WXRuby3 module Typemap # Typemaps for converting returned PGProperty references to # either the correct wxRuby...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/typemap/aui_tabctrl.rb
Ruby
mit
177
master
1,116
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 Common typemap definitions ### require_relative '../core/mapping' module WXRuby3 module Typemap # These typemaps are used by AUI classes to convert wxAuiTabCtrl pointers # into lightweig...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/typemap/html_cell.rb
Ruby
mit
177
master
1,864
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 HtmlCell typemap definition ### require_relative '../core/mapping' module WXRuby3 module Typemap # Typemaps for converting returned HtmlCell references to # either the base Wx::HTML::Htm...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/typemap/client_data.rb
Ruby
mit
177
master
1,570
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 client data typemap definition ### require_relative '../core/mapping' module WXRuby3 module Typemap module ClientData include Typemap::Module define do map 'wxClientDa...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/typemap/common.rb
Ruby
mit
177
master
30,284
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 Common typemap definitions ### require_relative '../core/mapping' module WXRuby3 module Typemap # initialize common basic mappings for std type typedefs register_std_typedef('wxLongLong_...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/typemap/data_object_data.rb
Ruby
mit
177
master
3,629
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 Common typemap definitions ### require_relative '../core/mapping' module WXRuby3 module Typemap # Deals with GetDataHere and SetData module DataObjectData include Typemap::Module ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/typemap/pgprop_arg.rb
Ruby
mit
177
master
2,437
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 PGPropArg typemap definitions ### require_relative '../core/mapping' module WXRuby3 module Typemap module PGPropArg include Typemap::Module # provide automagic conversion of si...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/typemap/data_format.rb
Ruby
mit
177
master
2,433
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 Common typemap definitions ### require_relative '../core/mapping' module WXRuby3 module Typemap # Deals with GetAllFormats module DataFormat include Typemap::Module define ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/typemap/io_streams.rb
Ruby
mit
177
master
5,586
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 Common typemap definitions ### require_relative '../core/mapping' module WXRuby3 module Typemap # wxInputStream and wxOutputStream are used to allow certain classes in # wxWidgets - for ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/typemap/config.rb
Ruby
mit
177
master
1,345
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 Common typemap definitions ### require_relative '../core/mapping' module WXRuby3 module Typemap # Deals with GetAllFormats module ConfigBase include Typemap::Module define ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/core/package.rb
Ruby
mit
177
master
31,690
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 extension library Package class ### require 'monitor' module WXRuby3 class Director class Package include Util::StringUtil def initialize(name, parent=nil) @name = name...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/core/spec.rb
Ruby
mit
177
master
13,644
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 Director specs class ### require_relative './mapping' module WXRuby3 class Director class Spec include Typemap::MappingMethods class << self # { <module> => { <class> =...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/core/parameter.rb
Ruby
mit
177
master
7,567
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 typemap Parameter class ### module WXRuby3 module Typemap # represents a basic parameter definition class ParameterBase PTR_RE = /\A([\*&]+)\s*([_a-zA-Z]\w*)?\Z/ CONST_RE = /(...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/core/spec_helper.rb
Ruby
mit
177
master
14,302
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 Director specs helper mixin. ### require 'pathname' require 'set' require_relative '../util/string' module WXRuby3 module DirectorSpecsHelper include Util::StringUtil def ifspec ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/core/mapping.rb
Ruby
mit
177
master
32,273
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 typemap mapping classes ### require 'set' require_relative './parameter' module WXRuby3 module Typemap RubyArg = Struct.new(:type, :index) do def to_s "RubyArg{type=#{type}; i...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
rakelib/lib/specs/interfaces.rb
Ruby
mit
177
master
25,064
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 wxWidgets interface generation specs ### module WXRuby3 Director::Package.ignored_event_handlers.merge(%w[ EVT_SCROLL EVT_COMMAND_SCROLL EVT_SCROLLWIN EVT_MOUSE_EVENTS EVT_JOYS...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
ext/mkrf_conf_ext.rb
Ruby
mit
177
master
1,936
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 extension configuration file for gems ### OPTIONS = { } until ARGV.empty? switch = ARGV.shift case switch when /^prebuilt=(none|only|head)$/ OPTIONS[:prebuilt] = $1.to_sym when /^package...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
Rakefile
Ruby
mit
177
main
1,124
# # # # Get gemspec info gemspec_file = Dir['*.gemspec'].first gemspec = eval File.read(gemspec_file), binding, gemspec_file info = "#{gemspec.name} | #{gemspec.version} | " \ "#{gemspec.runtime_dependencies.size} dependencies | " \ "#{gemspec.files.size} files" # # # # Gem build and install task desc ...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
unicode-emoji.gemspec
Ruby
mit
177
main
1,037
# -*- encoding: utf-8 -*- require File.dirname(__FILE__) + "/lib/unicode/emoji/constants" Gem::Specification.new do |gem| gem.name = "unicode-emoji" gem.version = Unicode::Emoji::VERSION gem.summary = "Emoji data and regex" gem.description = "[Emoji #{Unicode::Emoji::EMOJI_VERSION}] Pro...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji.rb
Ruby
mit
177
main
2,824
# frozen_string_literal: true require_relative "emoji/constants" module Unicode module Emoji autoload :INDEX, File.expand_path('emoji/index', __dir__) %w[ EMOJI_CHAR EMOJI_PRESENTATION TEXT_PRESENTATION EMOJI_COMPONENT EMOJI_MODIFIER_BASES EMOJI_MODIFIERS EXTENDED_...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/index.rb
Ruby
mit
177
main
324
# frozen_string_literal: true require "zlib" require_relative "constants" module Unicode module Emoji File.open(INDEX_FILENAME, "rb") do |file| serialized_data = Zlib::GzipReader.new(file).read serialized_data.force_encoding Encoding::BINARY INDEX = Marshal.load(serialized_data) end end ...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/constants.rb
Ruby
mit
177
main
1,764
# frozen_string_literal: true module Unicode module Emoji VERSION = "4.2.0" EMOJI_VERSION = "17.0" UNICODE_VERSION = "17.0.0" CLDR_VERSION = "48" DATA_DIRECTORY = File.expand_path('../../../data', __dir__).freeze INDEX_FILENAME = (DATA_DIRECTORY + "/emoji.marshal.gz").freeze # Unicode pr...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/lazy_constants.rb
Ruby
mit
177
main
3,069
# frozen_string_literal: true module Unicode module Emoji # The current list of codepoints with the "Emoji" property # Same characters as \p{Emoji} # (Emoji version of this gem might be more recent than Ruby's Emoji version) EMOJI_CHAR = INDEX[:PROPERTIES].select{ |ord, props| prop...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/list.rb
Ruby
mit
177
main
382
# frozen_string_literal: true module Unicode module Emoji # Contains an ordered and group list of all currently recommended Emoji (RGI/FQE) LIST = INDEX[:LIST].freeze.each_value(&:freeze) # Sometimes, categories change, we issue a warning in these cases LIST_REMOVED_KEYS ...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_well_formed_include_text.rb
Ruby
mit
177
main
8,779
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_WELL_FORMED_INCLUDE_TEXT = /(?:(?:(?:(?:[☝⛹✊-✍🎅🏂-🏄🏇🏊-🏌👂👃👆-👐👦-👸👼💁-💃💅-💇💏💑💪🕴🕵🕺🖐🖕🖖🙅-🙇🙋-🙏🚣🚴-🚶🛀🛌🤌🤏...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_well_formed.rb
Ruby
mit
177
main
7,585
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_WELL_FORMED = /(?:(?:(?:(?:[☝⛹✊-✍🎅🏂-🏄🏇🏊-🏌👂👃👆-👐👦-👸👼💁-💃💅-💇💏💑💪🕴🕵🕺🖐🖕🖖🙅-🙇🙋-🙏🚣🚴-🚶🛀🛌🤌🤏🤘-🤟🤦🤰-🤹�...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_prop_component.rb
Ruby
mit
177
main
275
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_PROP_COMPONENT = /[\#\*0-9‍⃣️🇦-🇿🏻-🏿🦰-🦳󠀠-󠁿]/ end end
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_emoji_keycap.rb
Ruby
mit
177
main
234
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_EMOJI_KEYCAP = /[\#\*0-9]️⃣/ end end
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_include_mqe_uqe.rb
Ruby
mit
177
main
39,176
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_INCLUDE_MQE_UQE = /(?:(?:👩🏾‍❤️?‍💋‍👩🏻|👩🏾‍❤️?‍💋‍👨🏿|👩🏾‍❤️?‍💋‍👨🏾|👨🏽‍❤️?‍💋‍👨🏻|👨🏽‍❤️?‍💋‍👨🏼|👨🏽‍❤️?‍💋‍👨🏽|👨...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_include_text.rb
Ruby
mit
177
main
38,166
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_INCLUDE_TEXT = /(?:(?:👩🏾‍❤️‍💋‍👩🏻|👩🏾‍❤️‍💋‍👨🏿|👩🏾‍❤️‍💋‍👨🏾|👨🏽‍❤️‍💋‍👨🏻|👨🏽‍❤️‍💋‍👨🏼|👨🏽‍❤️‍💋‍👨🏽|👨🏽‍❤️‍💋‍...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_picto.rb
Ruby
mit
177
main
1,131
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_PICTO = /[©®‼⁉™ℹ↔-↙↩↪⌚⌛⌨⏏⏩-⏳⏸-⏺Ⓜ▪▫▶◀◻-◾☀-☄☎☑☔☕☘☝☠☢☣☦☪☮☯☸-☺♀♂♈-♓♟♠♣♥♦♨♻♾♿⚒-⚗⚙⚛⚜⚠⚡⚧⚪⚫⚰⚱⚽⚾⛄⛅⛈⛎⛏⛑⛓⛔⛩⛪⛰-⛵⛷-⛺⛽✂✅✈-✍✏✒✔✖✝✡✨✳✴❄❇❌❎❓-❕❗❣❤➕...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_prop_modifier.rb
Ruby
mit
177
main
231
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_PROP_MODIFIER = /[🏻-🏿]/ end end
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_text_presentation.rb
Ruby
mit
177
main
786
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_TEXT_PRESENTATION = /[\#\*0-9©®‼⁉™ℹ↔-↙↩↪⌨⏏⏭-⏯⏱⏲⏸-⏺Ⓜ▪▫▶◀◻◼☀-☄☎☑☘☝☠☢☣☦☪☮☯☸-☺♀♂♟♠♣♥♦♨♻♾⚒⚔-⚗⚙⚛⚜⚠⚧⚰⚱⛈⛏⛑⛓⛩⛰⛱⛴⛷-⛹✂✈✉✌✍✏✒✔✖✝✡✳✴❄❇❣❤➡⤴⤵⬅-⬇...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_prop_modifier_base.rb
Ruby
mit
177
main
488
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_PROP_MODIFIER_BASE = /[☝⛹✊-✍🎅🏂-🏄🏇🏊-🏌👂👃👆-👐👦-👸👼💁-💃💅-💇💏💑💪🕴🕵🕺🖐🖕🖖🙅-🙇🙋-🙏🚣🚴-🚶🛀🛌🤌🤏🤘-🤟🤦🤰-🤹🤼-🤾�...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_valid.rb
Ruby
mit
177
main
73,888
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_VALID = /(?:(?:(?:(?:[☝⛹✊-✍🎅🏂-🏄🏇🏊-🏌👂👃👆-👐👦-👸👼💁-💃💅-💇💏💑💪🕴🕵🕺🖐🖕🖖🙅-🙇🙋-🙏🚣🚴-🚶🛀🛌🤌🤏🤘-🤟🤦🤰-🤹🤼-🤾🥷...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_picto_no_emoji.rb
Ruby
mit
177
main
528
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_PICTO_NO_EMOJI = /[🀬-🀯🂔-🂟🂯🂰🃀🃐🃶-🃿🆮-🇥🈃-🈏🈼-🈿🉉-🉏🉒-🉟🉦-🋿🛙-🛛🛭-🛯🛽-🛿🟚-🟟🟬-🟯🟱-🟿🠌-🠏🡈-🡏🡚-🡟🢈-🢏🢮🢯🢼-...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_valid_include_text.rb
Ruby
mit
177
main
75,082
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_VALID_INCLUDE_TEXT = /(?:(?:(?:(?:[☝⛹✊-✍🎅🏂-🏄🏇🏊-🏌👂👃👆-👐👦-👸👼💁-💃💅-💇💏💑💪🕴🕵🕺🖐🖕🖖🙅-🙇🙋-🙏🚣🚴-🚶🛀🛌🤌🤏🤘-🤟�...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_prop_presentation.rb
Ruby
mit
177
main
732
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_PROP_PRESENTATION = /[⌚⌛⏩-⏬⏰⏳◽◾☔☕♈-♓♿⚓⚡⚪⚫⚽⚾⛄⛅⛎⛔⛪⛲⛳⛵⛺⛽✅✊✋✨❌❎❓-❕❗➕-➗➰➿⬛⬜⭐⭕🀄🃏🆎🆑-🆚🇦-🇿🈁🈚🈯🈲-🈶🈸-🈺🉐🉑🌀-🌠🌭-🌵🌷-🍼🍾-🎓�...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_prop_emoji.rb
Ruby
mit
177
main
1,056
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_PROP_EMOJI = /[\#\*0-9©®‼⁉™ℹ↔-↙↩↪⌚⌛⌨⏏⏩-⏳⏸-⏺Ⓜ▪▫▶◀◻-◾☀-☄☎☑☔☕☘☝☠☢☣☦☪☮☯☸-☺♀♂♈-♓♟♠♣♥♦♨♻♾♿⚒-⚗⚙⚛⚜⚠⚡⚧⚪⚫⚰⚱⚽⚾⛄⛅⛈⛎⛏⛑⛓⛔⛩⛪⛰-⛵⛷-⛺⛽✂✅✈-✍✏✒✔✖✝✡✨✳...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_text.rb
Ruby
mit
177
main
1,391
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_TEXT = /(?:(?![\#\*0-9‍⃣️🇦-🇿🏻-🏿🦰-🦳󠀠-󠁿])(?:[\#\*0-9©®‼⁉™ℹ↔-↙↩↪⌨⏏⏭-⏯⏱⏲⏸-⏺Ⓜ▪▫▶◀◻◼☀-☄☎☑☘☝☠☢☣☦☪☮☯☸-☺♀♂♟♠♣♥♦♨♻♾⚒⚔-⚗⚙⚛⚜⚠⚧⚰⚱⛈⛏⛑⛓⛩...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_basic.rb
Ruby
mit
177
main
1,384
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_BASIC = /(?:(?![\#\*0-9‍⃣️🇦-🇿🏻-🏿🦰-🦳󠀠-󠁿])(?:[\#\*0-9©®‼⁉™ℹ↔-↙↩↪⌨⏏⏭-⏯⏱⏲⏸-⏺Ⓜ▪▫▶◀◻◼☀-☄☎☑☘☝☠☢☣☦☪☮☯☸-☺♀♂♟♠♣♥♦♨♻♾⚒⚔-⚗⚙⚛⚜⚠⚧⚰⚱⛈⛏⛑⛓...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_include_mqe.rb
Ruby
mit
177
main
37,977
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_INCLUDE_MQE = /(?:(?:👩🏾‍❤️?‍💋‍👩🏻|👩🏾‍❤️?‍💋‍👨🏿|👩🏾‍❤️?‍💋‍👨🏾|👨🏽‍❤️?‍💋‍👨🏻|👨🏽‍❤️?‍💋‍👨🏼|👨🏽‍❤️?‍💋‍👨🏽|👨🏽‍❤...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex.rb
Ruby
mit
177
main
36,972
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX = /(?:(?:👩🏾‍❤️‍💋‍👩🏻|👩🏾‍❤️‍💋‍👨🏿|👩🏾‍❤️‍💋‍👨🏾|👨🏽‍❤️‍💋‍👨🏻|👨🏽‍❤️‍💋‍👨🏼|👨🏽‍❤️‍💋‍👨🏽|👨🏽‍❤️‍💋‍👨🏾|👨🏽‍❤️‍...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated/regex_possible.rb
Ruby
mit
177
main
2,011
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_POSSIBLE = /(?:\p{RI}{2}|[\#\*0-9©®‼⁉™ℹ↔-↙↩↪⌚⌛⌨⏏⏩-⏳⏸-⏺Ⓜ▪▫▶◀◻-◾☀-☄☎☑☔☕☘☝☠☢☣☦☪☮☯☸-☺♀♂♈-♓♟♠♣♥♦♨♻♾♿⚒-⚗⚙⚛⚜⚠⚡⚧⚪⚫⚰⚱⚽⚾⛄⛅⛈⛎⛏⛑⛓⛔⛩⛪⛰-⛵⛷-⛺⛽✂✅...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_valid.rb
Ruby
mit
177
main
68,295
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_VALID = /(?:(?:(?:(?:\p{EBase}\p{EMod}|(?:[\p{Emoji}&&\P{EPres}]️|\p{EPres}(?!︎)️?)|\p{Emoji})‍)+(?:\p{EBase}\p{EMod}|(?:[\p{Emoj...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_prop_presentation.rb
Ruby
mit
177
main
233
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_PROP_PRESENTATION = /\p{EPres}/ end end
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_include_text.rb
Ruby
mit
177
main
35,738
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_INCLUDE_TEXT = /(?:(?:👩🏾‍❤️‍💋‍👩🏻|👩🏾‍❤️‍💋‍👨🏿|👩🏾‍❤️‍💋‍👨🏾|👨🏽‍❤️‍💋‍👨🏻|👨🏽‍❤️‍💋‍👨🏼|👨🏽‍❤️‍💋‍👨🏽|👨🏽‍❤️‍💋‍...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_include_mqe_uqe.rb
Ruby
mit
177
main
36,748
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_INCLUDE_MQE_UQE = /(?:(?:👩🏾‍❤️?‍💋‍👩🏻|👩🏾‍❤️?‍💋‍👨🏿|👩🏾‍❤️?‍💋‍👨🏾|👨🏽‍❤️?‍💋‍👨🏻|👨🏽‍❤️?‍💋‍👨🏼|👨🏽‍❤️?‍💋‍👨🏽|👨...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_well_formed_include_text.rb
Ruby
mit
177
main
758
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_WELL_FORMED_INCLUDE_TEXT = /(?:(?:(?:(?:\p{EBase}\p{EMod}|(?:[\p{Emoji}&&\P{EPres}]️|\p{EPres}(?!︎)️?)|\p{Emoji})‍)+(?:\p{EBase}\...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_prop_emoji.rb
Ruby
mit
177
main
226
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_PROP_EMOJI = /\p{Emoji}/ end end
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_text.rb
Ruby
mit
177
main
304
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_TEXT = /(?:(?!\p{EComp})(?:[\p{Emoji}&&\P{EPres}](?!(?:\p{EMod}|️))︎?|\p{EPres}︎)|[\#\*0-9]⃣)/ end end
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_well_formed.rb
Ruby
mit
177
main
651
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_WELL_FORMED = /(?:(?:(?:(?:\p{EBase}\p{EMod}|(?:[\p{Emoji}&&\P{EPres}]️|\p{EPres}(?!︎)️?)|\p{Emoji})‍)+(?:\p{EBase}\p{EMod}|(?:[\...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_basic.rb
Ruby
mit
177
main
300
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_BASIC = /(?:(?!\p{EComp})(?:[\p{Emoji}&&\P{EPres}]️|\p{EPres}(?!︎)️?)|[🏻-🏿🦰-🦳])/ end end
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex.rb
Ruby
mit
177
main
35,631
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX = /(?:(?:👩🏾‍❤️‍💋‍👩🏻|👩🏾‍❤️‍💋‍👨🏿|👩🏾‍❤️‍💋‍👨🏾|👨🏽‍❤️‍💋‍👨🏻|👨🏽‍❤️‍💋‍👨🏼|👨🏽‍❤️‍💋‍👨🏽|👨🏽‍❤️‍💋‍👨🏾|👨🏽‍❤️‍...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_prop_component.rb
Ruby
mit
177
main
230
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_PROP_COMPONENT = /\p{EComp}/ end end
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_prop_modifier_base.rb
Ruby
mit
177
main
234
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_PROP_MODIFIER_BASE = /\p{EBase}/ end end
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_include_mqe.rb
Ruby
mit
177
main
36,636
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_INCLUDE_MQE = /(?:(?:👩🏾‍❤️?‍💋‍👩🏻|👩🏾‍❤️?‍💋‍👨🏿|👩🏾‍❤️?‍💋‍👨🏾|👨🏽‍❤️?‍💋‍👨🏻|👨🏽‍❤️?‍💋‍👨🏼|👨🏽‍❤️?‍💋‍👨🏽|👨🏽‍❤...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_valid_include_text.rb
Ruby
mit
177
main
68,402
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_VALID_INCLUDE_TEXT = /(?:(?:(?:(?:\p{EBase}\p{EMod}|(?:[\p{Emoji}&&\P{EPres}]️|\p{EPres}(?!︎)️?)|\p{Emoji})‍)+(?:\p{EBase}\p{EMod...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_picto_no_emoji.rb
Ruby
mit
177
main
245
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_PICTO_NO_EMOJI = /[\p{ExtPict}&&\P{Emoji}]/ end end
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_prop_modifier.rb
Ruby
mit
177
main
228
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_PROP_MODIFIER = /\p{EMod}/ end end
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_picto.rb
Ruby
mit
177
main
223
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_PICTO = /\p{ExtPict}/ end end
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_possible.rb
Ruby
mit
177
main
345
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_POSSIBLE = /(?:\p{RI}{2}|\p{Emoji}(?:\p{EMod}|️⃣?|[󠀠-󠁾]+󠁿)?)(?:‍(?:\p{RI}{2}|\p{Emoji}(?:\p{EMod}|️⃣?|[󠀠-󠁾]+󠁿)?))*/ end e...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
lib/unicode/emoji/generated_native/regex_text_presentation.rb
Ruby
mit
177
main
246
# This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. module Unicode module Emoji REGEX_TEXT_PRESENTATION = /[\p{Emoji}&&\P{EPres}]/ end end
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
data/generate_constants.rb
Ruby
mit
177
main
10,707
require_relative '../lib/unicode/emoji/constants' require_relative '../lib/unicode/emoji/index' require_relative '../lib/unicode/emoji/lazy_constants' include Unicode::Emoji def write_regexes(regexes, dirpath) regexes.each do |const_name, regex| write_regex(const_name, regex, dirpath) end end def write_regex...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
spec/unicode_emoji_spec.rb
Ruby
mit
177
main
25,351
require_relative "../lib/unicode/emoji" require "minitest/autorun" describe Unicode::Emoji do describe ".properties" do it "returns an Array of Emoji properties for given codepoint" do assert_equal ["Emoji", "Emoji_Presentation", "Extended_Pictographic"], Unicode::Emoji.properties("😴") assert_equal ...
github
janlelis/unicode-emoji
https://github.com/janlelis/unicode-emoji
spec/emoji_test_txt_spec.rb
Ruby
mit
177
main
5,734
require_relative "../lib/unicode/emoji" require "minitest/autorun" require "open-uri" def iterate_emoji EMOJI_TEST_FILE.scan(/^(?:# (?<sub>sub)?group: (?<group_name>.*)$)|(?:(?<codepoints>.+?)\s*; (?<qual_status>.+?)-?qualified )/) do if $~[:codepoints] yield $~[:codepoints].split.map{|e| e.to_i(16)}.pack(...
github
diowa/ruby2-rails4-bootstrap-heroku
https://github.com/diowa/ruby2-rails4-bootstrap-heroku
Gemfile
Ruby
bsd-2-clause
177
main
1,879
# frozen_string_literal: true source 'https://rubygems.org' ruby '2.4.10' gem 'rails', '4.2.11.3' gem 'crack', '0.4.5' # Servers gem 'puma', '~> 6.4' # API # gem 'rabl' # ORM gem 'pg', '~> 0.21.0' # Pagination # gem 'kaminari' # App monitoring # gem 'airbrake' gem 'newrelic_rpm', '~> 9.21' # Security # gem 'se...
github
diowa/ruby2-rails4-bootstrap-heroku
https://github.com/diowa/ruby2-rails4-bootstrap-heroku
Rakefile
Ruby
bsd-2-clause
177
main
294
# frozen_string_literal: true # Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. require File.expand_path('config/application', __dir__) task test: :spec Rails.application.load_tasks
github
diowa/ruby2-rails4-bootstrap-heroku
https://github.com/diowa/ruby2-rails4-bootstrap-heroku
app/helpers/application_helper.rb
Ruby
bsd-2-clause
177
main
246
# frozen_string_literal: true module ApplicationHelper def title(page_title) content_for(:title) { page_title.to_s } end def yield_or_default(section, default = '') content_for?(section) ? content_for(section) : default end end
github
diowa/ruby2-rails4-bootstrap-heroku
https://github.com/diowa/ruby2-rails4-bootstrap-heroku
config/routes.rb
Ruby
bsd-2-clause
177
main
1,630
# frozen_string_literal: true Rails.application.routes.draw do # The priority is based upon order of creation: first created -> highest priority. # See how all your routes lay out with "rake routes". # You can have the root of your site routed with "root" root 'welcome#index' # Example of regular route: ...
github
diowa/ruby2-rails4-bootstrap-heroku
https://github.com/diowa/ruby2-rails4-bootstrap-heroku
config/application.rb
Ruby
bsd-2-clause
177
main
1,144
# frozen_string_literal: true require File.expand_path('boot', __dir__) require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module Starterapp class Application < Rails::Application # Settings in co...
github
diowa/ruby2-rails4-bootstrap-heroku
https://github.com/diowa/ruby2-rails4-bootstrap-heroku
config/puma.rb
Ruby
bsd-2-clause
177
main
514
# frozen_string_literal: true workers Integer(ENV['WEB_CONCURRENCY'] || 2) threads_count = Integer(ENV['RAILS_MAX_THREADS'] || 5) threads threads_count, threads_count preload_app! rackup DefaultRackup port ENV['PORT'] || 3000 environment ENV['RAILS_ENV'] || 'development' on_worker_boot do # Worke...
github
diowa/ruby2-rails4-bootstrap-heroku
https://github.com/diowa/ruby2-rails4-bootstrap-heroku
config/environments/development.rb
Ruby
bsd-2-clause
177
main
1,691
# frozen_string_literal: true Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. # In the development environment your application's code is reloaded on # every request. This slows down response time but is perfect for development # since you don...
github
diowa/ruby2-rails4-bootstrap-heroku
https://github.com/diowa/ruby2-rails4-bootstrap-heroku
config/environments/production.rb
Ruby
bsd-2-clause
177
main
3,434
# frozen_string_literal: true Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. # Compress HTML, JSON and other Rails-generated responses. config.middleware.use Rack::Deflater # Code is not reloaded between requests. config.cache_classes = tr...
github
diowa/ruby2-rails4-bootstrap-heroku
https://github.com/diowa/ruby2-rails4-bootstrap-heroku
config/environments/test.rb
Ruby
bsd-2-clause
177
main
1,853
# frozen_string_literal: true Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. # The test environment is used exclusively to run your application's # test suite. You never need to work with it otherwise. Remember that # your test database is "s...
github
diowa/ruby2-rails4-bootstrap-heroku
https://github.com/diowa/ruby2-rails4-bootstrap-heroku
config/initializers/assets.rb
Ruby
bsd-2-clause
177
main
517
# frozen_string_literal: true # Be sure to restart your server when you modify this file. # Version of your assets, change this if you want to expire all your assets. Rails.application.config.assets.version = '1.0' # Add additional assets to the asset load path # Rails.application.config.assets.paths << Emoji.images...
github
diowa/ruby2-rails4-bootstrap-heroku
https://github.com/diowa/ruby2-rails4-bootstrap-heroku
spec/spec_helper.rb
Ruby
bsd-2-clause
177
main
4,767
# frozen_string_literal: true # This file was generated by the `rails generate rspec:install` command. Conventionally, all # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. # The generated `.rspec` file contains `--require spec_helper` which will cause # this file to always be loaded, withou...
github
diowa/ruby2-rails4-bootstrap-heroku
https://github.com/diowa/ruby2-rails4-bootstrap-heroku
spec/rails_helper.rb
Ruby
bsd-2-clause
177
main
3,059
# frozen_string_literal: true require 'simplecov' SimpleCov.start 'rails' do if ENV['CI'] require 'simplecov-lcov' SimpleCov::Formatter::LcovFormatter.config do |c| c.report_with_single_file = true c.single_report_path = 'coverage/lcov.info' end formatter SimpleCov::Formatter::LcovForm...
github
diowa/ruby2-rails4-bootstrap-heroku
https://github.com/diowa/ruby2-rails4-bootstrap-heroku
spec/features/welcome_spec.rb
Ruby
bsd-2-clause
177
main
240
# frozen_string_literal: true require 'rails_helper' RSpec.describe 'Welcome' do describe 'Index' do it 'has application name in title' do visit root_path expect(page).to have_title I18n.t('app_name') end end end
github
diowa/ruby2-rails4-bootstrap-heroku
https://github.com/diowa/ruby2-rails4-bootstrap-heroku
spec/support/database_cleaner.rb
Ruby
bsd-2-clause
177
main
327
# frozen_string_literal: true RSpec.configure do |config| config.before(:suite) do DatabaseCleaner.clean_with :truncation end config.around do |example| DatabaseCleaner.strategy = example.metadata[:js] ? :truncation : :transaction DatabaseCleaner.start example.run DatabaseCleaner.clean e...
github
diowa/ruby2-rails4-bootstrap-heroku
https://github.com/diowa/ruby2-rails4-bootstrap-heroku
spec/support/mailer_macros.rb
Ruby
bsd-2-clause
177
main
288
# frozen_string_literal: true module MailerMacros def last_email ActionMailer::Base.deliveries.last end def reset_emails ActionMailer::Base.deliveries = [] end end RSpec.configure do |config| config.include MailerMacros config.before do reset_emails end end
github
diowa/ruby2-rails4-bootstrap-heroku
https://github.com/diowa/ruby2-rails4-bootstrap-heroku
db/schema.rb
Ruby
bsd-2-clause
177
main
789
# encoding: UTF-8 # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # # Note that this schema.rb definition is the authoritative sou...
github
copycopter/copycopter-ruby-client
https://github.com/copycopter/copycopter-ruby-client
copycopter_client.gemspec
Ruby
mit
177
master
1,374
# -*- encoding: utf-8 -*- $LOAD_PATH.push File.expand_path('../lib', __FILE__) require 'copycopter_client/version' Gem::Specification.new do |s| s.add_dependency 'i18n', '>= 0.5.0' s.add_dependency 'json' s.add_development_dependency 'appraisal', '~> 0.4' s.add_development_dependency 'aruba', '~> 0.3.2' s.ad...
github
copycopter/copycopter-ruby-client
https://github.com/copycopter/copycopter-ruby-client
Appraisals
Ruby
mit
177
master
216
appraise '2.3' do gem 'rails', '2.3.14' end appraise '3.0' do gem 'rails', '3.0.3' end appraise '3.1' do gem 'rails', '3.1.0' gem 'jquery-rails' gem 'uglifier' gem 'sass-rails' gem 'coffee-rails' end
github
copycopter/copycopter-ruby-client
https://github.com/copycopter/copycopter-ruby-client
Rakefile
Ruby
mit
177
master
658
require 'bundler/gem_tasks' require 'appraisal' require 'cucumber/rake/task' require 'rspec/core/rake_task' require 'yard' desc 'Default: run the specs and features.' task :default => :spec do system "rake -s appraisal cucumber;" end desc 'Test the copycopter_client plugin.' RSpec::Core::RakeTask.new do |t| t.rsp...
github
copycopter/copycopter-ruby-client
https://github.com/copycopter/copycopter-ruby-client
features/support/env.rb
Ruby
mit
177
master
276
require 'sham_rack' require 'aruba/cucumber' require 'rails/version' PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')) $LOAD_PATH << File.join(PROJECT_ROOT, 'lib') require "copycopter_client/version" Before do @aruba_timeout_seconds = 15 end
github
copycopter/copycopter-ruby-client
https://github.com/copycopter/copycopter-ruby-client
features/support/rails_server.rb
Ruby
mit
177
master
2,426
require 'net/http' # Starts a Rails application server in a fork and waits for it to be responsive class RailsServer HOST = 'localhost'.freeze class << self attr_accessor :instance end def self.start(port = nil, debug = nil) self.instance = new(port, debug) self.instance.start self.instance ...
github
copycopter/copycopter-ruby-client
https://github.com/copycopter/copycopter-ruby-client
features/step_definitions/rails_steps.rb
Ruby
mit
177
master
4,923
When "I generate a rails application" do if Rails::VERSION::MAJOR == 3 subcommand = 'new' if Rails::VERSION::MINOR == 0 options = '' else options = '--skip-bundle' end else subcommand = '' options = '' end run_simple("rails _#{Rails::VERSION::STRING}_ #{subcommand} testapp #...
github
copycopter/copycopter-ruby-client
https://github.com/copycopter/copycopter-ruby-client
features/step_definitions/copycopter_server_steps.rb
Ruby
mit
177
master
2,187
require File.join(PROJECT_ROOT, "spec", "support", "fake_copycopter_app") Given /^I have a copycopter project with an api key of "([^"]*)"$/ do |api_key| FakeCopycopterApp.add_project api_key end Given /^the "([^"]*)" project has the following blurbs:$/ do |api_key, table| project = FakeCopycopterApp.project(api_...
github
copycopter/copycopter-ruby-client
https://github.com/copycopter/copycopter-ruby-client
lib/copycopter_client.rb
Ruby
mit
177
master
1,984
require 'copycopter_client/version' require 'copycopter_client/configuration' # Top-level interface to the Copycopter client. # # Most applications should only need to use the {.configure} # method, which will setup all the pieces and begin synchronization when # appropriate. module CopycopterClient class << self ...
github
copycopter/copycopter-ruby-client
https://github.com/copycopter/copycopter-ruby-client
lib/tasks/copycopter_client_tasks.rake
Ruby
mit
177
master
564
namespace :copycopter do desc "Notify Copycopter of a new deploy." task :deploy => :environment do CopycopterClient.deploy puts "Successfully marked all blurbs as published." end desc "Export Copycopter blurbs to yaml." task :export => :environment do CopycopterClient.cache.sync if yml = Cop...
github
copycopter/copycopter-ruby-client
https://github.com/copycopter/copycopter-ruby-client
lib/copycopter_client/client.rb
Ruby
mit
177
master
4,423
require 'net/http' require 'net/https' require 'copycopter_client/errors' module CopycopterClient # Communicates with the Copycopter server. This class is used to actually # download and upload blurbs, as well as issuing deploys. # # A client is usually instantiated when {Configuration#apply} is called, and ...
github
copycopter/copycopter-ruby-client
https://github.com/copycopter/copycopter-ruby-client
lib/copycopter_client/cache.rb
Ruby
mit
177
master
3,338
require 'thread' require 'copycopter_client/client' module CopycopterClient # Manages synchronization of copy between {I18nBackend} and {Client}. Acts # like a Hash. Applications using the client will not need to interact with # this class directly. # # Responsible for locking down access to data used by bot...
github
copycopter/copycopter-ruby-client
https://github.com/copycopter/copycopter-ruby-client
lib/copycopter_client/request_sync.rb
Ruby
mit
177
master
852
module CopycopterClient # Rack middleware that synchronizes with Copycopter during each request. # # This is injected into the Rails middleware stack in development environments. class RequestSync # @param app [Rack] the upstream app into whose responses to inject the editor # @param options [Hash] ...