re-frame-on-rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.travis.yml +9 -0
- data/CHANGELOG.md +3 -0
- data/Gemfile +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +54 -0
- data/Rakefile +18 -0
- data/doc/how_to_release_gem.md +20 -0
- data/lib/re-frame-on-rails.rb +1 -0
- data/re-frame-on-rails.gemspec +25 -0
- metadata +131 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 50b93f05997e2ad8fc6ee88882c03cbebe776ab1
|
4
|
+
data.tar.gz: d8cda699c8f46131b912e6154edbba7a0381c62e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 99d55321fa1f9887cfb9889eac361efe1037d6ccd4b2cf82dceac18f41355e45227fb9cf9595acc5da8cb2be9d13c4c40ac9b35e5489c1a812aa89484cb43aa2
|
7
|
+
data.tar.gz: e8e3a8af3ab3f79d69366b83334416ab353fb4512f89fbedfdbe8e686c426b8d8c3e4402c19559932523066b498e8653178da46fee81c1d0e6616fef71243bdc
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/CHANGELOG.md
ADDED
data/Gemfile
ADDED
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2014 Jo Hund
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
# re-frame-on-rails
|
2
|
+
|
3
|
+
re-frame-on-rails is a Rails engine plugin for connecting a
|
4
|
+
re-frame based ClojureScript SPA to a Ruby on Rails REST API.
|
5
|
+
|
6
|
+
**NOTE:** This is just a placeholder repo for the gem. I am in the process of developing it.
|
7
|
+
|
8
|
+
|
9
|
+
## Features
|
10
|
+
|
11
|
+
* Adds all ClojureScript dependencies to Asset Pipeline.
|
12
|
+
* Ajax/REST helpers to seamlessly transmit data between re-frame and Rails.
|
13
|
+
* REST handlers on the re-frame side.
|
14
|
+
* Rake tasks to set up the re-frame project.
|
15
|
+
* Example code to show how to use this pattern.
|
16
|
+
|
17
|
+
|
18
|
+
## Installation
|
19
|
+
|
20
|
+
`gem install re-frame-on-rails`
|
21
|
+
|
22
|
+
or with bundler in your Gemfile:
|
23
|
+
|
24
|
+
`gem 're-frame-on-rails'`
|
25
|
+
|
26
|
+
You also need to have leiningen installed.
|
27
|
+
|
28
|
+
|
29
|
+
## Usage
|
30
|
+
|
31
|
+
TBD
|
32
|
+
|
33
|
+
|
34
|
+
## Dependencies
|
35
|
+
|
36
|
+
* Ruby on Rails >= 4
|
37
|
+
* Leiningen
|
38
|
+
|
39
|
+
|
40
|
+
## Resources
|
41
|
+
|
42
|
+
* [Source code (github)](https://github.com/jhund/re-frame-on-rails)
|
43
|
+
* [Issues](https://github.com/jhund/re-frame-on-rails/issues)
|
44
|
+
* [Rubygems.org](http://rubygems.org/gems/re-frame-on-rails)
|
45
|
+
|
46
|
+
|
47
|
+
## License
|
48
|
+
|
49
|
+
[MIT licensed](https://github.com/jhund/re-frame-on-rails/blob/master/MIT-LICENSE).
|
50
|
+
|
51
|
+
|
52
|
+
## Copyright
|
53
|
+
|
54
|
+
Copyright (c) 2016 Jo Hund. See [(MIT) LICENSE](https://github.com/jhund/re-frame-on-rails/blob/master/MIT-LICENSE) for details.
|
data/Rakefile
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
begin
|
3
|
+
require 'bundler'
|
4
|
+
rescue LoadError
|
5
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
6
|
+
end
|
7
|
+
Bundler::GemHelper.install_tasks
|
8
|
+
|
9
|
+
require 'rake/testtask'
|
10
|
+
|
11
|
+
Rake::TestTask.new do |t|
|
12
|
+
t.libs.push "lib"
|
13
|
+
t.libs.push "spec"
|
14
|
+
t.pattern = "spec/**/*_spec.rb"
|
15
|
+
t.verbose = true
|
16
|
+
end
|
17
|
+
|
18
|
+
task :default => ['test']
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Workflow to Maintain This Gem
|
2
|
+
|
3
|
+
I use the gem-release gem
|
4
|
+
|
5
|
+
For more info see: https://github.com/svenfuchs/gem-release#usage
|
6
|
+
|
7
|
+
## Steps for an update
|
8
|
+
|
9
|
+
1. Update code and commit it.
|
10
|
+
2. Add entry to CHANGELOG and commit it:
|
11
|
+
* h1 for major release (1.0.0)
|
12
|
+
* h2 for minor release (0.1.0)
|
13
|
+
* h3 for patch release (0.0.1)
|
14
|
+
3. Update version in .gemspec and commit
|
15
|
+
4. Release it.
|
16
|
+
* `gem release`
|
17
|
+
5. Create a git tag and push to origin.
|
18
|
+
`gem tag`
|
19
|
+
|
20
|
+
http://prioritized.net/blog/gemify-assets-for-rails/
|
@@ -0,0 +1 @@
|
|
1
|
+
# Code will go here
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path('../lib', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.name = 're-frame-on-rails'
|
6
|
+
gem.version = '0.0.1'
|
7
|
+
gem.platform = Gem::Platform::RUBY
|
8
|
+
|
9
|
+
gem.authors = ['Jo Hund']
|
10
|
+
gem.email = 'jhund@clearcove.ca'
|
11
|
+
gem.homepage = 'https://github.com/jhund/re-frame-on-rails'
|
12
|
+
gem.licenses = ['MIT']
|
13
|
+
gem.summary = 're-frame-on-rails is a Rails engine plugin for connecting a re-frame based ClojureScript SPA to a Ruby on Rails REST API.'
|
14
|
+
gem.description = 're-frame-on-rails is a Rails engine plugin for connecting a re-frame based ClojureScript SPA to a Ruby on Rails REST API.'
|
15
|
+
|
16
|
+
gem.files = `git ls-files`.split("\n")
|
17
|
+
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
+
|
19
|
+
gem.add_dependency 'rails', '>= 4'
|
20
|
+
|
21
|
+
gem.add_development_dependency 'bundler', '~> 1.0', '>= 1.0.0'
|
22
|
+
gem.add_development_dependency 'minitest', '>= 0'
|
23
|
+
gem.add_development_dependency 'minitest-spec-expect', '>= 0'
|
24
|
+
gem.add_development_dependency 'rake', '>= 0'
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,131 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: re-frame-on-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jo Hund
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-02-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 1.0.0
|
37
|
+
type: :development
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '1.0'
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 1.0.0
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: minitest
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: minitest-spec-expect
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: rake
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
description: re-frame-on-rails is a Rails engine plugin for connecting a re-frame
|
90
|
+
based ClojureScript SPA to a Ruby on Rails REST API.
|
91
|
+
email: jhund@clearcove.ca
|
92
|
+
executables: []
|
93
|
+
extensions: []
|
94
|
+
extra_rdoc_files: []
|
95
|
+
files:
|
96
|
+
- ".gitignore"
|
97
|
+
- ".travis.yml"
|
98
|
+
- CHANGELOG.md
|
99
|
+
- Gemfile
|
100
|
+
- MIT-LICENSE
|
101
|
+
- README.md
|
102
|
+
- Rakefile
|
103
|
+
- doc/how_to_release_gem.md
|
104
|
+
- lib/re-frame-on-rails.rb
|
105
|
+
- re-frame-on-rails.gemspec
|
106
|
+
homepage: https://github.com/jhund/re-frame-on-rails
|
107
|
+
licenses:
|
108
|
+
- MIT
|
109
|
+
metadata: {}
|
110
|
+
post_install_message:
|
111
|
+
rdoc_options: []
|
112
|
+
require_paths:
|
113
|
+
- lib
|
114
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
requirements: []
|
125
|
+
rubyforge_project:
|
126
|
+
rubygems_version: 2.4.8
|
127
|
+
signing_key:
|
128
|
+
specification_version: 4
|
129
|
+
summary: re-frame-on-rails is a Rails engine plugin for connecting a re-frame based
|
130
|
+
ClojureScript SPA to a Ruby on Rails REST API.
|
131
|
+
test_files: []
|