kajaprism 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3c0217f90c19515dd12f9352d690b8cc306a4b35
4
+ data.tar.gz: c4dbc90cdf3ecd28fa73ed67101fec40ca54c50e
5
+ SHA512:
6
+ metadata.gz: f9f7d7aa737dddda5804c0b62e3880b7254328c170dc54100cdc0f8e419042b8f2ac338eb63e0770f18bd84da31980ac0659b4251330750c89e144dd78a235e3
7
+ data.tar.gz: 24bc91dc958030c339bcbee8c3b0433d6e91c7c2f930f1b4d02f354dfd8ba06e1dd5cbc8f993629bf02b9a564420bbd388ea703eaf4dcd1dc7384eac075a3651
data/.autotest ADDED
@@ -0,0 +1,26 @@
1
+ # -*- ruby -*-
2
+
3
+ # require 'autotest/restart'
4
+
5
+ ENV['GEM_PATH'] = "tmp/isolate/ruby-1.8"
6
+
7
+ module Autotest::Restart
8
+ Autotest.add_hook :updated do |at, *args|
9
+ if args.flatten.include? ".autotest" then
10
+ warn "Detected change to .autotest, restarting"
11
+ cmd = %w(autotest)
12
+ cmd << " -v" if $v
13
+ cmd += ARGV
14
+
15
+ exec(*cmd)
16
+ end
17
+ end
18
+ end
19
+
20
+ Autotest.add_hook :initialize do |at|
21
+ at.add_exception 'tmp'
22
+ at.testlib = "minitest/autorun"
23
+
24
+ at.find_directories = ARGV unless ARGV.empty?
25
+ end
26
+
data/.gitignore ADDED
@@ -0,0 +1,44 @@
1
+ # See https://help.github.com/articles/ignoring-files for more about ignoring files.
2
+ #
3
+ # If you find yourself ignoring temporary files generated by your text editor
4
+ # or operating system, you probably want to add a global ignore instead:
5
+ # git config --global core.excludesfile '~/.gitignore_global'
6
+
7
+ # Ignore bundler config.
8
+ /.bundle
9
+
10
+ # Ignore the default SQLite database.
11
+ /db/*.sqlite3
12
+ /db/*.sqlite3-journal
13
+
14
+ # Ignore all logfiles and tempfiles.
15
+ /log/*.log
16
+ /tmp
17
+
18
+ *.gem
19
+ *.rbc
20
+ .bundle
21
+ .config
22
+ .yardoc
23
+ Gemfile.lock
24
+ InstalledFiles
25
+ _yardoc
26
+ coverage
27
+ doc/
28
+ lib/bundler/man
29
+ pkg
30
+ rdoc
31
+ spec/reports
32
+ test/tmp
33
+ test/version_tmp
34
+ tmp
35
+ *.bundle
36
+ *.so
37
+ *.o
38
+ *.a
39
+ mkmf.log
40
+ /.idea
41
+ .bundle/
42
+ log/*.log
43
+
44
+
data/.travis.yml ADDED
@@ -0,0 +1,18 @@
1
+ language: ruby
2
+ script:
3
+ - "rake test"
4
+ - "gem build prism.gemspec"
5
+ rvm:
6
+ - rbx
7
+ - jruby
8
+ - 1.9.3
9
+ - 2.0.0
10
+ - 2.1
11
+ - ruby-head
12
+ matrix:
13
+ allow_failures:
14
+ - rvm: rbx
15
+ notifications:
16
+ email: false
17
+ irc:
18
+ - "irc.freenode.org#kajamite"
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in prism.gemspec
4
+ gemspec
5
+
6
+
7
+ gem 'minitest', '~>5.4.2', :group => [:development, :test]
8
+ gem 'yard', '~>0.8', :group => [:development, :test]
9
+
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 Kajamite
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
data/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # Prism
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'prism'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install prism
20
+
21
+ ## Usage
22
+
23
+ TODO: Write usage instructions here
24
+
25
+ ## Contributing
26
+
27
+ 1. Fork it ( https://github.com/[my-github-username]/prism/fork )
28
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
29
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
30
+ 4. Push to the branch (`git push origin my-new-feature`)
31
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require 'bundler/gem_tasks'
2
+
data/lib/prism.rb ADDED
@@ -0,0 +1,5 @@
1
+ require "prism/version"
2
+
3
+ module Prism
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,3 @@
1
+ module Prism
2
+ VERSION = "0.0.1"
3
+ end
data/prism.gemspec ADDED
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'prism/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'kajaprism'
8
+ spec.version = Prism::VERSION
9
+ spec.authors = ['Oleh Novosad']
10
+ spec.email = ['oleh@kajamite.com']
11
+ spec.summary = %q{ Refracting ruby logic into CQL. }
12
+ spec.description = %q{ }
13
+ spec.homepage = ''
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency 'bundler', '~> 1.7'
22
+ spec.add_development_dependency 'rake', '~> 10.0'
23
+ end
data/test/helper.rb ADDED
@@ -0,0 +1,6 @@
1
+ require 'rubygems'
2
+ require 'minitest/autorun'
3
+
4
+ require "minitest/reporters"
5
+ Minitest::Reporters.use!
6
+
data/test/test_test.rb ADDED
@@ -0,0 +1,9 @@
1
+ require 'helper'
2
+
3
+ describe 'Test11' do
4
+
5
+ it 'runs' do
6
+ 'test'.must_equal 'test'
7
+ end
8
+
9
+ end
metadata ADDED
@@ -0,0 +1,87 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kajaprism
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Oleh Novosad
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-09-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: ' '
42
+ email:
43
+ - oleh@kajamite.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - .autotest
49
+ - .gitignore
50
+ - .travis.yml
51
+ - Gemfile
52
+ - LICENSE
53
+ - README.md
54
+ - Rakefile
55
+ - lib/prism.rb
56
+ - lib/prism/version.rb
57
+ - prism.gemspec
58
+ - test/helper.rb
59
+ - test/test_test.rb
60
+ homepage: ''
61
+ licenses:
62
+ - MIT
63
+ metadata: {}
64
+ post_install_message:
65
+ rdoc_options: []
66
+ require_paths:
67
+ - lib
68
+ required_ruby_version: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - '>='
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
73
+ required_rubygems_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ requirements: []
79
+ rubyforge_project:
80
+ rubygems_version: 2.0.14
81
+ signing_key:
82
+ specification_version: 4
83
+ summary: Refracting ruby logic into CQL.
84
+ test_files:
85
+ - test/helper.rb
86
+ - test/test_test.rb
87
+ has_rdoc: