transitions 0.2.1 → 1.0.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50aa94816f542aa2e3ddfb4ea2c3b158e1302226
4
- data.tar.gz: e9f190796c29fc615582e3722c0d42fabaadb84b
3
+ metadata.gz: 7e55aa8a7f0f38f8999f825fccd4d8d7fe0891c9
4
+ data.tar.gz: d5fa39fd8b267931511f9f11e5820982ff8fdc80
5
5
  SHA512:
6
- metadata.gz: 3428e39ec7f594f3e2988be6d99438b52fff0eed9b92e668c49a98d6107824c0aadd4ac4cbade09d609bfb3738a7f045f5223ae89a938d8e6982bc440935a888
7
- data.tar.gz: 2878d1c45b68664d87bc1b036ef7d25cb4caaf01e8ebd9bdcc9e6130476c5d0aac0088ae7255a4ddb1591c27bb17fbce2938f0eab088afbd5ae153d1e61ef17e
6
+ metadata.gz: 4f0b94f49e68756946a20fa98993e6bcd59ae9035647d2b8a6fc2d9475112f8ec5eec3c81a7695a6d1d95ca931dee872adafe1ebb91ca0b83778bf240bba39be
7
+ data.tar.gz: 100ae8e228de1386b6c5ae2ea83be8ef1974126fb789a15ae121fdeeb88596cbc429671eb6f31bb72cf5b7fc1ad55ff1cffea2244cbfcba07d359415a98427c8
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.1.0
1
+ 2.2.3
data/.travis.yml CHANGED
@@ -1,9 +1,16 @@
1
+ sudo: false
2
+ cache: bundler
3
+ language: ruby
1
4
  rvm:
2
- - 1.9.3
3
- - 2.0.0
4
5
  - 2.1
5
- - jruby-19mode
6
+ - 2.2
6
7
  - rbx-2
8
+ - jruby
9
+ matrix:
10
+ fast_finish: true
11
+ notifications:
12
+ email:
13
+ - timo.roessner@googlemail.com
7
14
  gemfile:
8
15
  - gemfiles/rails_3_0.gemfile
9
16
  - gemfiles/rails_3_1.gemfile
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.0.0
2
+
3
+ * (troessner) Only support ruby 2.1 and 2.2.
4
+
1
5
  # 0.2.1
2
6
 
3
7
  * (ozydingo / Andrew Schwartz) Don't use ActiveModel#has_attribute? since this adds the attribute name to self.attribute_names
data/README.md CHANGED
@@ -10,22 +10,6 @@
10
10
 
11
11
  `transitions` is a ruby state machine implementation.
12
12
 
13
- ### Ruby Compatibility
14
-
15
- Supported versions:
16
-
17
- * 1.9.3
18
- * 2.0
19
- * 2.1
20
-
21
- `transitions` does not work with ruby 1.8.7 (see [this
22
- issue](https://github.com/troessner/transitions/issues/86) for example).
23
-
24
- ### Supported Rails versions:
25
-
26
- * 3
27
- * 4
28
-
29
13
  ### Installation
30
14
 
31
15
  #### Rails
@@ -45,6 +29,11 @@ include ActiveModel::Transitions
45
29
  gem install transitions
46
30
  ```
47
31
 
32
+ … and this into your class:
33
+ ```ruby
34
+ include Transitions
35
+ ```
36
+
48
37
  ### Using transitions
49
38
  ```ruby
50
39
  class Product
@@ -376,6 +365,24 @@ class Product < ActiveRecord::Base
376
365
  end
377
366
  ```
378
367
 
368
+ ### Ruby Compatibility
369
+
370
+ Supported versions:
371
+
372
+ * 2.1
373
+ * 2.2
374
+
375
+ Supported implementations:
376
+
377
+ * MRI
378
+ * Rubinius
379
+ * Jruby
380
+
381
+ ### Supported Rails versions:
382
+
383
+ * 3
384
+ * 4
385
+
379
386
  ### Known bugs / limitations
380
387
 
381
388
  * Right now it seems like `transitions` does not play well with `mongoid`. A
@@ -1,3 +1,3 @@
1
1
  module Transitions
2
- VERSION = '0.2.1'
2
+ VERSION = '1.0.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transitions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jakub Kuzma
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-08-20 00:00:00.000000000 Z
12
+ date: 2015-12-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
187
  version: 1.3.6
188
188
  requirements: []
189
189
  rubyforge_project: transitions
190
- rubygems_version: 2.4.5
190
+ rubygems_version: 2.4.5.1
191
191
  signing_key:
192
192
  specification_version: 4
193
193
  summary: State machine extracted from ActiveModel