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 | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | test/nested_scaffold_test.rb | Ruby | mit | 180 | master | 1,872 | require 'test_helper'
require 'generators/nested_scaffold_generator'
require 'generators/active_record/active_record_generator'
require 'rails/generators/rails/scaffold/scaffold_generator'
require 'rails/generators/test_unit/controller/controller_generator'
class NestedScaffoldTest < Rails::Generators::TestCase
test... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | test/test_helper.rb | Ruby | mit | 180 | master | 596 | # Configure Rails Environment
ENV["RAILS_ENV"] = "test"
require File.expand_path("../dummy/config/environment.rb", __FILE__)
require 'rails/generators'
require "rails/test_help"
class ActiveSupport::TestCase
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
#
# Note: You'll ... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | test/dummy/config/application.rb | Ruby | mit | 180 | master | 2,478 | require File.expand_path('../boot', __FILE__)
require 'rails/all'
Bundler.require
#require "nested_scaffold_generator"
module Dummy
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in confi... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | test/dummy/config/environments/development.rb | Ruby | mit | 180 | master | 1,097 | Dummy::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't have to restart the web serv... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | test/dummy/config/environments/test.rb | Ruby | mit | 180 | master | 1,416 | Dummy::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 "scratch space" for the test suit... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | test/dummy/config/environments/production.rb | Ruby | mit | 180 | master | 2,311 | Dummy::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# Code is not reloaded between requests
config.cache_classes = true
config.eager_load = true
# Full error reports are disabled and caching is turned on
config.consider_all_requests_local ... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | test/dummy/config/initializers/secret_token.rb | Ruby | mit | 180 | master | 496 | # Be sure to restart your server when you modify this file.
# Your secret key for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attac... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | lib/generators/nested_scaffold_generator.rb | Ruby | mit | 180 | master | 1,280 | require 'rails/generators/rails/scaffold/scaffold_generator'
require File.join(File.dirname(__FILE__), 'base')
require File.join(File.dirname(__FILE__), 'scaffold_controller/scaffold_controller_generator')
require File.join(File.dirname(__FILE__), 'active_record/active_record_generator')
module NestedScaffold
module... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | lib/generators/base.rb | Ruby | mit | 180 | master | 474 | module NestedScaffold
module Base
protected
def nested_parent_name
@class_path.join('/')
end
def nested_parent_id
"#{nested_parent_name}_id"
end
def nested_parent_class_name
nested_parent_name.classify
end
def plural_nested_parent_name
nested_parent_name.plur... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | lib/generators/stylesheets/stylesheets_generator.rb | Ruby | mit | 180 | master | 244 | require 'rails/generators/rails/stylesheets/stylesheets_generator'
module NestedScaffold
module Generators
class StylesheetsGenerator < ::Rails::Generators::StylesheetsGenerator
source_root superclass.source_root
end
end
end |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | lib/generators/test_unit/helper_generator.rb | Ruby | mit | 180 | master | 358 | require 'rails/generators/test_unit/helper/helper_generator'
require File.join(File.dirname(__FILE__), '../base')
module NestedScaffold
module Generators
module Helper
class TestUnitGenerator < ::TestUnit::Generators::HelperGenerator
include ::NestedScaffold::Base
source_root superclass.so... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | lib/generators/test_unit/model_generator.rb | Ruby | mit | 180 | master | 687 | require 'rails/generators/test_unit/model/model_generator'
require File.join(File.dirname(__FILE__), '../base')
module NestedScaffold
module Generators
module Model
class TestUnitGenerator < ::TestUnit::Generators::ModelGenerator
include ::NestedScaffold::Base
source_root superclass.source... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | lib/generators/test_unit/scaffold_generator.rb | Ruby | mit | 180 | master | 386 | require 'rails/generators/test_unit/scaffold/scaffold_generator'
require File.join(File.dirname(__FILE__), '../base')
module NestedScaffold
module Generators
module Scaffold
class TestUnitGenerator < ::TestUnit::Generators::ScaffoldGenerator
include ::NestedScaffold::Base
source_root File.... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | lib/generators/test_unit/templates/functional_test.rb | Ruby | mit | 180 | master | 2,048 | require 'test_helper'
class <%= controller_class_name %>ControllerTest < ActionController::TestCase
setup do
@<%= nested_parent_name %> = <%= plural_nested_parent_name %>(:one)
@<%= singular_table_name %> = <%= table_name %>(:one)
end
test "should get index" do
get :index, params: { <%= nested_paren... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | lib/generators/test_unit/templates/system_test.rb | Ruby | mit | 180 | master | 275 | require "application_system_test_case"
class <%= class_name.pluralize %>Test < ApplicationSystemTestCase
# test "visiting the index" do
# visit <%= nested_parent_name%>_<%= plural_table_name %>_url
#
# assert_selector "h1", text: "<%= class_name %>"
# end
end |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | lib/generators/haml/haml_generator.rb | Ruby | mit | 180 | master | 394 | require 'rails/generators/erb/scaffold/scaffold_generator'
require File.join(File.dirname(__FILE__), '../base')
module NestedScaffold
module Generators
class HamlGenerator < ::Erb::Generators::ScaffoldGenerator
include ::NestedScaffold::Base
source_root File.expand_path('../templates', __FILE__)
... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | lib/generators/helper/helper_generator.rb | Ruby | mit | 180 | master | 472 | require 'rails/generators/rails/helper/helper_generator'
require File.join(File.dirname(__FILE__), '../test_unit/helper_generator')
require File.join(File.dirname(__FILE__), '../base')
module NestedScaffold
module Generators
class HelperGenerator < ::Rails::Generators::HelperGenerator
include ::NestedScaff... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | lib/generators/erb/erb_generator.rb | Ruby | mit | 180 | master | 334 | require 'rails/generators/erb/scaffold/scaffold_generator'
require File.join(File.dirname(__FILE__), '../base')
module NestedScaffold
module Generators
class ErbGenerator < ::Erb::Generators::ScaffoldGenerator
include ::NestedScaffold::Base
source_root File.expand_path('../templates', __FILE__)
... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | lib/generators/scaffold_controller/scaffold_controller_generator.rb | Ruby | mit | 180 | master | 960 | require 'rails/generators/rails/scaffold_controller/scaffold_controller_generator'
require File.join(File.dirname(__FILE__), '../erb/erb_generator')
require File.join(File.dirname(__FILE__), '../haml/haml_generator')
require File.join(File.dirname(__FILE__), '../helper/helper_generator')
require File.join(File.dirname(... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | lib/generators/scaffold_controller/templates/controller.rb | Ruby | mit | 180 | master | 2,417 | class <%= controller_class_name %>Controller < ApplicationController
before_action :set_<%= nested_parent_name %>
before_action :set_<%= singular_table_name %>, only: [:show, :edit, :update, :destroy]
# GET <%= plural_nested_parent_name %>/1/<%= plural_name %>
def index
<%= "@#{plural_name} = @#{nested_par... |
github | amatsuda/nested_scaffold | https://github.com/amatsuda/nested_scaffold | lib/generators/active_record/active_record_generator.rb | Ruby | mit | 180 | master | 1,602 | require 'rails/generators/active_record/model/model_generator'
require File.join(File.dirname(__FILE__), '../test_unit/model_generator')
require File.join(File.dirname(__FILE__), '../base')
module NestedScaffold
module Generators
class ActiveRecordGenerator < ::ActiveRecord::Generators::ModelGenerator
incl... |
github | alainmeier/cryptonote | https://github.com/alainmeier/cryptonote | Gemfile | Ruby | mit | 180 | master | 958 | source 'https://rubygems.org'
ruby '2.6.6'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.2', '>= 5.2'
group :development do
gem 'annotate', '~> 3.1.1'
end
group :production do
# Required for Heroku asset serving
gem 'rails_12factor', '~> 0.0.3'
end
# Allows better manageme... |
github | alainmeier/cryptonote | https://github.com/alainmeier/cryptonote | Rakefile | Ruby | mit | 180 | master | 255 | # 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', __FILE__)
Cryptonote::Application.load_tasks |
github | alainmeier/cryptonote | https://github.com/alainmeier/cryptonote | app/models/message.rb | Ruby | mit | 180 | master | 809 | # == Schema Information
#
# Table name: messages
#
# id :uuid not null, primary key
# content :text
# location :string(255)
# password :string(255)
# latitude :float
# longitude :float
# created_at :datetime
# updated_at :datetime
# encryption_key :... |
github | alainmeier/cryptonote | https://github.com/alainmeier/cryptonote | app/controllers/messages_controller.rb | Ruby | mit | 180 | master | 1,462 | class MessagesController < ApplicationController
BLOCKED_BOTS = [
/facebookexternalhit/,
/Slackbot-LinkExpanding/,
/Twitterbot/,
/WhatsApp/,
/Discord/
].freeze
def new
@message = Message.new
end
def create
@gen_password = params[:message][:gen_password]
@message = Message.cre... |
github | alainmeier/cryptonote | https://github.com/alainmeier/cryptonote | app/controllers/errors_controller.rb | Ruby | mit | 180 | master | 205 | class ErrorsController < ApplicationController
layout 'errors'
def show
render status_code.to_s, status: status_code
end
protected
def status_code
params[:code] || 500
end
end |
github | alainmeier/cryptonote | https://github.com/alainmeier/cryptonote | app/controllers/static_pages_controller.rb | Ruby | mit | 180 | master | 443 | class StaticPagesController < ApplicationController
def stats
year = Message.where(created_at: 1.year.ago..Time.now)
@stats = {
created_alltime: Message.all.count,
created_year: year.count,
created_month: year.where(created_at: 1.month.ago..Time.now).count,
created_week: year.where(cr... |
github | alainmeier/cryptonote | https://github.com/alainmeier/cryptonote | config/routes.rb | Ruby | mit | 180 | master | 481 | Cryptonote::Application.routes.draw do
# Automatically removes and redirects any URL prepended with www.
constraints subdomain: 'www' do
get ':any', to: redirect(subdomain: nil, path: '/%{any}'), any: /.*/
end
root 'messages#new'
resources :messages, only: [:show, :create]
get '/statistics' => 'stati... |
github | alainmeier/cryptonote | https://github.com/alainmeier/cryptonote | config/application.rb | Ruby | mit | 180 | master | 1,118 | require File.expand_path('../boot', __FILE__)
require 'rails/all'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env)
module Cryptonote
class Application < Rails::Application
# Middleware for redirecting www
... |
github | alainmeier/cryptonote | https://github.com/alainmeier/cryptonote | config/environments/development.rb | Ruby | mit | 180 | master | 1,119 | Cryptonote::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't have to restart the we... |
github | alainmeier/cryptonote | https://github.com/alainmeier/cryptonote | config/environments/test.rb | Ruby | mit | 180 | master | 1,571 | Cryptonote::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 "scratch space" for the tes... |
github | alainmeier/cryptonote | https://github.com/alainmeier/cryptonote | config/environments/production.rb | Ruby | mit | 180 | master | 3,307 | Cryptonote::Application.configure do
# Settings specified here will take precedence over those in config/application.rb.
config.assets.precompile += %w( errors.css )
# Code is not reloaded between requests.
config.cache_classes = true
# Eager load code on boot. This eager loads most of Rails and
# your a... |
github | alainmeier/cryptonote | https://github.com/alainmeier/cryptonote | config/initializers/secret_token.rb | Ruby | mit | 180 | master | 664 | # Be sure to restart your server when you modify this file.
# Your secret key is used for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to diction... |
github | alainmeier/cryptonote | https://github.com/alainmeier/cryptonote | test/models/message_test.rb | Ruby | mit | 180 | master | 539 | # == Schema Information
#
# Table name: messages
#
# id :uuid not null, primary key
# content :text
# location :string(255)
# password :string(255)
# latitude :float
# longitude :float
# created_at :datetime
# updated_at :datetime
# encryption_key :... |
github | alainmeier/cryptonote | https://github.com/alainmeier/cryptonote | db/schema.rb | Ruby | mit | 180 | master | 1,319 | # 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 source for your
# dat... |
github | alainmeier/cryptonote | https://github.com/alainmeier/cryptonote | db/migrate/20130518032627_create_messages.rb | Ruby | mit | 180 | master | 253 | class CreateMessages < ActiveRecord::Migration
def change
create_table :messages do |t|
t.text :content
t.string :location
t.string :password
t.float :latitude
t.float :longitude
t.timestamps
end
end
end |
github | alainmeier/cryptonote | https://github.com/alainmeier/cryptonote | db/migrate/20130518052805_add_uuid_to_messages.rb | Ruby | mit | 180 | master | 327 | class AddUuidToMessages < ActiveRecord::Migration
enable_extension 'uuid-ossp'
def change
drop_table :messages
create_table :messages, id: :uuid do |t|
t.text :content
t.string :location
t.string :password
t.float :latitude
t.float :longitude
t.timestamps
end
e... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | rakefile | Ruby | mit | 179 | master | 432 | require 'rake/testtask'
desc 'Test the library.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
gemspec = eval(File.read("acts_as_ferret.gemspec"))
task :build => "#{gemspec.full_name}.gem"
file "#{gemspec.full_name}.gem" => gemspec.files + ["acts_as_ferr... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | acts_as_ferret.gemspec | Ruby | mit | 179 | master | 1,399 | require File.expand_path("../lib/acts_as_ferret/version", __FILE__)
Gem::Specification.new do |s|
s.name = 'acts_as_ferret'
s.version = ActsAsFerret::VERSION
s.authors = ['Jens Kraemer']
s.summary = 'acts_as_ferret - Ferret based full text search for any ActiveRecord model'
s.description = 'Rails plugin that add... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | install.rb | Ruby | mit | 179 | master | 489 | # acts_as_ferret install script
require 'fileutils'
def install(file)
puts "Installing: #{file}"
target = File.join(File.dirname(__FILE__), '..', '..', '..', file)
if File.exists?(target)
puts "target #{target} already exists, skipping"
else
FileUtils.cp File.join(File.dirname(__FILE__), file), target
... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret.rb | Ruby | mit | 179 | master | 22,728 | # Copyright (c) 2006 Kasper Weibel Nielsen-Refs, Thomas Lockney, Jens Krämer
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# t... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/class_methods.rb | Ruby | mit | 179 | master | 10,790 | module ActsAsFerret
module ClassMethods
# Disables ferret index updates for this model. When a block is given,
# Ferret will be re-enabled again after executing the block.
def disable_ferret
aaf_configuration[:enabled] = false
if block_given?
yield
enable_ferret
... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/remote_functions.rb | Ruby | mit | 179 | master | 1,276 | module ActsAsFerret
module RemoteFunctions
private
def yield_results(total_hits, results)
results.each do |result|
yield result[:model], result[:id], result[:score], result[:data]
end
total_hits
end
def handle_drb_error(return_value_in_case_of_error = false)
yield
... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/railtie.rb | Ruby | mit | 179 | master | 281 | require 'acts_as_ferret'
require 'rails'
module ActsAsFerret
class Railtie < Rails::Railtie
rake_tasks do
load File.join(File.dirname(__FILE__), '../../tasks/ferret.rake')
end
config.to_prepare { ActsAsFerret::load_config }
end
end |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/blank_slate.rb | Ruby | mit | 179 | master | 1,590 | module ActsAsFerret
if defined?(ActiveSupport::BasicObject)
# Rails 2.3, 3.x
class BlankSlate < ActiveSupport::BasicObject
end
elsif defined?(::BasicObject)
# Ruby 1.9.x
class BlankSlate < BasicObject
end
elsif defined?(::BlankSlate)
# former 2.x rails versions (?)
cla... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/without_ar.rb | Ruby | mit | 179 | master | 1,110 | module ActsAsFerret
# Include this module to use acts_as_ferret with model classes
# not based on ActiveRecord.
#
# Implement the find_for_id(id) class method in your model class in
# order to make search work.
module WithoutAR
def self.included(target)
target.extend ClassMethods
target.e... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/act_methods.rb | Ruby | mit | 179 | master | 5,991 | module ActsAsFerret #:nodoc:
# This module defines the acts_as_ferret method and is included into
# ActiveRecord::Base
module ActMethods
def reloadable?; false end
# declares a class as ferret-searchable.
#
# ====options:
# fields:: names all fields to include in the in... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/ferret_result.rb | Ruby | mit | 179 | master | 1,542 | module ActsAsFerret
# mixed into the FerretResult and AR classes calling acts_as_ferret
module ResultAttributes
# holds the score this record had when it was found via
# acts_as_ferret
attr_accessor :ferret_score
attr_accessor :ferret_rank
end
class FerretResult < ActsAsFerret::BlankSlate
... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/bulk_indexer.rb | Ruby | mit | 179 | master | 1,565 | module ActsAsFerret
class BulkIndexer
def initialize(args = {})
@batch_size = args[:batch_size] || 1000
@logger = args[:logger]
@model = args[:model]
@work_done = 0
@indexed_records = 0
@total_time = 0.0
@index = args[:index]
if args[:reindex]
@reindex = tru... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/search_results.rb | Ruby | mit | 179 | master | 1,628 | module ActsAsFerret
# decorator that adds a total_hits accessor and will_paginate compatible
# paging support to search result arrays
class SearchResults < ActsAsFerret::BlankSlate
attr_reader :current_page, :per_page, :total_hits, :total_pages
alias total_entries total_hits # will_paginate compatibili... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/remote_index.rb | Ruby | mit | 179 | master | 1,483 | require 'drb'
module ActsAsFerret
# This index implementation connects to a remote ferret server instance. It
# basically forwards all calls to the remote server.
class RemoteIndex < AbstractIndex
include RemoteFunctions
def initialize(config)
super
@server = DRbObject.new(nil, ActsAsFerret:... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/multi_index.rb | Ruby | mit | 179 | master | 3,921 | module ActsAsFerret #:nodoc:
# Base class for remote and local multi-indexes
class MultiIndexBase
include FerretFindMethods
attr_accessor :logger
def initialize(indexes, options = {})
# ensure all models indexes exist
@indexes = indexes
indexes.each { |i| i.ensure_index_exists }
... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/remote_multi_index.rb | Ruby | mit | 179 | master | 640 | module ActsAsFerret
class RemoteMultiIndex < MultiIndexBase
include RemoteFunctions
def initialize(indexes, options = {})
@index_names = indexes.map(&:index_name)
@server = DRbObject.new(nil, ActsAsFerret::remote)
super
end
def find_ids(query, options, &proc)
total_hits, resu... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/local_index.rb | Ruby | mit | 179 | master | 7,382 | module ActsAsFerret
class LocalIndex < AbstractIndex
include MoreLikeThis::IndexMethods
def initialize(index_name)
super
ensure_index_exists
end
def reopen!
logger.debug "reopening index at #{index_definition[:ferret][:path]}"
close
ferret_index
end
# The 'real... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/more_like_this.rb | Ruby | mit | 179 | master | 9,994 | module ActsAsFerret #:nodoc:
module MoreLikeThis
module InstanceMethods
# returns other instances of this class, which have similar contents
# like this one. Basically works like this: find out n most interesting
# (i.e. characteristic) terms from this document, and then build a
... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/ferret_find_methods.rb | Ruby | mit | 179 | master | 5,792 | module ActsAsFerret
# Ferret search logic common to single-class indexes, shared indexes and
# multi indexes.
module FerretFindMethods
def find_records(q, options = {}, ar_options = {})
late_pagination = options.delete :late_pagination
total_hits, result = if options[:lazy]
logger.warn "f... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/rdig_adapter.rb | Ruby | mit | 179 | master | 4,486 | begin
require 'rdig'
rescue LoadError
end
require 'digest/md5'
module ActsAsFerret
# The RdigAdapter is automatically included into your model if you specify
# the +:rdig+ options hash in your call to acts_as_ferret. It overrides
# several methods declared by aaf to retrieve documents with the help of
# RDi... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/instance_methods.rb | Ruby | mit | 179 | master | 6,999 | module ActsAsFerret #:nodoc:
module InstanceMethods
include ResultAttributes
# Returns an array of strings with the matches highlighted. The +query+ can
# either be a String or a Ferret::Search::Query object.
#
# === Options
#
# field:: field to take the content from. This fi... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/ferret_extensions.rb | Ruby | mit | 179 | master | 6,411 | module Ferret
module Analysis
# = PerFieldAnalyzer
#
# This PerFieldAnalyzer is a workaround to a memory leak in
# ferret 0.11.4. It does basically do the same as the original
# Ferret::Analysis::PerFieldAnalyzer, but without the leak :)
#
# http://ferret.davebalmain.com/api/classes/... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/index.rb | Ruby | mit | 179 | master | 3,713 | module ActsAsFerret
class IndexLogger
def initialize(logger, name)
@logger = logger
@index_name = name
end
%w(debug info warn error).each do |m|
define_method(m) do |message|
@logger.send m, "[#{@index_name}] #{message}"
end
question = :"#{m}?"
define_method(qu... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/server/unix_daemon.rb | Ruby | mit | 179 | master | 2,931 | module ActsAsFerret
module Server
# methods for becoming a daemon on Unix-like operating systems
module UnixDaemon
################################################################################
def platform_daemon (&block)
safefork do
write_pid_file
trap("TERM") { e... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/server/config.rb | Ruby | mit | 179 | master | 1,509 | require 'yaml'
require 'erb'
module ActsAsFerret
module Server
class Config
################################################################################
DEFAULTS = {
'host' => 'localhost',
'port' => '9009',
'cf' => "config/ferret_server.yml",
... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | lib/acts_as_ferret/server/server.rb | Ruby | mit | 179 | master | 6,735 | require 'drb'
require 'thread'
require 'acts_as_ferret/server/unix_daemon'
require 'acts_as_ferret/server/config'
module ActsAsFerret
module Server
# This class acts as a drb server listening for indexing and
# search requests from models declared to 'acts_as_ferret :remote => true'
#
# Usage:
... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | recipes/aaf_recipes.rb | Ruby | mit | 179 | master | 4,319 | # Ferret DRb server Capistrano tasks
#
# Usage:
# in your Capfile, add acts_as_ferret's recipes directory to your load path and
# load the ferret tasks:
#
# load_paths << 'vendor/plugins/acts_as_ferret/recipes'
# load 'aaf_recipes'
#
# This will hook aaf's DRb start/stop tasks into the standard
# deploy:{start|restart... |
github | jkraemer/acts_as_ferret | https://github.com/jkraemer/acts_as_ferret | tasks/ferret.rake | Ruby | mit | 179 | master | 964 | namespace :ferret do
# Rebuild index task. Declare the indexes to be rebuilt with the INDEXES
# environment variable:
#
# INDEXES="my_model shared" rake ferret:rebuild
desc "Rebuild a Ferret index. Specify what model to rebuild with the INDEXES environment variable."
task :rebuild => :environment do
if... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0.11.15-oci.rb | Ruby | mit | 179 | master | 377 | cask "terraform-0.11.15-oci" do
version "0.11.15-oci"
name "Terraform"
homepage "https://www.terraform.io/"
case Hardware::CPU.arch
when :x86_64
url "https://releases.hashicorp.com/terraform/0.11.15-oci/terraform_0.11.15-oci_darwin_amd64.zip"
sha256 "e219eeee655797d485005014f3833ebfb5484423fa770cf46... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0-11-15-oci.rb | Ruby | mit | 179 | master | 514 | cask "terraform-0-11-15-oci" do
name "Terraform"
homepage "https://www.terraform.io/"
version "0.11.15-oci"
arch = "amd64"
sha256 "e219eeee655797d485005014f3833ebfb5484423fa770cf462a03c36f3cfa359"
url "https://releases.hashicorp.com/terraform/#{version}/terraform_#{version}_darwin_#{arch}.zip",
verif... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0.13.4.rb | Ruby | mit | 179 | master | 357 | cask "terraform-0.13.4" do
version "0.13.4"
name "Terraform"
homepage "https://www.terraform.io/"
case Hardware::CPU.arch
when :x86_64
url "https://releases.hashicorp.com/terraform/0.13.4/terraform_0.13.4_darwin_amd64.zip"
sha256 "5011d509a23ed6e2010a25f0449552b03822d7ef9b8b48f8a2f3277f2f34b736"
e... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-1-6-3.rb | Ruby | mit | 179 | master | 606 | cask "terraform-1-6-3" do
name "Terraform"
homepage "https://www.terraform.io/"
version "1.6.3"
arch intel: "amd64", arm: "arm64"
sha256 intel: "6fbd1ba3d64daad05d9384568f7300ee9f15e18a5f3a19a33fe48b8d1b44385a",
arm: "8cad19d5f34c6ab2af21219fc3968ba30084f5e39bf219230706d360869ed8e9"
url "https://rel... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0.9.10.rb | Ruby | mit | 179 | master | 357 | cask "terraform-0.9.10" do
version "0.9.10"
name "Terraform"
homepage "https://www.terraform.io/"
case Hardware::CPU.arch
when :x86_64
url "https://releases.hashicorp.com/terraform/0.9.10/terraform_0.9.10_darwin_amd64.zip"
sha256 "8d55db3e114a72ec2cefb2e928af485c10f61c2df8121847972f73ca301fe5c6"
e... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-1-14-0-alpha20250903.rb | Ruby | mit | 179 | master | 636 | cask "terraform-1-14-0-alpha20250903" do
name "Terraform"
homepage "https://www.terraform.io/"
version "1.14.0-alpha20250903"
arch intel: "amd64", arm: "arm64"
sha256 intel: "a4009f250bb3514c562e0b19bf339052ff5cea523928c9009251438f12172d9d",
arm: "c9270dd180181a0c7d32f581470304efa35b5928474543e2f63e1d0... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-1-14-0-beta2.rb | Ruby | mit | 179 | master | 620 | cask "terraform-1-14-0-beta2" do
name "Terraform"
homepage "https://www.terraform.io/"
version "1.14.0-beta2"
arch intel: "amd64", arm: "arm64"
sha256 intel: "fed6bb3c67383b4385a1b8f310ffee5f49ad06ce9b96894c48bb6e0ec868c75a",
arm: "748b1c73e8b4acb65d48e5401a8609eb16054faab558b55677c155ca6a798445"
ur... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-1-8-0-alpha20240228.rb | Ruby | mit | 179 | master | 634 | cask "terraform-1-8-0-alpha20240228" do
name "Terraform"
homepage "https://www.terraform.io/"
version "1.8.0-alpha20240228"
arch intel: "amd64", arm: "arm64"
sha256 intel: "1c6b38f3e77a79bd285e7f7c7e800f91b58b5e40b6d736422ecd021ed281799c",
arm: "6251ae32bb0a8a98464e2eb2b43e880b59151ca8db438bef5e10a4785... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0.6.15.rb | Ruby | mit | 179 | master | 357 | cask "terraform-0.6.15" do
version "0.6.15"
name "Terraform"
homepage "https://www.terraform.io/"
case Hardware::CPU.arch
when :x86_64
url "https://releases.hashicorp.com/terraform/0.6.15/terraform_0.6.15_darwin_amd64.zip"
sha256 "9cb305ac00b85e2575da3c71504f3fdd3f7ef61f35457af999c7b88802143311"
e... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-1-3-7.rb | Ruby | mit | 179 | master | 606 | cask "terraform-1-3-7" do
name "Terraform"
homepage "https://www.terraform.io/"
version "1.3.7"
arch intel: "amd64", arm: "arm64"
sha256 intel: "eeae48adcd55212b34148ed203dd5843e9b2a84a852a9877f3386fadb0514980",
arm: "01d553db5f7b4cf0729b725e4402643efde5884b1dabf5eb80af328ce5e447cf"
url "https://rel... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0-8-0.rb | Ruby | mit | 179 | master | 502 | cask "terraform-0-8-0" do
name "Terraform"
homepage "https://www.terraform.io/"
version "0.8.0"
arch = "amd64"
sha256 "4f4410be73200f95f84e359409481c8c48bc70e659fc5f7ea3f33a1db574ff65"
url "https://releases.hashicorp.com/terraform/#{version}/terraform_#{version}_darwin_#{arch}.zip",
verified: "releas... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0.7.1.rb | Ruby | mit | 179 | master | 353 | cask "terraform-0.7.1" do
version "0.7.1"
name "Terraform"
homepage "https://www.terraform.io/"
case Hardware::CPU.arch
when :x86_64
url "https://releases.hashicorp.com/terraform/0.7.1/terraform_0.7.1_darwin_amd64.zip"
sha256 "ab5e9ffe690f52ff13b8f095937119d67d3f0a07744be851657555236245dd98"
end
... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-1-0-9.rb | Ruby | mit | 179 | master | 606 | cask "terraform-1-0-9" do
name "Terraform"
homepage "https://www.terraform.io/"
version "1.0.9"
arch intel: "amd64", arm: "arm64"
sha256 intel: "be122ff7fb925643c5ebf4e5704b18426e18d3ca49ab59ae33d208c908cb6d5a",
arm: "89b2b4fd1a0c57fabc08ad3180ad148b1f7c1c0492ed865408f75f12e11a083b"
url "https://rel... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0.12.0-alpha2.rb | Ruby | mit | 179 | master | 385 | cask "terraform-0.12.0-alpha2" do
version "0.12.0-alpha2"
name "Terraform"
homepage "https://www.terraform.io/"
case Hardware::CPU.arch
when :x86_64
url "https://releases.hashicorp.com/terraform/0.12.0-alpha2/terraform_0.12.0-alpha2_darwin_amd64.zip"
sha256 "859fa4459f8cc8b4cda026b71cd7c8011fafc765e... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0-13-5.rb | Ruby | mit | 179 | master | 504 | cask "terraform-0-13-5" do
name "Terraform"
homepage "https://www.terraform.io/"
version "0.13.5"
arch = "amd64"
sha256 "6ede2ffced90d7ad0050ac5ff4c617ef7f07d1d2522b6ba83a07e5e980c28775"
url "https://releases.hashicorp.com/terraform/#{version}/terraform_#{version}_darwin_#{arch}.zip",
verified: "rele... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-1-1-0-beta2.rb | Ruby | mit | 179 | master | 618 | cask "terraform-1-1-0-beta2" do
name "Terraform"
homepage "https://www.terraform.io/"
version "1.1.0-beta2"
arch intel: "amd64", arm: "arm64"
sha256 intel: "ccdcab84417c3643ab1f97fb97b6220ca9a27b8341746799130d8d4c55e65c6f",
arm: "8b9f02ba2e197ee439caa7150de13d293ce7b13156ad3ae296d1267b0ea422d7"
url ... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0.15.0-alpha20210127.rb | Ruby | mit | 179 | master | 413 | cask "terraform-0.15.0-alpha20210127" do
version "0.15.0-alpha20210127"
name "Terraform"
homepage "https://www.terraform.io/"
case Hardware::CPU.arch
when :x86_64
url "https://releases.hashicorp.com/terraform/0.15.0-alpha20210127/terraform_0.15.0-alpha20210127_darwin_amd64.zip"
sha256 "ee7cf15916da9... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0-12-12.rb | Ruby | mit | 179 | master | 506 | cask "terraform-0-12-12" do
name "Terraform"
homepage "https://www.terraform.io/"
version "0.12.12"
arch = "amd64"
sha256 "abc3a0b5184259be2b9f744baae0d3709fae0e38112e36d35ff9debb43375e97"
url "https://releases.hashicorp.com/terraform/#{version}/terraform_#{version}_darwin_#{arch}.zip",
verified: "re... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0.12.0-beta1.rb | Ruby | mit | 179 | master | 381 | cask "terraform-0.12.0-beta1" do
version "0.12.0-beta1"
name "Terraform"
homepage "https://www.terraform.io/"
case Hardware::CPU.arch
when :x86_64
url "https://releases.hashicorp.com/terraform/0.12.0-beta1/terraform_0.12.0-beta1_darwin_amd64.zip"
sha256 "2da57018c25ada511b7131d85257f534030eddf23b347... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0-4-2.rb | Ruby | mit | 179 | master | 502 | cask "terraform-0-4-2" do
name "Terraform"
homepage "https://www.terraform.io/"
version "0.4.2"
arch = "amd64"
sha256 "317e2b9721394c1f6cc6710f13598cd91e8816b82fdc3781485556cadf1311dd"
url "https://releases.hashicorp.com/terraform/#{version}/terraform_#{version}_darwin_#{arch}.zip",
verified: "releas... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0-15-0-alpha20210127.rb | Ruby | mit | 179 | master | 532 | cask "terraform-0-15-0-alpha20210127" do
name "Terraform"
homepage "https://www.terraform.io/"
version "0.15.0-alpha20210127"
arch = "amd64"
sha256 "ee7cf15916da97bd0959b2928bd1c23afd9d4e6a06a9529ee398d79dd490a452"
url "https://releases.hashicorp.com/terraform/#{version}/terraform_#{version}_darwin_#{arc... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-1.0.4.rb | Ruby | mit | 179 | master | 543 | cask "terraform-1.0.4" do
version "1.0.4"
name "Terraform"
homepage "https://www.terraform.io/"
case Hardware::CPU.arch
when :x86_64
url "https://releases.hashicorp.com/terraform/1.0.4/terraform_1.0.4_darwin_amd64.zip"
sha256 "0d2083b1a812572eef068dbfd60ffbfa10f843434bec5f7e82c5f7a778761fa1"
when ... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0-12-0-alpha1.rb | Ruby | mit | 179 | master | 518 | cask "terraform-0-12-0-alpha1" do
name "Terraform"
homepage "https://www.terraform.io/"
version "0.12.0-alpha1"
arch = "amd64"
sha256 "2797b82e22c5557da604b6b727cb8112844a92c81b16840980a43ed78d9e0512"
url "https://releases.hashicorp.com/terraform/#{version}/terraform_#{version}_darwin_#{arch}.zip",
v... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-1.7.0-rc2.rb | Ruby | mit | 179 | master | 567 | cask "terraform-1.7.0-rc2" do
version "1.7.0-rc2"
name "Terraform"
homepage "https://www.terraform.io/"
case Hardware::CPU.arch
when :x86_64
url "https://releases.hashicorp.com/terraform/1.7.0-rc2/terraform_1.7.0-rc2_darwin_amd64.zip"
sha256 "eb63e7f64cc108897b7429866c3f94c966fec007038f7355728218cd3... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-1.5.0.rb | Ruby | mit | 179 | master | 543 | cask "terraform-1.5.0" do
version "1.5.0"
name "Terraform"
homepage "https://www.terraform.io/"
case Hardware::CPU.arch
when :x86_64
url "https://releases.hashicorp.com/terraform/1.5.0/terraform_1.5.0_darwin_amd64.zip"
sha256 "dd64d8a2a75519b933b4f1d76417675ea66bdb45c2a2672cf511825091eba789"
when ... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-1-13-0-rc1.rb | Ruby | mit | 179 | master | 616 | cask "terraform-1-13-0-rc1" do
name "Terraform"
homepage "https://www.terraform.io/"
version "1.13.0-rc1"
arch intel: "amd64", arm: "arm64"
sha256 intel: "946b03b24b58e035bf486e96cba7c5df57e74f7597b3b21f3efb6891ef73e1a7",
arm: "003efae168bf87c9dec1f77a7f53be7af17aa009ac58bd4f160a90468bfc08c2"
url "h... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0-12-0-beta1.rb | Ruby | mit | 179 | master | 516 | cask "terraform-0-12-0-beta1" do
name "Terraform"
homepage "https://www.terraform.io/"
version "0.12.0-beta1"
arch = "amd64"
sha256 "2da57018c25ada511b7131d85257f534030eddf23b347663af4c4ca89d3d9220"
url "https://releases.hashicorp.com/terraform/#{version}/terraform_#{version}_darwin_#{arch}.zip",
ver... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-1-14-0-rc2.rb | Ruby | mit | 179 | master | 616 | cask "terraform-1-14-0-rc2" do
name "Terraform"
homepage "https://www.terraform.io/"
version "1.14.0-rc2"
arch intel: "amd64", arm: "arm64"
sha256 intel: "0835e756e92392888fc5e4a6c620b99997dc50be749fd389d717b4e87876ca48",
arm: "9390bbbcaae7cd8b64ec20db49c672926f8622d2f158b0e06f121207f384c8c3"
url "h... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0.6.4.rb | Ruby | mit | 179 | master | 353 | cask "terraform-0.6.4" do
version "0.6.4"
name "Terraform"
homepage "https://www.terraform.io/"
case Hardware::CPU.arch
when :x86_64
url "https://releases.hashicorp.com/terraform/0.6.4/terraform_0.6.4_darwin_amd64.zip"
sha256 "e2eee073432487aabd69003b3a293caa6e087d4b435d29f6406079333e2dca73"
end
... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0-7-11.rb | Ruby | mit | 179 | master | 504 | cask "terraform-0-7-11" do
name "Terraform"
homepage "https://www.terraform.io/"
version "0.7.11"
arch = "amd64"
sha256 "69c8d2b07f04e9bf0beb4a333dd189d8616d22fe46692bdb5aef10493ac5e5c6"
url "https://releases.hashicorp.com/terraform/#{version}/terraform_#{version}_darwin_#{arch}.zip",
verified: "rele... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-1-2-2.rb | Ruby | mit | 179 | master | 606 | cask "terraform-1-2-2" do
name "Terraform"
homepage "https://www.terraform.io/"
version "1.2.2"
arch intel: "amd64", arm: "arm64"
sha256 intel: "1d22663c1ab22ecea774ae63aee21eecfee0bbc23b953206d889a5ba3c08525a",
arm: "b87716b55a3b10cced60db5285bae57aee9cc0f81c555dccdc4f54f62c2a3b60"
url "https://rel... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0-9-5.rb | Ruby | mit | 179 | master | 502 | cask "terraform-0-9-5" do
name "Terraform"
homepage "https://www.terraform.io/"
version "0.9.5"
arch = "amd64"
sha256 "83b5596c2a510925f90a6572d237b864bc4cf277609ebac294c8f400261e657c"
url "https://releases.hashicorp.com/terraform/#{version}/terraform_#{version}_darwin_#{arch}.zip",
verified: "releas... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-1-13-0.rb | Ruby | mit | 179 | master | 608 | cask "terraform-1-13-0" do
name "Terraform"
homepage "https://www.terraform.io/"
version "1.13.0"
arch intel: "amd64", arm: "arm64"
sha256 intel: "025c9ba20c542a22197157bf4a69cfbc8b3e43a9b69e9884d8ffcf9349cfdf0b",
arm: "7c36802149ebe94a5ac435539baa16f68304587386c83617977ba23fa96efcb1"
url "https://r... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-1-13-0-alpha20250623.rb | Ruby | mit | 179 | master | 636 | cask "terraform-1-13-0-alpha20250623" do
name "Terraform"
homepage "https://www.terraform.io/"
version "1.13.0-alpha20250623"
arch intel: "amd64", arm: "arm64"
sha256 intel: "2cfcc97acf91d0e6df39ede46a18a600eb280eb1c28abaeafb92221758ba1b78",
arm: "d9b7b606f62e97861a6c77fa7816291d8960b0c1e3a2a6c9d2b9614... |
github | tmatilai/homebrew-terraforms | https://github.com/tmatilai/homebrew-terraforms | Casks/terraform-0.3.0.rb | Ruby | mit | 179 | master | 353 | cask "terraform-0.3.0" do
version "0.3.0"
name "Terraform"
homepage "https://www.terraform.io/"
case Hardware::CPU.arch
when :x86_64
url "https://releases.hashicorp.com/terraform/0.3.0/terraform_0.3.0_darwin_amd64.zip"
sha256 "6c8eb551381eb331c0ef3f5615a60529bc45de1c702b02ed4dfa523cffa26084"
end
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.