arcane 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -5,8 +5,6 @@ rvm:
5
5
  - 1.9.2
6
6
  - jruby-19mode
7
7
  - rbx-19mode
8
- - ruby-head
9
- - jruby-head
10
8
 
11
9
  env:
12
10
  - "strong_parameters=0.2.0"
data/README.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Arcane
2
- Easy to use parameter filter extending strong parameters.
2
+
3
+ [![Build Status](https://travis-ci.org/cloudsdaleapp/arcane.png?branch=master)](https://travis-ci.org/cloudsdaleapp/arcane)
4
+ [![Gem Version](https://badge.fury.io/rb/arcane.png)](http://badge.fury.io/rb/arcane)
5
+
6
+ Easy to use parameter filter extending [Strong Parameters](https://github.com/rails/strong_parameters).
7
+ Arcane provides you with helpers which guide you in leveraging regular Ruby classes and object oriented
8
+ design patterns to organise and easily harnass the power of strong parameters in Rails 3 and 4.
9
+
10
+ Arcane magic is real and reliable, no cheap tricks.
11
+ Inspired by [Pundit](https://github.com/elabs/pundit)
12
+
13
+ ## Requirements
14
+
15
+ Currently this gem is only supported for Rails and with any of these ruby versions:
16
+
17
+ * ruby-2.0.0
18
+ * ruby-1.9.3
19
+ * ruby-1.9.2
20
+ * jruby-19
21
+ * rbx-19
3
22
 
4
23
  ## Installation
5
24
 
@@ -15,13 +34,13 @@ And then execute:
15
34
  $ bundle
16
35
  ```
17
36
 
18
- Or install it yourself as:
37
+ ## Features
19
38
 
20
- ```bash
21
- $ gem install arcane
22
- ```
39
+ ## To-do
23
40
 
24
- ## Usage
41
+ * Write rails generators
42
+ * List features
43
+ * Add Documentation
25
44
 
26
45
  ## Contributing
27
46
 
data/lib/arcane.rb CHANGED
@@ -14,10 +14,10 @@ module Arcane
14
14
 
15
15
  included do
16
16
  if respond_to?(:helper_method)
17
- helper_method :arcane
17
+ helper_method :refine
18
18
  end
19
19
  if respond_to?(:hide_action)
20
- hide_action :arcane
20
+ hide_action :refine
21
21
  end
22
22
  end
23
23
 
@@ -1,3 +1,3 @@
1
1
  module Arcane
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arcane
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -147,7 +147,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  segments:
149
149
  - 0
150
- hash: -3172912698727836139
150
+ hash: 3121159589769937332
151
151
  required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  none: false
153
153
  requirements:
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  version: '0'
157
157
  segments:
158
158
  - 0
159
- hash: -3172912698727836139
159
+ hash: 3121159589769937332
160
160
  requirements: []
161
161
  rubyforge_project:
162
162
  rubygems_version: 1.8.25