activerecord-bitemporal 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 9789038631ae804c5af1c795f716d5771cc3aeaf95ad80c3e1cdc93fb6e547d7
4
+ data.tar.gz: a135d656d36526d61e0aed46795f19145c68987b18de9bcf7486bc959e5cb931
5
+ SHA512:
6
+ metadata.gz: e5ebbcd1d42ef4c7273a3201a0a7616e94e26a0b619d446168c80fa868609e251295885c9cd35de979015ff5353f0c5508a2bb4377346cb6aa00b0c5ade0039f
7
+ data.tar.gz: 60e060ec7b96e3c828c1b81abb695761e9c2115bb425fe07f3a2c5d340e494680211540ca3c1de5763a2c82492f8cdd69fcd2faf77e554d8cf48609f044254a7
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in activerecord-bitemporal.gemspec
6
+ gemspec
@@ -0,0 +1,17 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ activerecord-bitemporal (0.0.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+
10
+ PLATFORMS
11
+ ruby
12
+
13
+ DEPENDENCIES
14
+ activerecord-bitemporal!
15
+
16
+ BUNDLED WITH
17
+ 1.17.2
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
@@ -0,0 +1,33 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "activerecord-bitemporal/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "activerecord-bitemporal"
8
+ spec.version = Activerecord::Bitemporal::VERSION
9
+ spec.authors = ["SmartHR, Inc."]
10
+ spec.email = ["info@smarthr.co.jp"]
11
+
12
+ spec.summary = %q{Bitemporal modeling support for ActiveRecord}
13
+ spec.homepage = "https://github.com/kufu/activerecord-bitemporal"
14
+
15
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
16
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
17
+ if spec.respond_to?(:metadata)
18
+ spec.metadata["homepage_uri"] = spec.homepage
19
+ spec.metadata["source_code_uri"] = spec.homepage
20
+ else
21
+ raise "RubyGems 2.0 or newer is required to protect against " \
22
+ "public gem pushes."
23
+ end
24
+
25
+ # Specify which files should be added to the gem when it is released.
26
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
27
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
28
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
29
+ end
30
+ spec.bindir = "exe"
31
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
32
+ spec.require_paths = ["lib"]
33
+ end
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "activerecord-bitemporal"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,8 @@
1
+ require "activerecord-bitemporal/version"
2
+
3
+ module Activerecord
4
+ module Bitemporal
5
+ class Error < StandardError; end
6
+ # Your code goes here...
7
+ end
8
+ end
@@ -0,0 +1,5 @@
1
+ module Activerecord
2
+ module Bitemporal
3
+ VERSION = "0.0.1"
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,53 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: activerecord-bitemporal
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - SmartHR, Inc.
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-03-20 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
14
+ email:
15
+ - info@smarthr.co.jp
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - ".gitignore"
21
+ - Gemfile
22
+ - Gemfile.lock
23
+ - Rakefile
24
+ - activerecord-bitemporal.gemspec
25
+ - bin/console
26
+ - bin/setup
27
+ - lib/activerecord-bitemporal.rb
28
+ - lib/activerecord-bitemporal/version.rb
29
+ homepage: https://github.com/kufu/activerecord-bitemporal
30
+ licenses: []
31
+ metadata:
32
+ homepage_uri: https://github.com/kufu/activerecord-bitemporal
33
+ source_code_uri: https://github.com/kufu/activerecord-bitemporal
34
+ post_install_message:
35
+ rdoc_options: []
36
+ require_paths:
37
+ - lib
38
+ required_ruby_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: '0'
43
+ required_rubygems_version: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ requirements: []
49
+ rubygems_version: 3.0.3
50
+ signing_key:
51
+ specification_version: 4
52
+ summary: Bitemporal modeling support for ActiveRecord
53
+ test_files: []