active_pivot 0.1.4 → 0.1.5
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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +3 -3
- data/lib/active_pivot/importer.rb +12 -11
- data/lib/active_pivot/version.rb +1 -1
- data/lib/generators/active_pivot/migrations_generator.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f1a33b058adfc9ef8e2287c977c36815eb802323
|
|
4
|
+
data.tar.gz: 92579a16547d1f2982f4b9c6d95c5e325ab5716a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a028d7d22e46f250901f26bcb435bb4f42a3c02318fee47fe4d04d7da90a2e9a24db688a3c9ce2864f50a8e71e1481e3eab5c1e58b87354c44aaf01bf04d3fe
|
|
7
|
+
data.tar.gz: a93d6f523ce2b9ed18d9b7b94b869f82d2b2e6843a8368c7e91a9f9e432a2e018ecb740a01f34c7f04362be394ec528c7f8d43faa5795e45e837e3612cd4d75a
|
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
|
@@ -90,8 +90,8 @@ The gem is available as open source under the terms of the [MIT License](http://
|
|
|
90
90
|
|
|
91
91
|
## About Foraker Labs
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+

|
|
94
94
|
|
|
95
|
-
|
|
95
|
+
Foraker Labs builds exciting web and mobile apps in Boulder, CO. Our work powers a wide variety of businesses with many different needs. We love open source software, and we're proud to contribute where we can. Interested to learn more? [Contact us today](https://www.foraker.com/contact-us).
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
This project is maintained by Foraker Labs. The names and logos of Foraker Labs are fully owned and copyright Foraker Design, LLC.
|
|
@@ -71,17 +71,18 @@ module ActivePivot
|
|
|
71
71
|
ActivePivot::Story.where(pivotal_id: remote_story.id.to_s)
|
|
72
72
|
.first_or_initialize
|
|
73
73
|
.update_attributes!({
|
|
74
|
-
project_id:
|
|
75
|
-
pivotal_id:
|
|
76
|
-
name:
|
|
77
|
-
description:
|
|
78
|
-
kind:
|
|
79
|
-
story_type:
|
|
80
|
-
labels:
|
|
81
|
-
current_state:
|
|
82
|
-
estimate:
|
|
83
|
-
accepted_at:
|
|
84
|
-
url:
|
|
74
|
+
project_id: remote_story.project_id,
|
|
75
|
+
pivotal_id: remote_story.id,
|
|
76
|
+
name: remote_story.name,
|
|
77
|
+
description: remote_story.description,
|
|
78
|
+
kind: remote_story.kind,
|
|
79
|
+
story_type: remote_story.story_type,
|
|
80
|
+
labels: remote_story.labels,
|
|
81
|
+
current_state: remote_story.current_state,
|
|
82
|
+
estimate: remote_story.estimate,
|
|
83
|
+
accepted_at: remote_story.accepted_at,
|
|
84
|
+
url: remote_story.url,
|
|
85
|
+
remote_created_at: remote_story.created_at
|
|
85
86
|
})
|
|
86
87
|
end
|
|
87
88
|
|
data/lib/active_pivot/version.rb
CHANGED
|
@@ -4,7 +4,7 @@ module ActivePivot
|
|
|
4
4
|
def create_all
|
|
5
5
|
generate "migration", "create_pivotal_projects pivotal_id:integer name:text point_scale:text current_velocity:integer current_volatility:integer updated_at:datetime created_at:datetime"
|
|
6
6
|
generate "migration", "create_pivotal_epics project_id:integer:index pivotal_id:integer label_id:integer name:string url:string updated_at:datetime created_at:datetime"
|
|
7
|
-
generate "migration", "create_pivotal_stories pivotal_id:integer project_id:integer:index started_at:datetime accepted_at:datetime url:string estimate:integer name:text description:text kind:string story_type:string labels:text current_state:string tags:text[] updated_at:datetime created_at:datetime"
|
|
7
|
+
generate "migration", "create_pivotal_stories pivotal_id:integer project_id:integer:index started_at:datetime accepted_at:datetime url:string estimate:integer name:text description:text kind:string story_type:string labels:text current_state:string tags:text[] updated_at:datetime created_at:datetime remote_created_at:datetime"
|
|
8
8
|
generate "migration", "create_pivotal_epic_stories story_id:integer:index epic_id:integer:index updated_at:datetime created_at:datetime"
|
|
9
9
|
end
|
|
10
10
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_pivot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Allan McLelland
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2016-05-13 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -94,6 +94,7 @@ files:
|
|
|
94
94
|
- ".ruby-gemset"
|
|
95
95
|
- ".ruby-version"
|
|
96
96
|
- ".travis.yml"
|
|
97
|
+
- CHANGELOG.md
|
|
97
98
|
- Gemfile
|
|
98
99
|
- LICENSE.txt
|
|
99
100
|
- README.md
|