Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
gnalh committed Jan 9, 2025
1 parent 34beb6e commit 0256c63
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 11 deletions.
4 changes: 3 additions & 1 deletion context-ruby/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
lib/**/*.bundle
lib/**/*.so
lib/context_ruby/context_ruby.so
pkg/**
tmp
*.gem
1 change: 1 addition & 0 deletions context-ruby/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ gem 'rspec'
gem 'rspec-core'
gem 'test-unit'

gem 'rake-release'
gem 'rb_sys', '~> 0.9.103'
5 changes: 5 additions & 0 deletions context-ruby/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ GEM
rake (13.2.1)
rake-compiler (1.2.0)
rake
rake-release (1.3.0)
bundler (>= 1.11, < 3)
rb_sys (0.9.103)
rspec (3.13.0)
rspec-core (~> 3.13.0)
Expand All @@ -22,6 +24,7 @@ GEM
rspec-support (3.13.2)
test-unit (3.6.4)
power_assert
trunk_analytics (0.0.1)

PLATFORMS
darwin
Expand All @@ -31,10 +34,12 @@ PLATFORMS
DEPENDENCIES
rake
rake-compiler (= 1.2.0)
rake-release
rb_sys (~> 0.9.103)
rspec
rspec-core
test-unit
trunk_analytics

BUNDLED WITH
2.5.23
6 changes: 6 additions & 0 deletions context-ruby/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require "rake/testtask"
require "rake/extensiontask"
require 'rspec/core/rake_task'
require 'rake/release/task'

Rake::ExtensionTask.new("context_ruby") do |c|
c.lib_dir = "lib/context_ruby"
Expand All @@ -16,3 +17,8 @@ RSpec::Core::RakeTask.new(:test) do |t|
Rake::Task['compile'].invoke
t.pattern = 'test/*_spec.rb'
end

Rake::Release::Task.new do |spec|
Rake::Task['compile'].invoke
end

File renamed without changes.
2 changes: 1 addition & 1 deletion context-ruby/spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative 'trunk_spec_helper'
require 'trunk_analytics/trunk_spec_helper'

# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
Expand Down
24 changes: 15 additions & 9 deletions context-ruby/trunk_analytics.gemspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# frozen_string_literal: true

Gem::Specification.new do |s|
s.name = "trunk_analytics"
s.version = "0.0.0"
s.summary = "trunk analytics helper gem"
s.description = "trunk analytics helper gem"
s.authors = ["Trunk Technologies, Inc."]
s.email = "[email protected]"
s.files = ["spec/trunk_spec_helper.rb"]
s.homepage = "https://trunk.io"
s.license = "MIT"
s.required_ruby_version = '>= 2.6.0'
s.name = 'trunk_analytics'
s.version = '0.0.2'
s.summary = 'trunk analytics helper gem'
s.description = 'trunk analytics helper gem'
s.authors = ['Trunk Technologies, Inc.']
s.email = '[email protected]'
s.files = ['lib/trunk_analytics/trunk_spec_helper.rb', 'lib/context_ruby/context_ruby.so',
'lib/context_ruby.rb']
s.add_dependency 'rspec', '~> 3.0'
s.add_dependency 'rspec-core', '~> 3.0'
s.homepage = 'https://trunk.io'
s.license = 'MIT'
end

0 comments on commit 0256c63

Please sign in to comment.