sanity-ruby 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Sanity
4
+ VERSION = "0.1.0"
5
+ end
data/sanity.gemspec ADDED
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/sanity/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "sanity-ruby"
7
+ spec.version = Sanity::VERSION
8
+ spec.authors = "Morning Brew"
9
+ spec.email = "tech@morningbrew.com"
10
+
11
+ spec.summary = "Ruby bindings for the Sanity API"
12
+ spec.description = ""
13
+ spec.homepage = "https://github.com/morning-brew/sanity-ruby"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
16
+
17
+ spec.metadata["homepage_uri"] = spec.homepage
18
+ spec.metadata["source_code_uri"] = spec.homepage
19
+ spec.metadata["changelog_uri"] = spec.homepage
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
24
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
+ end
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+ end
metadata ADDED
@@ -0,0 +1,86 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sanity-ruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Morning Brew
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2021-07-29 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: ''
14
+ email: tech@morningbrew.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - ".github/workflows/ci.yml"
20
+ - ".gitignore"
21
+ - ".standard.yml"
22
+ - Gemfile
23
+ - LICENSE.txt
24
+ - README.md
25
+ - Rakefile
26
+ - bin/console
27
+ - bin/setup
28
+ - bin/standardrb
29
+ - lib/sanity.rb
30
+ - lib/sanity/attributable.rb
31
+ - lib/sanity/configuration.rb
32
+ - lib/sanity/groq/filter.rb
33
+ - lib/sanity/groq/order.rb
34
+ - lib/sanity/groq/select.rb
35
+ - lib/sanity/groq/slice.rb
36
+ - lib/sanity/groqify.rb
37
+ - lib/sanity/http.rb
38
+ - lib/sanity/http/create.rb
39
+ - lib/sanity/http/create_if_not_exists.rb
40
+ - lib/sanity/http/create_or_replace.rb
41
+ - lib/sanity/http/delete.rb
42
+ - lib/sanity/http/find.rb
43
+ - lib/sanity/http/mutation.rb
44
+ - lib/sanity/http/patch.rb
45
+ - lib/sanity/http/query.rb
46
+ - lib/sanity/http/results.rb
47
+ - lib/sanity/http/where.rb
48
+ - lib/sanity/mutatable.rb
49
+ - lib/sanity/queryable.rb
50
+ - lib/sanity/refinements.rb
51
+ - lib/sanity/refinements/arrays.rb
52
+ - lib/sanity/refinements/hashes.rb
53
+ - lib/sanity/refinements/strings.rb
54
+ - lib/sanity/resource.rb
55
+ - lib/sanity/resources.rb
56
+ - lib/sanity/resources/asset.rb
57
+ - lib/sanity/resources/document.rb
58
+ - lib/sanity/version.rb
59
+ - sanity.gemspec
60
+ homepage: https://github.com/morning-brew/sanity-ruby
61
+ licenses:
62
+ - MIT
63
+ metadata:
64
+ homepage_uri: https://github.com/morning-brew/sanity-ruby
65
+ source_code_uri: https://github.com/morning-brew/sanity-ruby
66
+ changelog_uri: https://github.com/morning-brew/sanity-ruby
67
+ post_install_message:
68
+ rdoc_options: []
69
+ require_paths:
70
+ - lib
71
+ required_ruby_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 2.6.0
76
+ required_rubygems_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ requirements: []
82
+ rubygems_version: 3.0.3
83
+ signing_key:
84
+ specification_version: 4
85
+ summary: Ruby bindings for the Sanity API
86
+ test_files: []